éee... nunca tentei, mas acho q tu pode mudar setando um bytearray de imagem
direto no atributo Class, daí  - em tese - os campos "bindados" com essa
variável seriam trocados.

Mas como eu disse, nunca tentei.

Vai lá Beck.. vamos imergir nessa questão ae .... hehehe.



2009/6/3 Gabriela Trindade Perry <[email protected]>

>
> Oi.
> Alguém pode me explicar porque um [Embed] seria [Bindable]?
> Isso aqui está nos docs, mas eu não entendi... Como eu vou mudar o
> source do embed? Pois se ele está embutido...
>
> *********************************
>            [Embed(source="logo.gif")]
>            [Bindable]
>            public var imgCls:Class;
>
>
> Notice that Flex uses data binding to tie the imgCls variable to the
> source property. If you omit the [Bindable] metadata tag preceding the
> imgCls variable definition, Flex can only perform the data binding
> operation once, at application startup. When you include the
> [Bindable] metadata tag, Flex recognizes any changes to the imgCls
> variable, and updates any components that use that variable when a
> change to it occurs.
>
> Generally, this method of embedding assets provides more flexibility
> than other methods because you can import an asset once, and then use
> it in multiple places in your application, and because you can update
> the asset and have the data binding mechanism propagate that update
> throughout your application.
> >
>


-- 
Mário Júnior
Programador Java / Adobe Flex
http://blog.mariojunior.com

--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para 
[email protected]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
-~----------~----~----~----~------~----~------~--~---

Responder a