Solved

Using flash in flash

Posted on 2008-06-14
2
235 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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,…
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 set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

919 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

16 Experts available now in Live!

Get 1:1 Help Now