Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Actionscript / May 2006



Tip: Looking for answers? Try searching our database.

Using RemoveMovie CLip within an embedded swf

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mordred58 - 31 May 2006 16:14 GMT
I'm building an e-learning module, and I'm in the process of making a glossary
file -- one that will change depending on what lesson is being accessed at that
time.  In order to do this, I have an external swf that is embedded into
another swf file.  In the external swf, I have a button that I would like to
use to remove the external swf from the file it's embedded into (the shell for
the overall course).  I've tried using parent.removemovieclip -- with no
results.  I believe that I can do what I want with this command, I'm just not
sure.
John Doe - 31 May 2006 18:29 GMT
_parent.removeMovieClip would remove the container, not the mc where the
glossary is loaded. try this.removeMovieClip (the MC instance was
created in author mode dragging from the Library?)

BTW, perphaps unloadMovie is best suited in your app or just loading
another swf

> I'm building an e-learning module, and I'm in the process of making a glossary
> file -- one that will change depending on what lesson is being accessed at that
[quoted text clipped - 4 lines]
> results.  I believe that I can do what I want with this command, I'm just not
> sure.
Mordred58 - 31 May 2006 19:55 GMT
I've been using AS to load the external swf's into the shell.  My hope was to have a command within the external swf to remove itself while still leaving everything else on the stage.
John Doe - 31 May 2006 20:19 GMT
then try this.removeMovieClip() but take into account, IIRC, it's
intended for mc's created dinamically. take a look at the help

> I've been using AS to load the external swf's into the shell.  My hope was to have a command within the external swf to remove itself while still leaving everything else on the stage.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.