Archive for February, 2008

phi, the golden ratio: 1.61803399

Monday, February 18th, 2008

Nature, art, your body, ... everything and the whole world is interwoven with this number : the so called golden ratio = 1.61803399. for any mathematician this might be ordinary playground, For me it's still a miracle :) Try to achieve this similar math outcomes with any other number ! Whenever you play ...

loadBitmap & external pixel peace

Sunday, February 17th, 2008

Darn, Why can't we straightaway do a loadBitmap targetting a bitmap item in the library from a loaded external swf (within our own domain!) ? There must be some flashgod that sees evil in external pixels. Anyways here is a workaround (AS2). If we have a canvas.swf that wants to load external.swf and wants to ...

AS3 preloader on frame 1 (insert factoryClass)

Sunday, February 17th, 2008

How to add an AS3 preloader on frame 1 and bind it with a light BootPreloader Class? Especially nice if you use the flex sdk compiler without flash IDE. as simple as this: In your documentClass: place this underneath your imports and above your myDocumentClass(){} declaration: [ftf h="140" w="680"][SWF( backgroundColor='0xff0000', frameRate='30', width='980', height='320')] //alternative factoryClass / ...