Loading - Printable Version +- z0r Forums (https://board.z0r.de) +-- Forum: English (https://board.z0r.de/forumdisplay.php?fid=3) +--- Forum: Flash (https://board.z0r.de/forumdisplay.php?fid=8) +--- Thread: Loading (/showthread.php?tid=3432) |
Loading - thewiktor - 21-01-2015 I was trying to make a loop but it takes way too long to load. http://thewiktor.webs.com/freshnfoxy.swf As you can see there is a preloader but for some reason it doesn't work and sometimes the loading bar doesn't load at all and it's just a white screen and the loop lags for a few seconds at first before playing smoothly (like a gif). Any tips on making a preloader (ActionScript 2.0) and how to make it fully load before playing? RE: Loading - khavatarie - 21-01-2015 (21-01-2015, 15:36)thewiktor Wrote: I was trying to make a loop but it takes way too long to load. First of all: also a preloader has to load. If the preloader is too big, it wouldn't make sense Second: Always use AS3! Third: It looks like your loading request doesn't operate really well. The reason, why the first seconds of your gif is lagging could be, becouse your flash is still loading. Use the commands: "stop();" and "if (total == loaded){play();}" and it should work. Here are also two good tutorials: http://www.republicofcode.com/tutorials/flash/as3preloader/ https://www.youtube.com/watch?v=gfcRm6SAYJI have fun, Freiweg RE: Loading - thewiktor - 21-01-2015 (21-01-2015, 17:53)khavatarie Wrote:(21-01-2015, 15:36)thewiktor Wrote: I was trying to make a loop but it takes way too long to load. Thanks for your advice, but 'always using AS3' might be a problem because I use the ancient Macromedia Flash Professional 8 RE: Loading - khavatarie - 22-01-2015 As an apprentice or student you can get the whole Adobe CC Softwaresuite for 12€/month |