How to pass variables from HTML to the document Class in AS3

I thought I’d make a post about this  just to make it easier for people to find answer for this question: How to pass variables from HTML to the document Class in AS3? I knew this would be more complicated then in ActionScript 2 because it was just too darn simple.  My first guess was that you would retrieve the variables from the constructor of the document class, but I was wrong. You have to use the LoaderInfo class for the root object. Here is a link showing you how to do it.

, ,

  1. No comments yet.
(will not be published)
Subscribe to comments feed
  1. No trackbacks yet.

Parse error: syntax error, unexpected ';' in /homepages/25/d169645162/htdocs/wp-content/themes/fusion/footer.php on line 13