On Dec 23, 2008, at 5:10 PM, Jason Boyd wrote:
1. Can Flex libraries (mx.*) be used in Flash CS3/4? Is this as simple
as adding source files and/or SWCs to an FLA project's classpath? And,
where are all these libraries (Windows XP or Vista)?
Yes.
http://labs.wichers.nu/2007/12/25/using-flex-compiled-code-within-flash/
Theoretically, you can use every Flex library and component within
Flash. It's all SWF bytecode in the end. There are some tricks to
placement of SWC files from the Flex library at the root of your
source FLA to get it to recognize and compile the code.
It's just very awkward and very difficult to manage in any larger
scale application.
I actually requested something on flexcoders quite a while back and
'lo and behold the author of this blog responded and added some
additional examples to his description of how to get the RPC classes
in Flash.
http://labs.wichers.nu/2007/12/25/using-flex-compiled-code-within-flash/
There are a couple other posts on that blog that may help you along as
well.
cheers,
jon
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders