Solved

Using flash in flash

Posted on 2008-06-14
2
226 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
2 Comments
 
LVL 4

Accepted Solution

by:
grafinery earned 250 total points
Comment Utility
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
Comment Utility
This is great, thanks
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

772 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