• 0

Flash Actionscript


Question

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

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.