Groups | Blog | Home
all groups > flash (macromedia) > august 2007 >

flash (macromedia) : closing a popup movie clip in firefox


melissa_v
8/30/2007 10:17:07 PM
I am still using AS2.0 (I will get with the times eventually), and I have a
series of links on my webpage that create empty movie clips and load SWFs into
them. I have a button (a typical little "x" in the corner) that should close
these clips, and it works when I preview it in Flash, but when I take it into
Firefox or another browser, it won't close.

The code that I place to load the movie clips is:

on(release){
_root.createEmptyMovieClip("empty3", 1001, 250, 150)
_root.empty3.loadMovie("projects/DIH/DIHlearnMore.swf");
_root.empty3._x=70
_root.empty3._y=65
}


The code I place on the "x" buttons to close these popup clips is:

on(release){
_root.empty3.swapDepths(0);
_root.empty3.removeMovieClip();
}


Any ideas, friends??
.:}x-=V!P=-x{:.
8/30/2007 10:23:52 PM
on(release){
_root.removeMovieClip(empty3);
melissa_v
8/31/2007 5:13:44 PM
dzedward
8/31/2007 5:15:27 PM
AddThis Social Bookmark Button