I am not sure if i m posting in the right forum....but what I wanna do is to detect the right keypress and then left keypress and then scale a movie to be bigger. Meaning only if u press riight and left quickly enuff then you can increase the size of the movie clip.....
I added an action for a movie clip:
onClipEvent(load){
Speed=10;
}
on (keyPress "<Right>") {
on (keyPress "<Left>") {
this._yscale+=Speed;
this._xscale+=Speed;
}
}
But i realise that event handlers cannot be nested....
Question
-Wombat-
Hi,
I am not sure if i m posting in the right forum....but what I wanna do is to detect the right keypress and then left keypress and then scale a movie to be bigger. Meaning only if u press riight and left quickly enuff then you can increase the size of the movie clip.....
I added an action for a movie clip:
onClipEvent(load){
Speed=10;
}
on (keyPress "<Right>") {
on (keyPress "<Left>") {
this._yscale+=Speed;
this._xscale+=Speed;
}
}
But i realise that event handlers cannot be nested....
Anyone knows what I can do? Thanks!!!! :rolleyes:
Link to comment
Share on other sites
0 answers to this question
Recommended Posts