PDA

View Full Version : Getting around export to 1st frame prob



mindfriction
March 5th, 2004, 08:43 PM
Hey guys,

Im sure all of you who have made preloaders before have had problems with delay, ultimately because you have used the 'attachMovie' method in your AS and extra weight has been added in to the mysterious '0th' frame. Anyway i have a solution.

Using the 3 frame method ie ( 1st - preloader, 2nd- components, 3rd- application), here's what you do: Rather than having to rework your script and take out the attachMovie methods you can simply deselect 'export to first frame' on you're linked mc's. Now select the 2nd keyframe in the timeline and drag instances of these mc's onto the movie (off stage of course). Now, in the 3rd frame place the actionscript as you had it before (making sure you have placed stop actions). And there you have it! Now flash loads your linked mc's in the 2nd frame, and they can be preloaded along with the rest of your movie

lostinbeta
March 6th, 2004, 02:30 PM
I've posted this method in quite a few threads which contained this issue ;)

Useful info none-the-less.

mindfriction
March 7th, 2004, 07:26 PM
yeah cool, I reckon there just needs to be a preloader FAQ Thread...:cowboy:

Hey lost, part of my script in _root involves loading XML data, now will a preloader loading _root take into account the XML loading as well ? Or will I need to use the XML.getLoadedBytes() on my XML object?

lostinbeta
March 8th, 2004, 04:46 PM
Unfortunately, you will need to build a seperate preloader for the XML object :-\

mindfriction
March 9th, 2004, 07:44 AM
BAH, ....thought so...Oh and sorry to bother you lost, I realise you're footer says

in other news..im done with preloader questions
:beer:

senocular
March 9th, 2004, 07:52 AM
Is this on a tutorial somewhere on k.com? This is a big problem a lot of people don't seem to understand.

lostinbeta
March 9th, 2004, 12:07 PM
Nope, no tutorial for this on the site :-/ Would be a good addition though.

sidenote: love the new footer/avatar :love: