Can't load flash object movie into a swf

Specific Q&A about the new Flash export
Posts: 5
Joined: Thu Jun 14, 2007 11:39 pm

Thu Jun 14, 2007 11:57 pm

I am using pano2qtvr to make a object movie with individual images. I am creating a flash movie ("oMovie.swf"). In another flash movie I am creating a mc holder_mc to play the object movie and then loading the one swf into the other with:

holder_mc.loadMovie("oMovie.swf",1) in actionscript 2.0. All files are in the same directory. And it doesn't play.

Can anyone give me a clue as to why I cannot play the object movie swf in another?
Posts: 3
Joined: Sun Jun 17, 2007 3:18 pm
Location: Saint-Petersburg, Russia

Sun Jun 17, 2007 5:18 pm

Try to omit second parameter ("1").

From Flash help:

Code: Select all

public loadMovie(url:String, [method:String]) : Void

method:String [optional] - Specifies an HTTP method for sending or loading variables. The parameter must be the string GET or POST. If no variables are to be sent, omit this parameter.
Posts: 5
Joined: Thu Jun 14, 2007 11:39 pm

Sun Jun 17, 2007 9:47 pm

Actually the problem was that the movie refers to itself as root.

_lockroot = true;

took care of the problem.

Thanks for your help.