Page 1 of 1

Can't load flash object movie into a swf

Posted: Thu Jun 14, 2007 11:57 pm
by jcg
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?
Thanks!

Posted: Sun Jun 17, 2007 5:18 pm
by Di-man
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.

Problem solved with _lockroot = true

Posted: Sun Jun 17, 2007 9:47 pm
by jcg
Actually the problem was that the movie refers to itself as root.

_lockroot = true;

took care of the problem.

Thanks for your help.