11/28/2009 12:35:24 AM
Title:
robotics in flex
give me a sample code for robotics and perform some functionalities in flex
11/28/2009 11:55:07 AM
explain your question, what do you mean by robotic functionality ?
11/30/2009 12:10:35 AM
robotic functionality means just walking, take a object, sitting etc., give me sample code to do it
12/3/2009 5:33:38 AM
robotic functionality means just walking, take a object, sitting etc., plz give me sample code to do it plz..........
12/3/2009 6:46:58 AM
Hi,
In flash such kind of functionality is achieved through animation done with time line. Some 3D softwares like 3Dmax, Maya, Lightwave etc support character modeling which can be used to achieve such animations.
In case of flash for walking kind of thing you should create a movieclip with walking person animation i.e his legs moving like walking. Then you can move this person here and there just changing his xy positions so it appears like walking. similarly siting and taking objects need to be already animated inside movieclip mannually. you can play that action on click of some button etc.
so in short , the actions has to be animated by animator inside movieclip, say frame 1- 10 is walking and 11-20 is siting the developer can then play sitting animation by calling gotoFrameAndPlay(11) on button click to perform sitting action. Similarly to perform walking he will need to call gotoFrameAndPlay(1) so walking animation will get played.
12/4/2009 4:42:04 AM
a good link on character modeling in flash , might help you
http://www.adobe.com/devnet/flash/articles/adv_char_anima.html