Hi! How do i create a movie that loads another movie? is it possible to use preloader in a separate swf to load another swf being preloaded?
Actually, yes you could. It's actually a trick used by those who want a Flash file (swf) on a page without using the <embed> tag, which is not a valid tag. People wanting to avoid the <embed> tag instead use the <object> tag, and the solution found for this makes a problem for IE-- it won't play the movie until it has loaded the whole thing. If this is a long movie, it looks bad on IE. The solution was to have a small "begin" film, just 1kB in size, which has in the first frame some Actionscript: _root.loadmovie("putnameofmoviehere.swf", 0); Code (markup): This will load the other movie into level 0 of the container movie (the container movie is the little 1kB movie). So, to make sure I'm not being confusing: You have a movie called "awesome.swf" and you want another movie to load "awesome.swf". This loader movie is called "loader.swf." So, let's say "loader.swf" is also an actual movie that's 50 Frames long. In the last frame, type this Actionscript: _root.loadmovie("awesome.swf", 0); If "loader.swf" isn't a real movie and is only used for preloading purposes, then you'd put the Actionscript in the first frame. Now I read all this somewhere online. I indend to use it so that I can have static images hidden behind the Flash for people who don't have FlashPlayer, and behind that image an alt text for those without images or have screen readers. But I haven't used it yet. I might be confusing something. So try it and let us know if it works.
Component meaning one of those actionscript jobby-do things like drop-down menus and radio buttons? I have no clue how those work : ) Didn't get that far in the book yet : )