The target can also be set once the Effect has been instantiated by using the target property of the Effect class. The target is the UIComponent that the Effect will affect when the play method of the Effect is called. When an Effect is defined in MXML, the target UIComponent must be assigned within a binding tag: 目標(biāo)的設(shè)置也可以在Effect 實(shí)例化完成后通過(guò)設(shè)置Effect 類的target 屬性來(lái)完成。所謂目標(biāo)就是一個(gè)當(dāng)調(diào)用Effect 的play 方法的時(shí)候會(huì)對(duì)其產(chǎn)生作用的UIComponent。當(dāng)一個(gè)Effect定義在MXML 后,目標(biāo)UIComponent 必須以綁定標(biāo)簽的形式進(jìn)行分配: