SWIZ: autowire v/s bindable

hi guys

In swizz when do i use [Bindable] v/s [Autowire]

example I have

public class CustomAction extends FormItem

{
[Autowire] public var delegate:Idelegate;
.....
}


or can i just say

public class CustomAction extends FormItem
{
[Bindable] public var delegate:Idelegate;
.....
}

which one is correct?

thanks
royjaydAsked:
Who is Participating?
 
dgofmanConnect With a Mentor Commented:
They are two in depended you can initialize Autowire and Bindable for same variable

[Autowire]
[Bindable]
public var delegate:Idelegate;


But they have different purpose


http://danorlando.com/?p=226


http://www.flexafterdark.com/docs/Flex-Binding
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.