[flexcoders] How do i embed a SWF in AS3?

2010-06-17 Thread Clark Stevenson
Hey all, The title says it all. I know how to embed a symbol from a SWF, but everything i try when trying to embed a complete SWF fails: [Embed(source=assets/some.swf, mimeType=application/octet-stream)] private var MySWF:Class; var movie:MovieClip = new MySwf() as MovieClip This does not

Re: [flexcoders] How do i embed a SWF in AS3?

2010-06-17 Thread Alex Harui
Remove the mimeType and use –keep to see the generated code. You should be able to use what gets generated in order to just embed a SWF as bits. On 6/17/10 10:02 AM, Clark Stevenson a.scots...@gmail.com wrote: Hey all, The title says it all. I know how to embed a symbol from a SWF, but