Frames duplicate custom cursor in AIR

New Here ,
Jan 28, 2022 Jan 28, 2022

Copy link to clipboard

Copied

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?

TOPICS
ActionScript , Code , Error

Views

31

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jan 28, 2022 Jan 28, 2022

Copy link to clipboard

Copied

LATEST

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;

}

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines