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

x
?
Solved

Loading SWFs in layers in Flash MX

Posted on 2003-03-31
3
Medium Priority
?
247 Views
Last Modified: 2010-04-03
I'm having trouble getting SWFs to load in an "empty" movie click in MX.  I'm trying to load new backgrounds in layer 1 titled "empty", at a place in my movie called "about us" (a frame name).  When I use the below code, the SWF loads on top of the base movie, not within it.  I obviously don't want this in this case.  My code looks like this:  

on (release) {
     gotoAndStop("aboutus");
     loadMovie("aboutusphotod.swf", _empty)
}


I'm trying to load the SWF in the layer without naming the instance.  Any thoughts?
0
Comment
Question by:justin1972
[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 Comments
 

Accepted Solution

by:
odeathoflife earned 200 total points
ID: 8493669
>>on (release) {
>>    gotoAndStop("aboutus");
>>    loadMovie("aboutusphotod.swf", _empty)
>>}

IF your empty MC is called empty then use this

on (release) {
    gotoAndStop("aboutus");
    loadMovie("aboutusphotod.swf", _root.empty)
}
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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,…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

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