Groups | Blog | Home
all groups > flash actionscript > january 2005 >

flash actionscript : one .swf opens a specific frame in another .swf


Doublevision
1/25/2005 11:22:12 PM
On level 0 is pr.swf and on level 2 is sitemap.swf (feels like a 'pop-up' due
to its solid white background)
In sitemap.swf is object A that on 'release' should open pr.swf at frame 21
which has label 'news'
In sitemap.swf is object B that on 'release' should open pr.swf at frame 46
which has label 'usp'
As sitemap.swf opens the specific frame in pr.swf, it also should unload movie
at level 2 i.e. close itself
How do I achieve the above with Flash 5? Thanks for your help!
kglad
1/26/2005 1:44:55 AM
objectA.onRelease=function(){
_level0.gotoAndPlay("news");
unloadMovieNum(2);
}
objectB.onRelease=function(){
_level0.gotoAndPlay("usp");
unloadMovieNum(2);
AddThis Social Bookmark Button