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)?

2. If yes, any important caveats?

3. Am I correct that all the Flash libraries (that is, all those
included in Flash CS3) are available by default (at least in compiled
form) within Flex Builder (the Flex SDK)?

My company has artists working in Flash CS3 (planning move to CS4),
and programmers working in Flex Builder. The general work flow has
been for the artists to create "art" assets which the programmers
incorporate into applications using ActionScript. For various reasons,
right or wrong, we programmers are *not* developing apps as Flex apps
(no MXML), but as "ActionScript Projects". The upshot of this has been
that we've tended not to take advantage of all the Flex libraries,
either from ignorance or due to documentation that assumes the MXML
context and can obscure how/whether its possible to use these within
"plain" ActionScript projects.

This issue has arisen different times, but the particular problem case
I'm running into now is wanting to create Flash components which make
use of the Flex libraries. In fact, I'm confused as to which libraries
are and are not available by default in CS3, since components
themselves use things like UIComponent, which is documented as part of
Flex.

Thanks for any help!

Jason Boyd


Extra credit questions:

[Embed]ding SWFs and SWF Symbols into ActionScript class files is one
way to cause Flash's main display classes of MovieClip and Button to
extend UIComponent. Are there other ways? Ideally we would get art
from the artists and have the runtime accessible objects be managed as
Class instances within the Flex hierarchy, to take advantage of things
like the automation framework. How are others doing this, if they are?

Is there some way to use [Bindable] on properties within Flash CS3? I
have a component that pulls in a class that uses this metadata tag and
it compiles in Flash CS3, but there doesn't appear to be any way to
bind the Bindable property, since there's no MXML and BindingUtils is
in a Flex library not included with Flash.

Anyone know of simple docs on *creating* custom components, as opposed
to skinning or modifying existing ones? I'm not afraid of coding
around a potentially complex framework, but I'd like to understand how
it's supposed to be done.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to