Flashdemo “Fire” - Source anywhere? 
Posted: 07 February 2010 11:16 AM   [ Ignore ]
Rank
Joined  2008-11-03
Total Posts:  16
New Member

Hi guys!

Since I really love the flash-demo called fire and it really works well on my setup, I was wondering whether the source code of this application is somewhere around here, because I would really love to read the code and start programming my first self-written application from this basis.

I hope you can help me, I couldn’t find it neither on the nui pages nor with google.
Thanks alot,
Sebastian

Profile
 
 
Posted: 08 February 2010 12:00 PM   [ Ignore ]   [ # 1 ]
Avatar
Rank
Joined  2007-12-08
Total Posts:  79
New Member

Here’s a list of some of the project source code:
http://touchlib.googlecode.com/svn/trunk/AS3/src/

Fire is also one of my favorites.

Profile
 
 
Posted: 08 February 2010 12:43 PM   [ Ignore ]   [ # 2 ]
Rank
Joined  2008-11-03
Total Posts:  16
New Member

hi!

awesome, thank you!
I downloaded the whole AS3 folder, and now I would like to open one of those files in the src folder, like eg. the fire.fla - but it won’t open in my FashDevelop/Flex SDK environment. Am I missing something? Or do I need Flash to open .fla’s?

Edit: “FlashDevelop has no support for opening FLA files. You must use the official Flash authoring environment.”
Crap…

Profile
 
 
Posted: 08 February 2010 10:58 PM   [ Ignore ]   [ # 3 ]
Avatar
Rank
Joined  2007-12-08
Total Posts:  79
New Member

@albinoblacksheep,

If you’re using Flex or Flash Builder application you can still use a lot of the actionscipt source code available in the TouchLib open source project.  I prefer to use Flash Builder.  Here is a video tutorial that shows how to use the new native Touch events in player 10.1 to build the same Fire app. 

http://multitouchup.com/?p=115

Swtiching it over to use TouchLib shouldn’t be that bad.  In order to connect this app. to CCV or other TUIO data you could set up on an older sdk (prior to Flex 4 with Air beta 2), import the TouchLib library and switch over the events to use the TUIO touch events.

Hope this is helpful,
Matt

Profile
 
 
   
 
 
‹‹ Throw rotation physics      demo application ››