Solved

load movie problem

Posted on 2002-05-05
7
187 Views
Last Modified: 2010-04-03
This is probably basic stuff, but I am learning . . .

I have 5 scenes in my movie, and want to load external movies into each of these scenes.

I created an empty movie clip, gave it an instance name, and actionscript on frame one reads . .

loadMovieNum ("foo.swf", foo);


where foo.swf is the name of the external swf, foo is the instance name of the movie clip, and selected target as the location. This means I can place the external swf where I want it. This works fine.

When I add a scene and do exactly the same thing in the new scene, it doesnt work-blank screen.

What am I doing wrong?


0
Comment
Question by:auntypizza
[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
7 Comments
 
LVL 6

Expert Comment

by:rootdir
ID: 6990561
Simple

Give different instance name to empty movie clip in each scene so that instance name should not be duplicate throughout main movie(parent movie).

Cheers
RootDir
0
 
LVL 6

Expert Comment

by:rootdir
ID: 6990562
Can you able to post your movie on web? I need to check.

RootDir
0
 
LVL 2

Expert Comment

by:thor918
ID: 6991789
Here are an working example:
http://hammar.no/users/thor/submit/loadmovie.zip
Giving the target movieclip the same instance name doesent matter as long as you have only one in each scene.

Are you sure you have done exactly the same thing as the scene that is working?
is the loadmovie using the same external file

the common thing I do wrong when I'm playing around with the loadmovie is that I forget to make the swf file in the same directory as the calling swf.
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 2

Accepted Solution

by:
thor918 earned 50 total points
ID: 6993694
auntypizza, please give us some feedback.
If you don't we will never know what you want!
0
 
LVL 1

Expert Comment

by:arckid
ID: 7002394
try this ...

loadMovie("foo.swf","foo");

where foo is the instance name / target on which you want to load the SWF file(s).
0
 
LVL 9

Expert Comment

by:OBCT
ID: 10319893
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept thor918's comment as answer.

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

OBCT
EE Cleanup Volunteer
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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,…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

729 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