Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

load movie problem

Posted on 2002-05-05
7
Medium Priority
?
194 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Accepted Solution

by:
thor918 earned 200 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

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

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

722 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