You are here : : Home > Free Resources > Flash Tutorials & Resources > Timeline Preloader |
Basics
Animation & Effects
Actionscript
Miscellaneous
Flash Articles
Free Flash Resources
Other Flash Resources
stop();
preloader.onEnterFrame = function()
{
filesize = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize)
{
preloader.loadBar._xscale = 100*loaded/filesize;
}
else
{
preloader._visible = false;
gotoAndStop(2);
}
};
No portion of these materials may be reproduced in any manner whatsoever, without the express written consent of Entheos. Any unauthorized use, sharing, reproduction or distribution of these materials by any means, electronic, mechanical, or otherwise is strictly prohibited.