Hi - I've been using Flex to write some data visualizations and am in the process of writing an admin tool to customize the look n' feel of each visualization. My admin app uses SWFLoader to load the individual visualizations - a really nice thing to be able to do (load a full app inside another app). I need to call the accessors to the look n' feel properties inside the nested SWF's from the main app so that I can do real time changes that will upon completion be written to the actual config files that the visualization tools use.
So - all of the Adobe docs and blog posts on this topic seem to point to the same tutorial on calling methods and properties on nested swf's: http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html I can't seem to get this to run and I can't figure out what is happening here: // Write to the varOne variable in the loaded application // using the setVarOne() method of the loaded application. public function updateNestedVarOne():void { FlexApp(loadedSM.application).setVarOne("Updated varOne!"); } I don't understand the "FlexApp()" casting or whatever that is - FlexApp is the name of the loaded app - is this what this refers to? My sample apps always bombs out on that line as an undefined method.... Thanks!

