I'm embedding a swf file in an AS class and I would need to pass to
this file some FlashVars, however I'm not sure how to do it or if it's
possible at all. So far I tried this approach, but I get a compiler error:

[Embed(source="MyFile.swf?myFlashVar=abcd")]
protected var MyClass:Class;    

This gives me this error:

"MyFile.swf?myFlashVar=abcd does not have a recognized extension"

Is there any way to do what I'm trying to do?

Thanks,

Laurent

Reply via email to