Im getting a data binding error when trying to embed flash into Flex 3

Posted by Adam on Stack Overflow See other posts from Stack Overflow or by Adam
Published on 2010-05-18T15:31:16Z Indexed on 2010/05/19 3:30 UTC
Read the original article Hit count: 128

Filed under:
|

My script is:

[Bindable]
[Embed(source="loader.swf")]
public static var Icon:Class;

and my mx is:

<mx:Image source="{Icon}" y="125" x="0"/>

It works but when I try to export it it won't because of:
Data binding will not be able to detect assignments to "Icon"

What am I doing wrong?

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3