i liked the Super Button in the file.sw
amm… the file is not Opening in my PC…
if you could just answer me this few Quastions ill be very Glad
this is how i define the “Flags”? no other Actions ?
buttons_state = [0,0,0,0,0];
this is on the frame ActionScript ofcourse… yes?
how do i link those Flags to a buton ?
on(press/rollOver/release/etc'..:)){
//what code do i put here ?
buttons_state = [1,0,0,0,0];
// just other Flag state? or at a different way?
//(im sure that its in a diferent way :))
}
But, I saved it as Flash MX, are you using flash 5?, because I dont have flash 5 file format avalaible. Please tell me what flash version are you using.
There is an easier way
ActionScript Code:
[FONT=Courier New][LEFT]n=[COLOR=#000080]0[/COLOR];
[COLOR=#0000FF]for[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#0000FF]if[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
n++;
[COLOR=#000000]}[/COLOR]
[COLOR=#000000]}[/COLOR]
[COLOR=#0000FF]if[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#0000FF]gotoAndPlay[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR]
[/LEFT]
[/FONT]
this simple code just initialize a counter var (n) in 0 and make a count of the array members containing 1. So, you compare, if n==the number of elements of the array, it means that all your array memebers have been switched to 1, and its ready to go to special frame. else, it wont do nothing and will review again the next time it pass by this coded frame.
Here is again the file, I have saved it even as MX, it must work now
Hi This is Bhaskar i have doubt in flash action script my qustion is below i take one text box and 2 buttons when i will type in text then click on one button text will displayed on another button.
**if it possible plz help me ** thanking u