Quantcast
Channel: Adobe Community : Popular Discussions - Flex (Read Only)
Viewing all articles
Browse latest Browse all 46188

How can I access propertys in SWFLoader content on Flex SDK 4.5.

$
0
0

It was possible on Flex SDK 4.0.

 

like this.

 

sample code

[Bindable]

public var loadedSM:SystemManager;

 

private function checkLoadInit():void

{

loadedSM = SystemManager(loader.content);

var app:Application = Application(loadedSM);

if(app != null){

loadedSM.application["obj1"].x;

}

}

 

 

But, I need to use Flex SDK 4.5.

 

This program can not cast SystemManager to specific class because it is decided at the runtime which file will be loaded.

Is it possible?

 

Thanks.

sndpos.


Viewing all articles
Browse latest Browse all 46188

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>