September 10, 2009 Actionscript AS3 Flash Snippet As null isn't the same thing as having a variable undefined. How then do you check if it's defined or not? Well, here's the answer:if(!myVariable) { trace("it's not defined");} Share this article: Related posts: Create an Android-app with Flash Create an Android-app with Flash When MouseEnabled fails Multi resolution development with Flash Preserve textformat when changing text in Flash / AS3 Comments Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus
Comments
comments powered by Disqus