[Golist] Major update! Version 0.5.0

Moses Gunesch moses at goasap.org
Mon Jul 21 08:17:59 PDT 2008


Just to clarify a little, the main thing that changes the way we all  
work with GoASAP is #2 in the list below: the Playstates class.  
Instead of PlayableBase.PLAYING for example (or just PLAYING from  
within the class), you will need to use PlayStates.PLAYING.

That has been updated in LinearGo and the utilities and test files  
already. So, it might be that you don't have to make any changes to  
your API code at all!

But it does change the way that your users will reference play states  
on tweens, groups and sequences.

Like,

var t:HydroTween = HydroTween.go({...});
t.pause();
trace( (t.state==PlayStates.PAUSED) );

m



On Jul 21, 2008, at 2:25 AM, Moses Gunesch wrote:

>
> Warning: this update might affect existing code, it's pretty  
> significant.
>
> The IPlayable system has been overhauled and simplified in this  
> version.
>
> This is a system-level change, and it's a shame to have it come  
> after the Open Source Flash Development book has been published, but  
> such is life.
>
>
> 1. The IPlayableBase interface has been removed from the GoASAP  
> core. The state property was moved into the IPlayable interface, and  
> the playableID property is now treated as an optional convention.
>
> 2. The play-state constants (PLAYING, etc.) have been moved into a  
> new class called PlayStates.
>
> 3. The class PlayableBase is now treated as entirely optional
>
>
>
> As GoASAP has gotten more use it's become clear that PlayableBase  
> was too primary -- often subclassing is not a good option unless  
> you're working from scratch. Keeping the PlayStates constants in  
> their own class loosens things up quite a bit and provides a lot  
> more freedom.
>
> This update has a ripple effect, many of the example/test classes  
> and utilities have been updated to use the new PlayStates. Also  
> includes a small improvement in Sequence.skipTo() and some  
> documentation updates. (click "frames")
>
>
>
> Feedback welcome, as always!!!
>  :-)
>
> Moses
>
>
> [Special thanks to Tim Knip, Donovan Adams and Jack Doyle for their  
> input on this rev!]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080721/49528367/attachment-0001.html 


More information about the GoList mailing list