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.