?
Solved

Loading another movie inside one

Posted on 2003-11-11
5
Medium Priority
?
286 Views
Last Modified: 2010-04-03
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
0
Comment
Question by:justaphase
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 500 total points
ID: 9723627
> mc2.loadMovie("apresenta1.swf");
if mc2 is on the same level then you good, if not then try this

_root.mc2.loadMovie("apresenta1.swf");

And apresenta1.swf is published and saved under the same directory?
0
 
LVL 1

Author Comment

by:justaphase
ID: 9723847
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
0
 
LVL 1

Author Comment

by:justaphase
ID: 9723898
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
0
 
LVL 1

Author Comment

by:justaphase
ID: 9723955
ok!!

got it... i must put the path:

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

sorry...
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 9724076
:)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question