incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eitan Herman <>
Subject Re: What about the flex/flash pro combination - no one working pure flex
Date Thu, 05 Apr 2012 07:07:43 GMT
הי. אני גם חלק מהפורום. אשמח שנדבר.


On 4 באפר 2012, at 23:23, "איליה גזמן" <> wrote:

Thank you martin for approving my question and yet it reminds open.

I will try to give you an example for a common task and tell me how would
you implement it.

Lats say you need to represent a friends list in your application, and lats
say you got 54 friends in your list. The list appears below the game screen
where all the action take place.
This is how I would do it:

- Create new flex project: MyFlexGame;
- Create game component: var FlexGame:Group;
- Create friend list: var myFriensList:List;
- Create item render for myFriendsList: var MyFriendItem:ItemRenderer;
- Create new Flash Professional cs5.5 project: MyFriendIconFlash
- Create some nice animation for image icon, that also contains user name
with cool font and animated mouse over effect
 put it all in MovieClip: friendIcon:MovieClip. Then I will convert this
movieClip to *UIMovieClip *by hitting *command *and *convert symbol to flex
component,* then I will set export settings for my class(can be your
own implementation) to GUI.FriendIcon:*UIMovieClip *and export the project
to MyFriendIconFlash.swc
- In flex I will put the MyFriendIconFlash.swc to my library folder witch
is linked to the project this will give me access to GUI.FriendIcon with I
will put in myFriendItem:ItemRenderer mxml(it will also give me a preview
in design mode)
- Create new Flash Professional cs5.5 project: BlackBoxGame
- create MovieClip blackBox, convert this movieClip to *ContainerMovieClip
hitting *command *and *convert symbol to flex container, *add
FlexContentHolder symbol to that object(it will be the place where flex
content will be inserted), then as before set export settings(GUI:BlackBox:*
ContainerMovieClip*) and export swc file BlackBoxGame.swc
- In  FlexGame:Group mxml add blackBox like this:
       <GUI:BlackBox id="myBlackBox">
<game:MyFriensList id="myFriendList" itemRenderer=""/>


I assume that it would take me 20 minutes to complete this task, what about

Is it worth thinking about the Flash professional when building Flex Apache

2012/4/4 Martin Heidegger <>

On 05/04/2012 00:30, wrote:

You're assertions don't make sense. The base of Flex components is

UIComponent. Please look at the API and updateDisplayList on how to add

children to it.

Flash components are usually not resizable/layoutable which is why I used


Its a basic approach ... of course more complex ones are available.

On 05/04/2012 00:30, Stefan Horochovec wrote:


Apache Flex work on SDK, and dont work in any IDE for development.

I think the question is still valid: making the Flex SDK usable with

different systems

is a good idea... thinking about it is a good idea.





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message