• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

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
0
royjayd
Asked:
royjayd
1 Solution
 
dgofmanCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now