开发者

Help in creating a card stack

I'm trying to develop a card game with Flex, and I was wondering if there's a way to create an horizontal list (the cards th开发者_JAVA技巧at I have in my hand) having the elements overlapped, like you can see in this example made with openflux:

http://www.ryancampbell.com/flex/StackListExample/StackListExample.html

the thing that's missing here is the possibility to swap the cards with drag and drop. Any ideas on what I could do to get a similar effect with an horizontallist based component?


If you are using Flex 4, its a pretty straightforward custom layout.

some links to get you started.

RIA

Adobe TV


Yo

I was looking at a 3D layout the other day for Five3D (an opensource 3d api), and saw an example of a Card game/layout that may give you some inspiration:

http://www.danielenstrom.com/solitaire/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜