Documentation of the current AS lib (like an API?)
Posted: 28 April 2008 04:46 AM   [ Ignore ]
New Member
Rank
Total Posts:  12
Joined  2008-04-20

Hi all,

Just asking if there will be any form of documentation on the current AS lib from the google trunk. Right now, it is very difficult to understand how the latest code as most post in the forum discuss about older revision. For example, PhotoCanvas is removed and the photo.fla is using Physical as canvas instead. Hopefully, there will be some description about the various classes in the library so that new comer will not get stuck with older revision. Thank you!

-Paul-

Profile
 
 
Posted: 28 April 2008 12:42 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1348
Joined  2007-04-08

Yes there will be. For my Google Summer of Code project, one aspect i’ll be doing is working on the AS3 framework and documentation. We’ll be making it so that it’s easy to understand and get up and running as quick as possible with tutorials and such. It’ll take time to get the whole thing documented though. If you have specific questions regarding how something works, feel free to ask here.

 Signature 

My Multitouch Blog
My Youtube
Multitouch FAQ - Need Help? Click here!

Profile
 
 
Posted: 28 April 2008 09:41 PM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  12
Joined  2008-04-20

that’s wonderful! GSoC ftw!

Profile
 
 
Posted: 02 June 2008 09:13 AM   [ Ignore ]   [ # 3 ]
New Member
Avatar
Rank
Total Posts:  55
Joined  2008-05-06

Hey, great to hear that some more documentation is in the works.

Had a quick question, though, in the meantime, regarding the various canvas types. I’m looking right now at the Photo.fla example (checked out from SVN about a week ago). It’s using several types of canvases (parentScaleCanvas which is a Physical object, childMoveCanvas which seems to be a simple MovieClip object (?)). What I understand, based on the comments and the way the program actually functions, is that the Physical canvas (parentScaleCanvas) scales, but doesn’t move, whereas the childMoveCanvas doesn’t scale, but moves and rotates.

First off, I suppose I should ask: is there any documentation about these various canvas types and objects available besides sifting through the source code to figure it all out? Secondly, for the program that I want to develop, I need the photo-manipulation that the Photo app has (ability to rotate and scale the photos individually), but I don’t want my overall surface to move—like, you shouldn’t be able to drag on the blank space and move that canvas, it should remain stationary (since I actually need to write an app that detects if the “photos” are in a certain place on the canvas). So, what should I be looking at changing about that source code to achieve that result? Taking out the Physical canvas?

Dunno if that all makes sense, but any help you guys can give to get me started is appreciated smile.

Profile
 
 
Posted: 02 June 2008 09:18 PM   [ Ignore ]   [ # 4 ]
New Member
Rank
Total Posts:  12
Joined  2008-04-20

to make the overall surface unmovable, change its type to MovieClip instead of Physical
Viola~

Profile
 
 
   
 
 
‹‹ MediaTable Alpha      Project Index ››