tag:blogger.com,1999:blog-5553130815241802432.post5967765230640400905..comments2009-07-11T05:46:55.140-04:00Comments on Funface Games Developer Journal: How to Create a Self-Contained AS3 LoaderSam Hortonhttp://www.blogger.com/profile/13405799825117272710noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5553130815241802432.post-71677862071642881622009-07-10T21:27:17.056-04:002009-07-10T21:27:17.056-04:00It's definitely important that the timeline's play...It's definitely important that the timeline's playback head actually lands on the frame where the movieclip containing all of your sounds is located. As long as the sounds are situated on frame 2(you wouldn't want them to all play at once:) of this movieclip, and their sync setting is "start", they will load. <br /><br />I'm using the Flash CS3 IDE, so your mileage may vary depending on what dev environment you are using.<br /><br />Hope this helps!Sam Hortonhttp://www.blogger.com/profile/13405799825117272710noreply@blogger.comtag:blogger.com,1999:blog-5553130815241802432.post-69212632758794788812009-07-10T19:18:14.795-04:002009-07-10T19:18:14.795-04:00It sounds good, but i have some trouble with sound...It sounds good, but i have some trouble with sounds.<br />If i jump over the frame where sound is exported (2-nd in your example), or program is not reaching this frame, then class is initialized, but i get "invalid sound"-error, and my sound variable is null (.<br />I get results only if i really play sounds before calling them.<br />I have tryed to call this sounds with "stop" sync, instead of "start", but results were the same...<br />As i guess, my problem is like that: class is initialized, but sound data is omited during compilaion, because it "never used in my file".Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5553130815241802432.post-43873357465858750542009-05-11T01:25:00.000-04:002009-05-11T01:25:00.000-04:00It works!! thanks alot mate!!It works!! thanks alot mate!!badluckzhttp://blackthesis.comnoreply@blogger.comtag:blogger.com,1999:blog-5553130815241802432.post-48061647010451702642009-04-17T18:10:00.000-04:002009-04-17T18:10:00.000-04:00Glad to be of service Shawn!
I posted an update t...Glad to be of service Shawn!<br /><br />I posted an update to this topic (for anyone who's interested) about a small glitch in IE that kept popping up when using Flash's built-in loader events:<br /><A HREF="http://blog.funfacegames.com/2008/12/as3-loaders-update.html" REL="nofollow">AS3 Loader Update</A>Sam Hortonhttp://www.blogger.com/profile/13405799825117272710noreply@blogger.comtag:blogger.com,1999:blog-5553130815241802432.post-15675341103854380912009-04-17T16:00:00.000-04:002009-04-17T16:00:00.000-04:00Your tip on un-checking the "Export in frame 1" bo...Your tip on un-checking the "Export in frame 1" box alone has saved me countless bruises on the forehead, where it would have otherwise come into hard contact with a wall, or other heavy inanimate object. Thank you.Shawnhttp://www.blogger.com/profile/08656166670787351305noreply@blogger.com