Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadMovie("I need help","starting to cry"); 1

Status
Not open for further replies.

Doctarain

Technical User
Jun 2, 2006
27
US
So all i am doing is trying to load an external swf. My AS is phuzzy but i didn't think it would suck this bad, especially since i have checked tutorials and copied code directly from sample. So blow by blow.. here we go...

1. Put come code into frame/layer 1 for preload
2. Popped a couple more layers, added background and preload grfx
3. preload set to gotoandplay frame 2
4. I want the swf to pop at this point. (heres where it gets phuzzy)
5. I want to pop 4 swf's automatically. so I make 4 movie clips, put em in the right positions.
6. From there I tried everything including onClipEvents, and goin' straight for the loadMovie() type stuff directly in the Movie clip, and a couple tries with onEnterFrame()
7. I still don't have even the slightest glimps of a swf loading so i bet the syntax is wrong or i am not putting it in the right places.

Most tutorials are all about loading them with a on(release) with a button but i rather them load right from the start.

Any help will be wonderful, but especially those blow by blow retard proof kinda instructions are the best.

Thanks
 
Ummmmmmmmh!

First question...

Do you want your external .swfs to be preloaded within your present main interface movie's preloader?

If so, that's not happening, since loadMovie actions are ignored within a main movie's preloader, if the preloader is not specifically coded to preload those external .swfs.

That said, your movies do load up, but as presently coded your movie never moves to frame 3, where this is happening.
Rather than a stop(); action and a _root.nextFrame() action, in your preloading code, you would simply need to use a play(); action -_root.nextFrame(); moves the playhead to the next frame and stops - and add a stop(); action on frame 3, to keep the movie from looping back to frame 1.

Regards. FLASH HELP - OPENED FOR BUSINESS!
TO GET YOUR OWN FREE WEBSITE HOSTING
 
Ok.. now thats easy to do.

I can add preload's to the externals.. however would you suggest that i use the original preload code or use the new "play" line?

I would have thought that line would just keep the movie playing.. how simple of an issue, lol.

Thanks again!
 
One other unforeseen bug is that with the clips so close, the top clips overlap the bottom. so controls like the mouse-scroll bleed over. I wish i actually new AS.. lol
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top