Hello,

I'd like to port a game of mine to a Flex app,
because I'd like to use tabs, controls and charts.

I'm reading the docs for already a week,
there are lots of them and well explained.

But what do I do with my Sprites?
My app consists mostly of Sprites,
for example user avatars with names+ score,
playing cards and a playing table holding 32 cards.

Should I create a custom components as separate
.mxml files for them? Should I change "extends Sprite"
to "extends UIComponent" in my classes?
Or should I somehow use rawChildren (of the container?)

I' mostly confused by: if you create a custom .mxml
control, how do you draw stuff inside it, how do you
maintain the children Sprites of it?

And how can you get the dimensions of the parent.
For example if I use TabNavigator with Canvas's
which have width=100% height=100% and put
my playing cards into a Canvas, how could I find
its real width x height please?

Regards
Alex
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to