Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 16th, 2005, 11:51 AM
Registered User
 
Join Date: Jun 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default preloader?

I have the following script. But i need all images to be loaded before it goes to frame 5.

for (i=0; i<=10; i++) {
    m = main.mainit.duplicateMovieClip("newit"+i, i);
    m.createEmptyMovieClip("img", 1).loadMovie("images/gallery/gallery2/"+images[i]);
    if (i == 10) {
        gotoAndStop(5);
    }
}
stop();

 
Old January 5th, 2007, 01:20 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

Then add like this

for (i=0; i<=10; i++) {
    m = main.mainit.duplicateMovieClip("newit"+i, i);
    m.createEmptyMovieClip("img", 1).loadMovie("images/gallery/gallery2/"+images[i]);
}
        gotoAndStop(5);
stop();

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
can a preloader load an html site? dearmisskat Flash (all versions) 5 March 27th, 2007 03:56 PM
preloader for datagrid chayanvinayak Flash (all versions) 4 July 27th, 2006 03:34 PM
preloader being ignored Adam H-W Flash (all versions) 8 March 12th, 2004 01:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.