Fur Ball (How to Flash Pre-Rendering)

Pocket

I made Fur Ball Simulation folked from Marimo by tail_y.

How to Pre-Rendering

The best way is use Progression -Flash Framework-. You can treat async-processing as sync-processing by Comand Lib of Progression.

ex)

var com:SerialList = new SerialList()
com.addCommand(
	// start prerender
	function():void{
		for(var i=0; i<NUM; i++){
			this.parent.insertCommand(
				function(){
					//render
				},
				new Wait(50) // treat as async
			)
		}
	},
	// complete pre-render
	function():void{
		// your code
	}
)
com.execute()