DCSIMG
flex - מקודד לשווא

Browse by Tags

All Tags » flex (RSS)

Pong Applied Box2DFlex Physics Engine by danielisimo

I decided to learn by example and assigned myself the goal of building pong in box2d. box2d is an overkill for pong , but what do you know, it's damn easy. the gist of it is : layout world setup event handling read more

Working With Large Arrays in Action Script by danielisimo

While working on partly connected system using flex technology I figured out quick enough that working with large data sets (thousands of records) is not applicable. Especially because i held a number of those sets which I needed to cross reference in number of occasions. My solution was to create an indexed collection which i can benefit both worlds of Dictionary and ArrayCollection , with that in mind I designed and implemented the IndexedArrayCollection. The collection extends ArrayCollection...

Box2D Flex Complex Shapes Mapping by danielisimo

One of the drawbacks in box2d is that it's not supporting concave polygon shapes . for that box2d flex employs several algorithms and converts a complex shape to a set of polygons (I took the idea from 3d modeling) at this point i would like to give credits to sakri.net for he's shape outline algorithm makc.coverthesky.com for he's polygon2d both state that their algorithms are far from perfect but for a v0.2 it's a good start. in this case I'll start from the demo and then.....

Simple Box2D Flex Example by danielisimo

following my previous post announcing Box2D Flex framework i want to share some techniques via examples on how to use the library. First thing we create add a SkinableContentContainer to and drop some contorls inside it This, still, does not do anything fancy it just initializes box2d and registers & measures all controls inside our physics container. next step we add some bindable controls that will change our physics gravity and debug and the bindable properties to our physics container now...
תגים:, , , , ,

Announcing Box2D Flex framework by danielisimo

Prefix In a previous post demonstrating box2d integration with flex I made a promise (mainly to myself) to share the demo code. When I started to review with sharing in mind it looked cumbersome and overly verbose. So I started cranking on it fixing and straightening the code & architecture and step by step I realized that I'm creating a small Integration layer rather then a POC. Announcing Box2DFlex Box2DFlex framework allows you easely integrate box2d into flex framework using mxml. The...

Flex 3 hebrew textbox by danielisimo

following my last post on flex3 RTL label , next challenge was input text with RTL support , in that case I decided to cheat and use html input overlying flex. Not so elegant solution, but a solution non the less. the trick is to pass the flex component coordinate and position the HTML input accordingly , and on the HTML side handle keyboard and mouse event to let the flex developer feel @ home with regular focus and key press events. Add the... read more

box2d flex integration by danielisimo

[kml_flashembed publishmethod=\"static\" fversion=\"10.0.0\" movie=\"/blog/wp-content/uploads/2010/04/Box2DFlex.swf\" width=\"300\" height=\"300\" targetclass=\"flashmovie\"] [/kml_flashembed] Besides collapsing the form you can also drag N drop the items to see collusion and gravity. code will follow soon .. I hope ..... read more
תגים:, , , ,

Multitouch + 3D flash 10.1 by danielisimo

I've compiled a POC of a 3D model controlled by multitouch events in flex (actually AIR 2.0). In the application I use TransformGestureEvent dispatched from flash 10.1 player. unfortunately this is the only event fired in Mac and only in AIR mode - adobe it's lame. TransformGestureEvent event availability Event Mac Air Mac Web Windows (Air+Web) GestureEvent.GESTURE_TWO_FINGER_TAP v GestureEvent.GESTURE_PAN v TransformGestureEvent.GESTURE_ROTATE v v TransformGestureEvent.GESTURE_SWIPE v v...
Powered by Community Server (Commercial Edition), by Telligent Systems