I would not say it works really really well... In some cases, it's actually
harder to integrate flash cs3 with flex this way than it is integrating AVM1
swf's (flash 8) with flex...

First, you can use any movieclip in a swc library so long as it's exported
in the first frame.

Second, you will only be able to add UIMovieClip (this is what the flex
component kit does) types to the stage, however, ordinary movieclips can
only be attached to UIComponent prototypes. The flex component kit just
imports a UIMovieClip class as a compiled clip and makes the target clip a
UIMovieClip subclass.

Third, don't expect any scripts to work unless they are *instantiated in
Flex*. For whatever reason, scripts are completely ignored on movieclip
instances that are instantiated by the timeline ( or not programmatically ).
Essentially, in that case, if you try to call stop on your movieclip at the
end of an animation sequence, it will not work.

Finally, you will probably not be able to use your component in flex unless
you instantiate everything programmatically. If you were to make your
component in Flex, you would need to subclass UIComponent and learn the
component framework. I would avoid this as there is quite a bit of
information you will need to gather in order to do this.

The most important consideration would probably be a simple public API.
Essentially, avoid making it capable of doing anything it doesn't need to.

On 7/30/07, Troy Rollins <[EMAIL PROTECTED]> wrote:
>
>
> On Jul 30, 2007, at 11:56 AM, matt stuehler wrote:
>
> > Two questions -
> >
> > 1. The client has asked about the feasibility of developing this in
> > Flex instead of Flash. Since I'm only beginning to learn Flex, I can't
> > really answer this. But my simplistic understanding is that, at a high
> > level, Flex is a language for tying together individual Flash
> > components into an overall UI/RIA. So, if you're building a low-level
> > highly customized, unique "component" - Flash is the right tool for
> > that, not Flex. Is this correct?
>
> Basically true, though unique components can be created in Flex/AS3
> as well, the process is a bit harder.
>
> >
> > 2. Assuming 1. is correct, what special considerations are there for
> > developing a Flash movie/widget/component that might be embedded in an
> > HTML page, AND/OR used within a Flex application?
>
> Check out the "FlexComponentKit", which I think is still on
> labs.adobe.com as a beta. It allows you to wrap MovieClips into a
> UIComponent in Flash, export them as an SWC, and reference them in
> Flex. Works really really well, and takes a lot of the effort out of
> the process of doing it in other ways.
>
> --
> Troy
> RPSystems, Ltd.
> http://www.rpsystems.net
>
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to