PDA

View Full Version : the buttons are stil there ...WHY?????



WIL
October 21st, 2005, 03:03 PM
HELP!!!
PLEASE!!!


In one of the label's is tis code:

var _ren = mClip.duplicateMovieClip("mClip_" + k , 1+Number(k*size));
...and i generate a number of buttons

from one of the buttons i go to a label that is EMPTY, but the buttons are stil there ...WHY?????

Barn
October 21st, 2005, 03:34 PM
Hard to tell without seeing your button code. Copy and paste the code; don't retype -- saves wear and tear on your fingers and prevents introduction and/or omission of errors.

WIL
October 21st, 2005, 03:52 PM
here is the FLA

WIL
October 21st, 2005, 04:01 PM
so the real issue is that

when i press button 1:
i want to change the number of total buttons.
and i think the easy way is from another label.

but how can i change, when the buttons in the next label are still there...


maybe is somthing like unload duplicateMovieClip
or unload level??

but i do no exactly..
Many thanx

WIL
October 22nd, 2005, 10:49 AM
ok maybe i didn't explain exactly what am i9 meaning...so let say that we control the number of duplicateMovieClip element, with a
var size=5;
how can i reinitialize this size ? if i'm working in the same label ....where the duplication was made??