This content has been marked as final. Show 5 replies
What you are trying to do is straightforward enough, but we would need more information on what you have. You could have your chess pieces as images, and the board as well, or you could create the board using Flex drawing functions. Then you could code the behavior of the game using ActionScript.
Thanks for the reply. I have board and pieces in PNG format (images) set in Flash 8 (downloaded trial version of Flash CS3 pro) . Now instead of using flash I want to use Flex (as developer in other languages) to code AS to move my pieces etc.
So basically I want to use Flash to set my board with images and Flex to code the behavior of game somehow calling the pieces etc from Flash SWF file?
any suggestion will be helpful
What if I use Flex + AS only to make my board and pieces (images) and code the behavior of game instead of using Flash. Is it possible. Any example on that?
I'm a little confused about the board and pieces. You seem to indicate they are "set in Flash", but as they are .png they are just images correct? If so then what program used to create the images is irrelevant. I would use Flex for the behavior of the game, because it was created primarily to get around the limitations of the Flash timeline. Flash programs execute a timeline, which is fine for small animations, but for programs (like your game), an event based model is necessary. So create the images in any program, and then code the behavior in Flex.
Thanks for the reply again. ok let me try one more time to explain. Forget flash right now.
I have Chess board and pieces png images separately. Now I want to use those images and create a chess game. Is it possible in Flex that I can make chess game from above images?
like this game http://www.newsandentertainment.com/zfchess.html
That game in the link you gave is kool! Addictive like sudoku. You can do that in flex. Ya just gotta code the logic in AS.