1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <s:Application xmlns:
fx=
"http://ns.adobe.com/mxml/2009"
3 xmlns:
s=
"library://ns.adobe.com/flex/spark"
4 xmlns:
dongs=
"org.sevenchan.dongs.*"
5 creationComplete=
"dicks(this)">
8 import spark.components.Application;
9 import org.sevenchan.AdventureController;
11 public function dicks(hurf:Application):void {
12 dongs.addChild(new AdventureController(Main(hurf)));
15 public function showBodyParts(show:Boolean):void {
17 bodyparts.visible = show;
18 dongs.visible = !show;
19 dongs.alpha = show ?
0 :
1;
20 dongs.percentHeight = dongs.percentWidth = show ?
0 :
100;
24 <dongs:frmBodyPartsPool id=
"bodyparts" visible=
"false" width=
"90%" height=
"90%" horizontalCenter=
"true" verticalCenter=
"true" />
25 <s:SpriteVisualElement id=
"dongs" />