Archive

Archive for the ‘ActionScript 3’ Category

Flash Player 10 -> my first test

May 17th, 2008 Fabian 4 comments

today i started to play with the new flash player 10 and that’s the first result!

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

here is the code executed by an ENTER_FRAME listener.

private function render(event : Event) : void
{
	var count : int = _holder.numChildren;
	var tempChild : Shape;
	while(count--)
	{
		tempChild = _holder.getChildAt(count) as Shape;
		tempChild.rotationX += 20;
		tempChild.rotationY += 10;
		tempChild.rotationZ += 5;
	}
}

hopefully adobe will publish the docs for the new classes soon! i like to play with the new sound and drawing possibilities…

Categories: ActionScript 3, flash