Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 16th, 2005, 11:51 AM
Registered User
 
Join Date: Jun 2005
Location: , , .
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();

Reply With Quote
  #2 (permalink)  
Old January 5th, 2007, 01:20 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 481
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:21 AM.


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