Copy link to clipboard
Copied
Hi All,
The line:
newChildObject = myMC;
produces an error ("Access of undefined property newChildObject") when my I have 'strict mode' checked in my Advanced Actionscript 3.0 Settings window but not when I have that unchecked.
(I'm assuming that I'll need a 'var' in front of that variable to keep it from throwing an error in 'strict mode.' )
Should I keep my 'strict mode' checked? Will it help prevent some problems down the road (like in SWF versions)?
Thanks
Yes, learning and coding in strict mode will save you headaches... and not necessarily that far down the road.
Copy link to clipboard
Copied
Yes, learning and coding in strict mode will save you headaches... and not necessarily that far down the road.
Copy link to clipboard
Copied
Thanks Ned.
I'll use it going forward.
Copy link to clipboard
Copied
You're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now