0
Explorer
,
/t5/animate-discussions/simple-run-function-on-load-into-frame/td-p/9712934
Feb 20, 2018
Feb 20, 2018
Copy link to clipboard
Copied
Hello,
I have been unable to get a function of mine to fire off on loading into a specific frame. This is what I tried:
var _this = this;
_this.addEventListener("load", myFunction.bind(this));
_this.stop();
Can anyone help me out, I think I am missing something super simple.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
LEGEND
,
Feb 21, 2018
Feb 21, 2018
So... just put the code on that frame.
LEGEND
,
/t5/animate-discussions/simple-run-function-on-load-into-frame/m-p/9712935#M177943
Feb 20, 2018
Feb 20, 2018
Copy link to clipboard
Copied
There is no such concept as "loading into a frame" in Animate. What exactly are you trying to do?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
victoriak23188594
AUTHOR
Explorer
,
/t5/animate-discussions/simple-run-function-on-load-into-frame/m-p/9712936#M177944
Feb 21, 2018
Feb 21, 2018
Copy link to clipboard
Copied
Maybe I worded that incorrectly. I am looking to be able to run a function automatically once a specific frame is visible, or visited.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/animate-discussions/simple-run-function-on-load-into-frame/m-p/9712937#M177945
Feb 21, 2018
Feb 21, 2018
Copy link to clipboard
Copied
So... just put the code on that frame.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

