[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

Using flash in flash

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
shageman
Asked:
shageman
1 Solution
 
grafineryCommented:
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
 
shagemanAuthor Commented:
This is great, thanks
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now