dev
box2d flex integration
0[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 ..
Multitouch + 3D flash 10.1
0I’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 | |
| TransformGestureEvent.GESTURE_ZOOM | v | v |
TouchEvent availability - windows only (and iPhone but i guess it’s not applicable any more)
| Event | Mac Air | Mac Web | Windows (Air+Web) |
| TouchEvent.TOUCH_END | v | ||
| TouchEvent.TOUCH_MOVE | v | ||
| TouchEvent.TOUCH_OUT | v | ||
| TouchEvent.TOUCH_OVER | v | ||
| TouchEvent.TOUCH_ROLL_OUT | v | ||
| TouchEvent.TOUCH_ROLL_OVER | v | ||
| TouchEvent.TOUCH_TAP | v |
the first version was a bit stale so I’ve added KineticMovementManager which adds a drift effect (like when scrolling an iPhone scroll) but it’s still a work in progress so don’t relay on it.
download source
download installer
[kml_flashembed publishmethod="static" fversion="8.0.0" movie="/blog/wp-content/uploads/2010/04/multitouch 3d take 2.swf" width="550" height="430" targetclass="flashmovie"]
[/kml_flashembed]
Web 2.0 Session at NDS
0
Hi NDS architects,
Thanks for joining my web 2.0 seminar, I had a great time and hope you did as well.
You can find most of the presentation content in hebrew at my hebrew blog, seminar slides are linked bellow.
Session 1 – What is web 2.0 ?(pdf)
Session 2 – Software as a service (pdf)
Session 4 – Framework and tools (pdf)
I’ll end with some questions I didn’t know or didn’t have the time to elaborate on:
How effective are google ad words?
You can find info at AdWords site success stories section though it’s not exactly impartial , general statistics about online advertising and ROI can be found in grabstats which also includes links to the original reports.
Where can I find firefox & add-ins ?
Remote Control (STB development)
Can Hadoop or F# parallelize my algorithms automatically ?
This question is divided into several parts :
1. Frameworks Hadoop and frameworks alike are prone to work in parallel but you (as the system architect or developer) need to identify the part that can be parallelized and pass it to the framework with the map and reduce functions
2. Languages F#, Scala and other functional languages parallelize your code automatically.
3. Functional constructs PLINQ and other functional constructs inside non funcional languages are not parallel by default, when they support parallel computation it’s usually with using an implicit directive such as myWorker.AsParallel = true;
What’s Yahoo WDK ?
Yahoo’s WDK is a widget development kit , what are widgets ? widgets are mini applications that are floating on your O/S desktop (in Windows they are called gadgets) you can see UI different examples in the following links mac dashboard ,windows gadgets, yahoo widgets. Widgets are very similar in nature to mashups (discussed in session 3) since they usually interact with an existing online service and have no data or logic of their own. Back to WDK , WDK lets you develop widgets running on Yahoo’s runtime (which needs to be installed on the customer’s machine), it uses a familiar development UI Pattern of XML layout language and Javascript for interaction. Yahoo widgets can run on PC or TV devices though I haven’t come across an IPTV STB that runs WDK. You can read more about WDK at yahoo tv developers or review the development manual for code examples.
Thanks again for a great session,
daniel.
Iphone online course,lesson 3 & 4
0frankly i don’t have the patience to time this lesson.
following lesosn 2 these lesson talks about cocoa , MVC , and Iphone development at least.
knowing all different kind of UI frameworks put me in a bad position of trying to do the assignment with a classic approach to MVC where the view knows the model.

Iphone MVC
Generally lessons learned this week :
- the controller knows the types of controls on the view and calls specific methods on them.
- the view is not aware of the model.
all where described pretty well in the lessons but hubris me failed to listen.
truly had some code in vain.
IPhone online course, lesson 1
0
Most of my professional carrier is on UI development and regardless to my previous post I started learning IPhone development.
The main reason is that IPhone UI rocks it’s the best, and to be the best you have to learn from the best.
So I don’t think you’ll see me any time soon @ the ITunes store , but I’m sure i’ll get a refreshing view on UI Development.
The course i chose is Stansford’ CS193P which is publicly available online.
lesson 1 video summary :
first 42 minutes are course intro and are useless for online viewers
00:41:50 talking about mac/iphone architecture
00:48:30 cocoa actors: objects, controllers, outlets ,target/action
00:51:00 xcode and interface builder
00:53:00 create a simple application (slider changes label value)
01:03:30 lesson summary
in basics the lesson reviews very quickly the IPhone architecture and gives the first
Assignment 1 requires no coding it is intended to get you situated with the tools
Assignment 2 aim is to get started with Objective-C by writing a small command line tool .
the syntax is different from what i know (mainly C# and JavaScript) and it took me some time to get use to objective c and Xcode.
some hints on objective c :
sometime functions are called with [] surrounding the function and the object e.g.
[string lenght] is the objective c way of saying string.Lenth in c#
Sometimes I used () I’m still not sure why.
some hints on xcode :
auto complete (intellisense) is done with F5.

