Hello there. I am new to animating. I have this cartoon I want to add Actionscript to. I am working in Actionscript 3.
Here is my code.
navigateToURL(new URLRequest("https://homestarrunner.com/"), "_blank");
It keeps giving me the error "1120: Access of undefined property thescreet." for the first line, first word.
I have triple checked now and everything is spelled correctly. If anyone could help, it would be a great help.
AS3? This isn't for a public web page, is it?
Hello Jaxson5C7C, I did the test here with your code and it worked perfectly. Check that you have correctly placed the name on the Button or MovieClip symbol that performs the action, (Remember that the symbol cannot be a "graphic", must be of the type "Button" or "MovieClip" and must be "named" correctly in the "Properties" Panel: https://www.facebook.com/groups/AdobeAnimateTutorials
It's still not working, I think there's some disconnect between the instacne name and the code.
Wait: I just turned off strict mode and it fixed it. Thanks!
Now the code just pauses the animation, what?!?
In ActionScript settings my options have Strict Mode off, everything else on. It is no longer giving me the error, but it just pauses the animation once you get to there. I'm just going to give up and replace the code with something different for the sake of my sanity!
Can you share your FLA so we can investigate it?