Bluescreen before loading?

Monkey Targets Forums/Flash/Bluescreen before loading?

Yahfree(Posted 2011) [#1]
Hey, when I put a flash .swf online, there's a blue screen while it loads assets(I presume)

Is there a way to change this?


therevills(Posted 2011) [#2]
Have you tried using the OnLoading method?

	Method OnLoading:Int()
		Cls 0,0,0
		DrawText("Loading", SCREEN_WIDTH/2, SCREEN_HEIGHT/2, 0.5, 0)
		return 0
	End Method



JD0(Posted 2011) [#3]
onloading only runs when trying to access assets that are not yet loaded. It does not neccessarily run when you start an app.

You can change what is shown when you start by tweaking the monkey game class in the MonkeyGame.as file that is generated.