0 Replies Latest reply on Mar 14, 2011 7:39 PM by d3wd

    How-To/Sample code to tie up class variable to MXML component created in Design view


      This is a very noob question but I've been searching through the documentation for the last 2 hours and can't seem to find anything helpful.  I have a SWFLoader created in the design view.  I have all my app code in an <fx:Script> with all my functions and variable in a CDATA tag.  All I want to do is hookup the SWFLoader created in the design view with a private var in my ActionScript. 


      I also have two separate states for my app, and I want the same SWFLoader to be visible in both states. Can someone point me to some useful sample code or documentation??


      Any help is much appreciated.