Hi,
This article talks about using MovieMaterial vs MovieAssetMaterial.
http://www.rockonflash.com/blog/?p=101
For stuff in Flex, if you want to use external assets that you load
at compile time, you have to Embed them:
http://www.bit-101.com/blog/?p=853
With this you can Embed a single SWF, or use the LinkageID set in
Flash to specifically target a Symbol.
Then you can instantiate these symbols at runtime - you may need to
cast them though:
mySymbolInstance = new SymbolInstance() as MovieClip;
You can embed a MovieClip at compile time, so I would guess you
could then use this as a MovieMaterial.
Not sure about loading stuff at runtime and using it.
HTH
Glen
victoria powers wrote:
How would I go about using MovieAssetMaterial with Flex? I understand
how this works using Flash because you have actual library assets with
linkage identifiers, but with Flex you dont.
------------------------------------------------------------------------
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org