Cross fading slide show, can this swf be centered inside another swf?

Posted on 2006-04-12
Last Modified: 2008-03-03
Here is the slideshow:
Images align top left regardless of Flash document size

Here is the FLA:

Here is the slightly larger SWF I'd like to center it in:

The FLA:

Question by:somnamblst
    LVL 19

    Accepted Solution

    Yes, just create an empty move clip in BG. Center the movie clip by making the x and y half of the stage width and stage height.
    LVL 19

    Expert Comment

    LVL 17

    Expert Comment

    Or else you can load slideshow2.swf to slideshowBG.swf using loadMovie command.
    Put swf files to same folder. Then in the slideshowBG.fla files, first frame put following code.

    loadMovie(slideshow2.swf ,1);

    Then it will not replace the slideshowBG.swf  file from slideshow2.swf . It will only overlap it. Becuase we are loading it to LEVEL1.

    BR Dushan
    LVL 17

    Expert Comment

    LVL 1

    Author Comment

    The empty movie clip was the best solution because I was then able to manually place the mc until it was in exactly the right spot. It ended up needing to be placed in the top left corner because the slideshow2.swf has a top left registration.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    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 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.

    758 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now