STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228069
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/16021564?noj=FRM16021564-28DN" width="1" height="1"></div>

This is resource AGR7MA0, an Archived Thread.
Discovered:19/11 -2023 03:48:02

Ended:21/11 -2023 21:18:08

Checked:22/11 -2023 17:57:13

Original location: https://boards.4chan.org/f/thread/3501483/vrage
Recognized format: Yes, thread post count is 6.
Discovered flash files: 1





File: V-rage.swf-(7.38 MB, 550x400, Other)
[_] /v/-rage Anonymous 11/18/23(Sat)22:46:45 No.3501483

  Animation by NCHProductions

Marked for deletion (old).
>> [_] Anonymous 11/18/23(Sat)22:52:50 No.3501484

  >>3501483
  Does anyone know how I can make a scrolling loading screen in Flash because the original comic
  scrolling down with the loading progress was awesome.

>> [_] Anonymous 11/19/23(Sun)06:52:58 No.3501496

  >>3501484
  you set the .getBytesLoaded divided by .getBytesTotal, which increases from 0 to 1 (to 100%) as
  it's getting loaded, and you set that value to the Y axis of the picture
  basically you're moving the picture from bottom to the top in the stage as it's loading, I'll
  explain with the example in this flash
  here it's coded like this

  >preloaderSize = 248832;
  >onEnterFrame = function()
  >{
  > _Y = _Y + ((_root.getBytesLoaded() - preloaderSize) / (_root.getBytesTotal() - preloaderSize) *
  (_height - 400) * -1 - _Y) / 2;
  >};

  the preloaderSize is the size of the first frame that consists of the code and the picture which
  load first. It has to subtract this value otherwise it would start at like 5% already
  >_Y
  is the Y axis of the picture which is read straight from the stage, so you don't have to manually
  input it
  >_Y + ((_root.getBytesLoaded() - preloaderSize) / (_root.getBytesTotal() - preloaderSize)
  this increases the value of the Y axis from 0 to 1
  >* (_height - 400)
  is the actual height of the picture minus 400, because 400 is the height of the stage, so you
  don't want the picture to scroll above the visible part of the flash. This value gets multiplied
  by the previous formula (which increases from 0 to 1). The height of the picture is 2580 so the
  value goes from 0 to 2180
  >* -1 - _Y) / 2
  I'm not exactly sure what this actually does but I assume it's correctional, you can play with
  these values to see how it affects the position of the picture in the stage

  now this might have been done in as2 but as3 has a different tag, or maybe I'm just
  misremembering, or the jpexs has a different format of doing these, but to get the actual Y axis
  value of anything, you need to name it and write that name and put .y after it so the formula is
  gonna look like this
  >name.y =name.y + ((root.getBytesLoaded() - preloaderSize) / (root.getBytesTotal() -
  preloaderSize) * (name.height - 400) * -1 - name.y) / 2;

>> [_] Anonymous 11/19/23(Sun)09:58:28 No.3501498

  >>3501496
  Thanks man

>> [_] red_cvnt 11/19/23(Sun)13:40:43 No.3501504

  >>3501483
  this anim is the reason i post on /f/

>> [_] red_cvnt 11/20/23(Mon)01:06:21 No.3501524

  >>3501509
  i hope
  if i had a legacy like that id look back on it quite often
  NCH is a true master of his craft



http://swfchan.net/46/AGR7MA0.shtml
Created: 19/11 -2023 03:48:02 Last modified: 22/11 -2023 17:57:46 Server time: 28/04 -2024 11:20:38