Chapter 42 Example 1

by actionscriptbible
♥0 | Line 13 | Modified 2010-02-10 12:37:55 | MIT License
play

ActionScript3 source code

/**
 * Copyright actionscriptbible ( http://wonderfl.net/user/actionscriptbible )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/sW6F
 */

package {
  import com.actionscriptbible.Example;
  public class ch42ex1 extends Example {
    public function ch42ex1() {
      Wonderfl.disable_capture(); //don't screen capture my flashvars
      var flashVars:Object = this.loaderInfo.parameters;
      trace("flashvars ----------");
      for (var variable:String in flashVars) {
        trace(variable + ": " + flashVars[variable]);
      }
    }
  }
}