Skip to main content
Participant
Jan 29, 2022 1:08 AM UTC
Question

Frames duplicate custom cursor in AIR

I'm using frames to make my test app, and I added a custom cursor because I'm bored of the old plain cursor. The frames duplicated my cursor whenever it restarts from the first. How do I fix this?

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

kglad
Community Expert
Community Expert
Jan 29, 2022 4:02 AM UTC

put the code you don't want to repeat within an execute once conditional:

 

if(!this.executed){

// code you don't want to repeat

this.executed=true;

}

Translate