Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AFCS in Flash?

Avatar

Level 2

So, the name change has me thinking that AFCS is supposed to work in flash. I can easily get that happening with SharedProperty and its ilk, but what about Pods? Aren't they UIComponents?

This is going to expose my flash-dev ignorance, but is there a simple way to get a flex UIComponent into a Flash project, and to get it displayed? (One developed in the Flash IDE).

Thanks

~sean

0 Replies

Avatar

Level 10

Hi Sean,

We've been looking at how we would make AFCS work in non-Flex projects, but the feedback so far has been that it was fine for us to focus on Flex. The biggest stumbling blocks so far are that we use ArrayCollections in the manager classes (say, userManager.userCollection), which is fantastically useful for binding, since arrays don't really throw the right events. We've considered forking the codebase - one Flash, one Flex, but we're not ready to maintain that much code quite yet.

I'll also confess that, although I worked on the Flash and Flex teams for a couple of years, I don't know if you can put Flex components in Flash - my instinct is no, Flex UIComponents can only go inside other UIComponents (like, Application, for instance).

hope that helps - let us know if you have any ideas or requests around this.

nigel

Avatar

Level 2

Wait, Flash can't use ArrayCollection? I know it's in the mx.* package, but that doesn't mean it wouldn't work. Is the mx.* package just not available while working in flash? That seems hard to believe. I seem to remember using some mx classes back in the day, but maybe it's just been too long.

Thanks for your help ...

Avatar

Level 2

Oh, and I'm totally fine with AFCS being flex-only, but I'm thinking about when/if people ask me the same question.

Avatar

Level 10

Cool - for now, we're staying with the line "currently Flex-only", but we're definitely not excluding Flash from our future plans.

nigel