Hello
I am designing a site and one problem has been persisting for
quite some time.
I want to remove an swf once a second page has been added
here is the website design
> a preloader loads my main menu , on the main timeline of
my preloader.swf I create a new loader (loader1) and tell it load
the URLRequest "menu.swf"
> The menu.swf loads, on menu.swf main timeline I create a
click function (instantiates once a button has been clicked) that
loads my second loader (loader2) and this loads the URLRequest
"cast.swf"
I want cast.swf to replace menu.swf and remove it entirely
but I cant figure out how to do it,
here is what I have tried inside the click function of
menu.swf
(is this possible? can you write code to remove an swf if you
are actually inside that swf's main timeline? )
removeChildAt(0); ( this only removes the bottom layer of the
menu.swf)
removeChild(MovieClip(root).loader1); inside the click
function ( this does not remove the menu.swf )
thanks v much
matt