Feeds:
Posts
Comments

Archive for December, 2007

SWFLoader can load a full application inside another. How do you get access its public properties and methods? 
Here is an example for doing this…..
/** SWFLoaded.mxml */
<?xml version=”1.0″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml“
    backgroundColor=”yellow”>
<mx:Script><![CDATA[
  [Bindable]public var varOne:String = “This is a public variable”;
  public function setVarOne(newText:String):void {
      varOne=newText;
  }//setVarOne
]]></mx:Script>
  <mx:Label id=”lblOne” text=”I am here”/>
  <mx:Label text=”{varOne}”/>
  <mx:Button label=”Nested Button”
      click=”setVarOne(‘Nested [...]

Read Full Post »