Variables
hi, i'm new forum , flash. in school , learning basics of flash layers, frames, symbols, , tweens. after person came in talk action script, curious possibilities can generate. trying make game single baloon starts float top of screen. using cursur shaped needle, click on baloon , pops. on release, advances next balloon. not know how in world out makeing long movie balloons floating top. anyway, have decided way way me in year.
here question. want make counter on left hand top side of screen. counter shows number of balloons popped. know have make dynamic text box show variable , assign command says in english on release, add 1 variable a. how in "actionscript"?
here question. want make counter on left hand top side of screen. counter shows number of balloons popped. know have make dynamic text box show variable , assign command says in english on release, add 1 variable a. how in "actionscript"?
just create textfield , in properties panel give instance name, scoretf.
then have onmousedown handler check if mouse (or custom needle cursor) has positive hittest() balloon movieclip. if does, you'll remove floating balloon movieclip , display deflating balloon movieclip , can use:
then have onmousedown handler check if mouse (or custom needle cursor) has positive hittest() balloon movieclip. if does, you'll remove floating balloon movieclip , display deflating balloon movieclip , can use:
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment