[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Loading another movie inside one

Posted on 2003-11-11
5
Medium Priority
?
287 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
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

650 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