user1587872
user1587872

Reputation: 365

What is the equivalent Flex API for JavaScript API "embedSWF"

I want to render a flex monster SWF file in another SWF file. COuld anyone let me know what is the equivalent to the following Javascript API in Flex API.

swfobject.embedSWF(swfFilePath+"PivotTable.swf",       
"flashcontent", "100%", "500", "10.0.0",swfFilePath+"expressInstall.swf", 
flashvars, params, attributes, swfAdded);

Upvotes: 0

Views: 116

Answers (1)

skovalyov
skovalyov

Reputation: 2099

You should probably use SWFLoader class, but it's not guaranteed that external component would work when loaded runtime or embedded this way. I would recommend to check documentation of external component regarding embedding it into another Flex application. Maybe you should use SWF package instead for that option.

Upvotes: 2

Related Questions