Daniel
Daniel

Reputation: 3077

AS3 embed question

I'm creating a wrapper SWF that needs to embed multiple swf's using the [Embed ] tag in Actionscript 3.

How can i embed a custom swf when compiling a as3 project using the flex sdk, E.G:

[Embed(source="/MySWF1.swf", mimeType="application/octet-stream")]

However i want to specify the 'source' location at compile time.

How can i do this?

Upvotes: 1

Views: 626

Answers (1)

Simon Eyraud
Simon Eyraud

Reputation: 2435

You should use compiler variable : Actionscript add strings to embedded images?

Upvotes: 4

Related Questions