PDA

View Full Version : removeMovieClip Help



Wolfcry
September 25th, 2003, 12:10 PM
Hello all,

Hopefully someone can help me out because I am running out of things to try. First off, I know next to nothing when it comes to Actionscript so perhaps my problem is not that difficult to solve.

I have used one of the tutorials that is available here found at (www.kirupa.com/developer/actionscript/ascript_text_animation.htm) because I really loved the effect.

I have implemented this tutorial in my presentation and my problem right now is removing the movie clip because when I advance to my next scene in my presentation this movie clip displays.

I have tried removeMovieClip (mcInstanceName);
but it is not working.

Any help would be greatly appreciated.

Thanks in advance.

claudio
September 25th, 2003, 12:18 PM
The correct sintac should be:mcInstanceName.removeMovieClip();

Wolfcry
September 25th, 2003, 12:31 PM
Hello,

Thanks for the reply but unfortunately your suggestion won't remove the movie clip. I have made sure that I am using the correct instance name.

In my presentation I have one layer called actions which contains the following code.

char.removeMovieClip();
nextScene();

I thought that upon executing the char.removeMovieClip it would eliminate the movie clip char and all of its duplicate movie clips and then move on to the next scene.

It moves to the next scene but does not remove the movie clip. Should I have the removeMovieClip instruction in another place?

Thanks again for your help

claudio
September 25th, 2003, 12:37 PM
In this case, make the typying effect a movie clip and remove it later.

Wolfcry
September 25th, 2003, 12:45 PM
I am not sure if I understand you correctly so perhaps I can send you the fla file and you can check it out.

The typing effect is a movie clip. Actually it is two movie clips; char being the primary movie clip (which is on the main timeline of Scene 1) which has within it another movieclip title mcLetter which contains a dynamic text box.

As previously mentioned the code is exactly the same as the tutorial supplied in the tutorial section.

The only thing that I have changed in the code is the kerning so the text will be displayed appropriately due to the font that I am using, and the x and y positions.

Thanks again

claudio
September 25th, 2003, 12:48 PM
Can you post the fla here?

Wolfcry
September 25th, 2003, 01:30 PM
here is the file

thanks again

Voetsjoeba
September 25th, 2003, 01:57 PM
Failed to open document :-\

claudio
September 25th, 2003, 02:01 PM
Same here :sigh:

Wolfcry
September 25th, 2003, 02:51 PM
document is too big to post on the forum....i tried zipping it but it is still too big. May I send the document via email?

If so, please send me your email address.

Thanks again.

p.s. I can remove the movie clip if I stick a button and assign it a removeMovieClip action. But this presentation is going to be in the form of a screensaver so there will be no user interaction and therefore a "button fix" to my dilemna will not work.

claudio
September 25th, 2003, 03:02 PM
claudiodj at yahoo dot com

Wolfcry
September 26th, 2003, 12:38 PM
I have optimized the presentation and zipped it so I can post it on the forum. If anyone can solve my dilemna I will greatly appreciate it.

Best regards.

Wolfcry
September 29th, 2003, 10:15 AM
G'day all,

Thanks for all who tried to help me resolve my issue, but I figured it out.

Best regards