Solved

Loading another movie inside one

Posted on 2003-11-11
5
285 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 125 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 have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

691 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