civicparadox
01-09-2003, 05:57 AM
I still can't figure out the syntax of actionscript. I have a movie clip called "screen0" and a global variable named "screenDup" which is initiated to 0. When a button is clicked, I want to duplicate screen0 with
duplicateMovieClip(_root.screen + _global.screenDup, "screen" + _global.screenDup++, 2);
After that, I would like to perform a fuction on the previous screen (ie screen0).
upShrink("screen" + _global.screenDup);
As you probably guessed, it doesn't work and I'm pretty sure it's because of the syntax. I have tried various combos and nothing is doing it for me. Please help this hopeless coder. Thanks.
duplicateMovieClip(_root.screen + _global.screenDup, "screen" + _global.screenDup++, 2);
After that, I would like to perform a fuction on the previous screen (ie screen0).
upShrink("screen" + _global.screenDup);
As you probably guessed, it doesn't work and I'm pretty sure it's because of the syntax. I have tried various combos and nothing is doing it for me. Please help this hopeless coder. Thanks.