1 Reply Latest reply on Jul 9, 2008 4:21 AM by SujitG

    Passing variables to swf via Flash vars

    bshumsky06@yahoo.com
      Hi,
      I have a mxml component that I would like to initialize to a different state depending on the URL of the containing page. I have found a bunch of posts saying that I need to use Flash vars but how do I access them? I have tried to line "var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;" in the creationCompletion event in my startup form but it always throws a null reference error.

      Thanks,
      Bob