Flash Help
- Started
- Last post
- 11 Responses
- agcreative
This is the problem, I designed a flash page that is very light in size, and the reason why i say light is because i decided to have the gallery as an external swf for flash to call, I am using the right actionscripting and in fact, the swf file does show up but its inactive, it becomes an static external file when it is supposed to be a movie clip with motion, for your info this swf file has only one frame on each layer and it is action script based. Please try to help me fix this since i've tried...
- russdogg0
On your .swf you are loading in, are you using root in your actionscript? Because when you load an external .swf that .swf's root will now be the parent movie. If thats the case, you can either change the inside movie's code from root to parent, or add a lockroot = true on the main timeline...
- agcreative0
Yes I am using root on the action script, like I said the movie does come up and it loads fast it just doesnt have any movements, its like it grabs the swf file and loads it like an image, thanks for the advice,you have any other ideas?
- russdogg0
see though, you shouldn't use root on a .swf that is loaded in since it inherits the root of the parent movie. Are you loading the swf into a movieclip, or layer? If its loading into a movieclip, you can target that mc and tell it to play... also, make sure the framerates are the same because the loaded .swf will inherit the framerate of the parent
- agcreative0
Awesome dude! let me see if that works, hey what time is it over there? its about 4am here..
- agcreative0
Man nice website of yours! how can i dot that rotating effect, that is ill man! never seen it load so smooth, keep it up.
- agcreative0
this is what i am using:
on (release) {
_root.mc_load.loadMovie("print.s...
}
- russdogg0
right, but this code is whats loading the external .swf. the problem code is most likely in the external swf itself. Whatever tells it to play through that works independently is now not working when its loaded into another movie, right? try post the code you are using in the external movie and I'll look at that. its only 1 am here ha ;)
- russdogg0
or you can zip all the source code up and email it to me if you want.
- agcreative0
yeah that would be awesome, I'll send you this tomorrow that way you can have a better idea, I appreciate it man. talk to you tomorrow.
- russdogg0
no prob!
- joyride0
if you have _root in the movieclip that is being loaded. try adding:
this._lockroot = true; to the fla of the loaded clip for a quick fix. But you shouldn't use _root when building flash files for this exact reason. Good luck