Solved

Using flash in flash

Posted on 2008-06-14
2
266 Views
Last Modified: 2013-11-05
I need to know how to insert an existing swf into this project for export.  Currently, when I bring in gallery.swf, it displays randomely.  I need to place gallery.swf into index.fla page4_1.  If I could attach the projects, I would.  I have placed an unprotected copy at http://fiorecouture.com/index.fla and http://fiorecouture.com/gallery.swf.

Thanks for any help in advance.
0
Comment
Question by:shageman
[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
2 Comments
 
LVL 4

Accepted Solution

by:
grafinery earned 250 total points
ID: 21785841
place this code into first frame of your page4_1 movieclip
var gallery_mc:MovieClip= this.createEmptyMovieClip("gallery_mc",this.getNextHighestDepth())
gallery_mc._x=0
gallery_mc._y=100
 
// if gallery.swf is in the same folder
gallery_mc.loadMovie("gallery.swf")
// for local file
gallery_mc.loadMovie("C:\\Gallery\\gallery.swf")
// for internet
gallery_mc.loadMovie("http://localhost/mb4/banner/banner_1.swf")

Open in new window

0
 
LVL 1

Author Closing Comment

by:shageman
ID: 31467192
This is great, thanks
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
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,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

691 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