Link to home
Start Free TrialLog in
Avatar of justaphase
justaphaseFlag for Portugal

asked on

Loading another movie inside one

hi all...

i'm using flash mx and i'm trying to load a movie inside another movie. at the end of the movie i create a frame with square wich is a movie clip called "mc2" and then in the actions of that frame i put the following code:

stop();
mc2.loadMovie("apresenta1.swf");
mc2._x=0;
mc2._y=0;

but when it end nothing happens... i'm confused, i used this code befora and worked... am i missing somenthing?

thx in advanced
ASKER CERTIFIED SOLUTION
Avatar of Saqib Khan
Saqib Khan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of justaphase

ASKER

yes u right...

but i had to give up the "mc2" movie clip...

i just put this way and worked just fine:

_root.loadMovie("apresenta1.swf");
_root._x=0;
_root._y=0;

thx a lot for the help :)

Regards
god i dont believe it....

works outside the web page... but doesn't work inside the WebPage...

i don't get it... i allready accepted the answer but i'm still with problems  :P
ok!!

got it... i must put the path:

_root.loadMovie("files/flash/apresenta1.swf");
_root._x=0;
_root._y=0;

sorry...