This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > March 2004 > Re:Looking for testers on this flash site before going





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re:Looking for testers on this flash site before going
Gareth-de

2004-03-01, 11:30 am

The preloader only comes in on 98% because the site is loading everything that
has "export on first frame" before the preloader. To combat this, follow these
steps:

Have 3 scenes. Put your preloader on scene 1, call scene 2 "bin" or whatever
and have your site on scene 3.

For every library item that has "export in first frame", drag them into the
"bin" scene. Place them anywhere - no-one will see this scene so it's not
important.

Once every library item that's exported in the first frame is in the bin
scene, untick all of their "export in first frame" boxes.

Make sure the preloader goes to scene 3 when the file has finished downloading.

Run the file - you should see that the preloder now loads before the objects
in the bin, thus bringing it in at something closer to 5% instead of 95%+.

Note: Flash 7 player seems to play the bin scene regardless of the gotoAndStop
code telling it to skip it, so it could be a good idea to then place all the
items on the bin scene inside a movie and make the alpha 0.

If you don't use the bin scene method and simply untick all of the "export in
first frame" boxes, Flash will not display these items. As long as you use them
before the main site (i.e. in the bin scene) then it will be ok.

Any questions, email me - gareth@designencryption.co.uk.

Cheers.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews