Posted on August 26, 2008, 7:24 pm, by Daniel, under
actionscript.
Following up on an earlier post, here is the AS2.0 version of the dragToPosition X & Y coordinate tracer. class com.sitedaniel.utils.Design { public static function dragToPosition(mc:MovieClip):Void { mc.onPress = function():Void { startDrag(this, false); } mc.onRelease = function():Void { this.stopDrag(); trace(this._x + ‘, ‘ + this._y); } } }
Posted on August 26, 2008, 7:21 pm, by Daniel, under
actionscript.
This is an oldie but a goodie. Getting around scope problems in AS2 can be a pain, but mx.utils.Delegate can help. The only problem is that you can’t pass parameters to your function using this one. The following class enables you to use the Delegate.create method, and also pass parameters to the function: class com.sitedaniel.utils.Delegate [...]
Posted on August 22, 2008, 5:55 pm, by Daniel, under
actionscript.
The new vidzone.tv site went live yesterday after two frantic weeks (see previous post). The site is built in AS3.0 and uses RTMP video streaming to stream music video clips. The site also enables users to create playlists which are stored remotely against an ID value from a local cookie. The service is unbelievable fast [...]
Posted on August 21, 2008, 5:17 pm, by Daniel, under
actionscript.
just finished building the new vidzone site http://www.vidzone.tv unlimited streaming videos more later
Posted on August 18, 2008, 10:30 am, by Daniel, under
actionscript.
Microsoft doing its best to overcome Flash: http://whydoeseverythingsuck.com/2008/08/ru-roh-adobe-screwed-by-ecmascript.html
Posted on August 4, 2008, 9:23 am, by Daniel, under
actionscript.
Here’s a little tool I recently ported to AS3 that I use quite often to place things on the stage at the correct X and Y positions. This saves you from having to guess X and Y values, and it means you can get objects into place quickly and move on to the next thing. [...]