loadMovie works when loaded in level but not in clip

I am loadind a moving using the loadMovie method in Flash MX. When I use a clip to load it, the movie appears but doesn't play. However, if I load it into a level it does play but I can't positionn it.
Any idea?
Isabelle4uAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rockmansatticCommented:
Think of each level as a layer.  when you load it into level_25, then it is sitting on layer 25 all by itself.  When it is loaded, it is positioned with the top left corner, in the top left corner of teh Main Stage.

A easy way to find  the position of the loaded movie, it to make ITS stage size the same as the Main movies size. that way you can see where you want it to be.

Hope this litte visual trick helps.
0
rascalpantsCommented:
post your code that you are using to load the movie to the .swf

I would recommend using loadMovie("movie1.swf", "_root.movieclip"); so you can then just referrence the movieclip in your actionscript to position it...

make sure you gave the movieclip an instance name... that is a common error that people overlook...


rp
0
Isabelle4uAuthor Commented:
Thanks for your reply.
Due to its nature, it isn't convenient to change the size of the imported movie.
With using a clip, the problem isn't the position of the movie but rather the fact that it doesn't play. The movie appears, the button functions but the movie won't play.
But it works fine outside my main movie.
The code I use to import it:
 loadMovie("anagram.swf",_root.anagramClip);
I've also tried to use:
 loadMovie("anagram.swf",_root.anagramClip).Play;
Neither works. Please help me...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

rascalpantsCommented:
I think you need to put the _root.anagramClip in quotes because it is the target...  

but that may not be the entire problem...

you should post a link to the .fla so we can take a look at what the problem is...


rp
0
rascalpantsCommented:
Isabelle4u,


you need to close this question out...

please come back and comment or award the points...


rp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rascalpantsCommented:
thanks for closing out this question...


rp
0
Isabelle4uAuthor Commented:
I finally managed to make the loaded movie work within an invisible clip in the main movie.
The problem was the fact that I was using absolute addressing. So, I modified the movie I wanted to load so it's now using exclusively relative addressing...such as _parent.anything instead of _root.anything
And it works fine!

Thanks for your answers.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.