December 16, 2007 at 21:22 · Filed under RubyAMF
Hello chums,
Now that Rails 2 is out, you may want to know how things are working with RubyAMF and Rails 2. There was one bug breaking with Rails 2, where you would render => :amf and get an error. A fix to that error is in the development branch, and will hopefully be promoted to the trunk soon.
I’m also looking into a few other annoying bugs, which should be in the development branch soon, too.
December 10, 2007 at 13:17 · Filed under AS3, Flash
I’m on a project right now that’s using TweenLite But it’s missing the isTweening method. Here it is:
First update the constructor:
Line 180/181 should look like this:
_all[$target][this] = this;
_all[$target]['instance'] = this;
In the executeAll() function, there is an innter for loop, change it to this:
for (twp in a[p]) {
if(twp == 'instance')
continue;
tw = a[p][twp];
if (tw != null && tw.active) {
tw.render(t);
}
}
Then add this somewhere at the bottom:
public static function isTweening(target:*):Boolean
{
if(_all[target] == null)
return false;
var t:* = _all[target] as Dictionary;
var instance:TweenLite = t['instance'] as TweenLite;
return instance.active;
}
Hope that helps someone out there.
December 9, 2007 at 21:39 · Filed under Books, RubyAMF
Just in case you haven’t heard already, or heard about Flexible Rails for that matter. It’s a great book, and there is now a RubyAMF iteration available for free! Details here. Congratulations to Peter Armstrong for putting a ton of work into Flexible Rails!