0
Frames duplicate custom cursor in AIR
New Here
,
/t5/animate-discussions/frames-duplicate-custom-cursor-in-air/td-p/12714698
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/animate-discussions/frames-duplicate-custom-cursor-in-air/m-p/12714858#M350833
Jan 28, 2022
Jan 28, 2022
Copy link to clipboard
Copied
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;
}
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

