View comments | RSS feed http://help.adobe.com/en_US/Flex/4.0/UsingSDK/index.html

Comments


jason sturges said on Oct 27, 2009 at 8:53 AM :
Hi,

Can Bindable to applied to an Interface class?

As in, either:

[Bindable(event="myVarChanged")]
public interface IX
{
...
}

...or...

public interface IX
{
[Bindable(event="myVarChanged")]
function get myVar():String;

function set myVar(v:String):void;
}

Thanks!

Jason Sturges
smgilson said on Oct 28, 2009 at 12:05 PM :
[Bindable] with no event is not allowed.

Try it with an event, as you wrote it, and if it does not work then you can file an enhancement request at: https://bugs.adobe.com/jira

Stephen

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/gumbo/html/WS2db454920e96a9e51e63e3d11c0bf64c3d-7fff.html