STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228126
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/58776088?noj=FRM58776088-13DC" width="1" height="1"></div>

The King's Feast.swf

This is the info page for
Flash #72107

(Click the ID number above for more basic data on this flash file.)


Text
GAME BY:
DISCIPLE OF FRED

PLAY

The Royal Feast

Hello there, Great Pointer! I need your assistance!
You see, the King is hosting a great feast for all his
favorite subjects (that's me). Unfortunately, I will
not be able to attend as I have to fix a leak in my
house. Click my head if you are interested in helping!

E

Ex

Exc

Exce

Excel

Excell

Excellen

Excellent!

Excellent!

Excellent! No

Excellent! Now,

Excellent! Now, t

Excellent! Now, tak

Excellent! Now, take

Excellent! Now, take my

Excellent! Now, take my h

Excellent! Now, take my hea

Excellent! Now, take my head al

Excellent! Now, take my head alon

Excellent! Now, take my head along

Excellent! Now, take my head along wi

Excellent! Now, take my head along with

Excellent! Now, take my head along with y

Excellent! Now, take my head along with you

Excellent! Now, take my head along with you t

Excellent! Now, take my head along with you to

Excellent! Now, take my head along with you to th

Excellent! Now, take my head along with you to the

Excellent! Now, take my head along with you to the p

Excellent! Now, take my head along with you to the
pal

Excellent! Now, take my head along with you to the
palac

Excellent! Now, take my head along with you to the
palace so I can atend the feast!

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I n

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I nee

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need n

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not m

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my he

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my head

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my head to

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my head to
fi

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my head to
fix

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my head to
fix a

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my head to
fix a le

Excellent! Now, take my head along with you to the
palace so I can atend the feast! I need not my head to
fix a leak!

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Cl

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click m

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my he

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head ag

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again

Excellent! Now, take my head along with you to the
palace! I need not my head to fix a leak! Click my
head again now

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to con

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to contin

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to continue

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to continue!

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to continue!!!

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to continue!!!!

Excellent! Now, take my head along with you to the
palace so I can attend the feast! I need not my head
to fix a leak! Click my head again now to
continue!!!!!

SKIP

Now, take my head! And take care of it, please, I love it dearly.

Click my head and
we'll go to training!

Now, since the Sages of Old banned you Pointer Gods from
this land, you will only be able to move me in certain fields I
create. (because I too am a magician of sorts).
However, Inertia is EVERYWHERE, thus you can throw me in
the small field I create, and I wll continue to move after you
release me. If you throw me just right, I will land in the
Energy Charges that look like this:
If I can stay in contact with these feilds for a second or so,
I can drain it's energies giving me the strength to create one
more strategically placed field. That way we can work our
way up to the royal palace!
Click my face again.

GOAL

GOAL

GOAL

GOAL

GOAL

NEXT

Here's how to play:
1. Click and HOLD on my face.

Click Here

Step 2- Quickly drag me across to one side.
Note that speed and direction matter.

Step 3- As soon as you release your mouse or I reach the edge of
the field, I will be released from your grasp. Then I will continue
to move in the same direction at the same speed when you release.

DONE!

Step 4- If you throw me just right, we will win! If
you mess up, you can always press the restart button.
Now, click done!

Now, try it for yorself! Throw me around in this practice area.
Remember:
1. You don't need a back swing. A quick flick will get me much farther.
2. Hold your mouse straight, don't have it at an angle or sideways.
Click DONE! when you have finished.

RESET

LEVEL 1

PRESS "M" FOR MENU

BACK

EXIT

0

LIVES:

LEVEL 2

LEVEL 3

LEVEL 4

0

LEVEL 5

0

LEVEL 6

0

LEVEL 7

LEVEL 8

LEVEL 9

0

LIVES:

CASTLE

LEVEL 10

0

Excellent! We have arrived at the
King's Palace! Now, I can feast!
Click my head to continue.

Now that I have had my fill, I think I am
ready to return home. Don't worry about
taking me, I will use a Royal Carriage.
Click my head to finish.

While I'm in the air, move your mouse
to the second field.

While I'm in the air, move your mouse
to the second field.

Then click on me when we are both in
the field!

After that, you can throw me again!
Now, press done.

Now, try it for yorself! Throw me around in this practice area.
Click DONE! when you have finished.

LEVEL 11

LEVEL 12

LEVEL 13

LEVEL 14

cheater!

Lives Used:

0

You won!
Let's look at your results:

SUBMIT

MENU

ActionScript [AS1/AS2]

Frame 1
MochiAd.showPreGameAd({id:"60d47d3afed8e100", res:"550x400"}); mochi.MochiServices.connect("60d47d3afed8e100"); _root.kongregateServices.connect(); var hide = new ContextMenu(); hide.hideBuiltInItems(); _root.menu = hide;
Frame 4
stop(); _global.woot = "lollost";
Instance of Symbol 377 MovieClip in Frame 4
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 3); } else if (_alpha > 3) { _alpha = (_alpha - 3); } if (_global.woot == "lolwon") { if (_alpha > 96) { _global.woot = "lollost"; _root.boundry.removeMovieClip(); _root.nextFrame(); } } }
Instance of Symbol 377 MovieClip in Frame 5
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 3); } if (_global.woot == "lolwon") { if (_alpha > 96) { if (_global.skipper == "skip") { _global.woot = "lollost"; _root.gotoAndStop("level1"); } _global.woot = "lollost"; _root.boundry.removeMovieClip(); _root.nextFrame(); } } }
Instance of Symbol 377 MovieClip in Frame 6
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 3); } else if (_alpha > 3) { _alpha = (_alpha - 3); } if (_global.woot == "lolwon") { if (_alpha > 96) { if (_global.skipper == "skip") { _global.woot = "lollost"; _root.gotoAndStop("level1"); } _global.woot = "lollost"; _root.nextFrame(); } } }
Instance of Symbol 476 MovieClip "endzone" in Frame 7
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { } if (_global.winner == "frame1") { if (hitTest(_root.ballteh) == true) { gotoAndPlay (2); } } if (hitTest(_root.ballteh) == false) { gotoAndStop (1); } }
Instance of Symbol 377 MovieClip in Frame 7
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { if (_global.skipper == "skip") { _global.woot = "lollost"; _root.gotoAndStop("level1"); } _root.boundry.removeMovieClip(); _root.nextFrame(); _global.woot = "lollost"; } } }
Instance of Symbol 476 MovieClip "endzone" in Frame 8
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { } if (_global.winner == "frame1") { if (hitTest(_root.ballteh) == true) { gotoAndPlay (2); } } if (hitTest(_root.ballteh) == false) { gotoAndStop (1); } }
Instance of Symbol 510 MovieClip "demo" in Frame 8
onClipEvent (enterFrame) { _root.chet.text = _global.woot; }
Frame 9
_root.ballteh._x = 378; _root.ballteh._y = 201; _root.boundry._y = 230; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Instance of Symbol 503 MovieClip "ballteh" in Frame 9
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { if (hitTest(_root.boundry2) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } } if (_global.drag == "drag") { if (_global.second == "try") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.99; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { if (_global.wallz != "ywall") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall"; } } if (hitTest(_root.ywall2) == true) { if (_global.wallz != "ywall2") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall2"; } } if (hitTest(_root.ywall3) == true) { if (_global.wallz != "ywall3") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall3"; } } if (hitTest(_root.ywall4) == true) { if (_global.wallz != "ywall4") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall4"; } } if (hitTest(_root.ywall5) == true) { if (_global.wallz != "ywall5") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall5"; } } if (hitTest(_root.ywall6) == true) { if (_global.wallz != "ywall6") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall6"; } } if (hitTest(_root.ywall7) == true) { if (_global.wallz != "ywall7") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall7"; } } if (hitTest(_root.ywall8) == true) { if (_global.wallz != "ywall8") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall8"; } } if (hitTest(_root.xwall) == true) { if (_global.wallz != "xwall") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall"; } } if (hitTest(_root.xwall2) == true) { if (_global.wallz != "xwall2") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall2"; } } if (hitTest(_root.xwall3) == true) { if (_global.wallz != "xwall3") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall3"; } } if (hitTest(_root.xwall4) == true) { if (_global.wallz != "xwall4") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall4"; } } if (hitTest(_root.xwall5) == true) { if (_global.wallz != "xwall5") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall5"; } } if (hitTest(_root.xwall6) == true) { if (_global.wallz != "xwall6") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall6"; } } if (hitTest(_root.xwall7) == true) { if (_global.wallz != "xwall7") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall7"; } } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1; _global.xdif = _global.xdif * 1; _global.boost = "go"; } } if (hitTest(_root.boundry2) == true) { if (_global.drag == "drag") { _global.piggy = "flies"; } } if (_global.drag == "notdrag") { if (_global.piggy == "flies") { if (_global.second != "nodice") { _global.xdif = _global.xdif * 1; _global.ydif = _global.ydif * 1; _global.second = "nodice"; } } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry2) == true) { if (_global.drag == "notdrag") { if (_global.second == "try") { _global.xdif = _global.xdif * 0.87; _global.ydif = _global.ydif * 0.87; } } if (_global.second == "try") { if (_global.drag == "drag") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; _global.hewwo = "der"; } } } }
Instance of Symbol 377 MovieClip in Frame 9
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _root.boundry.removeMovieClip(); _global.woot = "lollost"; _root.nextFrame(); } } }
Frame 10
_root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none"; _global.piggy = "glasses";
Instance of Symbol 476 MovieClip "endzone" in Frame 10
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { } if (_global.winner == "frame1") { if (hitTest(_root.ballteh) == true) { gotoAndPlay (2); } } if (hitTest(_root.ballteh) == false) { gotoAndStop (1); } }
Instance of Symbol 531 MovieClip in Frame 10
onClipEvent (enterFrame) { if (Key.isDown(2)) { _global.drag = "notdrag"; _root.boundry._y = 8000; } }
Instance of Symbol 538 MovieClip in Frame 10
onClipEvent (enterFrame) { if (Key.isDown(77)) { _y = 200; _x = 275; } if (_global.up == "up") { _y = 3000; _global.up = "down"; } _root.deaths.text = -_global.lives; }
Instance of Symbol 377 MovieClip in Frame 10
onClipEvent (load) { _global.woot = "lollost"; } onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _root.boundry.removeMovieClip(); _global.woot = "lollost"; _root.nextFrame(); } } }
Frame 11
stop(); _root.boundry._y = 189.1; _root.boundry._x = 119; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none"; _global.piggy = "glasses";
Instance of Symbol 377 MovieClip in Frame 11
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _root.nextFrame(); _global.woot = "lollost"; } } }
Frame 12
stop(); _root.boundry._y = 137.1; _root.boundry._x = 97; _global.win = "nope"; _global.drag = "notdrag"; _global.wow = "inside"; _global.woot = "lollost"; _root.boundry._y = 107; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Instance of Symbol 503 MovieClip "ballteh" in Frame 12
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; _width = (_width - 10); _height = (_height - 10); } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { if (hitTest(_root.boundry2) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } } if (_global.drag == "drag") { if (_global.second == "try") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.99; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { if (_global.wallz != "ywall") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall"; } } if (hitTest(_root.ywall2) == true) { if (_global.wallz != "ywall2") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall2"; } } if (hitTest(_root.ywall3) == true) { if (_global.wallz != "ywall3") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall3"; } } if (hitTest(_root.ywall4) == true) { if (_global.wallz != "ywall4") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall4"; } } if (hitTest(_root.ywall5) == true) { if (_global.wallz != "ywall5") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall5"; } } if (hitTest(_root.ywall6) == true) { if (_global.wallz != "ywall6") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall6"; } } if (hitTest(_root.ywall7) == true) { if (_global.wallz != "ywall7") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall7"; } } if (hitTest(_root.ywall8) == true) { if (_global.wallz != "ywall8") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall8"; } } if (hitTest(_root.xwall) == true) { if (_global.wallz != "xwall") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall"; } } if (hitTest(_root.xwall2) == true) { if (_global.wallz != "xwall2") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall2"; } } if (hitTest(_root.xwall3) == true) { if (_global.wallz != "xwall3") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall3"; } } if (hitTest(_root.xwall4) == true) { if (_global.wallz != "xwall4") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall4"; } } if (hitTest(_root.xwall5) == true) { if (_global.wallz != "xwall5") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall5"; } } if (hitTest(_root.xwall6) == true) { if (_global.wallz != "xwall6") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall6"; } } if (hitTest(_root.xwall7) == true) { if (_global.wallz != "xwall7") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall7"; } } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1; _global.xdif = _global.xdif * 1; _global.boost = "go"; } } if (hitTest(_root.boundry2) == true) { if (_global.drag == "drag") { _global.piggy = "flies"; } } if (_global.drag == "notdrag") { if (_global.piggy == "flies") { if (_global.second != "nodice") { _global.xdif = _global.xdif * 1; _global.ydif = _global.ydif * 1; _global.second = "nodice"; } } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry2) == true) { if (_global.drag == "notdrag") { if (_global.second == "try") { _global.xdif = _global.xdif * 0.87; _global.ydif = _global.ydif * 0.87; } } if (_global.second == "try") { if (_global.drag == "drag") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; _global.hewwo = "der"; } } } }
Instance of Symbol 377 MovieClip in Frame 12
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _root.nextFrame(); _global.woot = "lollost"; } } }
Frame 13
_root.boundry._y = 137.1; _root.boundry._x = 97; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Frame 14
_root.boundry._y = 181; _root.boundry._x = 80; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Instance of Symbol 503 MovieClip "ballteh" in Frame 14
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { if (hitTest(_root.boundry2) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } } if (_global.drag == "drag") { if (_global.second == "try") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.99; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { if (_global.wallz != "ywall") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall"; } } if (hitTest(_root.ywall2) == true) { if (_global.wallz != "ywall2") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall2"; } } if (hitTest(_root.ywall3) == true) { if (_global.wallz != "ywall3") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall3"; } } if (hitTest(_root.ywall4) == true) { if (_global.wallz != "ywall4") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall4"; } } if (hitTest(_root.ywall5) == true) { if (_global.wallz != "ywall5") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall5"; } } if (hitTest(_root.ywall6) == true) { if (_global.wallz != "ywall6") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall6"; } } if (hitTest(_root.ywall7) == true) { if (_global.wallz != "ywall7") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall7"; } } if (hitTest(_root.ywall8) == true) { if (_global.wallz != "ywall8") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall8"; } } if (hitTest(_root.xwall) == true) { if (_global.wallz != "xwall") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall"; } } if (hitTest(_root.xwall2) == true) { if (_global.wallz != "xwall2") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall2"; } } if (hitTest(_root.xwall3) == true) { if (_global.wallz != "xwall3") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall3"; } } if (hitTest(_root.xwall4) == true) { if (_global.wallz != "xwall4") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall4"; } } if (hitTest(_root.xwall5) == true) { if (_global.wallz != "xwall5") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall5"; } } if (hitTest(_root.xwall6) == true) { if (_global.wallz != "xwall6") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall6"; } } if (hitTest(_root.xwall7) == true) { if (_global.wallz != "xwall7") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall7"; } } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1; _global.xdif = _global.xdif * 1; _global.boost = "go"; } } if (hitTest(_root.boundry2) == true) { if (_global.drag == "drag") { _global.piggy = "flies"; } } if (_global.drag == "notdrag") { if (_global.piggy == "flies") { if (_global.second != "nodice") { _global.xdif = _global.xdif * 1; _global.ydif = _global.ydif * 1; _global.second = "nodice"; } } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry2) == true) { if (_global.drag == "notdrag") { if (_global.second == "try") { _global.xdif = _global.xdif * 0.87; _global.ydif = _global.ydif * 0.87; } } if (_global.second == "try") { if (_global.drag == "drag") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; _global.hewwo = "der"; } } } }
Frame 15
_global.wallz = "none"; _root.boundry._y = 343; _root.boundry._x = 91; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1);
Instance of Symbol 569 MovieClip in Frame 15
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.ydif = _global.ydif - 1.1; } }
Instance of Symbol 569 MovieClip in Frame 15
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.xdif = _global.xdif - 0.7; _global.wallz = "none"; } }
Frame 16
_root.boundry._y = 333; _root.boundry._x = 97; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Frame 17
_root.boundry._y = 333; _root.boundry._x = 99; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Instance of Symbol 584 MovieClip in Frame 17
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _root.ballteh._x = _root.ballteh._x - 10; _global.wallz = "none"; } }
Frame 18
_root.boundry._y = 251; _root.boundry._x = 442; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Instance of Symbol 592 MovieClip in Frame 18
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.ydif = 0; _global.xdif = 0; _global.drag = "drag"; } }
Instance of Symbol 594 MovieClip in Frame 18
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.ydif = 0; _global.xdif = 0; _global.drag = "drag"; } }
Frame 19
_root.boundry._y = 333; _root.boundry._x = 89; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none";
Instance of Symbol 476 MovieClip "endzone" in Frame 19
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { } if (_global.winner == "frame1") { if (hitTest(_root.ballteh) == true) { gotoAndPlay (2); } } if (hitTest(_root.ballteh) == false) { gotoAndStop (1); } }
Instance of Symbol 614 MovieClip "switchboard" in Frame 19
onClipEvent (load) { _global.q = "ready"; } onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { if (_global.q == "ready") { gotoAndStop (2); _root.xwall5.gotoAndPlay(2); _root.tehlevel.setRGB(0); _global.q = "dumb"; } } }
Instance of Symbol 622 MovieClip in Frame 20
on (press) { _global.woot = "lolwon"; }
Instance of Symbol 377 MovieClip in Frame 20
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _global.woot = "lollost"; _root.nextFrame(); } } }
Instance of Symbol 503 MovieClip "ballteh" in Frame 21
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { if (hitTest(_root.boundry2) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } } if (_global.drag == "drag") { if (_global.second == "try") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.99; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { if (_global.wallz != "ywall") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall"; } } if (hitTest(_root.ywall2) == true) { if (_global.wallz != "ywall2") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall2"; } } if (hitTest(_root.ywall3) == true) { if (_global.wallz != "ywall3") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall3"; } } if (hitTest(_root.ywall4) == true) { if (_global.wallz != "ywall4") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall4"; } } if (hitTest(_root.ywall5) == true) { if (_global.wallz != "ywall5") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall5"; } } if (hitTest(_root.ywall6) == true) { if (_global.wallz != "ywall6") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall6"; } } if (hitTest(_root.ywall7) == true) { if (_global.wallz != "ywall7") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall7"; } } if (hitTest(_root.ywall8) == true) { if (_global.wallz != "ywall8") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall8"; } } if (hitTest(_root.xwall) == true) { if (_global.wallz != "xwall") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall"; } } if (hitTest(_root.xwall2) == true) { if (_global.wallz != "xwall2") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall2"; } } if (hitTest(_root.xwall3) == true) { if (_global.wallz != "xwall3") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall3"; } } if (hitTest(_root.xwall4) == true) { if (_global.wallz != "xwall4") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall4"; } } if (hitTest(_root.xwall5) == true) { if (_global.wallz != "xwall5") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall5"; } } if (hitTest(_root.xwall6) == true) { if (_global.wallz != "xwall6") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall6"; } } if (hitTest(_root.xwall7) == true) { if (_global.wallz != "xwall7") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall7"; } } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1; _global.xdif = _global.xdif * 1; _global.boost = "go"; } } if (hitTest(_root.boundry2) == true) { if (_global.drag == "drag") { _global.piggy = "flies"; } } if (_global.drag == "notdrag") { if (_global.piggy == "flies") { if (_global.second != "nodice") { _global.xdif = _global.xdif * 1; _global.ydif = _global.ydif * 1; _global.second = "nodice"; } } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry2) == true) { if (_global.drag == "notdrag") { if (_global.second == "try") { _global.xdif = _global.xdif * 0.87; _global.ydif = _global.ydif * 0.87; } } if (_global.second == "try") { if (_global.drag == "drag") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; _global.hewwo = "der"; } } } }
Instance of Symbol 377 MovieClip in Frame 21
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _global.woot = "lollost"; _root.nextFrame(); } } }
Instance of Symbol 622 MovieClip in Frame 22
on (press) { _global.woot = "lolwon"; }
Instance of Symbol 377 MovieClip in Frame 22
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _global.woot = "lollost"; _root.gotoAndStop("final"); } } }
Instance of Symbol 377 MovieClip in Frame 23
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { _alpha = (_alpha + 1); } else if (_alpha > 3) { _alpha = (_alpha - 1); } if (_global.woot == "lolwon") { if (_alpha > 96) { _root.nextFrame(); _global.woot = "lollost"; } } }
Frame 24
_root.ballteh._x = 378; _root.ballteh._y = 201; _root.boundry._y = 230; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none";
Instance of Symbol 503 MovieClip "ballteh" in Frame 24
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { if (hitTest(_root.boundry2) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } } if (_global.drag == "drag") { if (_global.second == "try") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.99; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { if (_global.wallz != "ywall") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall"; } } if (hitTest(_root.ywall2) == true) { if (_global.wallz != "ywall2") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall2"; } } if (hitTest(_root.ywall3) == true) { if (_global.wallz != "ywall3") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall3"; } } if (hitTest(_root.ywall4) == true) { if (_global.wallz != "ywall4") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall4"; } } if (hitTest(_root.ywall5) == true) { if (_global.wallz != "ywall5") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall5"; } } if (hitTest(_root.ywall6) == true) { if (_global.wallz != "ywall6") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall6"; } } if (hitTest(_root.ywall7) == true) { if (_global.wallz != "ywall7") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall7"; } } if (hitTest(_root.ywall8) == true) { if (_global.wallz != "ywall8") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall8"; } } if (hitTest(_root.xwall) == true) { if (_global.wallz != "xwall") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall"; } } if (hitTest(_root.xwall2) == true) { if (_global.wallz != "xwall2") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall2"; } } if (hitTest(_root.xwall3) == true) { if (_global.wallz != "xwall3") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall3"; } } if (hitTest(_root.xwall4) == true) { if (_global.wallz != "xwall4") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall4"; } } if (hitTest(_root.xwall5) == true) { if (_global.wallz != "xwall5") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall5"; } } if (hitTest(_root.xwall6) == true) { if (_global.wallz != "xwall6") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall6"; } } if (hitTest(_root.xwall7) == true) { if (_global.wallz != "xwall7") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall7"; } } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1; _global.xdif = _global.xdif * 1; _global.boost = "go"; } } if (hitTest(_root.boundry2) == true) { if (_global.drag == "drag") { _global.piggy = "flies"; } } if (_global.drag == "notdrag") { if (_global.piggy == "flies") { if (_global.second != "nodice") { _global.xdif = _global.xdif * 1; _global.ydif = _global.ydif * 1; _global.second = "nodice"; } } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry2) == true) { if (_global.drag == "notdrag") { if (_global.second == "try") { _global.xdif = _global.xdif * 0.87; _global.ydif = _global.ydif * 0.87; } } if (_global.second == "try") { if (_global.drag == "drag") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; _global.hewwo = "der"; } } } }
Frame 25
_root.boundry._y = 297; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none";
Instance of Symbol 476 MovieClip "endzone" in Frame 25
onClipEvent (enterFrame) { if (_global.woot == "lolwon") { } if (_global.winner == "frame1") { if (hitTest(_root.ballteh) == true) { gotoAndPlay (2); } } if (hitTest(_root.ballteh) == false) { gotoAndStop (1); } }
Instance of Symbol 503 MovieClip "ballteh" in Frame 25
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { if (hitTest(_root.boundry2) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } } if (_global.drag == "drag") { if (_global.second == "try") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.99; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { if (_global.wallz != "ywall") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall"; } } if (hitTest(_root.ywall2) == true) { if (_global.wallz != "ywall2") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall2"; } } if (hitTest(_root.ywall3) == true) { if (_global.wallz != "ywall3") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall3"; } } if (hitTest(_root.ywall4) == true) { if (_global.wallz != "ywall4") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall4"; } } if (hitTest(_root.ywall5) == true) { if (_global.wallz != "ywall5") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall5"; } } if (hitTest(_root.ywall6) == true) { if (_global.wallz != "ywall6") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall6"; } } if (hitTest(_root.ywall7) == true) { if (_global.wallz != "ywall7") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall7"; } } if (hitTest(_root.ywall8) == true) { if (_global.wallz != "ywall8") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall8"; } } if (hitTest(_root.xwall) == true) { if (_global.wallz != "xwall") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall"; } } if (hitTest(_root.xwall2) == true) { if (_global.wallz != "xwall2") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall2"; } } if (hitTest(_root.xwall3) == true) { if (_global.wallz != "xwall3") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall3"; } } if (hitTest(_root.xwall4) == true) { if (_global.wallz != "xwall4") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall4"; } } if (hitTest(_root.xwall5) == true) { if (_global.wallz != "xwall5") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall5"; } } if (hitTest(_root.xwall6) == true) { if (_global.wallz != "xwall6") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall6"; } } if (hitTest(_root.xwall7) == true) { if (_global.wallz != "xwall7") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall7"; } } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1; _global.xdif = _global.xdif * 1; _global.boost = "go"; } } if (hitTest(_root.boundry2) == true) { if (_global.drag == "drag") { _global.piggy = "flies"; } } if (_global.drag == "notdrag") { if (_global.piggy == "flies") { if (_global.second != "nodice") { _global.xdif = _global.xdif * 1; _global.ydif = _global.ydif * 1; _global.second = "nodice"; } } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry2) == true) { if (_global.drag == "notdrag") { if (_global.second == "try") { _global.xdif = _global.xdif * 0.87; _global.ydif = _global.ydif * 0.87; } } if (_global.second == "try") { if (_global.drag == "drag") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; _global.hewwo = "der"; } } } }
Instance of Symbol 592 MovieClip in Frame 25
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.second = "nodice"; _global.ydif = 0; _global.xdif = 0; } }
Instance of Symbol 592 MovieClip in Frame 25
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.second = "nodice"; _global.ydif = 0; _global.xdif = 0; } }
Instance of Symbol 592 MovieClip in Frame 25
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.second = "nodice"; _global.ydif = 0; _global.xdif = 0; } }
Frame 26
_root.boundry._y = 297; _root.boundry._x = _root.boundry._x - 90; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none";
Instance of Symbol 592 MovieClip in Frame 26
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.ydif = 0; _global.xdif = 0; _global.drag = "drag"; } }
Instance of Symbol 592 MovieClip in Frame 26
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.ydif = 0; _global.xdif = 0; _global.drag = "drag"; } }
Instance of Symbol 592 MovieClip in Frame 26
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _global.ydif = 0; _global.xdif = 0; _global.drag = "drag"; } }
Frame 27
_root.boundry._y = 297; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none"; _global.piggy = "glasses";
Instance of Symbol 664 MovieClip in Frame 27
onClipEvent (enterFrame) { if (hitTest(_root.ywall) == true) { _alpha = (_alpha - 3); } else { _y = (_y + 4); } if (_alpha < 4) { _y = _root.totem2._y; _x = _root.totem2._x; _alpha = 100; } if (_alpha == 100) { if (hitTest(_root.ballteh) == true) { _global.xdif = 0; _global.ydif = 0; } } }
Instance of Symbol 664 MovieClip in Frame 27
onClipEvent (enterFrame) { if (hitTest(_root.ywall) == true) { _alpha = (_alpha - 3); } else { _y = (_y + 4); } if (_alpha < 4) { _y = _root.totem1._y; _x = _root.totem1._x; _alpha = 100; } if (_alpha == 100) { if (hitTest(_root.ballteh) == true) { _global.xdif = 0; _global.ydif = 0; } } }
Instance of Symbol 503 MovieClip "ballteh" in Frame 28
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { if (hitTest(_root.boundry2) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } } if (_global.drag == "drag") { if (_global.second == "try") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.99; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { if (_global.wallz != "ywall") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall"; } } if (hitTest(_root.ywall2) == true) { if (_global.wallz != "ywall2") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall2"; } } if (hitTest(_root.ywall3) == true) { if (_global.wallz != "ywall3") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall3"; } } if (hitTest(_root.ywall4) == true) { if (_global.wallz != "ywall4") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall4"; } } if (hitTest(_root.ywall5) == true) { if (_global.wallz != "ywall5") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall5"; } } if (hitTest(_root.ywall6) == true) { if (_global.wallz != "ywall6") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall6"; } } if (hitTest(_root.ywall7) == true) { if (_global.wallz != "ywall7") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall7"; } } if (hitTest(_root.ywall8) == true) { if (_global.wallz != "ywall8") { _global.ydif = _global.ydif * -0.999; _global.wallz = "ywall8"; } } if (hitTest(_root.xwall) == true) { if (_global.wallz != "xwall") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall"; } } if (hitTest(_root.xwall2) == true) { if (_global.wallz != "xwall2") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall2"; } } if (hitTest(_root.xwall3) == true) { if (_global.wallz != "xwall3") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall3"; } } if (hitTest(_root.xwall4) == true) { if (_global.wallz != "xwall4") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall4"; } } if (hitTest(_root.xwall5) == true) { if (_global.wallz != "xwall5") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall5"; } } if (hitTest(_root.xwall6) == true) { if (_global.wallz != "xwall6") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall6"; } } if (hitTest(_root.xwall7) == true) { if (_global.wallz != "xwall7") { _global.xdif = _global.xdif * -0.999; _global.wallz = "xwall7"; } } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1.6; _global.xdif = _global.xdif * 1.6; _global.boost = "go"; } } } onClipEvent (enterFrame) { if (hitTest(_root.boundry2) == true) { if (_global.drag == "notdrag") { if (_global.second == "try") { _global.xdif = _global.xdif * 0.87; _global.ydif = _global.ydif * 0.87; } } if (_global.second == "try") { if (_global.drag == "drag") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; _global.hewwo = "der"; } } } if (hitTest(_root.boundry2) == false) { if (_global.hewwo == "der") { _global.xdif = _global.xdif * 2.5; _global.ydif = _global.ydif * 2.5; _global.second = "nodice"; _global.hewwo = "lolz"; } } }
Frame 29
_root.kongregateScores.submit(_global.lives);
Instance of Symbol 675 MovieClip in Frame 29
onClipEvent (enterFrame) { _root.lives.text = -_global.lives; } onClipEvent (load) { if ((-_global.lives) > 500) { _root.rank.text = "you should practice a little more. A lot more."; } if ((-_global.lives) < 500) { _root.rank.text = "at least you got less than 500"; } if ((-_global.lives) < 450) { _root.rank.text = "You get an A.......for Abomidable"; } if ((-_global.lives) < 400) { _root.rank.text = "FAIL! However, you did beat the game."; } if ((-_global.lives) < 300) { _root.rank.text = "Ouch...But you have potential...Well, not really."; } if ((-_global.lives) < 200) { _root.rank.text = "Your kinda close to only a sort of bad score"; } if ((-_global.lives) < 100) { _root.rank.text = "Under a hundred lives... Woo hoo...."; } if ((-_global.lives) < 80) { _root.rank.text = "With a little more practice, you could be decent"; } if ((-_global.lives) < 50) { _root.rank.text = "Okay...Okay..."; } if ((-_global.lives) < 30) { _root.rank.text = "Good Score!"; } if ((-_global.lives) < 20) { _root.rank.text = "Nice! Keep it up and aim for 0!"; } if ((-_global.lives) < 15) { _root.rank.text = "Excellent"; } if ((-_global.lives) < 10) { _root.rank.text = "Truley superb"; } if ((-_global.lives) < 8) { _root.rank.text = "Sir, you are a gentleman and a scholar."; } if ((-_global.lives) < 6) { _root.rank.text = "You Beast! You Monster! You're outta control!"; } if ((-_global.lives) < 3) { _root.rank.text = "AMAZING! HOW ARE YOU SO GOOD?????"; } if ((-_global.lives) < 2) { _root.rank.text = "You messed up ONCE! I feel for you. I also feel that you should PLAY AGAIN!"; } if ((-_global.lives) < 1) { _root.rank.text = "You are a master of The King's Feast. Submit your score!"; } }
Frame 30
mochi.MochiScores.showLeaderboard({boardID:"dc27175a13599de8", score:-_global.lives});
Symbol 5 MovieClip [XUpdateResolver] Frame 1
#initclip 130 Object.registerClass("XUpdateResolver", mx.data.components.XUpdateResolver); #endinitclip preview._visible = false; stop();
Symbol 44 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 46 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 49 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 51 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 54 MovieClip [Defaults] Frame 1
#initclip 131 Object.registerClass("Defaults", mx.skins.halo.Defaults); #endinitclip
Symbol 55 MovieClip [UIObjectExtensions] Frame 1
#initclip 132 Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions); #endinitclip
Symbol 56 MovieClip [UIObject] Frame 1
#initclip 133 Object.registerClass("UIObject", mx.core.UIObject); #endinitclip stop();
Symbol 59 Button
on (keyPress "<Tab>") { this.tabHandler(); }
Symbol 60 MovieClip Frame 1
#initclip 134 Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } #endinitclip
Symbol 61 MovieClip [FocusRect] Frame 1
#initclip 135 Object.registerClass("FocusRect", mx.skins.halo.FocusRect); #endinitclip
Symbol 62 MovieClip [FocusManager] Frame 1
#initclip 136 Object.registerClass("FocusManager", mx.managers.FocusManager); #endinitclip stop();
Symbol 63 MovieClip [UIComponentExtensions] Frame 1
#initclip 137 Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions); #endinitclip
Symbol 64 MovieClip [UIComponent] Frame 1
#initclip 138 Object.registerClass("UIComponent", mx.core.UIComponent); #endinitclip stop();
Symbol 65 MovieClip [SimpleButton] Frame 1
#initclip 139 Object.registerClass("SimpleButton", mx.controls.SimpleButton); #endinitclip stop();
Symbol 66 MovieClip [Border] Frame 1
#initclip 140 Object.registerClass("Border", mx.skins.Border); #endinitclip stop();
Symbol 67 MovieClip [RectBorder] Frame 1
#initclip 141 mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder)); Object.registerClass("RectBorder", mx.skins.halo.RectBorder); #endinitclip stop();
Symbol 68 MovieClip [ButtonSkin] Frame 1
#initclip 142 Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin); #endinitclip
Symbol 69 MovieClip [Button] Frame 1
#initclip 143 Object.registerClass("Button", mx.controls.Button); #endinitclip stop();
Instance of Symbol 65 MovieClip [SimpleButton] in Symbol 69 MovieClip [Button] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 70 MovieClip [CustomBorder] Frame 1
#initclip 144 Object.registerClass("CustomBorder", mx.skins.CustomBorder); mx.skins.SkinElement.registerElement("CustomBorder", mx.skins.CustomBorder); #endinitclip
Symbol 82 MovieClip [ScrollThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 84 MovieClip [ScrollThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 95 MovieClip [ThumbThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 97 MovieClip [ThumbThemeColor3] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 104 MovieClip [ThumbThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 125 MovieClip [BtnDownArrow] Frame 1
#initclip 145 Object.registerClass("BtnDownArrow", mx.controls.SimpleButton); #endinitclip
Symbol 126 MovieClip [BtnUpArrow] Frame 1
#initclip 146 Object.registerClass("BtnUpArrow", mx.controls.SimpleButton); #endinitclip
Symbol 128 MovieClip [HScrollBar] Frame 1
#initclip 147 Object.registerClass("HScrollBar", mx.controls.HScrollBar); #endinitclip stop();
Instance of Symbol 69 MovieClip [Button] in Symbol 128 MovieClip [HScrollBar] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 65 MovieClip [SimpleButton] in Symbol 128 MovieClip [HScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 129 MovieClip [VScrollBar] Frame 1
#initclip 148 Object.registerClass("VScrollBar", mx.controls.VScrollBar); #endinitclip stop();
Instance of Symbol 69 MovieClip [Button] in Symbol 129 MovieClip [VScrollBar] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 65 MovieClip [SimpleButton] in Symbol 129 MovieClip [VScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 130 MovieClip [View] Frame 1
#initclip 149 Object.registerClass("View", mx.core.View); #endinitclip stop();
Symbol 131 MovieClip [ScrollView] Frame 1
#initclip 150 Object.registerClass("ScrollView", mx.core.ScrollView); #endinitclip stop();
Instance of Symbol 128 MovieClip [HScrollBar] in Symbol 131 MovieClip [ScrollView] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 129 MovieClip [VScrollBar] in Symbol 131 MovieClip [ScrollView] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 132 MovieClip [Modal] Frame 1
#initclip 151 mx.skins.SkinElement.registerElement("Modal"); #endinitclip
Symbol 139 MovieClip [TitleBackground] Frame 1
#initclip 152 _global.mx.skins.TitleBackground = function () { this.constructObject(); }; _global.mx.skins.TitleBackground.prototype = new mx.skins.CustomBorder(); _global.mx.skins.TitleBackground.prototype.className = "TitleBackground"; _global.mx.skins.TitleBackground.symbolName = "TitleBackground"; _global.mx.skins.TitleBackground.symbolOwner = _global.mx.skins.TitleBackground; _global.mx.skins.TitleBackground.prototype.leftSkin = "TitleLeft"; _global.mx.skins.TitleBackground.prototype.middleSkin = "TitleMiddle"; _global.mx.skins.TitleBackground.prototype.rightSkin = "TitleRight"; _global.mx.skins.SkinElement.registerElement("TitleBackground", _global.mx.skins.TitleBackground); _global.mx.skins.SkinElement.registerElement("TitleLeft"); _global.mx.skins.SkinElement.registerElement("TitleMiddle"); _global.mx.skins.SkinElement.registerElement("TitleRight"); _global.mx.skins.TitleBackground.prototype.init = function () { super.init(); }; #endinitclip
Symbol 148 MovieClip [WindowAssets] Frame 1
#initclip 153 mx.containers.Window.prototype.titleStyleDeclaration = "windowStyles"; #endinitclip
Symbol 149 MovieClip [Window] Frame 1
#initclip 154 Object.registerClass("Window", mx.containers.Window); #endinitclip stop();
Instance of Symbol 42 MovieClip [BoundingBox] "boundingBox_mc" in Symbol 149 MovieClip [Window] Frame 1
/* no clip actions */
Instance of Symbol 65 MovieClip [SimpleButton] in Symbol 149 MovieClip [Window] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 181 MovieClip [WebServiceConnector] Frame 1
#initclip 155 Object.registerClass("WebServiceConnector", mx.data.components.WebServiceConnector); #endinitclip preview._visible = false; stop();
Symbol 206 MovieClip [UIScrollBar] Frame 1
#initclip 156 Object.registerClass("UIScrollBar", mx.controls.UIScrollBar); #endinitclip stop();
Instance of Symbol 129 MovieClip [VScrollBar] in Symbol 206 MovieClip [UIScrollBar] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 128 MovieClip [HScrollBar] in Symbol 206 MovieClip [UIScrollBar] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 208 MovieClip [ScrollPane] Frame 1
#initclip 157 Object.registerClass("ScrollPane", mx.containers.ScrollPane); #endinitclip stop();
Symbol 213 MovieClip [RDBMSResolver] Frame 1
#initclip 158 Object.registerClass("RDBMSResolver", mx.data.components.RDBMSResolver); #endinitclip preview._visible = false; stop();
Symbol 221 MovieClip [RadioThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 225 MovieClip [RadioThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 231 MovieClip [RadioButtonAssets] Frame 1
#initclip 159 mx.controls.RadioButton.prototype.adjustFocusRect = function () { var _local4 = this._parent.focus_mc; var _local2 = this.iconName; var _local3 = this.getStyle("themeColor"); if (_local3 == undefined) { _local3 = 8453965 /* 0x80FF4D */; } var _local5 = _local2._width + 4; var _local6 = _local2._height + 4; _local4.setSize(_local5, _local6, 8, 100, _local3); var _local8 = _local2._x; var _local7 = _local2._y; _local4.move((this.x - 2) + _local8, (this.y + _local7) - 2); }; #endinitclip
Symbol 232 MovieClip [RadioButton] Frame 1
#initclip 160 Object.registerClass("RadioButton", mx.controls.RadioButton); #endinitclip stop();
Instance of Symbol 69 MovieClip [Button] "foo" in Symbol 232 MovieClip [RadioButton] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 237 MovieClip [ProgBarCapThemeColor] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 245 MovieClip [ProgBarMiddleThemeColor] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 250 MovieClip [ProgBarIndThemeColor] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 251 MovieClip [ProgBarIndMiddleThemeColor] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 261 MovieClip [ProgressBar] Frame 1
#initclip 161 Object.registerClass("ProgressBar", mx.controls.ProgressBar); #endinitclip stop();
Symbol 265 MovieClip [TextInput] Frame 1
#initclip 162 Object.registerClass("TextInput", mx.controls.TextInput); #endinitclip stop();
Symbol 270 MovieClip [StepThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 282 MovieClip [NumericStepper] Frame 1
#initclip 163 Object.registerClass("NumericStepper", mx.controls.NumericStepper); #endinitclip stop();
Instance of Symbol 65 MovieClip [SimpleButton] in Symbol 282 MovieClip [NumericStepper] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 265 MovieClip [TextInput] in Symbol 282 MovieClip [NumericStepper] Frame 2
//component parameters onClipEvent (initialize) { editable = true; password = false; text = ""; maxChars = null; restrict = "null"; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 285 MovieClip [MenuBarItem] Frame 1
#initclip 164 Object.registerClass("MenuBarItem", mx.controls.menuclasses.MenuBarItem); #endinitclip
Symbol 286 MovieClip [ActivatorSkin] Frame 1
#initclip 165 Object.registerClass("ActivatorSkin", mx.skins.halo.ActivatorSkin); #endinitclip
Symbol 287 MovieClip [DataProvider] Frame 1
#initclip 166 Object.registerClass("DataProvider", mx.controls.listclasses.DataProvider); #endinitclip stop();
Symbol 288 MovieClip [DataSelector] Frame 1
#initclip 167 Object.registerClass("DataSelector", mx.controls.listclasses.DataSelector); #endinitclip stop();
Symbol 289 MovieClip [SelectableRow] Frame 1
#initclip 168 Object.registerClass("SelectableRow", mx.controls.listclasses.SelectableRow); #endinitclip stop();
Symbol 290 MovieClip [ScrollSelectList] Frame 1
#initclip 169 Object.registerClass("ScrollSelectList", mx.controls.listclasses.ScrollSelectList); #endinitclip stop();
Symbol 306 MovieClip [MenuRow] Frame 1
#initclip 170 Object.registerClass("MenuRow", mx.controls.menuclasses.MenuRow); #endinitclip stop();
Symbol 307 MovieClip [TreeDataProvider] Frame 1
#initclip 171 Object.registerClass("TreeDataProvider", mx.controls.treeclasses.TreeDataProvider); #endinitclip
Symbol 308 MovieClip [MenuDataProvider] Frame 1
#initclip 172 Object.registerClass("MenuDataProvider", mx.controls.menuclasses.MenuDataProvider); #endinitclip stop();
Symbol 309 MovieClip [Menu] Frame 1
#initclip 173 Object.registerClass("Menu", mx.controls.Menu); #endinitclip stop();
Symbol 317 MovieClip [MenuBar] Frame 1
#initclip 174 Object.registerClass("MenuBar", mx.controls.MenuBar); #endinitclip stop();
Instance of Symbol 309 MovieClip [Menu] in Symbol 317 MovieClip [MenuBar] Frame 2
//component parameters onClipEvent (initialize) { rowHeight = 20; }
Symbol 331 MovieClip [Loader] Frame 1
#initclip 175 Object.registerClass("Loader", mx.controls.Loader); #endinitclip stop();
Symbol 333 MovieClip [List] Frame 1
#initclip 176 Object.registerClass("List", mx.controls.List); #endinitclip stop();
Symbol 338 MovieClip [DataSet] Frame 1
#initclip 177 Object.registerClass("DataSet", mx.data.components.DataSet); #endinitclip preview._visible = false; stop();
Symbol 349 MovieClip [DataHolder] Frame 1
#initclip 178 Object.registerClass("DataHolder", mx.data.components.DataHolder); #endinitclip preview._visible = false; stop();
Symbol 352 MovieClip [TextArea] Frame 1
#initclip 179 Object.registerClass("TextArea", mx.controls.TextArea); #endinitclip stop();
Symbol 353 MovieClip [AlertAssets] Frame 1
#initclip 180 mx.controls.Alert.titleStyleDeclaration = "windowStyles"; #endinitclip
Symbol 354 MovieClip [Alert] Frame 1
#initclip 181 Object.registerClass("Alert", mx.controls.Alert); #endinitclip stop();
Instance of Symbol 149 MovieClip [Window] in Symbol 354 MovieClip [Alert] Frame 2
//component parameters onClipEvent (initialize) { closeButton = false; contentPath = ""; title = ""; enabled = true; visible = true; minHeight = 0; minWidth = 0; skinCloseDisabled = "CloseButtonDisabled"; skinCloseDown = "CloseButtonDown"; skinCloseOver = "CloseButtonOver"; skinCloseUp = "CloseButtonUp"; skinTitleBackground = "TitleBackground"; titleStyleDeclaration = ""; }
Instance of Symbol 352 MovieClip [TextArea] in Symbol 354 MovieClip [Alert] Frame 2
//component parameters onClipEvent (initialize) { editable = true; html = false; text = ""; wordWrap = false; maxChars = null; restrict = "null"; enabled = true; password = false; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 69 MovieClip [Button] in Symbol 354 MovieClip [Alert] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 359 MovieClip [AccordionHeaderSkin] Frame 1
#initclip 182 Object.registerClass("AccordionHeaderSkin", mx.skins.halo.AccordionHeaderSkin); #endinitclip
Symbol 360 MovieClip [AccordionHeader] Frame 1
#initclip 183 Object.registerClass("AccordionHeader", mx.containers.accordionclasses.AccordionHeader); #endinitclip stop();
Instance of Symbol 69 MovieClip [Button] in Symbol 360 MovieClip [AccordionHeader] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 361 MovieClip [Accordion] Frame 1
#initclip 184 Object.registerClass("Accordion", mx.containers.Accordion); #endinitclip stop();
Symbol 685 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices { static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel; function MochiServices () { } static function get id() { return(_id); } static function get clip() { return(_container); } static function get childClip() { return(_clip); } static function getVersion() { return("1.31"); } static function allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function get isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function set comChannelName(val) { if (val != undefined) { if (val.length > 3) { _sendChannelName = val + "_fromgame"; _rcvChannelName = val; initComChannels(); } } //return(__get__comChannelName()); } static function get connected() { return(_connected); } static function connect(id, clip, onError) { if ((!_connected) && (_clip == undefined)) { trace("MochiServices Connecting..."); _connecting = true; init(id, clip); } if (onError != undefined) { mochi.MochiServices.onError = onError; } else if (mochi.MochiServices.onError == undefined) { mochi.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } static function disconnect() { if (_connected || (_connecting)) { _connecting = (_connected = false); flush(true); if (_clip != undefined) { _clip.removeMovieClip(); delete _clip; } _listenChannel.close(); _rcvChannel.close(); } } static function init(id, clip) { _id = id; if (clip != undefined) { _container = clip; } else { _container = _root; } loadCommunicator(id, _container); } static function loadCommunicator(id, clip) { var _local2 = "_mochiservices_com_" + id; if (_clip != null) { return(_clip); } if (!isNetworkAvailable) { return(null); } allowDomains(_gatewayURL); _clip = clip.createEmptyMovieClip(_local2, 10336, false); _loader = new MovieClipLoader(); if (_loaderListener.waitInterval != null) { clearInterval(_loaderListener.waitInterval); } _loaderListener = {}; _loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) { trace("MochiServices could not load."); mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, [errorCode]); }; _loaderListener.onLoadStart = function (target_mc) { this.isLoading = true; }; _loaderListener.startTime = getTimer(); _loaderListener.wait = function () { if ((getTimer() - this.startTime) > 10000) { if (!this.isLoading) { mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, ["IOError"]); } clearInterval(this.waitInterval); } }; _loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000); _loader.addListener(_loaderListener); _loader.loadClip(_gatewayURL, _clip); _sendChannel = new LocalConnection(); _sendChannel._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain = function (d) { return(true); }; _rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain; _rcvChannel._nextcallbackID = 0; _rcvChannel._callbacks = {}; listen(); return(_clip); } static function onStatus(infoObject) { if (!(infoObject.level === "error")) { } else { _connected = false; _listenChannel.connect(_listenChannelName); } } static function listen() { _listenChannel = new LocalConnection(); _listenChannel.handshake = function (args) { mochi.MochiServices.__set__comChannelName(args.newChannel); }; _listenChannel.allowDomain = function (d) { return(true); }; _listenChannel.allowInsecureDomain = _listenChannel.allowDomain; _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } static function initComChannels() { if (!_connected) { _sendChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()}); _rcvChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _rcvChannel.onReceive = function (pkg) { var _local5 = pkg.callbackID; var _local4 = this._callbacks[_local5]; if (!_local4) { return(undefined); } var _local2 = _local4.callbackMethod; var _local3 = _local4.callbackObject; if (_local3 && (typeof(_local2) == "string")) { _local2 = _local3[_local2]; } if (_local2 != undefined) { _local2.apply(_local3, pkg.args); } delete this._callbacks[_local5]; }; _rcvChannel.onError = function () { mochi.MochiServices.onError.apply(null, ["IOError"]); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_sendChannel._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift()); } } } static function flush(error) { var _local1; var _local2; while (_sendChannel._queue.length > 0) { _local1 = _sendChannel._queue.shift(); if (_local1.callbackID != null) { _local2 = _rcvChannel._callbacks[_local1.callbackID]; } delete _rcvChannel._callbacks[_local1.callbackID]; if (error) { handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod); } } } static function handleError(args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ["NotConnected"]); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = "NotConnected"; if ((callbackObject != null) && (typeof(callbackMethod) == "string")) { callbackObject[callbackMethod](args); } else if (callbackMethod != null) { callbackMethod.apply(args); } } } static function send(methodName, args, callbackObject, callbackMethod) { if (_connected) { _sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } else { if ((_clip == undefined) || (!_connecting)) { onError.apply(null, ["NotConnected"]); handleError(args, callbackObject, callbackMethod); flush(true); return(undefined); } _sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } _rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod}; _rcvChannel._nextcallbackID++; } static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf"; static var _listenChannelName = "__mochiservices"; static var _connecting = false; static var _connected = false; }
Symbol 686 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.2"); } static function showPreGameAd(options) { var _local30 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local30); var _local20 = options.clip; var _local26 = 11000; var _local29 = options.ad_timeout; delete options.ad_timeout; var _local23 = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var _local6 = _local20._mochiad; _local6.onUnload = function () { options.ad_finished(); }; var _local15 = _getRes(options); var _local4 = _local15[0]; var _local14 = _local15[1]; _local6._x = _local4 * 0.5; _local6._y = _local14 * 0.5; var chk = _local6.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local14 * -0.5; var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local8._x = 10; _local8._y = _local14 - 20; var _local25 = options.color; delete options.color; var _local21 = options.background; delete options.background; var _local27 = options.outline; delete options.outline; var _local5 = _local8.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local21); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local8.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local25); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local7 = _local8.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local27, 100); _local7.moveTo(0, 0); _local7.lineTo(_local4 - 20, 0); _local7.lineTo(_local4 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local26; chk.ad_timeout = _local29; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = _local23; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; _local6.lc.adLoaded = function (width, height) { }; _local6.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local16 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local16); var _local10 = options.clip; var _local13 = 11000; var _local15 = options.ad_timeout; delete options.ad_timeout; var _local12 = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var _local3 = _local10._mochiad; _local3.onUnload = function () { options.ad_finished(); }; var _local6 = _getRes(options); var _local17 = _local6[0]; var _local14 = _local6[1]; _local3._x = _local17 * 0.5; _local3._y = _local14 * 0.5; var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local13; chk.ad_timeout = _local15; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = _local12; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; _local3.lc.adLoaded = function (width, height) { }; _local3.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } }
Symbol 687 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores { static var boardID, onClose, onError; function MochiScores () { } static function setBoardID(boardID) { mochi.MochiScores.boardID = boardID; mochi.MochiServices.send("scores_setBoardID", {boardID:boardID}); } static function showLeaderboard(options) { if (options.clip != null) { if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.childClip._target == undefined)) { mochi.MochiServices.disconnect(); mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip); } delete options.clip; } if (options.name != null) { if (typeof(options.name) == "object") { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (typeof(options.score) == "object") { if (options.score.text != undefined) { options.score = options.score.text; } } } if (options.onDisplay != null) { options.onDisplay(); } else { mochi.MochiServices.clip.stop(); } if (options.onClose != null) { onClose = options.onClose; } else { onClose = function () { mochi.MochiServices.clip.play(); }; } if (options.onError != null) { onError = options.onError; } else { onError = onClose; } if (options.boardID == null) { if (boardID != null) { options.boardID = boardID; } } mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose); } static function closeLeaderboard() { mochi.MochiServices.send("scores_closeLeaderboard"); } static function getPlayerInfo(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod); } static function submit(score, name, callbackObj, callbackMethod) { mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod); } static function requestList(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod); } static function scoresArrayToObjects(scores) { var _local5 = {}; var _local1; var _local4; var _local2; var _local6; for (var _local8 in scores) { if (typeof(scores[_local8]) == "object") { if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) { _local5[_local8] = []; _local2 = scores[_local8]; _local4 = 0; while (_local4 < _local2.rows.length) { _local6 = {}; _local1 = 0; while (_local1 < _local2.cols.length) { _local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1]; _local1++; } _local5[_local8].push(_local6); _local4++; } } else { _local5[_local8] = {}; for (var _local7 in scores[_local8]) { _local5[_local8][_local7] = scores[_local8][_local7]; } } } else { _local5[_local8] = scores[_local8]; } } return(_local5); } static function doClose(args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = "IOError"; } onError.apply(null, [args.errorCode]); } else { onClose.apply(); } } }
Symbol 1 MovieClip [__Packages.mx.data.components.XUpdateResolver] Frame 0
class mx.data.components.XUpdateResolver extends MovieClip { var _opNumber, __unresolvedDeltas, __unresolvedPackets, __includeDPInfo, __deltaPacket, __xupdatePacket, __updateResults, _fieldValueObj, dispatchEvent, __schema; function XUpdateResolver () { super(); _opNumber = new Array(); _opNumber.length = 3; _opNumber.append = mx.data.components.datasetclasses.DeltaPacketConsts.Added; _opNumber.remove = mx.data.components.datasetclasses.DeltaPacketConsts.Removed; _opNumber.update = mx.data.components.datasetclasses.DeltaPacketConsts.Modified; __unresolvedDeltas = new Array(); __unresolvedPackets = new Array(); mx.data.binding.ComponentMixins.initComponent(this); mx.events.EventDispatcher.initialize(this); } function get includeDeltaPacketInfo() { return(__includeDPInfo); } function set includeDeltaPacketInfo(newValue) { __includeDPInfo = newValue; //return(includeDeltaPacketInfo); } function get deltaPacket() { return(__deltaPacket); } function set deltaPacket(dp) { __deltaPacket = dp; if (dp != null) { __unresolvedDeltas[dp.getTransactionId()] = dp; createXUpdatePacketFromDelta(dp); } //return(deltaPacket); } function get xupdatePacket() { return(__xupdatePacket); } function get updateResults() { return(__updateResults); } function set updateResults(results) { __updateResults = results; updateResultsToDataset(); //return(updateResults); } function get unresolvedPackets() { return(__unresolvedPackets); } function decodeFieldValue(fieldName, value) { var _local2 = _fieldValueObj.getField(fieldName); _fieldValueObj[fieldName] = value; return(_local2.getTypedValue(mx.data.binding.FieldAccessor.findElementType(_fieldValueObj.__schema, fieldName).type.name).value); } function encodeFieldValue(fieldName, value) { var _local3 = mx.data.binding.FieldAccessor.findElementType(_fieldValueObj.__schema, fieldName); var _local4 = _fieldValueObj.getField(fieldName); _local4.setTypedValue(new mx.data.binding.TypedValue(value, _local3.name, _local3)); value = _fieldValueObj[fieldName]; if ((_local3.name == "String") && (value == null)) { value = ""; } if (value != null) { return(mx.utils.XMLString.escape(String(value))); } return(null); } function resendPacket(transID) { var _local2 = __unresolvedPackets[transID].updatePacket; if ((_local2 != null) && (_local2 != undefined)) { __xupdatePacket = _local2; dispatchEvent({target:this, type:"xupdatePacketChanged"}); return(true); } return(false); } function createXUpdatePacketFromDelta(dp) { __xupdatePacket = getDeltaAsXML(dp); dispatchEvent({type:"beforeApplyUpdates", target:this, xupdatePacket:__xupdatePacket}); __unresolvedPackets[__deltaPacket.getTransactionId()] = {timestamp:__deltaPacket.getTimestamp(), xupdatePacket:__xupdatePacket}; dispatchEvent({target:this, type:"xupdatePacketChanged"}); } function getAttribute(path) { var _local2 = path.lastIndexOf("@"); if (_local2 == -1) { return(("node=\"" + path.substring(path.lastIndexOf("/") + 1)) + "\""); } return(("attribute=\"" + path.substring(_local2 + 1)) + "\""); } function getChildNodeByName(node, nodeName) { var _local2; var _local3 = node.childNodes; var _local1 = 0; while (_local1 < _local3.length) { _local2 = _local3[_local1]; if (_local2.nodeName == nodeName) { return(_local2); } _local1++; } return(null); } function getDeltaAsXML(dp) { var _local12 = dp.getIterator(); var _local2 = null; var _local9 = ("<?xml version=\"1.0\"?><xupdate:modifications version=\"1.0\" xmlns:xupdate=\"http://www.xmldb.org/xupdate\" " + (__includeDPInfo ? (("transID=\"" + dp.getTransactionId()) + "\" ") : "")) + ">"; while (_local12.hasNext()) { _local2 = mx.data.components.datasetclasses.Delta(_local12.next()); switch (_local2.getOperation()) { case mx.data.components.datasetclasses.DeltaPacketConsts.Removed : var _local11 = String(_local2.getSource().encoderInfo); _local9 = _local9 + (((("<xupdate:remove select=\"" + _local11) + "\" ") + (__includeDPInfo ? (("opID=\"" + _local2.getId()) + "\" ") : "")) + "/>"); break; case mx.data.components.datasetclasses.DeltaPacketConsts.Added : _local11 = _local2.getSource().encoderInfo.xpath; var _local10 = _local2.getSource().encoderInfo.node; _local9 = _local9 + (((((("<xupdate:append select=\"" + _local11) + "\" ") + (__includeDPInfo ? (("opID=\"" + _local2.getId()) + "\" ") : "")) + ">") + getXUpdateElementDef(_local10)) + "</xupdate:append>"); break; case mx.data.components.datasetclasses.DeltaPacketConsts.Modified : var _local5 = _local2.getChangeList(); var _local8; var _local4; var _local3; var _local7 = ""; for (var _local13 in _local5) { _local4 = _local5[_local13]; _local8 = _local4.name; _local3 = encodeFieldValue(_local8, _local4.__get__newValue()); if (_local3 != null) { var _local6 = String(_local2.getSource().encoderInfo); _local7 = _local7 + (((((("<xupdate:update select=\"" + _local6) + "\" ") + (__includeDPInfo ? (("opID=\"" + _local2.getId()) + "\" ") : "")) + ">") + _local3) + "</xupdate:update>"); } } _local9 = _local9 + _local7; } } _local9 = _local9 + "</xupdate:modifications>"; var _local14 = new XML(); _local14.ignoreWhite = true; _local14.parseXML(_local9); return(_local14); } function getLocalSchema(extSch) { var _local4 = null; if (extSch != null) { var _local6 = __schema.elements; var _local7 = extSch.elements; var _local3 = 0; while (_local3 < _local6.length) { if (_local6[_local3].type.original == false) { if (_local4 == null) { _local4 = mx.utils.ObjectCopy.copy(extSch); } var _local5 = false; var _local2 = 0; var _local8 = _local6[_local3].name; while ((!_local5) && (_local2 < _local7.length)) { _local5 = _local7[_local2].name == _local8; _local2++; } if (_local5) { _local4.elements[_local2 - 1] = _local6[_local3]; } else { if (_local4.elements == null) { _local4.elements = new Array(); } _local4.elements.push(_local6[_local3]); } } _local3++; } if (_local4 == null) { _local4 = extSch; } } else { _local4 = __schema; } return(_local4); } function getXUpdateElementDef(node) { var _local3 = ("<xupdate:element name=\"" + node.nodeName) + "\">"; for (var _local4 in node.attributes) { _local3 = _local3 + (((("<xupdate:attribute name=\"" + _local4) + "\">") + node.attributes[_local4]) + "</xupdate:attribute>"); } var _local1 = 0; while (_local1 < node.childNodes.length) { _local3 = _local3 + node.childNodes[_local1]; _local1++; } _local3 = _local3 + "</xupdate:element>"; return(_local3); } function removeUnresolvedPacket(transID) { __unresolvedDeltas[transID] = null; __unresolvedPackets[transID] = null; } function updateResultsToDataset() { var _local4 = new Array(); var _local5 = new Array(); var _local6 = __updateResults.firstChild.childNodes; var _local3 = null; var _local7 = __updateResults.firstChild.attributes.transID; _fieldValueObj = new Object(); _fieldValueObj.__schema = getLocalSchema(mx.data.components.datasetclasses.DeltaPacket(__unresolvedDeltas[_local7]).getConfigInfo().elements[0].type); mx.data.binding.ComponentMixins.initComponent(_fieldValueObj); var _local2 = 0; while (_local2 < _local6.length) { _local3 = _local6[_local2]; if (_local3.nodeName.toLowerCase() == "operation") { _local4.push(Object(updateResultNodeToDelta(_local7, _local3))); } _local2++; } if (_local7 == undefined) { _local7 = ""; } __deltaPacket = new mx.data.components.datasetclasses.DeltaPacketImpl(this, _local7); _local2 = 0; while (_local2 < _local4.length) { __deltaPacket.addItem(_local4[_local2]); _local2++; } removeUnresolvedPacket(_local7); dispatchEvent({target:this, type:"reconcileResults", deltaPacket:__deltaPacket}); dispatchEvent({target:this, type:"deltaPacketChanged"}); if (_local5.length > 0) { __deltaPacket = new mx.data.components.datasetclasses.DeltaPacketImpl(this, ""); _local2 = 0; while (_local2 < _local5.length) { __deltaPacket.addItem(_local5[_local2]); _local2++; } dispatchEvent({target:this, type:"reconcileUpdates", deltaPacket:__deltaPacket}); dispatchEvent({target:this, type:"deltaPacketChanged"}); } } function updateResultNodeToDelta(transID, node) { var _local3 = -1; var _local4 = ""; var _local6 = null; var _local8 = ""; var _local7 = false; switch (node.nodeName.toLowerCase()) { case "operation" : _local3 = _opNumber[node.attributes.op]; if (!((_local3 >= 0) && (_local3 < _opNumber.length))) { throw new Error(((("Operation '" + node.attributes.op) + "' does not exist. Error on XUpdateResolver '") + Object(this)._name) + "'."); } _local4 = node.attributes.id; _local6 = getDeltaSource(transID, _local4); if (node.attributes.msg != null) { _local8 = node.attributes.msg; } _local7 = true; break; default : throw new Error(((("Unknown node type '" + node.nodeName) + "'. Error on XUpdateResolver '") + Object(this)._name) + "'."); } var _local5 = new mx.data.components.datasetclasses.DeltaImpl(_local4, _local6, _local3, _local8, true); if (_local7) { updateResultsAddDeltaItems(node, _local5); } return(_local5); } function getDeltaSource(transID, opID) { var _local5 = mx.data.components.datasetclasses.DeltaPacket(__unresolvedDeltas[transID]); if (_local5 != null) { var _local2; var _local3 = _local5.getIterator(); while (_local3.hasNext()) { _local2 = mx.data.components.datasetclasses.Delta(_local3.next()); if (_local2.getId() == opID) { return(_local2.getSource().deltaSource); } } } return(null); } function updateResultsAddDeltaItems(node, delta) { var _local6 = node.childNodes; var _local2 = null; var _local4 = ""; var _local5 = 0; while (_local5 < _local6.length) { _local2 = _local6[_local5]; if (_local2.nodeType != 3) { var _local3 = new Object(); _local4 = _local2.attributes.name; if (_local2.attributes.oldValue != undefined) { _local3.oldValue = decodeFieldValue(_local4, _local2.attributes.oldValue); } if (_local2.attributes.newValue != undefined) { _local3.newValue = decodeFieldValue(_local4, _local2.attributes.newValue); } if (_local2.attributes.curValue != undefined) { _local3.curValue = decodeFieldValue(_local4, _local2.attributes.curValue); } _local3.message = _local2.attributes.msg; new mx.data.components.datasetclasses.DeltaItem(mx.data.components.datasetclasses.DeltaItem.Property, _local4, _local3, Object(delta)); } _local5++; } } }
Symbol 6 MovieClip [__Packages.mx.utils.Iterator] Frame 0
interface mx.utils.Iterator { }
Symbol 7 MovieClip [__Packages.mx.utils.Collection] Frame 0
interface mx.utils.Collection { }
Symbol 8 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaPacket] Frame 0
interface mx.data.components.datasetclasses.DeltaPacket extends mx.utils.Collection { }
Symbol 9 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaPacketConsts] Frame 0
class mx.data.components.datasetclasses.DeltaPacketConsts extends Object { function DeltaPacketConsts () { super(); } static var Added = 0; static var Removed = 1; static var Modified = 2; }
Symbol 10 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1}; }
Symbol 11 MovieClip [__Packages.mx.data.binding.ComponentMixins] Frame 0
class mx.data.binding.ComponentMixins { var __refreshing, __bindings, __schema, __fieldCache, _eventDispatcher; function ComponentMixins () { } function refreshFromSources() { if (__refreshing != null) { return(undefined); } __refreshing = true; _global.__dataLogger.logData(this, "Refreshing from sources"); _global.__dataLogger.nestLevel++; mx.data.binding.Binding.refreshFromSources(this, null, __bindings); _global.__dataLogger.nestLevel--; __refreshing = null; } function refreshDestinations() { _global.__dataLogger.logData(this, "Refreshing Destinations"); _global.__dataLogger.nestLevel++; mx.data.binding.Binding.refreshDestinations(this, __bindings); _global.__dataLogger.nestLevel--; } function validateProperty(property, initialMessages) { var _local4 = null; var _local3 = getField(property); if (_local3 != null) { _local4 = _local3.validateAndNotify(null, null, initialMessages); } else { _global.__dataLogger.logData(this, "Can't validate property '<property>' because it doesn't exist", {property:property}); } return(_local4); } function addBinding(binding) { if (__bindings == undefined) { __bindings = new Array(); } __bindings.push(binding); var _local3 = false; if (binding.source.component == this) { getField(binding.source.property, binding.source.location); _local3 = true; } if (binding.dest.component == this) { getField(binding.dest.property, binding.dest.location); _local3 = _local3 | Object(binding).is2way; } if (_local3) { var _local4 = binding.dest.component.findSchema(binding.dest.property, binding.dest.location); if (_local4.readonly) { binding.source.component.__setReadOnly(true); } } } static function initComponent(component) { var _local2 = mx.data.binding.ComponentMixins.prototype; if (component.refreshFromSources == undefined) { component.refreshFromSources = _local2.refreshFromSources; } if (component.refreshDestinations == undefined) { component.refreshDestinations = _local2.refreshDestinations; } if (component.validateProperty == undefined) { component.validateProperty = _local2.validateProperty; } if (component.createFieldAccessor == undefined) { component.createFieldAccessor = _local2.createFieldAccessor; } if (component.createField == undefined) { component.createField = _local2.createField; } if (component.addBinding == undefined) { component.addBinding = _local2.addBinding; } if (component.findSchema == undefined) { component.findSchema = _local2.findSchema; } if (component.getField == undefined) { component.getField = _local2.getField; } if (component.refreshAndValidate == undefined) { component.refreshAndValidate = _local2.refreshAndValidate; } if (component.getFieldFromCache == undefined) { component.getFieldFromCache = _local2.getFieldFromCache; } if (component.getBindingMetaData == undefined) { component.getBindingMetaData = _local2.getBindingMetaData; } if (component.__setReadOnly == undefined) { component.__setReadOnly = _local2.__setReadOnly; } if (component.__addHighPrioEventListener == undefined) { component.__addHighPrioEventListener = _local2.__addHighPrioEventListener; } } function createFieldAccessor(property, location, mustExist) { return(mx.data.binding.FieldAccessor.createFieldAccessor(this, property, location, mx.data.binding.FieldAccessor.findElementType(__schema, property), mustExist)); } function findSchema(property, location) { if (typeof(location) == "string") { return(null); } var _local5 = mx.data.binding.FieldAccessor.findElementType(__schema, property); if (location != null) { if (location.path != null) { location = location.path; } if (!(location instanceof Array)) { return(null); } var _local2 = 0; while (_local2 < location.length) { var _local4 = location[_local2]; _local5 = mx.data.binding.FieldAccessor.findElementType(_local5, _local4); _local2++; } } return(_local5); } function createField(property, location) { var _local3 = findSchema(property, location); var _local2; if (_local3.validation != null) { _local2 = mx.data.binding.Binding.getRuntimeObject(_local3.validation); } else { _local2 = new mx.data.binding.DataType(); } _local2.setupDataAccessor(this, property, location); return(_local2); } static function deepEqual(a, b) { if (a == b) { return(true); } if (typeof(a) != typeof(b)) { return(false); } if (typeof(a) != "object") { return(false); } var _local3 = new Object(); for (var _local4 in a) { if (!deepEqual(a[_local4], b[_local4])) { return(false); } _local3[_local4] = 1; } for (var _local4 in b) { if (_local3[_local4] != 1) { return(false); } } return(true); } function getFieldFromCache(property, location) { for (var _local5 in __fieldCache) { var _local2 = __fieldCache[_local5]; if ((_local2.property == property) && (deepEqual(_local2.location, location))) { return(_local2); } } return(null); } function getField(property, location) { var _local2 = getFieldFromCache(property, location); if (_local2 != null) { return(_local2); } _local2 = createField(property, location); if (__fieldCache == null) { __fieldCache = new Array(); } __fieldCache.push(_local2); return(_local2); } function refreshAndValidate(property) { _global.__dataLogger.logData(this, "Refreshing and validating " + property); _global.__dataLogger.nestLevel++; var _local3 = mx.data.binding.Binding.refreshFromSources(this, property, __bindings); _local3 = validateProperty(property, _local3); _global.__dataLogger.nestLevel--; return(_local3 == null); } function getBindingMetaData(name) { return(this["__" + name]); } function __setReadOnly(setting) { if (Object(this).editable != undefined) { Object(this).editable = !setting; } } function __addHighPrioEventListener(event, handler) { var _local3 = ((_eventDispatcher != undefined) ? (_eventDispatcher) : this); if (_local3.__highPrioEvents == undefined) { _local3.__highPrioEvents = new Object(); } var _local4 = "__q_" + event; if (_local3.__highPrioEvents[_local4] == undefined) { _local3.__highPrioEvents[_local4] = new Array(); } _global.ASSetPropFlags(_local3.__highPrioEvents, _local4, 1); mx.events.EventDispatcher._removeEventListener(_local3.__highPrioEvents[_local4], event, handler); _local3.__highPrioEvents[_local4].push(handler); if (_local3._databinding_original_dispatchEvent == undefined) { _local3._databinding_original_dispatchEvent = _local3.dispatchEvent; _local3.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this.dispatchQueue(this.__highPrioEvents, eventObj); this._databinding_original_dispatchEvent(eventObj); }; } } }
Symbol 12 MovieClip [__Packages.mx.data.binding.EndPoint] Frame 0
class mx.data.binding.EndPoint { function EndPoint () { } }
Symbol 13 MovieClip [__Packages.mx.data.binding.ObjectDumper] Frame 0
class mx.data.binding.ObjectDumper { var inProgress; function ObjectDumper () { inProgress = new Array(); } static function toString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local3 = new mx.data.binding.ObjectDumper(); if (maxLineLength == undefined) { maxLineLength = 100; } if (indent == undefined) { indent = 0; } return(_local3.realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent)); } function realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local8 = 0; while (_local8 < inProgress.length) { if (inProgress[_local8] == obj) { return("***"); } _local8++; } inProgress.push(obj); indent++; var _local16 = typeof(obj); var _local5; if ((obj instanceof XMLNode) && (showXMLstructures != true)) { _local5 = obj.toString(); } else if (obj instanceof Date) { _local5 = obj.toString(); } else if (_local16 == "object") { var _local4 = new Array(); if (obj instanceof Array) { _local5 = "["; var _local15 = 0; while (_local15 < obj.length) { _local4.push(_local15); _local15++; } } else { _local5 = "{"; for (var _local15 in obj) { _local4.push(_local15); } _local4.sort(); } var _local9 = ""; var _local3 = 0; while (_local3 < _local4.length) { var _local6 = obj[_local4[_local3]]; var _local7 = true; if (typeof(_local6) == "function") { _local7 = showFunctions == true; } if (typeof(_local6) == "undefined") { _local7 = showUndefined == true; } if (_local7) { _local5 = _local5 + _local9; if (!(obj instanceof Array)) { _local5 = _local5 + (_local4[_local3] + ": "); } _local5 = _local5 + realToString(_local6, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent); _local9 = ", `"; } _local3++; } if (obj instanceof Array) { _local5 = _local5 + "]"; } else { _local5 = _local5 + "}"; } } else if (_local16 == "function") { _local5 = "function"; } else if (_local16 == "string") { _local5 = ("\"" + obj) + "\""; } else { _local5 = String(obj); } if (_local5 == "undefined") { _local5 = "-"; } inProgress.pop(); return(replaceAll(_local5, "`", ((_local5.length < maxLineLength) ? "" : (newline + doIndent(indent))))); } static function replaceAll(str, from, to) { var _local3 = str.split(from); var _local4 = ""; var _local2 = ""; var _local1 = 0; while (_local1 < _local3.length) { _local4 = _local4 + (_local2 + _local3[_local1]); _local2 = to; _local1++; } return(_local4); } function doIndent(indent) { var _local2 = ""; var _local1 = 0; while (_local1 < indent) { _local2 = _local2 + " "; _local1++; } return(_local2); } }
Symbol 14 MovieClip [__Packages.mx.data.binding.TypedValue] Frame 0
class mx.data.binding.TypedValue { var value, typeName, type; function TypedValue (value, typeName, type) { this.value = value; this.typeName = typeName; this.type = type; } }
Symbol 15 MovieClip [__Packages.mx.xpath.NodePathInfo] Frame 0
class mx.xpath.NodePathInfo { function NodePathInfo (nodeName, filter) { __nodeName = nodeName; __filter = filter; } function get nodeName() { return(__nodeName); } function get filter() { return(__filter); } var __nodeName = null; var __filter = null; }
Symbol 16 MovieClip [__Packages.mx.utils.StringTokenParser] Frame 0
class mx.utils.StringTokenParser { var _source, _skipChars; function StringTokenParser (source, skipChars) { _source = source; _skipChars = ((skipChars == undefined) ? null : (skipChars)); } function get token() { return(_token); } function getPos() { return(_index); } function nextToken() { var _local4; var _local2; var _local3 = _source.length; skipBlanks(); if (_index >= _local3) { return(tkEOF); } _local2 = _source.charCodeAt(_index); if (((((_local2 >= 65) && (_local2 <= 90)) || ((_local2 >= 97) && (_local2 <= 122))) || ((_local2 >= 192) && (_local2 <= Number.POSITIVE_INFINITY))) || (_local2 == 95)) { _local4 = _index; _index++; _local2 = _source.charCodeAt(_index); while (((((((_local2 >= 65) && (_local2 <= 90)) || ((_local2 >= 97) && (_local2 <= 122))) || ((_local2 >= 48) && (_local2 <= 57))) || ((_local2 >= 192) && (_local2 <= Number.POSITIVE_INFINITY))) || (_local2 == 95)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } _token = _source.substring(_local4, _index); return(tkSymbol); } if ((_local2 == 34) || (_local2 == 39)) { _index++; _local4 = _index; _local2 = _source.charCodeAt(_local4); while (((_local2 != 34) && (_local2 != 39)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } _token = _source.substring(_local4, _index); _index++; return(tkString); } if ((_local2 == 45) || ((_local2 >= 48) && (_local2 <= 57))) { var _local5 = tkInteger; _local4 = _index; _index++; _local2 = _source.charCodeAt(_index); while (((_local2 >= 48) && (_local2 <= 57)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } if (_index < _local3) { if (((((((_local2 >= 48) && (_local2 <= 57)) || (_local2 == 46)) || (_local2 == 43)) || (_local2 == 45)) || (_local2 == 101)) || (_local2 == 69)) { _local5 = tkFloat; } while ((((((((_local2 >= 48) && (_local2 <= 57)) || (_local2 == 46)) || (_local2 == 43)) || (_local2 == 45)) || (_local2 == 101)) || (_local2 == 69)) && (_index < _local3)) { _index++; _local2 = _source.charCodeAt(_index); } } _token = _source.substring(_local4, _index); return(_local5); } _token = _source.charAt(_index); _index++; return(tkSymbol); } function skipBlanks() { if (_index < _source.length) { var _local2 = _source.charAt(_index); while ((_local2 == " ") || ((_skipChars != null) && (skipChar(_local2)))) { _index++; _local2 = _source.charAt(_index); } } } function skipChar(ch) { var _local2 = 0; while (_local2 < _skipChars.length) { if (ch == _skipChars[_local2]) { return(true); } _local2++; } return(false); } static var tkEOF = -1; static var tkSymbol = 0; static var tkString = 1; static var tkInteger = 2; static var tkFloat = 3; var _index = 0; var _token = ""; }
Symbol 17 MovieClip [__Packages.mx.xpath.FilterExpr] Frame 0
class mx.xpath.FilterExpr { function FilterExpr (attrInit, nameInit, valueInit) { __attr = attrInit; __name = nameInit; __value = valueInit; } function get attr() { return(__attr); } function set attr(newVal) { __attr = newVal; //return(attr); } function get name() { return(__name); } function set name(newVal) { __name = newVal; //return(name); } function get value() { return(__value); } function set value(newVal) { __value = newVal; //return(value); } var __attr = false; var __value = null; var __name = null; }
Symbol 18 MovieClip [__Packages.mx.xpath.FilterStack] Frame 0
class mx.xpath.FilterStack { var __expr, __ops; function FilterStack (filterVal) { __expr = new Array(); __ops = new Array(); var _local2 = new mx.utils.StringTokenParser(filterVal); var _local5 = _local2.nextToken(); var _local4; var _local3 = _local2.__get__token(); while (_local5 != mx.utils.StringTokenParser.tkEOF) { if (_local3 == "@") { _local5 = _local2.nextToken(); _local3 = _local2.token; _local4 = new mx.xpath.FilterExpr(true, _local3, null); __expr.splice(0, 0, _local4); if (_local2.nextToken() == mx.utils.StringTokenParser.tkSymbol) { if (_local2.__get__token() == "=") { _local5 = _local2.nextToken(); _local4.__set__value(_local2.token); } } } else if ((_local3 == "and") || (_local3 == "or")) { __ops.splice(0, 0, _local3); } else if ((_local3 != ")") && (_local3 != "(")) { _local4 = new mx.xpath.FilterExpr(false, _local3, null); __expr.splice(0, 0, _local4); if (_local2.nextToken() == mx.utils.StringTokenParser.tkSymbol) { if (_local2.__get__token() == "=") { _local5 = _local2.nextToken(); _local4.__set__value(_local2.token); } } } _local5 = _local2.nextToken(); _local3 = _local2.token; } } function get exprs() { return(__expr); } function get ops() { return(__ops); } }
Symbol 19 MovieClip [__Packages.mx.xpath.XPathAPI] Frame 0
class mx.xpath.XPathAPI { function XPathAPI () { } static function getEvalString(node, path) { var _local7 = ""; var _local4 = null; var _local9 = getPathSet(path); var _local3 = _local9[0].nodeName; var _local8; var _local2 = node; var _local5 = false; if ((_local3 != undefined) && ((_local3 == "*") || (node.nodeName == _local3))) { var _local6 = 1; while (_local6 < _local9.length) { _local3 = _local9[_local6].nodeName; _local8 = _local3.indexOf("@"); if (_local8 >= 0) { _local3 = _local3.substring(_local8 + 1); _local5 = _local2.attributes[_local3] != undefined; _local7 = _local7 + (".attributes." + _local3); } else { _local5 = false; var _local1 = 0; while (_local1 < _local2.childNodes.length) { _local4 = _local2.childNodes[_local1]; if (_local4.nodeName == _local3) { _local7 = _local7 + (".childNodes." + _local1); _local1 = _local2.childNodes.length; _local2 = _local4; _local5 = true; } _local1++; } } if (!_local5) { return(""); } _local6++; } if (!_local5) { _local7 = ""; } else if (_local8 == -1) { _local7 = _local7 + ".firstChild.nodeValue"; } } else { _local7 = ""; } return(_local7); } static function selectNodeList(node, path) { var _local2 = new Array(node); var _local5 = getPathSet(path); var _local4 = _local5[0]; var _local6 = _local4.__get__nodeName(); var _local1 = null; if ((_local6 != undefined) && ((_local6 == "*") || (node.nodeName == _local6))) { if (_local4.filter.length > 0) { _local1 = new mx.xpath.FilterStack(_local4.__get__filter()); _local2 = filterNodes(_local2, _local1); } if (_local2.length > 0) { var _local3 = 1; while (_local3 < _local5.length) { _local4 = _local5[_local3]; _local2 = getAllChildNodesByName(_local2, _local4.__get__nodeName()); if (_local4.filter.length > 0) { _local1 = new mx.xpath.FilterStack(_local4.__get__filter()); } else { _local1 = null; } if ((_local1 != null) && (_local1.exprs.length > 0)) { _local2 = filterNodes(_local2, _local1); } _local3++; } } } else { _local2 = new Array(); } return(_local2); } static function selectSingleNode(node, path) { var _local1 = selectNodeList(node, path); if (_local1.length > 0) { return(_local1[0]); } return(null); } static function setNodeValue(node, path, newValue) { var _local1 = new Array(node); var _local9 = getPathSet(path); var _local7 = _local9[_local9.length - 1].nodeName; if (_local7.charAt(0) == "@") { _local7 = _local7.substring(1, _local7.length); _local9.pop(); } else { _local7 = null; } var _local5 = _local9[0]; var _local11 = _local5.__get__nodeName(); var _local3 = null; if ((_local11 != undefined) && ((_local11 == "*") || (node.nodeName == _local11))) { if (_local5.filter.length > 0) { _local3 = new mx.xpath.FilterStack(_local5.__get__filter()); _local1 = filterNodes(_local1, _local3); } if (_local1.length > 0) { var _local2 = 1; while (_local2 < _local9.length) { _local5 = _local9[_local2]; _local1 = getAllChildNodesByName(_local1, _local5.__get__nodeName()); if (_local5.filter.length > 0) { _local3 = new mx.xpath.FilterStack(_local5.__get__filter()); } else { _local3 = null; } if ((_local3 != null) && (_local3.exprs.length > 0)) { _local1 = filterNodes(_local1, _local3); } _local2++; } } } else { _local1 = new Array(); } var _local4 = null; var _local6 = null; var _local10 = new XML(); var _local2 = 0; while (_local2 < _local1.length) { if (_local7 != null) { _local1[_local2].attributes[_local7] = newValue; } else { _local4 = _local1[_local2]; if ((_local4.firstChild == null) || (_local4.firstChild.nodeType != 3)) { _local6 = _local10.createTextNode(newValue); _local4.appendChild(_local6); } else { _local6 = _local4.firstChild; _local6.nodeValue = newValue; } } _local2++; } return(_local1.length); } static function copyStack(toStk, fromStk) { var _local1 = 0; while (_local1 < fromStk.length) { toStk.splice(_local1, 0, fromStk[_local1]); _local1++; } } static function evalExpr(expr, node) { var _local2 = true; if (expr.__get__attr()) { _local2 = ((expr.__get__value() != null) ? (node.attributes[expr.name] == expr.__get__value()) : (node.attributes[expr.name] != null)); } else { var _local3 = getChildNodeByName(node, expr.__get__name()); if (_local3 != null) { _local2 = ((expr.__get__value() != null) ? (_local3.firstChild.nodeValue == expr.__get__value()) : true); } else { _local2 = false; } } return(_local2); } static function filterNodes(nodeList, stack) { var _local13 = new Array(); var _local2; var _local3; var _local9; var _local6; var _local10; var _local1 = true; var _local4; var _local5; var _local8 = 0; while (_local8 < nodeList.length) { _local5 = true; _local2 = new Array(); _local3 = new Array(); copyStack(_local2, stack.__get__exprs()); copyStack(_local3, stack.__get__ops()); _local4 = nodeList[_local8]; while ((_local2.length > 0) && (_local5)) { if (typeof(_local2[_local2.length - 1]) == "object") { _local9 = _local2.pop(); _local1 = evalExpr(_local9, _local4); } else { _local10 = Boolean(_local2.pop()); _local1 = _local10; } if (_local3.length > 0) { var _local7 = _local2.pop(); _local6 = _local7; switch (_local3[_local3.length - 1]) { case "and" : _local1 = _local1 && (evalExpr(_local6, _local4)); _local5 = _local1; break; case "or" : _local1 = _local1 || (evalExpr(_local6, _local4)); _local5 = !_local1; } _local3.pop(); _local2.push(_local1); } } if (_local1) { _local13.push(_local4); } _local8++; } return(_local13); } static function getAllChildNodesByName(nodeList, name) { var _local5 = new Array(); var _local2; var _local3 = 0; while (_local3 < nodeList.length) { _local2 = nodeList[_local3].childNodes; if (_local2 != null) { var _local1 = 0; while (_local1 < _local2.length) { if ((name == "*") || (_local2[_local1].nodeName == name)) { _local5.push(_local2[_local1]); } _local1++; } } _local3++; } return(_local5); } static function getChildNodeByName(node, nodeName) { var _local2; var _local3 = node.childNodes; var _local1 = 0; while (_local1 < _local3.length) { _local2 = _local3[_local1]; if (_local2.nodeName == nodeName) { return(_local2); } _local1++; } return(null); } static function getKeyValues(node, keySpec) { var _local5 = ""; var _local3 = new mx.utils.StringTokenParser(keySpec); var _local2 = _local3.nextToken(); var _local1; var _local6; while (_local2 != mx.utils.StringTokenParser.tkEOF) { _local1 = _local3.token; _local5 = _local5 + (" " + _local1); if (_local2 == mx.utils.StringTokenParser.tkSymbol) { if (_local1 == "@") { _local2 = _local3.nextToken(); _local1 = _local3.token; if (_local2 == mx.utils.StringTokenParser.tkSymbol) { _local5 = _local5 + (((_local1 + "='") + node.attributes[_local1]) + "'"); } } else if (_local1 == "/") { _local2 = _local3.nextToken(); if (_local2 == mx.utils.StringTokenParser.tkSymbol) { _local1 = _local3.token; node = getChildNodeByName(node, _local1); if (node != null) { _local5 = _local5 + _local1; } } } else if ((((_local1 != "and") && (_local1 != "or")) && (_local1 != "[")) && (_local1 != "]")) { _local6 = getChildNodeByName(node, _local1); if (_local6 != null) { _local5 = _local5 + (("='" + _local6.firstChild.nodeValue) + "'"); } } } if (node == null) { trace(("Invalid keySpec specified. '" + keySpec) + "' Error."); return("ERR"); } _local2 = _local3.nextToken(); } return(_local5.slice(1)); } static function getPath(node, keySpecs) { var _local2 = ""; var _local5 = keySpecs[node.nodeName]; if (_local5 == undefined) { var _local8 = ""; var _local10; for (_local10 in node.attributes) { _local8 = _local8 + (((("@" + _local10) + "='") + node.attributes[_local10]) + "' and "); } var _local7 = ""; var _local1; var _local6; var _local4 = 0; while (_local4 < node.childNodes.length) { _local1 = node.childNodes[_local4]; _local6 = _local1.firstChild.nodeValue; if (_local6 != undefined) { _local7 = _local7 + (((_local1.nodeName + "='") + _local6) + "' and "); } _local4++; } if (_local8.length > 0) { if (_local7.length > 0) { _local2 = (((("/" + node.nodeName) + "[") + _local8) + _local7.substring(0, _local7.length - 4)) + "]"; } else { _local2 = ((("/" + node.nodeName) + "[") + _local8.substring(0, _local8.length - 4)) + "]"; } } else { _local2 = ((("/" + node.nodeName) + "[") + _local7.substring(0, _local7.length - 4)) + "]"; } } else { _local2 = _local2 + (("/" + node.nodeName) + getKeyValues(node, _local5)); } var _local1 = node.parentNode; while (_local1.parentNode != null) { _local5 = keySpecs[_local1.nodeName]; if (_local5 != undefined) { _local2 = (("/" + _local1.nodeName) + getKeyValues(_local1, _local5)) + _local2; } else { _local2 = ("/" + _local1.nodeName) + _local2; } _local1 = _local1.parentNode; } return(_local2); } static function getPathSet(path) { var _local6 = new Array(); var _local4; var _local1; var _local2; var _local5; while (path.length > 0) { _local4 = path.lastIndexOf("/"); _local1 = path.substring(_local4 + 1); _local2 = _local1.indexOf("[", 0); _local5 = ((_local2 >= 0) ? (_local1.substring(_local2 + 1, _local1.length - 1)) : ""); _local1 = ((_local2 >= 0) ? (_local1.substring(0, _local2)) : (_local1)); _local6.splice(0, 0, new mx.xpath.NodePathInfo(_local1, _local5)); path = path.substring(0, _local4); } return(_local6); } }
Symbol 20 MovieClip [__Packages.mx.data.binding.DataAccessor] Frame 0
class mx.data.binding.DataAccessor { var dataAccessor, component, property, location, type; function DataAccessor () { } function getAnyTypedValue(suggestedTypes) { var _local3 = 0; while (_local3 < suggestedTypes.length) { var _local5 = getTypedValue(suggestedTypes[_local3]); if (_local5 != null) { return(_local5); } _local3++; } var _local5 = getTypedValue(); _local3 = 0; while (_local3 < suggestedTypes.length) { var _local2 = suggestedTypes[_local3]; if (_local2 == "String") { return(new mx.data.binding.TypedValue(String(_local5.value), _local2)); } if (_local2 == "Number") { return(new mx.data.binding.TypedValue(Number(_local5.value), _local2)); } if (_local2 == "Boolean") { return(new mx.data.binding.TypedValue(Boolean(_local5.value), _local2)); } _local3++; } return(_local5); } function setAnyTypedValue(newValue) { var _local7 = getSettableTypes(); if ((_local7 == null) || (-1 != findString(newValue.typeName, _local7))) { return(setTypedValue(newValue)); } var _local3 = 0; while (_local3 < _local7.length) { var _local2 = _local7[_local3]; if (_local2 == "String") { return(setTypedValue(new mx.data.binding.TypedValue(String(newValue.value), _local2))); } if (_local2 == "Number") { var _local5 = Number(newValue.value); var _local6 = setTypedValue(new mx.data.binding.TypedValue(_local5, _local2)); if (_local5.toString() == "NaN") { return([("Failed to convert '" + newValue.value) + "' to a number"]); } return(_local6); } if (_local2 == "Boolean") { return(setTypedValue(new mx.data.binding.TypedValue(Boolean(newValue.value), _local2))); } _local3++; } return(dataAccessor.setTypedValue(newValue)); } function getTypedValue(requestedType) { var _local2 = dataAccessor.getTypedValue(requestedType); return(_local2); } function getGettableTypes() { return(null); } function setTypedValue(newValue) { return(dataAccessor.setTypedValue(newValue)); } function getSettableTypes() { return(null); } function findLastAccessor() { return(((dataAccessor == null) ? this : (dataAccessor.findLastAccessor()))); } function setupDataAccessor(component, property, location) { this.component = component; this.property = property; this.location = location; type = component.findSchema(property, location); } static function findString(str, arr) { var _local3 = str.toLowerCase(); var _local1 = 0; while (_local1 < arr.length) { if (arr[_local1].toLowerCase() == _local3) { return(_local1); } _local1++; } return(-1); } static function conversionFailed(newValue, target) { return(((("Failed to convert to " + target) + ": '") + newValue.value) + "'"); } }
Symbol 21 MovieClip [__Packages.mx.data.binding.FieldAccessor] Frame 0
class mx.data.binding.FieldAccessor { var component, property, parentObj, fieldName, m_location, type, index, xpath; function FieldAccessor (component, property, parentObj, fieldName, type, index, parentField) { this.component = component; this.property = property; this.parentObj = parentObj; this.fieldName = fieldName; if (component == parentObj) { m_location = undefined; } else if (parentField.m_location == undefined) { m_location = fieldName; } else { m_location = (parentField.m_location + ".") + fieldName; } this.type = type; this.index = index; } function getValue() { var _local2 = getFieldData(); if ((_local2 == null) && (type.value != undefined)) { var _local3 = new mx.data.binding.TypedValue(type.value, "String"); _local3.getDefault = true; component.getField(fieldName).setAnyTypedValue(_local3); _local2 = _local3.value; } if ((isXML(_local2) && (_local2.childNodes.length == 1)) && (_local2.firstChild.nodeType == 3)) { return(_local2.firstChild.nodeValue); } return(_local2); } function setValue(newValue, newTypedValue) { if (newTypedValue.getDefault) { newTypedValue.value = newValue; } else { if (xpath != null) { var _local5 = getFieldData(); if (_local5 != null) { setXMLData(_local5, newValue); } else { _global.__dataLogger.logData(component, "Can't assign to '<property>:<xpath>' because there is no element at the given path", this); } } else if (isXML(parentObj)) { if (type.category == "attribute") { parentObj.attributes[fieldName] = newValue; } else if (type.category == "array") { } else { var _local5 = getOrCreateFieldData(); setXMLData(_local5, newValue); } } else { if (parentObj == null) { _global.__dataLogger.logData(component, "Can't set field '<property>/<location>' because the field doesn't exist", this); } parentObj[fieldName] = newValue; } component.propertyModified(property, (xpath == null) && (parentObj == component), newTypedValue.type); } } static function isActionScriptPath(str) { var _local2 = str.toLowerCase(); var _local3 = "0123456789abcdefghijklmnopqrstuvwxyz_."; var _local1 = 0; while (_local1 < _local2.length) { if (-1 == _local3.indexOf(_local2.charAt(_local1))) { return(false); } _local1++; } return(true); } static function createFieldAccessor(component, property, location, type, mustExist) { if (mustExist && (component[property] == null)) { _global.__dataLogger.logData(component, "Warning: property '<property>' does not exist", {property:property}); return(null); } var _local5 = new mx.data.binding.FieldAccessor(component, property, component, property, type, null, null); if (location == null) { return(_local5); } var _local7 = null; if (location.indices != null) { _local7 = location.indices; location = location.path; } if (typeof(location) == "string") { if (_local7 != null) { _global.__dataLogger.logData(component, "Warning: ignoring index values for property '<property>', path '<location>'", {property:property, location:location}); } if (isActionScriptPath(String(location))) { location = location.split("."); } else { _local5.xpath = location; return(_local5); } } if (location instanceof Array) { var _local3; var _local11 = 0; _local3 = 0; while (_local3 < location.length) { var _local2 = null; var _local4 = location[_local3]; if (_local4 == "[n]") { if (_local7 == null) { _global.__dataLogger.logData(component, "Error: indices for <property>:<location> are null, but [n] appears in the location.", {property:property, location:location}); return(null); } _local2 = _local7[_local11++]; if (_local2 == null) { _global.__dataLogger.logData(component, "Error: not enough index values for <property>:<location>", {property:property, location:location}); return(null); } } _local5 = _local5.getChild(_local4, _local2, mustExist); _local3++; } if (mustExist && (_local5.getValue() == null)) { _global.__dataLogger.logData(component, "Warning: field <property>:<m_location> does not exist, or is null", _local5); } return(_local5); } trace("unrecognized location: " + mx.data.binding.ObjectDumper.toString(location)); return(null); } function getFieldAccessor() { return(this); } function getChild(childName, index, mustExist) { if (childName == ".") { return(this); } var _local2 = getOrCreateFieldData(mustExist); if (_local2 == null) { return(null); } var _local4 = findElementType(type, childName); return(new mx.data.binding.FieldAccessor(component, property, _local2, childName, _local4, index, this)); } function getOrCreateFieldData(mustExist) { var _local3 = getFieldData(); if (_local3 == null) { if (mustExist) { _global.__dataLogger.logData(component, "Warning: field <property>:<m_location> does not exist", this); } else { setupComplexField(); _local3 = getFieldData(); } } return(_local3); } function evaluateSubPath(obj, type) { var path = type.path; if (isActionScriptPath(path)) { var tokens = path.split("."); var i = 0; while (i < tokens.length) { var token = tokens[i]; if (isXML(obj)) { obj = obj.firstChild; while (obj != null) { if (toLocalName(obj.nodeName) == token) { break; } obj = obj.nextSibling; } } else { obj = obj[token]; } if (obj == null) { _global.__dataLogger.logData(component, "Warning: path '<path>' evaluates to null, at '<token>' in <t.property>:<t.m_location>", {path:path, token:token, t:this}); break; } i++; } } else if (isXML(obj)) { if (path.charAt(0) != "/") { path = "/" + path; } path = toLocalName(obj.nodeName) + path; var category = ((type.category != null) ? (type.category) : (((type.elements.length > 0) ? "complex" : "simple"))); if ((category == "simple") || (category == "attribute")) { obj = eval ("obj" + mx.xpath.XPathAPI.getEvalString(obj, path)); } else if (category == "complex") { obj = mx.xpath.XPathAPI.selectSingleNode(obj, path); } else if (category == "array") { obj = mx.xpath.XPathAPI.selectNodeList(obj, path); } } else { _global.__dataLogger.logData(component, "Error: path '<path>' is an XPath. It cannot be applied to non-XML data <t.property>:<t.m_location>", {path:path, t:this}); } return(obj); } function getFieldData() { if (xpath != null) { var _local4 = parentObj[fieldName].firstChild; while ((_local4 != null) && (_local4.nodeType != 1)) { _local4 = _local4.nextSibling; } var _local10 = mx.xpath.XPathAPI.selectSingleNode(_local4, xpath); return(_local10); } if (isXML(parentObj)) { if (type.path != null) { return(evaluateSubPath(parentObj, type)); } if (type.category == "attribute") { var _local5 = parentObj.attributes; for (var _local8 in _local5) { if (toLocalName(_local8) == fieldName) { return(_local5[_local8]); } } return(undefined); } var _local3 = parentObj.firstChild; if (type.category == "array") { var _local6 = new Array(); while (_local3 != null) { if (toLocalName(_local3.nodeName) == fieldName) { _local6.push(_local3); } _local3 = _local3.nextSibling; } return(_local6); } while (_local3 != null) { if (toLocalName(_local3.nodeName) == fieldName) { return(_local3); } _local3 = _local3.nextSibling; } return(null); } if (fieldName == "[n]") { var _local7; if (index.component != null) { var _local9 = index.component.getField(index.property, index.location); _local7 = _local9.getAnyTypedValue(["Number"]); _local7 = _local7.value; } else { _local7 = index.constant; } var _local11 = Number(_local7); if (typeof(_local7) == "undefined") { _global.__dataLogger.logData(component, "Error: index specification '<index>' was not supplied, or incorrect, for <t.property>:<t.m_location>", {index:_local11, t:this}); return(null); } if (_local11.toString() == "NaN") { _global.__dataLogger.logData(component, "Error: index value '<index>' for <t.property>:<t.m_location> is not a number", {index:_local11, t:this}); return(null); } if (!(parentObj instanceof Array)) { _global.__dataLogger.logData(component, "Error: indexed field <property>:<m_location> is not an array", this); return(null); } if ((_local11 < 0) || (_local11 >= parentObj.length)) { _global.__dataLogger.logData(component, "Error: index '<index>' for <t.property>:<t.m_location> is out of bounds", {index:_local11, t:this}); return(null); } _global.__dataLogger.logData(component, "Accessing item [<index>] of <t.property>:<t.m_location>", {index:_local11, t:this}); return(parentObj[_local11]); } if (type.path != null) { return(evaluateSubPath(parentObj, type)); } return(parentObj[fieldName]); } static function setXMLData(obj, newValue) { while (obj.hasChildNodes()) { obj.firstChild.removeNode(); } var _local2 = xmlNodeFactory.createTextNode(newValue); obj.appendChild(_local2); } function setupComplexField() { var _local2; if (isXML(parentObj)) { _local2 = xmlNodeFactory.createElement(fieldName); parentObj.appendChild(_local2); } else if (dataIsXML()) { parentObj[fieldName] = new XML(); } else { parentObj[fieldName] = new Object(); } } static function findElementType(type, name) { var _local1 = 0; while (_local1 < type.elements.length) { if (type.elements[_local1].name == name) { return(type.elements[_local1].type); } _local1++; } return(null); } function isXML(obj) { return(obj instanceof XMLNode); } function dataIsXML() { return(type.name == "XML"); } static function accessField(component, fieldName, desiredTypes) { var _local1; _local1 = desiredTypes[fieldName]; if (_local1 == null) { _local1 = desiredTypes.dflt; } if (_local1 == null) { _local1 = desiredTypes; } var _local4 = component.createField("data", [fieldName]); var _local2 = _local4.getAnyTypedValue([_local1]); return(_local2.value); } static function ExpandRecord(obj, objectType, desiredTypes) { var _local4 = new Object(); mx.data.binding.ComponentMixins.initComponent(_local4); _local4.data = obj; _local4.__schema = {elements:[{name:"data", type:objectType}]}; var _local2 = new Object(); if (objectType.elements.length > 0) { var _local3 = 0; while (_local3 < objectType.elements.length) { var _local10 = objectType.elements[_local3].name; _local2[_local10] = accessField(_local4, _local10, desiredTypes); _local3++; } } else if ((obj instanceof XML) || (obj instanceof XMLNode)) { if ((obj.childNodes.length == 1) && (obj.firstChild.nodeType == 3)) { return(obj.firstChild.nodeValue); } var _local5 = obj.lastChild; while (_local5 != null) { var _local10 = toLocalName(_local5.nodeName); if ((_local10 != null) && (_local2[_local10] == null)) { _local2[_local10] = accessField(_local4, _local10, desiredTypes); } _local5 = _local5.previousSibling; } for (var _local10 in obj.attributes) { if (_local2[_local10] != null) { _global.__dataLogger.logData(null, "Warning: attribute '<name>' has same name as an element, in XML object <obj>", {name:_local10, obj:obj}); } _local2[_local10] = accessField(_local4, _local10, desiredTypes); } } else { if (typeof(obj) != "object") { return(obj); } for (var _local10 in obj) { _local2[_local10] = accessField(_local4, _local10, desiredTypes); } } return(_local2); } static function wrapArray(theArray, itemType, desiredTypes) { var _local4 = {getItemAt:function (index) { if ((index < 0) || (index >= this.data.length)) { return(undefined); } var _local2 = this.data[index]; if (_local2 == undefined) { return(undefined); } var _local3 = mx.data.binding.FieldAccessor.ExpandRecord(_local2, this.type, desiredTypes); return(_local3); }, getItemID:function (index) { return(index); }, data:theArray, type:itemType, length:theArray.length}; return(_local4); } static function toLocalName(nodeName) { var _local1 = nodeName.split(":"); var _local2 = _local1[_local1.length - 1]; return(_local2); } static var xmlNodeFactory = new XML(); }
Symbol 22 MovieClip [__Packages.mx.data.binding.Log] Frame 0
class mx.data.binding.Log { var level, name; function Log (logLevel, logName) { level = ((logLevel == undefined) ? (BRIEF) : (logLevel)); name = ((name == undefined) ? "" : (name)); } function logInfo(msg, level) { if (level == undefined) { level = BRIEF; } onLog((((getDateString() + " ") + name) + ": ") + mx.data.binding.ObjectDumper.toString(msg)); } function logData(target, message, info, level) { if (level == undefined) { level = VERBOSE; } var _local6 = ((name.length > 0) ? ((" " + name) + ": ") : " "); var _local4 = ((target == null) ? "" : (target + ": ")); if (_local4.indexOf("_level0.") == 0) { _local4 = _local4.substr(8); } var _local3 = ((getDateString() + _local6) + _local4) + substituteIntoString(message, info, 50); if (showDetails && (info != null)) { _local3 = _local3 + ("\n " + mx.data.binding.ObjectDumper.toString(info)); } else { var _local2 = 0; while (_local2 < nestLevel) { _local3 = " " + _local3; _local2++; } } onLog(_local3); } function onLog(message) { trace(message); } function getDateString() { var _local1 = new Date(); return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds()); } static function substituteIntoString(message, info, maxlen, rawDataType) { var _local9 = ""; if (info == null) { return(message); } var _local11 = message.split("<"); if (_local11 == null) { return(message); } _local9 = _local9 + _local11[0]; var _local7 = 1; while (_local7 < _local11.length) { var _local8 = _local11[_local7].split(">"); var _local5 = _local8[0].split("."); var _local1 = info; var _local4 = rawDataType; var _local3 = 0; while (_local3 < _local5.length) { var _local2 = _local5[_local3]; if (_local2 != "") { _local4 = mx.data.binding.FieldAccessor.findElementType(_local4, _local2); var _local6 = new mx.data.binding.FieldAccessor(null, null, _local1, _local2, _local4, null, null); _local1 = _local6.getValue(); } _local3++; } if (typeof(_local1) != "string") { _local1 = mx.data.binding.ObjectDumper.toString(_local1); } if (_local1.indexOf("_level0.") == 0) { _local1 = _local1.substr(8); } if ((maxlen != null) && (_local1.length > maxlen)) { _local1 = _local1.substr(0, maxlen) + "..."; } _local9 = _local9 + _local1; _local9 = _local9 + _local8[1]; _local7++; } var _local14 = _local9.split("&gt;"); _local9 = _local14.join(">"); _local14 = _local9.split("&lt;"); _local9 = _local14.join("<"); return(_local9); } static var NONE = -1; static var BRIEF = 0; static var VERBOSE = 1; static var DEBUG = 2; static var INFO = 2; static var WARNING = 1; static var ERROR = 0; var showDetails = false; var nestLevel = 0; }
Symbol 23 MovieClip [__Packages.mx.data.binding.Binding] Frame 0
class mx.data.binding.Binding { var is2way, dest, source, format; function Binding (source, dest, format, is2way) { mx.events.EventDispatcher.initialize(this); var _local5 = this; _local5.source = source; _local5.dest = dest; _local5.format = format; _local5.is2way = is2way; registerBinding(this); calcShortLoc(source); calcShortLoc(dest); _global.__dataLogger.logData(null, ("Creating binding " + summaryString()) + (is2way ? ", 2-way" : ""), {binding:this}); _global.__dataLogger.nestLevel++; mx.data.binding.ComponentMixins.initComponent(dest.component); if (source.component != undefined) { mx.data.binding.ComponentMixins.initComponent(source.component); } dest.component.addBinding(this); if (source.component != undefined) { source.component.addBinding(this); setUpListener(source, false); if (this.is2way) { setUpListener(dest, true); setUpIndexListeners(source, false); setUpIndexListeners(dest, true); } else { setUpIndexListeners(source, false); setUpIndexListeners(dest, false); } } else { execute(); } _global.__dataLogger.nestLevel--; } function execute(reverse) { var _local3; var _local4; if (reverse) { if (!is2way) { _global.__dataLogger.logData(null, ("Warning: Can't execute binding " + summaryString(false)) + " in reverse, because it's not a 2 way binding", {binding:this}, mx.data.binding.Log.BRIEF); return(["error"]); } _local3 = dest; _local4 = source; } else { _local3 = source; _local4 = dest; } _global.__dataLogger.logData(null, "Executing binding " + summaryString(reverse), {binding:this}); _global.__dataLogger.nestLevel++; var _local10; if (_local3.constant != undefined) { _local10 = {value:new mx.data.binding.TypedValue(_local3.constant, "String"), getAnyTypedValue:function () { return(this.value); }, getTypedValue:function () { return(this.value); }, getGettableTypes:function () { return(["String"]); }}; } else { _local10 = _local3.component.getField(_local3.property, _local3.location, true); } var _local20; var _local16; var _local13 = ""; var _local6 = _local4.component.getField(_local4.property, _local4.location); if (format != null) { var _local5 = getRuntimeObject(format); if (_local5 != null) { if (reverse) { _local5.setupDataAccessor(_local4.component, _local4.property, _local4.location); _local5.dataAccessor = _local6; _local6 = _local5; } else { _local5.setupDataAccessor(_local3.component, _local3.property, _local3.location); _local5.dataAccessor = _local10; _local10 = _local5; } } } var _local15 = ((format == null) ? (_local6.getSettableTypes()) : null); var _local11 = _local10.getAnyTypedValue(_local15); var _local7 = new Object(); if (_local6.type.readonly == true) { _global.__dataLogger.logData(null, "Not executing binding because the destination is read-only", null, mx.data.binding.Log.BRIEF); var _local8 = new Object(); _local8.type = "invalid"; _local8.property = _local4.property; _local8.location = _local4.location; _local8.messages = [{message:"Cannot assign to a read-only data field."}]; _local4.component.dispatchEvent(_local8); _local7.event = _local8; } else { _global.__dataLogger.logData(null, "Assigning new value '<value>' (<typeName>) " + _local13, {value:_local11.value, typeName:_local11.typeName, unformattedValue:_local20, formatterFrom:_local16}); var _local14 = _local6.setAnyTypedValue(_local11); _local6.validateAndNotify(_local7, false, _local14); _local4.component.dispatchEvent({type:"bindingExecuted", binding:this}); } if (_local7.event != null) { if (_local3.component != null) { var _local9 = new Object(); _local9.type = _local7.event.type; _local9.property = _local3.property; _local9.location = _local3.location; _local9.messages = _local7.event.messages; _local9.to = _local4.component; _local3.component.dispatchEvent(_local9); } } _global.__dataLogger.nestLevel--; return(_local7.event.messages); } function queueForExecute(reverse) { if (!queued) { if (_global.__databind_executeQueue == null) { _global.__databind_executeQueue = new Array(); } if (_root.__databind_dispatch == undefined) { _root.createEmptyMovieClip("__databind_dispatch", -8888); } _global.__databind_executeQueue.push(this); queued = true; this.reverse = reverse; _root.__databind_dispatch.onEnterFrame = dispatchEnterFrame; } } static function dispatchEnterFrame() { _root.__databind_dispatch.onEnterFrame = null; var _local4 = 0; while (_local4 < _global.__databind_executeQueue.length) { var _local3 = _global.__databind_executeQueue[_local4]; _local3.execute(_local3.reverse); _local4++; } var _local5; while (_local5 = _global.__databind_executeQueue.pop() , _local5 != null) { _local5.queued = false; _local5.reverse = false; } } function calcShortLoc(endpoint) { var _local1 = endpoint.location; if (_local1.path != null) { _local1 = _local1.path; } endpoint.loc = ((_local1 instanceof Array) ? (_local1.join(".")) : (_local1)); } function summaryString(reverse) { var _local2 = "<binding.dest.component>:<binding.dest.property>:<binding.dest.loc>"; var _local3 = "<binding.source.component>:<binding.source.property>:<binding.source.loc>"; if (source.constant == null) { if (reverse == true) { return((("from " + _local2) + " to ") + _local3); } return((("from " + _local3) + " to ") + _local2); } return("from constant '<binding.source.constant>' to " + _local2); } static function getRuntimeObject(info, constructorParameter) { if (info.cls == undefined) { info.cls = mx.utils.ClassFinder.findClass(info.className); } var _local3 = new info.cls(constructorParameter); if (_local3 == null) { _global.__dataLogger.logData(null, "Could not construct a formatter or validator - new <info.className>(<params>)", {info:info, params:constructorParameter}, mx.data.binding.Log.BRIEF); } for (var _local4 in info.settings) { _local3[_local4] = info.settings[_local4]; } return(_local3); } static function refreshFromSources(component, property, bindings) { var _local5 = null; var _local3; _local3 = 0; while (_local3 < bindings.length) { var _local1 = bindings[_local3]; var _local2 = null; if ((_local1.dest.component == component) && ((property == null) || (property == _local1.dest.property))) { _local2 = _local1.execute(); } else if ((_local1.is2way && (_local1.source.component == component)) && ((property == null) || (property == _local1.source.property))) { _local2 = _local1.execute(true); } if (_local2 != null) { _local5 = ((_local5 == null) ? (_local2) : (_local5.concat(_local2))); } _local3++; } return(_local5); } static function refreshDestinations(component, bindings) { var _local1; _local1 = 0; while (_local1 < bindings.length) { var _local2 = bindings[_local1]; if (_local2.source.component == component) { _local2.execute(); } else if (_local2.is2way && (_local2.dest.component == component)) { _local2.execute(true); } _local1++; } _local1 = 0; while (_local1 < component.__indexBindings.length) { var _local3 = component.__indexBindings[_local1]; _local3.binding.execute(_local3.reverse); _local1++; } } static function okToCallGetterFromSetter() { function setter(val) { this.value2 = this.value; } function getter() { return(5); } var _local2 = new Object(); _local2.addProperty("value", getter, setter); _local2.value = 0; var _local3 = _local2.value2 == _local2.value; return(_local3); } function setUpListener(endpoint, reverse) { var _local4 = new Object(); _local4.binding = this; _local4.property = endpoint.property; _local4.reverse = reverse; _local4.immediate = okToCallGetterFromSetter(); _local4.handleEvent = function (event) { _global.__dataLogger.logData(event.target, "Data of property '<property>' has changed. <immediate>.", this); if (this.immediate) { if (this.binding.executing != true) { this.binding.executing = true; this.binding.execute(this.reverse); this.binding.executing = false; } } else { this.binding.queueForExecute(this.reverse); } }; if (endpoint.event instanceof Array) { for (var _local5 in endpoint.event) { endpoint.component.__addHighPrioEventListener(endpoint.event[_local5], _local4); } } else { endpoint.component.__addHighPrioEventListener(endpoint.event, _local4); } mx.data.binding.ComponentMixins.initComponent(endpoint.component); } function setUpIndexListeners(endpoint, reverse) { if (endpoint.location.indices != undefined) { var _local3 = 0; while (_local3 < endpoint.location.indices.length) { var _local2 = endpoint.location.indices[_local3]; if (_local2.component != undefined) { setUpListener(_local2, reverse); if (_local2.component.__indexBindings == undefined) { _local2.component.__indexBindings = new Array(); } _local2.component.__indexBindings.push({binding:this, reverse:reverse}); } _local3++; } } } static function copyBinding(b) { var _local1 = new Object(); _local1.source = copyEndPoint(b.source); _local1.dest = copyEndPoint(b.dest); _local1.format = b.format; _local1.is2way = b.is2way; return(_local1); } static function copyEndPoint(e) { var _local1 = new Object(); _local1.constant = e.constant; _local1.component = String(e.component); _local1.event = e.event; _local1.location = e.location; _local1.property = e.property; return(_local1); } static function registerScreen(screen, id) { var symbol = screenRegistry[id]; if (symbol == null) { screenRegistry[id] = {symbolPath:String(screen), bindings:[], id:id}; return(undefined); } if (symbol.symbolPath == String(screen)) { return(undefined); } var instancePath = String(screen); var i = 0; while (i < bindingRegistry.length) { var b = bindingRegistry[i]; var src = copyEndPoint(b.source); var dst = copyEndPoint(b.dest); var prefix = (symbol.symbolPath + "."); var symbolContainsSource = (prefix == b.source.component.substr(0, prefix.length)); var symbolContainsDest = (prefix == b.dest.component.substr(0, prefix.length)); if (symbolContainsSource) { if (symbolContainsDest) { src.component = eval (instancePath + src.component.substr(symbol.symbolPath.length)); dst.component = eval (instancePath + dst.component.substr(symbol.symbolPath.length)); new mx.data.binding.Binding(src, dst, b.format, b.is2way); } else { src.component = eval (instancePath + src.component.substr(symbol.symbolPath.length)); dst.component = eval (dst.component); new mx.data.binding.Binding(src, dst, b.format, b.is2way); } } else if (symbolContainsDest) { src.component = eval (src.component); dst.component = eval (instancePath + dst.component.substr(symbol.symbolPath.length)); new mx.data.binding.Binding(src, dst, b.format, b.is2way); } i++; } } static function registerBinding(binding) { var _local1 = copyBinding(binding); bindingRegistry.push(_local1); } static function getLocalRoot(clip) { var _local2; var _local3 = clip._url; while (clip != null) { if (clip._url != _local3) { break; } _local2 = clip; clip = clip._parent; } return(_local2); } var queued = false; var reverse = false; static var counter = 0; static var screenRegistry = new Object(); static var bindingRegistry = new Array(); }
Symbol 24 MovieClip [__Packages.mx.data.kinds.Data] Frame 0
class mx.data.kinds.Data extends mx.data.binding.DataAccessor { var component, property, location; function Data () { super(); } function getTypedValue(requestedType) { var _local5; var _local2 = getFieldAccessor().getValue(); var _local3 = null; if (_local2 != null) { if (_local2 instanceof Array) { _local3 = "Array"; } else if ((_local2 instanceof XMLNode) || (_local2 instanceof XMLNode)) { _local3 = "XML"; } else { var _local4 = typeof(_local2); _local3 = _local4.charAt(0).toUpperCase() + _local4.slice(1); } } else { _local2 = null; } _local5 = new mx.data.binding.TypedValue(_local2, _local3, null); return(_local5); } function getGettableTypes() { return(null); } function setTypedValue(newValue) { getFieldAccessor().setValue(newValue.value, newValue); return(null); } function getSettableTypes() { return(null); } function getFieldAccessor() { return(component.createFieldAccessor(property, location, false)); } }
Symbol 25 MovieClip [__Packages.mx.data.binding.Formatter] Frame 0
class mx.data.binding.Formatter extends mx.data.binding.DataAccessor { function Formatter () { super(); } }
Symbol 26 MovieClip [__Packages.mx.data.binding.DataType] Frame 0
class mx.data.binding.DataType extends mx.data.binding.DataAccessor { var errorArray, type, kind, dataAccessor, encoder, formatter, getAnyTypedValue, setAnyTypedValue, component, location, property; function DataType () { super(); errorArray = null; } function setupDataAccessor(component, property, location) { super.setupDataAccessor(component, property, location); type = component.findSchema(property, location); if (type.kind != undefined) { kind = mx.data.binding.Binding.getRuntimeObject(type.kind); } else { kind = new mx.data.kinds.Data(); } kind.setupDataAccessor(component, property, location); dataAccessor = kind; if (type.encoder != undefined) { encoder = mx.data.binding.Binding.getRuntimeObject(type.encoder); encoder.setupDataAccessor(component, property, location); encoder.dataAccessor = dataAccessor; dataAccessor = encoder; } if (type.formatter != undefined) { formatter = mx.data.binding.Binding.getRuntimeObject(type.formatter); formatter.setupDataAccessor(component, property, location); formatter.dataAccessor = dataAccessor; } } function getAsBoolean() { var _local2 = getAnyTypedValue(["Boolean"]); return(_local2.value); } function getAsNumber() { var _local2 = getAnyTypedValue(["Number"]); return(_local2.value); } function getAsString() { var _local2 = getAnyTypedValue(["String"]); return(_local2.value); } function setAsBoolean(newValue) { setAnyTypedValue(new mx.data.binding.TypedValue(newValue, "Boolean")); } function setAsNumber(newValue) { setAnyTypedValue(new mx.data.binding.TypedValue(newValue, "Number")); } function setAsString(newValue) { setAnyTypedValue(new mx.data.binding.TypedValue(newValue, "String")); } function validationError(errorMessage) { if (errorArray == null) { errorArray = new Array(); } errorArray.push(errorMessage); } function validate(value) { } function getTypedValue(requestedType) { var _local2; if ((requestedType == "String") && (formatter != null)) { _local2 = formatter.getTypedValue(requestedType); } else { _local2 = dataAccessor.getTypedValue(requestedType); if (_local2.type == null) { _local2.type = type; } if (_local2.typeName == null) { _local2.typeName = type.name; } } if ((_local2.typeName != requestedType) && (requestedType != null)) { _local2 = null; } return(_local2); } function getGettableTypes() { var _local2 = new Array(); var _local3 = gettableTypes(); if (_local3 != null) { _local2 = _local2.concat(_local3); } if (type.name != null) { _local2 = _local2.concat(type.name); } if (formatter != null) { _local2 = _local2.concat(formatter.getGettableTypes()); } if (_local2.length == 0) { return(null); } return(_local2); } function setTypedValue(newValue) { if ((newValue.typeName == "String") && (formatter != null)) { return(formatter.setTypedValue(newValue)); } var _local3 = dataAccessor.getSettableTypes(); if ((_local3 == null) || (-1 != mx.data.binding.DataAccessor.findString(newValue.typeName, _local3))) { return(dataAccessor.setTypedValue(newValue)); } return(["Can't set a value of type " + newValue.typeName]); } function getSettableTypes() { var _local2 = new Array(); var _local3 = settableTypes(); if (_local3 != null) { _local2 = _local2.concat(_local3); } if (type.name != null) { _local2 = _local2.concat(type.name); } if (formatter != null) { _local2 = _local2.concat(formatter.getSettableTypes()); } if (_local2.length == 0) { return(null); } return(_local2); } function gettableTypes() { return(dataAccessor.getGettableTypes()); } function settableTypes() { return(dataAccessor.getSettableTypes()); } function validateAndNotify(returnData, noEvent, initialMessages) { var _local4 = false; errorArray = null; for (var _local6 in initialMessages) { validationError(initialMessages[_local6]); _local4 = true; } var _local7 = getTypedValue(); if ((_local7.value == null) || (_local7.value == "")) { if (type.required == false) { _global.__dataLogger.logData(component, "Validation of null value succeeded because field '<property>/<m_location>' is not required", this); } else { var _local8 = ((location == null) ? "" : (":" + String(location))); validationError((("Required item '" + property) + _local8) + "' is missing"); _local4 = true; } } else { validate(_local7.value); _local4 = true; } if (_local4 && (noEvent != true)) { var _local5 = new Object(); _local5.type = ((errorArray == null) ? "valid" : "invalid"); _local5.property = property; _local5.location = location; _local5.messages = errorArray; component.dispatchEvent(_local5); returnData.event = _local5; } return(errorArray); } }
Symbol 27 MovieClip [__Packages.mx.utils.ClassFinder] Frame 0
class mx.utils.ClassFinder { function ClassFinder () { } static function findClass(fullClassName) { if (fullClassName == null) { return(null); } var _local3 = _global; var _local4 = fullClassName.split("."); var _local2 = 0; while (_local2 < _local4.length) { _local3 = _local3[_local4[_local2]]; _local2++; } if (_local3 == null) { _global.__dataLogger.logData(null, "Could not find class '<classname>'", {classname:fullClassName}, mx.data.binding.Log.BRIEF); } return(_local3); } }
Symbol 28 MovieClip [__Packages.mx.utils.XMLString] Frame 0
class mx.utils.XMLString { static var escChars, unescChars; function XMLString () { escChars = {}; escChars["<"] = "&lt;"; escChars[">"] = "&gt;"; escChars["'"] = "&apos;"; escChars["\""] = "&quot;"; escChars["&"] = "&amp;"; unescChars = {}; unescChars["&amp;"] = "&"; unescChars["&apos;"] = "'"; unescChars["&quot;"] = "\""; unescChars["&lt;"] = "<"; unescChars["&gt;"] = ">"; } static function escape(val) { var _local3 = ""; var _local2; var _local1 = 0; while (_local1 < val.length) { _local2 = val.charAt(_local1); if (escChars[_local2] != undefined) { _local3 = _local3 + escChars[_local2]; } else { _local3 = _local3 + _local2; } _local1++; } return(_local3); } static function unescape(val) { var _local1 = 0; var _local4 = 0; var _local3 = 0; if (val != null) { for (var _local5 in unescChars) { _local4 = String(_local5).length; _local1 = val.indexOf(_local5, 0); _local3 = _local1; while (_local1 != -1) { val = (val.substring(0, _local1) + unescChars[_local5]) + val.substring(_local1 + _local4); _local1 = val.indexOf(_local5, 0); if (_local3 == _local1) { _local1 = -1; } _local3 = _local1; } } } return(val); } static var _ref = new mx.utils.XMLString(); }
Symbol 29 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaItem] Frame 0
class mx.data.components.datasetclasses.DeltaItem extends Object { var __name, __kind, __owner, __oldValue, __newValue, __curValue, __argList, __message; function DeltaItem (kind, name, init, owner) { super(); __name = name; __kind = kind; __owner = owner; if (kind == Property) { __oldValue = init.oldValue; __newValue = init.newValue; __curValue = init.curValue; } else { __argList = init.argList; } __message = ((init.message == undefined) ? "" : (init.message)); __owner.addDeltaItem(this); } function get argList() { return(((__kind == Method) ? (__argList) : null)); } function get delta() { return(__owner); } function get kind() { return(__kind); } function get message() { return(__message); } function get name() { return(__name); } function get curValue() { return(__curValue); } function get newValue() { return(((__kind == Property) ? (__newValue) : null)); } function get oldValue() { return(((__kind == Property) ? (__oldValue) : null)); } static var Property = 0; static var Method = 1; }
Symbol 30 MovieClip [__Packages.mx.data.components.datasetclasses.Delta] Frame 0
interface mx.data.components.datasetclasses.Delta { }
Symbol 31 MovieClip [__Packages.mx.utils.ObjectCopy] Frame 0
class mx.utils.ObjectCopy { function ObjectCopy () { } static function copy(refObj) { var _local3 = new Object(); var _local6; for (var _local7 in refObj) { _local6 = typeof(refObj[_local7]); if (_local6 != "function") { if (_local6 == "object") { if (refObj[_local7] instanceof Array) { var _local5 = new Array(); var _local4 = refObj[_local7]; var _local1 = 0; while (_local1 < _local4.length) { _local5[_local1] = _local4[_local1]; _local1++; } _local3[_local7] = _local5; } else if (refObj[_local7] instanceof String) { _local3[_local7] = new String(refObj[_local7]); } else if (refObj[_local7] instanceof Number) { _local3[_local7] = new Number(refObj[_local7]); } else if (refObj[_local7] instanceof Boolean) { _local3[_local7] = new Boolean(refObj[_local7]); } else { _local3[_local7] = copy(refObj[_local7]); } } else { _local3[_local7] = refObj[_local7]; } } } return(_local3); } }
Symbol 32 MovieClip [__Packages.mx.utils.IteratorImpl] Frame 0
class mx.utils.IteratorImpl implements mx.utils.Iterator { var _collection, _cursor; function IteratorImpl (coll) { _collection = coll; _cursor = 0; } function hasNext() { return(_cursor < _collection.getLength()); } function next() { return(_collection.getItemAt(_cursor++)); } }
Symbol 33 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaPacketImpl] Frame 0
class mx.data.components.datasetclasses.DeltaPacketImpl extends Object implements mx.data.components.datasetclasses.DeltaPacket { var _deltaPacket, _optimized, _source, _keyInfo, _transId, _log, _timestamp, _confInfo; function DeltaPacketImpl (src, id, keyInfo, log, conSch) { super(); _deltaPacket = new Array(); _optimized = true; _source = src; _keyInfo = ((keyInfo == undefined) ? null : (keyInfo)); _transId = id; _log = ((log == undefined) ? false : (log)); _timestamp = new Date(); _confInfo = conSch; } function addItem(item) { if (item instanceof mx.data.components.datasetclasses.Delta) { item._owner = this; _deltaPacket.push(item); return(true); } return(false); } function clear() { _deltaPacket = new Array(); } function contains(item) { var _local3 = false; var _local2 = 0; while ((!_local3) && (_local2 < _deltaPacket.length)) { _local3 = _deltaPacket[_local2] == item; _local2++; } return(_local3); } function getIterator() { return(new mx.utils.IteratorImpl(this)); } function getItemAt(index) { return(_deltaPacket[index]); } function getConfigInfo(info) { return(_confInfo); } function getKeyInfo() { return(_keyInfo); } function getLength() { return(_deltaPacket.length); } function getSource() { return(_source); } function getTransactionId() { return(_transId); } function getTimestamp() { return(_timestamp); } function isEmpty() { return(_deltaPacket.length == 0); } function removeItem(item) { return(false); } function logChanges() { return(_log); } }
Symbol 34 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaImpl] Frame 0
class mx.data.components.datasetclasses.DeltaImpl extends Object implements mx.data.components.datasetclasses.Delta { var _deltaItems, _id, _source, _op, _message, _accessCl, _owner; function DeltaImpl (id, curSrc, op, msg, acl) { super(); _deltaItems = new Array(); _id = id; _source = curSrc; _op = op; _message = ((msg == undefined) ? "" : (msg)); _accessCl = ((acl == undefined) ? false : (acl)); } function addDeltaItem(item) { var _local2 = getItemIndexByName(item.__get__name()); if ((_local2 < 0) || (item.__get__kind() == mx.data.components.datasetclasses.DeltaItem.Method)) { _deltaItems.push(item); } else { _deltaItems.splice(_local2, 1); _deltaItems.splice(_local2, 0, item); } } function getId() { return(_id); } function getOperation() { return(_op); } function getChangeList() { if ((_op != mx.data.components.datasetclasses.DeltaPacketConsts.Added) || (_accessCl)) { return(_deltaItems); } return(null); } function getItemByName(name) { var _local2 = getItemIndexByName(name); if (_local2 >= 0) { return(_deltaItems[_local2]); } return(null); } function getSource() { var _local4 = _source; if ((_op == mx.data.components.datasetclasses.DeltaPacketConsts.Added) && (arguments.length > 0)) { if (_source.clone == undefined) { _local4 = new Object(); var _local3; for (var _local5 in _source) { _local3 = _source[_local5]; if (typeof(_local3) != "function") { _local4[_local5] = _local3; } } } else { _local4 = _source.clone(); } } return(_local4); } function getMessage() { return(_message); } function getDeltaPacket() { return(_owner); } function getItemIndexByName(name) { var _local3; if ((_op == mx.data.components.datasetclasses.DeltaPacketConsts.Modified) || (_accessCl)) { var _local2 = 0; while (_local2 < _deltaItems.length) { _local3 = _deltaItems[_local2]; if (_local3.__get__name() == name) { return(_local2); } _local2++; } } return(-1); } }
Symbol 35 MovieClip [__Packages.mx.data.encoders.DatasetDeltaToXUpdateDelta] Frame 0
class mx.data.encoders.DatasetDeltaToXUpdateDelta extends mx.data.binding.DataAccessor { var dataAccessor, component, rowNodeKey; function DatasetDeltaToXUpdateDelta () { super(); } function getTypedValue(requestedType) { var _local2 = null; if (((requestedType == "DeltaPacket") || (requestedType == "Object")) || (requestedType == null)) { _local2 = dataAccessor.getTypedValue(); } return(_local2); } function getGettableTypes() { return(["DeltaPacket"]); } function setTypedValue(newValue) { if ((newValue.typeName == "DeltaPacket") || (newValue.typeName == "Object")) { var _local5 = newValue.value; component._fieldValueObj = new Object(); component._fieldValueObj.__schema = component.getLocalSchema(_local5.getConfigInfo().elements[0].type); mx.data.binding.ComponentMixins.initComponent(component._fieldValueObj); var _local3 = getNewDeltaList(_local5); var _local4 = mx.data.components.datasetclasses.DeltaPacket(new mx.data.components.datasetclasses.DeltaPacketImpl(Object(_local5.getSource()), _local5.getTransactionId(), null, _local5.logChanges(), _local5.getConfigInfo())); var _local2 = 0; while (_local2 < _local3.length) { _local4.addItem(_local3[_local2]); _local2++; } return(dataAccessor.setTypedValue(new mx.data.binding.TypedValue(_local4, "DeltaPacket"))); } return([mx.data.binding.DataAccessor.conversionFailed(newValue, "DeltaPacket")]); } function getSettableTypes() { return(["DeltaPacket"]); } function addDeltaItemToDelta(di, delta) { var _local1 = new Object(); _local1.oldValue = di.oldValue; _local1.newValue = di.newValue; _local1.curValue = di.curValue; _local1.argList = di.argList; _local1.message = di.message; var _local3 = new mx.data.components.datasetclasses.DeltaItem(di.__get__kind(), di.__get__name(), _local1, Object(delta)); } function addNewNodeData(xmlDoc, deltaObj) { var _local8 = Object(deltaObj).deltaPacket.getSource(); var _local10 = Object(deltaObj).deltaPacket.getSource().properties; var _local9 = null; var _local4 = null; var _local3 = null; var _local5 = xmlDoc.firstChild; var _local12 = null; var _local2 = null; for (var _local11 in _local10) { _local4 = encodeFieldValue(_local11, deltaObj.getSource()[_local11]); _local9 = _local8.getField(_local11); _local3 = _local5.nodeName + getXPathToField(deltaObj, _local11); _local2 = new mx.utils.StringTokenParser(_local3); _local2.nextToken(); if (_local4 != null) { while (_local2.getPos() < _local3.length) { createXMLElementRecursePath(xmlDoc, _local5, _local2); } mx.xpath.XPathAPI.setNodeValue(xmlDoc.firstChild, _local3, mx.utils.XMLString.unescape(_local4)); } } } function createXMLElementFromXPath(xmlDoc, xpath) { var _local2 = new mx.utils.StringTokenParser(xpath); var _local7 = _local2.nextToken(); var _local6 = _local2.__get__token(); var _local3 = xmlDoc.createElement(_local6); while (_local2.getPos() < xpath.length) { createXMLElementRecursePath(xmlDoc, _local3, _local2); } return(_local3); } function createXMLNode(deltaObj) { var _local2 = rowNodeKey; _local2 = replacePathIndexParameters(_local2, deltaObj); var _local5 = _local2.lastIndexOf("/"); var _local4 = ""; if (_local5 > -1) { _local4 = _local2.substring(_local5 + 1, _local2.length); } var _local3 = new XML(); _local3.appendChild(createXMLElementFromXPath(_local3, _local4)); addNewNodeData(_local3, deltaObj); return(_local3.firstChild); } function createXMLElementRecursePath(xmlDoc, contextNode, strParser) { var _local5 = contextNode; var _local9 = false; var _local3 = strParser.nextToken(); while ((!_local9) && (_local3 != mx.utils.StringTokenParser.tkEOF)) { var _local4 = strParser.__get__token(); if (_local3 == mx.utils.StringTokenParser.tkSymbol) { switch (_local4.toUpperCase()) { case "@" : strParser.nextToken(); var _local10 = strParser.__get__token(); var _local7 = ""; _local3 = strParser.nextToken(); if (strParser.__get__token() == "=") { _local3 = strParser.nextToken(); _local7 = strParser.token; _local3 = null; } _local5.attributes[_local10] = _local7; break; case "/" : _local3 = createXMLElementRecursePath(xmlDoc, _local5, strParser); break; case "[" : while ((_local3 != mx.utils.StringTokenParser.tkEOF) && (_local4 != "]")) { _local3 = createXMLElementRecursePath(xmlDoc, _local5, strParser); _local4 = strParser.token; } _local9 = true; break; case "]" : case "AND" : case "OR" : _local9 = true; break; default : if (getChildNodeByName(_local5, _local4) == null) { var _local8 = xmlDoc.createElement(_local4); _local5.appendChild(_local8); _local5 = _local8; _local3 = strParser.nextToken(); if (strParser.__get__token() == "=") { _local3 = strParser.nextToken(); var _local11 = xmlDoc.createTextNode(strParser.__get__token()); _local5.appendChild(_local11); _local3 = null; } } else { _local5 = getChildNodeByName(_local5, _local4); _local3 = strParser.nextToken(); if (strParser.__get__token() != "=") { break; } _local3 = strParser.nextToken(); } } } else { trace("***ERROR:tokVal=" + _local4); } if (_local3 == null) { _local3 = strParser.nextToken(); } } return(_local3); } function encodeFieldValue(fieldName, value) { var _local2 = component.encodeFieldValue(fieldName, value); return(_local2); } function getChildNodeByName(node, nodeName) { var _local2; var _local3 = node.childNodes; var _local1 = 0; while (_local1 < _local3.length) { _local2 = _local3[_local1]; if (_local2.nodeName == nodeName) { return(_local2); } _local1++; } return(null); } function getDelta(deltaObj, xpathInfo) { return(new mx.data.components.datasetclasses.DeltaImpl(deltaObj.getId(), {deltaSource:deltaObj.getSource(), encoderInfo:xpathInfo}, deltaObj.getOperation(), deltaObj.getMessage(), false)); } function getNewDeltaList(dp) { var _local7 = dp.getIterator(); var _local2 = null; var _local5 = null; var _local6 = new Array(); while (_local7.hasNext()) { _local2 = mx.data.components.datasetclasses.Delta(_local7.next()); Object(_local2).deltaPacket = dp; switch (_local2.getOperation()) { case mx.data.components.datasetclasses.DeltaPacketConsts.Removed : _local6.push(getDelta(_local2, Object(getXPathToRow(_local2)))); break; case mx.data.components.datasetclasses.DeltaPacketConsts.Added : _local6.push(getDelta(_local2, Object({xpath:getXPathToParent(_local2), node:createXMLNode(_local2)}))); break; case mx.data.components.datasetclasses.DeltaPacketConsts.Modified : var _local4 = _local2.getChangeList(); var _local3 = 0; for(;;){ if (_local3 >= _local4.length) { break; } _local5 = getDelta(_local2, Object(getFullXPathToField(_local2, mx.data.components.datasetclasses.DeltaItem(_local4[_local3]).__get__name()))); addDeltaItemToDelta(_local4[_local3], _local5); _local6.push(Object(_local5)); _local3++; }; } } return(_local6); } function getFullXPathToField(deltaObj, fieldName) { var _local2 = getXPathToRow(deltaObj); var _local3 = getXPathToField(deltaObj, fieldName); return(String(_local2 + _local3)); } function getXPathToField(deltaObj, fieldName) { var _local3 = Object(deltaObj).deltaPacket.getSource(); var _local6 = _local3.getField(fieldName); var _local5 = Object(deltaObj).deltaPacket.getConfigInfo(); var _local2 = mx.data.binding.FieldAccessor.findElementType(_local5.elements[0].type, fieldName); var _local1; if (_local2.path != undefined) { _local1 = _local2.path; _local1 = _local1.substring(_local1.indexOf("/"), _local1.length); } else { _local1 = ("/" + ((_local2.category == "attribute") ? "@" : "")) + fieldName; } return(String(_local1)); } function getXPathToParent(deltaObj) { var _local2 = getXPathToRow(deltaObj); var _local3 = _local2.lastIndexOf("/"); if ((_local3 > -1) && (_local2.charAt(_local3 - 1) != "/")) { _local2 = _local2.substring(0, _local3); } return(_local2); } function getXPathToRow(deltaObj) { var _local2 = rowNodeKey; _local2 = replacePathIndexParameters(_local2, deltaObj); if (_local2.charAt(0) != "/") { _local2 = "/" + _local2; } return(_local2); } function replacePathIndexParameters(pathIndex, deltaObj) { var _local3 = ""; var _local2 = new mx.utils.StringTokenParser(pathIndex); var _local4 = _local2.nextToken(); while (_local4 != mx.utils.StringTokenParser.tkEOF) { if (_local4 == mx.utils.StringTokenParser.tkString) { if (_local2.token.charAt(0) == "?") { _local3 = _local3 + (("'" + getParamValue(_local2.token.substring(1, _local2.token.length), deltaObj)) + "' "); } else { _local3 = _local3 + (("'" + _local2.__get__token()) + "' "); } } else { _local3 = _local3 + _local2.token; if ((_local2.token.toUpperCase() == "AND") || (_local2.token.toUpperCase() == "OR")) { _local3 = _local3 + " "; } } _local4 = _local2.nextToken(); } return(_local3); } function getParamValue(param, deltaObj) { var _local3 = deltaObj.getItemByName(param); if (_local3 != null) { return(encodeFieldValue(param, _local3.__get__oldValue())); } return(encodeFieldValue(param, deltaObj.getSource()[param])); } }
Symbol 36 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip { var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled; function UIObject () { super(); constructObject(); } function get width() { return(_width); } function get height() { return(_height); } function get left() { return(_x); } function get x() { return(_x); } function get top() { return(_y); } function get y() { return(_y); } function get right() { return(_parent.width - (_x + width)); } function get bottom() { return(_parent.height - (_y + height)); } function getMinHeight(Void) { return(_minHeight); } function setMinHeight(h) { _minHeight = h; } function get minHeight() { return(getMinHeight()); } function set minHeight(h) { setMinHeight(h); //return(minHeight); } function getMinWidth(Void) { return(_minWidth); } function setMinWidth(w) { _minWidth = w; } function get minWidth() { return(getMinWidth()); } function set minWidth(w) { setMinWidth(w); //return(minWidth); } function setVisible(x, noEvent) { if (x != _visible) { _visible = x; if (noEvent != true) { dispatchEvent({type:(x ? "reveal" : "hide")}); } } } function get visible() { return(_visible); } function set visible(x) { setVisible(x, false); //return(visible); } function get scaleX() { return(_xscale); } function set scaleX(x) { _xscale = x; //return(scaleX); } function get scaleY() { return(_yscale); } function set scaleY(y) { _yscale = y; //return(scaleY); } function doLater(obj, fn) { if (methodTable == undefined) { methodTable = new Array(); } methodTable.push({obj:obj, fn:fn}); onEnterFrame = doLaterDispatcher; } function doLaterDispatcher(Void) { delete onEnterFrame; if (invalidateFlag) { redraw(); } var _local3 = methodTable; methodTable = new Array(); if (_local3.length > 0) { var _local2; while (_local2 = _local3.shift() , _local2 != undefined) { _local2.obj[_local2.fn](); } } } function cancelAllDoLaters(Void) { delete onEnterFrame; methodTable = new Array(); } function invalidate(Void) { invalidateFlag = true; onEnterFrame = doLaterDispatcher; } function invalidateStyle(Void) { invalidate(); } function redraw(bAlways) { if (invalidateFlag || (bAlways)) { invalidateFlag = false; var _local2; for (_local2 in tfList) { tfList[_local2].draw(); } draw(); dispatchEvent({type:"draw"}); } } function draw(Void) { } function move(x, y, noEvent) { var _local3 = _x; var _local2 = _y; _x = x; _y = y; if (noEvent != true) { dispatchEvent({type:"move", oldX:_local3, oldY:_local2}); } } function setSize(w, h, noEvent) { var _local2 = __width; var _local3 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local2, oldHeight:_local3}); } } function size(Void) { _width = __width; _height = __height; } function drawRect(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } function createLabel(name, depth, text) { createTextField(name, depth, 0, 0, 0, 0); var _local2 = this[name]; _local2._color = textColorList; _local2._visible = false; _local2.__text = text; if (tfList == undefined) { tfList = new Object(); } tfList[name] = _local2; _local2.invalidateStyle(); invalidate(); _local2.styleName = this; return(_local2); } function createObject(linkageName, id, depth, initobj) { return(attachMovie(linkageName, id, depth, initobj)); } function createClassObject(className, id, depth, initobj) { var _local3 = className.symbolName == undefined; if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className); } var _local4 = createObject(className.symbolOwner.symbolName, id, depth, initobj); if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return(_local4); } function createEmptyObject(id, depth) { return(createClassObject(mx.core.UIObject, id, depth)); } function destroyObject(id) { var _local2 = this[id]; if (_local2.getDepth() < 0) { var _local4 = buildDepthTable(); var _local5 = findNextAvailableDepth(0, _local4, "up"); var _local3 = _local5; _local2.swapDepths(_local3); } _local2.removeMovieClip(); delete this[id]; } function getSkinIDName(tag) { return(idNames[tag]); } function setSkin(tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return(createObject(linkageName, getSkinIDName(tag), tag, initObj)); } function createSkin(tag) { var _local2 = getSkinIDName(tag); createEmptyObject(_local2, tag); return(this[_local2]); } function createChildren(Void) { } function _createChildren(Void) { createChildren(); childrenCreated = true; } function constructObject(Void) { if (_name == undefined) { return(undefined); } init(); _createChildren(); createAccessibilityImplementation(); _endInit(); if (validateNow) { redraw(true); } else { invalidate(); } } function initFromClipParameters(Void) { var _local4 = false; var _local2; for (_local2 in clipParameters) { if (hasOwnProperty(_local2)) { _local4 = true; this["def_" + _local2] = this[_local2]; delete this[_local2]; } } if (_local4) { for (_local2 in clipParameters) { var _local3 = this["def_" + _local2]; if (_local3 != undefined) { this[_local2] = _local3; } } } } function init(Void) { __width = _width; __height = _height; if (initProperties == undefined) { initFromClipParameters(); } else { initProperties(); } if (_global.cascadingStyles == true) { stylecache = new Object(); } } function getClassStyleDeclaration(Void) { var _local4 = this; var _local3 = className; while (_local3 != undefined) { if (ignoreClassStyleDeclaration[_local3] == undefined) { if (_global.styles[_local3] != undefined) { return(_global.styles[_local3]); } } _local4 = _local4.__proto__; _local3 = _local4.className; } } function setColor(color) { } function __getTextFormat(tf, bAll) { var _local8 = stylecache.tf; if (_local8 != undefined) { var _local3; for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { tf[_local3] = _local8[_local3]; } } } return(false); } var _local6 = false; for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { var _local5 = _tf[_local3]; if (_local5 != undefined) { tf[_local3] = _local5; } else if ((_local3 == "font") && (fontFamily != undefined)) { tf[_local3] = fontFamily; } else if ((_local3 == "size") && (fontSize != undefined)) { tf[_local3] = fontSize; } else if ((_local3 == "color") && (color != undefined)) { tf[_local3] = color; } else if ((_local3 == "leftMargin") && (marginLeft != undefined)) { tf[_local3] = marginLeft; } else if ((_local3 == "rightMargin") && (marginRight != undefined)) { tf[_local3] = marginRight; } else if ((_local3 == "italic") && (fontStyle != undefined)) { tf[_local3] = fontStyle == _local3; } else if ((_local3 == "bold") && (fontWeight != undefined)) { tf[_local3] = fontWeight == _local3; } else if ((_local3 == "align") && (textAlign != undefined)) { tf[_local3] = textAlign; } else if ((_local3 == "indent") && (textIndent != undefined)) { tf[_local3] = textIndent; } else if ((_local3 == "underline") && (textDecoration != undefined)) { tf[_local3] = textDecoration == _local3; } else if ((_local3 == "embedFonts") && (embedFonts != undefined)) { tf[_local3] = embedFonts; } else { _local6 = true; } } } } if (_local6) { var _local9 = styleName; if (_local9 != undefined) { if (typeof(_local9) != "string") { _local6 = _local9.__getTextFormat(tf, true, this); } else if (_global.styles[_local9] != undefined) { _local6 = _global.styles[_local9].__getTextFormat(tf, true, this); } } } if (_local6) { var _local10 = getClassStyleDeclaration(); if (_local10 != undefined) { _local6 = _local10.__getTextFormat(tf, true, this); } } if (_local6) { if (_global.cascadingStyles) { if (_parent != undefined) { _local6 = _parent.__getTextFormat(tf, false); } } } if (_local6) { _local6 = _global.style.__getTextFormat(tf, true, this); } return(_local6); } function _getTextFormat(Void) { var _local2 = stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); __getTextFormat(_local2, true); stylecache.tf = _local2; if (enabled == false) { var _local3 = getStyle("disabledColor"); _local2.color = _local3; } return(_local2); } function getStyleName(Void) { var _local2 = styleName; if (_local2 != undefined) { if (typeof(_local2) != "string") { return(_local2.getStyleName()); } return(_local2); } if (_parent != undefined) { return(_parent.getStyleName()); } return(undefined); } function getStyle(styleProp) { var _local3; _global.getStyleCounter++; if (this[styleProp] != undefined) { return(this[styleProp]); } var _local6 = styleName; if (_local6 != undefined) { if (typeof(_local6) != "string") { _local3 = _local6.getStyle(styleProp); } else { var _local7 = _global.styles[_local6]; _local3 = _local7.getStyle(styleProp); } } if (_local3 != undefined) { return(_local3); } var _local7 = getClassStyleDeclaration(); if (_local7 != undefined) { _local3 = _local7[styleProp]; } if (_local3 != undefined) { return(_local3); } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) { var _local5 = stylecache; if (_local5 != undefined) { if (_local5[styleProp] != undefined) { return(_local5[styleProp]); } } if (_parent != undefined) { _local3 = _parent.getStyle(styleProp); } else { _local3 = _global.style[styleProp]; } if (_local5 != undefined) { _local5[styleProp] = _local3; } return(_local3); } } if (_local3 == undefined) { _local3 = _global.style[styleProp]; } return(_local3); } static function mergeClipParameters(o, p) { for (var _local3 in p) { o[_local3] = p[_local3]; } return(true); } static var symbolName = "UIObject"; static var symbolOwner = mx.core.UIObject; static var version = "2.0.1.78"; static var textColorList = {color:1, disabledColor:1}; var invalidateFlag = false; var lineWidth = 1; var lineColor = 0; var tabEnabled = false; var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1}; }
Symbol 37 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject { var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled; function UIComponent () { super(); } function get width() { return(__width); } function get height() { return(__height); } function setVisible(x, noEvent) { super.setVisible(x, noEvent); } function enabledChanged(id, oldValue, newValue) { setEnabled(newValue); invalidate(); delete stylecache.tf; return(newValue); } function setEnabled(enabled) { invalidate(); } function getFocus() { var selFocus = Selection.getFocus(); return(((selFocus === null) ? null : (eval (selFocus)))); } function setFocus() { Selection.setFocus(this); } function getFocusManager() { var _local2 = this; while (_local2 != undefined) { if (_local2.focusManager != undefined) { return(_local2.focusManager); } _local2 = _local2._parent; } return(undefined); } function onKillFocus(newFocus) { removeEventListener("keyDown", this); removeEventListener("keyUp", this); dispatchEvent({type:"focusOut"}); drawFocus(false); } function onSetFocus(oldFocus) { addEventListener("keyDown", this); addEventListener("keyUp", this); dispatchEvent({type:"focusIn"}); if (getFocusManager().bDrawFocus != false) { drawFocus(true); } } function findFocusInChildren(o) { if (o.focusTextField != undefined) { return(o.focusTextField); } if (o.tabEnabled == true) { return(o); } return(undefined); } function findFocusFromObject(o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return(undefined); } if (o._parent.tabEnabled == true) { o = o._parent; } else if (o._parent.tabChildren) { o = findFocusInChildren(o._parent); } else { o = findFocusFromObject(o._parent); } } return(o); } function pressFocus() { var _local3 = findFocusFromObject(this); var _local2 = getFocus(); if (_local3 != _local2) { _local2.drawFocus(false); if (getFocusManager().bDrawFocus != false) { _local3.drawFocus(true); } } } function releaseFocus() { var _local2 = findFocusFromObject(this); if (_local2 != getFocus()) { _local2.setFocus(); } } function isParent(o) { while (o != undefined) { if (o == this) { return(true); } o = o._parent; } return(false); } function size() { } function init() { super.init(); _xscale = 100; _yscale = 100; _focusrect = _global.useFocusRect == false; watch("enabled", enabledChanged); if (enabled == false) { setEnabled(false); } } function dispatchValueChangedEvent(value) { dispatchEvent({type:"valueChanged", value:value}); } static var symbolName = "UIComponent"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.1.78"; static var kStretch = 5000; var focusEnabled = true; var tabEnabled = true; var origBorderStyles = {themeColor:16711680}; var clipParameters = {}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); }
Symbol 38 MovieClip [__Packages.mx.core.View] Frame 0
class mx.core.View extends mx.core.UIComponent { var tabChildren, tabEnabled, boundingBox_mc, border_mc, __get__width, __get__height, __tabIndex, depth, createObject, createClassObject, loadExternal, destroyObject, createClassChildAtDepth, doLater; function View () { super(); } function init() { super.init(); tabChildren = true; tabEnabled = false; boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function size() { border_mc.move(0, 0); border_mc.setSize(__get__width(), __get__height()); doLayout(); } function draw() { size(); } function get numChildren() { var _local3 = childNameBase; var _local2 = 0; while (true) { if (this[_local3 + _local2] == undefined) { return(_local2); } _local2++; } } function get tabIndex() { return((tabEnabled ? (__tabIndex) : undefined)); } function set tabIndex(n) { __tabIndex = n; //return(tabIndex); } function addLayoutObject(object) { } function createChild(className, instanceName, initProps) { if (depth == undefined) { depth = 1; } var _local2; if (typeof(className) == "string") { _local2 = createObject(className, instanceName, depth++, initProps); } else { _local2 = createClassObject(className, instanceName, depth++, initProps); } if (_local2 == undefined) { _local2 = loadExternal(className, _loadExternalClass, instanceName, depth++, initProps); } else { this[childNameBase + numChildren] = _local2; _local2._complete = true; childLoaded(_local2); } addLayoutObject(_local2); return(_local2); } function getChildAt(childIndex) { return(this[childNameBase + childIndex]); } function destroyChildAt(childIndex) { if (!((childIndex >= 0) && (childIndex < numChildren))) { return(undefined); } var _local4 = childNameBase + childIndex; var _local6 = numChildren; var _local3; for (_local3 in this) { if (_local3 == _local4) { _local4 = ""; destroyObject(_local3); break; } } var _local2 = Number(childIndex); while (_local2 < (_local6 - 1)) { this[childNameBase + _local2] = this[childNameBase + (_local2 + 1)]; _local2++; } delete this[childNameBase + (_local6 - 1)]; depth--; } function initLayout() { if (!hasBeenLayedOut) { doLayout(); } } function doLayout() { hasBeenLayedOut = true; } function createChildren() { if (border_mc == undefined) { border_mc = createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {styleName:this}); } doLater(this, "initLayout"); } function convertToUIObject(obj) { } function childLoaded(obj) { convertToUIObject(obj); } static function extension() { mx.core.ExternalContent.enableExternalContent(); } static var symbolName = "View"; static var symbolOwner = mx.core.View; static var version = "2.0.1.78"; var className = "View"; static var childNameBase = "_child"; var hasBeenLayedOut = false; var _loadExternalClass = "UIComponent"; }
Symbol 39 MovieClip [__Packages.mx.core.ScrollView] Frame 0
class mx.core.ScrollView extends mx.core.View { var __width, hScroller, vScroller, __maxHPosition, propsInited, scrollAreaChanged, specialHScrollCase, createObject, viewableColumns, __height, oldRndUp, viewableRows, __viewMetrics, owner, enabled, border_mc, __get__width, __get__height, invLayout, mask_mc, _parent, dispatchEvent; function ScrollView () { super(); } function getHScrollPolicy(Void) { return(__hScrollPolicy); } function setHScrollPolicy(policy) { __hScrollPolicy = policy.toLowerCase(); if (__width == undefined) { return(undefined); } setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding); } function get hScrollPolicy() { return(getHScrollPolicy()); } function set hScrollPolicy(policy) { setHScrollPolicy(policy); //return(hScrollPolicy); } function getVScrollPolicy(Void) { return(__vScrollPolicy); } function setVScrollPolicy(policy) { __vScrollPolicy = policy.toLowerCase(); if (__width == undefined) { return(undefined); } setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding); } function get vScrollPolicy() { return(getVScrollPolicy()); } function set vScrollPolicy(policy) { setVScrollPolicy(policy); //return(vScrollPolicy); } function get hPosition() { return(getHPosition()); } function set hPosition(pos) { setHPosition(pos); //return(hPosition); } function getHPosition(Void) { return(__hPosition); } function setHPosition(pos) { hScroller.__set__scrollPosition(pos); __hPosition = pos; } function get vPosition() { return(getVPosition()); } function set vPosition(pos) { setVPosition(pos); //return(vPosition); } function getVPosition(Void) { return(__vPosition); } function setVPosition(pos) { vScroller.__set__scrollPosition(pos); __vPosition = pos; } function get maxVPosition() { var _local2 = vScroller.maxPos; return(((_local2 == undefined) ? 0 : (_local2))); } function get maxHPosition() { return(getMaxHPosition()); } function set maxHPosition(pos) { setMaxHPosition(pos); //return(maxHPosition); } function getMaxHPosition(Void) { if (__maxHPosition != undefined) { return(__maxHPosition); } var _local2 = hScroller.maxPos; return(((_local2 == undefined) ? 0 : (_local2))); } function setMaxHPosition(pos) { __maxHPosition = pos; } function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) { var _local3 = getViewMetrics(); if (hPadding == undefined) { hPadding = 0; } if (wPadding == undefined) { wPadding = 0; } propsInited = true; delete scrollAreaChanged; heightPadding = hPadding; widthPadding = wPadding; if (colWidth == 0) { colWidth = 1; } if (rwHeight == 0) { rwHeight = 1; } var _local5 = Math.ceil((((__width - _local3.left) - _local3.right) - widthPadding) / colWidth); if ((__hScrollPolicy == "on") || ((_local5 < colCount) && (__hScrollPolicy == "auto"))) { if ((hScroller == undefined) || (specialHScrollCase)) { delete specialHScrollCase; hScroller = createObject("HScrollBar", "hSB", 1001); hScroller.__set__lineScrollSize(20); hScroller.scrollHandler = scrollProxy; hScroller.__set__scrollPosition(__hPosition); scrollAreaChanged = true; } if ((((numberOfCols != colCount) || (columnWidth != colWidth)) || (viewableColumns != _local5)) || (scrollAreaChanged)) { hScroller.setScrollProperties(_local5, 0, colCount - _local5); viewableColumns = _local5; numberOfCols = colCount; columnWidth = colWidth; } } else if (((__hScrollPolicy == "auto") || (__hScrollPolicy == "off")) && (hScroller != undefined)) { hScroller.removeMovieClip(); delete hScroller; scrollAreaChanged = true; } if (heightPadding == undefined) { heightPadding = 0; } var _local4 = Math.ceil((((__height - _local3.top) - _local3.bottom) - heightPadding) / rwHeight); var _local8 = (((__height - _local3.top) - _local3.bottom) % rwHeight) != 0; if ((__vScrollPolicy == "on") || ((_local4 < (rwCount + _local8)) && (__vScrollPolicy == "auto"))) { if (vScroller == undefined) { vScroller = createObject("VScrollBar", "vSB", 1002); vScroller.scrollHandler = scrollProxy; vScroller.__set__scrollPosition(__vPosition); scrollAreaChanged = true; rowH = 0; } if ((((rowC != rwCount) || (rowH != rwHeight)) || ((viewableRows + _local8) != (_local4 + oldRndUp))) || (scrollAreaChanged)) { vScroller.setScrollProperties(_local4, 0, (rwCount - _local4) + _local8); viewableRows = _local4; rowC = rwCount; rowH = rwHeight; oldRndUp = _local8; } } else if (((__vScrollPolicy == "auto") || (__vScrollPolicy == "off")) && (vScroller != undefined)) { vScroller.removeMovieClip(); delete vScroller; scrollAreaChanged = true; } numberOfCols = colCount; columnWidth = colWidth; if (scrollAreaChanged) { doLayout(); var _local2 = __viewMetrics; var _local12 = ((owner != undefined) ? (owner) : this); _local12.layoutContent(_local2.left, _local2.top, ((columnWidth * numberOfCols) - _local2.left) - _local2.right, rowC * rowH, (__width - _local2.left) - _local2.right, (__height - _local2.top) - _local2.bottom); } if (!enabled) { setEnabled(false); } } function getViewMetrics(Void) { var _local2 = __viewMetrics; var _local3 = border_mc.__get__borderMetrics(); _local2.left = _local3.left; _local2.right = _local3.right; if (vScroller != undefined) { _local2.right = _local2.right + vScroller.minWidth; } _local2.top = _local3.top; if ((hScroller == undefined) && ((__hScrollPolicy == "on") || (__hScrollPolicy == true))) { hScroller = createObject("FHScrollBar", "hSB", 1001); specialHScrollCase = true; } _local2.bottom = _local3.bottom; if (hScroller != undefined) { _local2.bottom = _local2.bottom + hScroller.minHeight; } return(_local2); } function doLayout(Void) { var _local10 = __get__width(); var _local8 = __get__height(); delete invLayout; var _local3 = (__viewMetrics = getViewMetrics()); var _local2 = _local3.left; var _local9 = _local3.right; var _local5 = _local3.top; var _local11 = _local3.bottom; var _local7 = hScroller; var _local6 = vScroller; _local7.setSize((_local10 - _local2) - _local9, _local7.minHeight + 0); _local7.move(_local2, _local8 - _local11); _local6.setSize(_local6.minWidth + 0, (_local8 - _local5) - _local11); _local6.move(_local10 - _local9, _local5); var _local4 = mask_mc; _local4._width = (_local10 - _local2) - _local9; _local4._height = (_local8 - _local5) - _local11; _local4._x = _local2; _local4._y = _local5; } function createChild(id, name, props) { var _local2 = super.createChild(id, name, props); return(_local2); } function init(Void) { super.init(); __viewMetrics = new Object(); if (_global.__SVMouseWheelManager == undefined) { var _local4 = (_global.__SVMouseWheelManager = new Object()); _local4.onMouseWheel = __onMouseWheel; Mouse.addListener(_local4); } } function __onMouseWheel(delta, scrollTarget) { var _local4 = scrollTarget; var _local1; while (_local4 != undefined) { if (_local4 instanceof mx.core.ScrollView) { _local1 = _local4; } _local4 = _local4._parent; } if (_local1 != undefined) { _local4 = ((delta <= 0) ? 1 : -1); var _local2 = _local1.vScroller.lineScrollSize; if (_local2 == undefined) { _local2 = 0; } _local2 = Math.max(Math.abs(delta), _local2); var _local3 = _local1.vPosition + (_local2 * _local4); _local1.vPosition = Math.max(0, Math.min(_local3, _local1.maxVPosition)); _local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.vPosition}); } } function createChildren(Void) { super.createChildren(); if (mask_mc == undefined) { mask_mc = createObject("BoundingBox", "mask_mc", MASK_DEPTH); } mask_mc._visible = false; } function invalidate(Void) { super.invalidate(); } function draw(Void) { size(); } function size(Void) { super.size(); } function scrollProxy(docObj) { _parent.onScroll(docObj); } function onScroll(docObj) { var _local3 = docObj.target; var _local2 = _local3.scrollPosition; if (_local3 == vScroller) { var _local4 = "vertical"; var _local5 = "__vPosition"; } else { var _local4 = "horizontal"; var _local5 = "__hPosition"; } dispatchEvent({type:"scroll", direction:_local4, position:_local2}); this[_local5] = _local2; } function setEnabled(v) { vScroller.enabled = (hScroller.enabled = v); } function childLoaded(obj) { super.childLoaded(obj); obj.setMask(mask_mc); } static var symbolName = "ScrollView"; static var symbolOwner = mx.core.ScrollView; static var version = "2.0.1.78"; var className = "ScrollView"; var __vScrollPolicy = "auto"; var __hScrollPolicy = "off"; var __vPosition = 0; var __hPosition = 0; var numberOfCols = 0; var rowC = 0; var columnWidth = 1; var rowH = 0; var heightPadding = 0; var widthPadding = 0; var MASK_DEPTH = 10000; }
Symbol 40 MovieClip [__Packages.mx.containers.Window] Frame 0
class mx.containers.Window extends mx.core.ScrollView { var destroyChildAt, __contentPath, boundingBox_mc, _parent, modalWindow, swapDepths, regX, _xmouse, regY, _ymouse, onMouseMove, move, back_mc, createClassObject, depth, titleStyleDeclaration, button_mc, validateNow, redraw, invalidate, _title, _child0, border_mc, __get__width, __get__height, size, vScroller, hScroller, closeButton, dispatchEvent; function Window () { super(); } function set contentPath(scrollableContent) { if (!initializing) { if (scrollableContent == undefined) { destroyChildAt(0); } else { if (this[mx.core.View.childNameBase + 0] != undefined) { destroyChildAt(0); } createChild(scrollableContent, "content", {styleName:this}); } } __contentPath = scrollableContent; //return(contentPath); } function get contentPath() { return(__contentPath); } function init(Void) { super.init(); boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function delegateClick(obj) { _parent.dispatchEvent({type:"click"}); } function startDragging(Void) { if (modalWindow == undefined) { var _local2 = _parent.createChildAtDepth("BoundingBox", mx.managers.DepthManager.kTop, {_visible:false}); swapDepths(_local2); _local2.removeMovieClip(); } regX = _xmouse; regY = _ymouse; onMouseMove = dragTracking; } function stopDragging(Void) { delete onMouseMove; } function dragTracking() { var _local5 = _parent._xmouse - regX; var _local4 = _parent._ymouse - regY; var _local3 = 5; var _local2 = mx.managers.SystemManager.__get__screen(); if (_local5 < ((_local2.x - regX) + _local3)) { _local5 = (_local2.x - regX) + _local3; } if (_local5 > ((_local2.width + _local2.x) - (regX + _local3))) { _local5 = (_local2.width + _local2.x) - (regX + _local3); } if (_local4 < ((_local2.y - regY) + _local3)) { _local4 = (_local2.y - regY) + _local3; } if (_local4 > ((_local2.height + _local2.y) - (regY + _local3))) { _local4 = (_local2.height + _local2.y) - (regY + _local3); } move(_local5, _local4); updateAfterEvent(); } function createChildren(Void) { super.createChildren(); if (back_mc == undefined) { createClassObject(mx.core.UIObject, "back_mc", 1); back_mc.createObject(skinTitleBackground, "back_mc", 0); } back_mc.visible = false; depth = 3; var _local6 = new Object(); back_mc.useHandCursor = false; back_mc.onPress = function () { if (this._parent.enabled) { this._parent.startDragging(); } }; back_mc.onDragOut = (back_mc.onRollOut = (back_mc.onReleaseOutside = (back_mc.onRelease = function () { var _local2 = this._parent; _local2.stopDragging(); _local2.move(_local2._x, _local2._y); }))); back_mc.tabEnabled = false; if (back_mc.title_mc == undefined) { back_mc.createLabel("title_mc", 1, title); var _local4 = back_mc.title_mc; if (titleStyleDeclaration == undefined) { _local4.fontSize = 10; _local4.color = 16777215 /* 0xFFFFFF */; _local4.fontWeight = "bold"; } else { _local4.styleName = titleStyleDeclaration; } _local4.invalidateStyle(); } else { back_mc.title_mc.text = title; } var _local3 = new Object(); _local3.falseUpSkin = skinCloseUp; _local3.falseOverSkin = skinCloseOver; _local3.falseDownSkin = skinCloseDown; _local3.falseDisabledSkin = skinCloseDisabled; _local3.tabEnabled = false; createClassObject(mx.controls.SimpleButton, "button_mc", 2, _local3); button_mc.clickHandler = delegateClick; button_mc.__set__visible(false); if (validateNow) { redraw(true); } else { invalidate(); } } function get title() { return(_title); } function set title(s) { _title = s; back_mc.title_mc.text = s; if (!initializing) { draw(); } //return(title); } function setEnabled(enable) { super.setEnabled(enable); button_mc.enabled = enable; _child0.enabled = enable; } function getComponentCount(Void) { return(1); } function getComponentRect(container) { if (container == 1) { var _local3 = border_mc.__get__borderMetrics(); var _local2 = new Object(); _local2.x = _local3.left; _local2.y = _local3.top + back_mc.height; _local2.width = (__get__width() - _local2.x) - _local3.right; _local2.height = (__get__height() - _local2.y) - _local3.bottom; return(_local2); } return(undefined); } function draw(Void) { if (initializing) { initializing = false; if (__contentPath != undefined) { contentPath = (__contentPath); } _child0.visible = true; border_mc.__set__visible(true); back_mc.visible = true; } size(); } function getViewMetrics(Void) { var _local3 = super.getViewMetrics(); _local3.top = _local3.top + back_mc.height; return(_local3); } function doLayout(Void) { super.doLayout(); var _local3 = border_mc.__get__borderMetrics(); _local3.right = _local3.right + ((vScroller.__get__visible() == true) ? (vScroller.__get__width()) : 0); _local3.bottom = _local3.bottom + ((hScroller.__get__visible() == true) ? (hScroller.__get__height()) : 0); var _local4 = _local3.left; var _local6 = _local3.top; back_mc.move(_local4, _local6); back_mc.back_mc.setSize((__get__width() - _local4) - _local3.right, back_mc.height); _child0.move(_local4, _local6 + back_mc.height); if (_child0.size != mx.core.UIObject.prototype.size) { _child0.setSize((__get__width() - _local4) - _local3.right, ((__get__height() - _local6) - back_mc.height) - _local3.bottom); } button_mc.__set__visible(closeButton == true); button_mc.move(((__get__width() - _local4) - _local4) - button_mc.__get__width(), ((back_mc.height - button_mc.__get__height()) / 2) + _local6); var _local7 = back_mc.title_mc.textHeight; var _local5 = ((back_mc.height - _local7) - 4) / 2; back_mc.title_mc.move(_local5, _local5 - 1); back_mc.title_mc.setSize((__get__width() - _local5) - _local5, _local7 + 4); } function createChild(id, name, props) { loadingChild = true; var _local3 = super.createChild(id, name, props); loadingChild = false; return(_local3); } function childLoaded(obj) { super.childLoaded(obj); if (loadingChild) { dispatchEvent({type:"complete", current:obj.getBytesLoaded(), total:obj.getBytesTotal()}); } } static var symbolName = "Window"; static var symbolOwner = mx.containers.Window; static var version = "2.0.1.78"; var className = "Window"; static var skinIDBorder = 0; static var skinIDTitleBackground = 1; static var skinIDForm = 2; var idNames = new Array("border_mc", "back_mc", "content"); var skinTitleBackground = "TitleBackground"; var skinCloseUp = "CloseButtonUp"; var skinCloseOver = "CloseButtonOver"; var skinCloseDown = "CloseButtonDown"; var skinCloseDisabled = "CloseButtonDisabled"; var clipParameters = {title:1, contentPath:1, closeButton:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.containers.Window.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters); var initializing = true; var loadingChild = false; }
Symbol 150 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip { var _visible, _x, _y, _width, _height; function SkinElement () { super(); } static function registerElement(name, className) { Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className))); _global.skinRegistry[name] = true; } function __set__visible(visible) { _visible = visible; } function move(x, y) { _x = x; _y = y; } function setSize(w, h) { _width = w; _height = h; } }
Symbol 151 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles { function CSSTextStyles () { } static function addTextStyles(o, bColor) { o.addProperty("textAlign", function () { return(this._tf.align); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty("fontWeight", function () { return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == "bold"; }); if (bColor) { o.addProperty("color", function () { return(this._tf.color); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty("fontFamily", function () { return(this._tf.font); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty("textIndent", function () { return(this._tf.indent); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty("fontStyle", function () { return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == "italic"; }); o.addProperty("marginLeft", function () { return(this._tf.leftMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty("marginRight", function () { return(this._tf.rightMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty("fontSize", function () { return(this._tf.size); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty("textDecoration", function () { return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == "underline"; }); o.addProperty("embedFonts", function () { return(this._tf.embedFonts); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); } }
Symbol 152 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager { function StyleManager () { } static function registerInheritingStyle(styleName) { inheritingStyles[styleName] = true; } static function isInheritingStyle(styleName) { return(inheritingStyles[styleName] == true); } static function registerColorStyle(styleName) { colorStyles[styleName] = true; } static function isColorStyle(styleName) { return(colorStyles[styleName] == true); } static function registerColorName(colorName, colorValue) { colorNames[colorName] = colorValue; } static function isColorName(colorName) { return(colorNames[colorName] != undefined); } static function getColorName(colorName) { return(colorNames[colorName]); } static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true}; static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true}; static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344}; static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false}; static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true}; }
Symbol 153 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration { var _tf; function CSSStyleDeclaration () { } function __getTextFormat(tf, bAll) { var _local5 = false; if (_tf != undefined) { var _local2; for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) { if (tf[_local2] == undefined) { var _local3 = _tf[_local2]; if (_local3 != undefined) { tf[_local2] = _local3; } else { _local5 = true; } } } } } else { _local5 = true; } return(_local5); } function getStyle(styleProp) { var _local2 = this[styleProp]; var _local3 = mx.styles.StyleManager.getColorName(_local2); return(((_local3 == undefined) ? (_local2) : (_local3))); } static function classConstruct() { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return(true); } static var classConstructed = classConstruct(); static var CSSTextStylesDependency = mx.styles.CSSTextStyles; }
Symbol 154 MovieClip [__Packages.mx.skins.Border] Frame 0
class mx.skins.Border extends mx.core.UIObject { function Border () { super(); } function init(Void) { super.init(); } static var symbolName = "Border"; static var symbolOwner = mx.skins.Border; var className = "Border"; var tagBorder = 0; var idNames = new Array("border_mc"); }
Symbol 155 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border { var __width, __height, offset, __borderMetrics; function RectBorder () { super(); } function get width() { return(__width); } function get height() { return(__height); } function init(Void) { super.init(); } function draw(Void) { size(); } function getBorderMetrics(Void) { var _local2 = offset; if (__borderMetrics == undefined) { __borderMetrics = {left:_local2, top:_local2, right:_local2, bottom:_local2}; } else { __borderMetrics.left = _local2; __borderMetrics.top = _local2; __borderMetrics.right = _local2; __borderMetrics.bottom = _local2; } return(__borderMetrics); } function get borderMetrics() { return(getBorderMetrics()); } function drawBorder(Void) { } function size(Void) { drawBorder(); } function setColor(Void) { drawBorder(); } static var symbolName = "RectBorder"; static var symbolOwner = mx.skins.RectBorder; static var version = "2.0.1.78"; var className = "RectBorder"; var borderStyleName = "borderStyle"; var borderColorName = "borderColor"; var shadowColorName = "shadowColor"; var highlightColorName = "highlightColor"; var buttonColorName = "buttonColor"; var backgroundColorName = "backgroundColor"; }
Symbol 156 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager { var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth; function DepthManager () { MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth; MovieClip.prototype.createChildAtDepth = createChildAtDepth; MovieClip.prototype.setDepthTo = setDepthTo; MovieClip.prototype.setDepthAbove = setDepthAbove; MovieClip.prototype.setDepthBelow = setDepthBelow; MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth; MovieClip.prototype.shuffleDepths = shuffleDepths; MovieClip.prototype.getDepthByFlag = getDepthByFlag; MovieClip.prototype.buildDepthTable = buildDepthTable; _global.ASSetPropFlags(MovieClip.prototype, "createClassChildAtDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "createChildAtDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthTo", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthAbove", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthBelow", 1); _global.ASSetPropFlags(MovieClip.prototype, "findNextAvailableDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "shuffleDepths", 1); _global.ASSetPropFlags(MovieClip.prototype, "getDepthByFlag", 1); _global.ASSetPropFlags(MovieClip.prototype, "buildDepthTable", 1); } static function sortFunction(a, b) { if (a.getDepth() > b.getDepth()) { return(1); } return(-1); } static function test(depth) { if (depth == reservedDepth) { return(false); } return(true); } static function createClassObjectAtDepth(className, depthSpace, initObj) { var _local1; switch (depthSpace) { case kCursor : _local1 = holder.createClassChildAtDepth(className, kTopmost, initObj); break; case kTooltip : _local1 = holder.createClassChildAtDepth(className, kTop, initObj); break; } return(_local1); } static function createObjectAtDepth(linkageName, depthSpace, initObj) { var _local1; switch (depthSpace) { case kCursor : _local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj); break; case kTooltip : _local1 = holder.createChildAtDepth(linkageName, kTop, initObj); break; } return(_local1); } function createClassChildAtDepth(className, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local6 = "down"; if (depthFlag == kBottom) { _local6 = "up"; } var _local5; if (_local3[_local2] != undefined) { _local5 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local6); } var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj); if (_local5 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local5, _local3, _local6); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function createChildAtDepth(linkageName, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local6 = "down"; if (depthFlag == kBottom) { _local6 = "up"; } var _local5; if (_local3[_local2] != undefined) { _local5 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local6); } var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj); if (_local5 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local5, _local3, _local6); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function setDepthTo(depthFlag) { var _local2 = _parent.buildDepthTable(); var _local3 = _parent.getDepthByFlag(depthFlag, _local2); if (_local2[_local3] != undefined) { shuffleDepths(this, _local3, _local2, undefined); } else { swapDepths(_local3); } if (depthFlag == kTopmost) { _topmost = true; } else { delete _topmost; } } function setDepthAbove(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local2 = targetInstance.getDepth() + 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local2] != undefined) && (getDepth() < _local2)) { _local2 = _local2 - 1; } if (_local2 > highestDepth) { _local2 = highestDepth; } if (_local2 == highestDepth) { _parent.shuffleDepths(this, _local2, _local3, "down"); } else if (_local3[_local2] != undefined) { _parent.shuffleDepths(this, _local2, _local3, undefined); } else { swapDepths(_local2); } } function setDepthBelow(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local6 = targetInstance.getDepth() - 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local6] != undefined) && (getDepth() > _local6)) { _local6 = _local6 + 1; } var _local4 = lowestDepth + numberOfAuthortimeLayers; var _local5; for (_local5 in _local3) { var _local2 = _local3[_local5]; if (_local2._parent != undefined) { _local4 = Math.min(_local4, _local2.getDepth()); } } if (_local6 < _local4) { _local6 = _local4; } if (_local6 == _local4) { _parent.shuffleDepths(this, _local6, _local3, "up"); } else if (_local3[_local6] != undefined) { _parent.shuffleDepths(this, _local6, _local3, undefined); } else { swapDepths(_local6); } } function findNextAvailableDepth(targetDepth, depthTable, direction) { var _local5 = lowestDepth + numberOfAuthortimeLayers; if (targetDepth < _local5) { targetDepth = _local5; } if (depthTable[targetDepth] == undefined) { return(targetDepth); } var _local2 = targetDepth; var _local1 = targetDepth; if (direction == "down") { while (depthTable[_local1] != undefined) { _local1--; } return(_local1); } while (depthTable[_local2] != undefined) { _local2++; } return(_local2); } function shuffleDepths(subject, targetDepth, depthTable, direction) { var _local9 = lowestDepth + numberOfAuthortimeLayers; var _local8 = _local9; var _local5; for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local9 = Math.min(_local9, _local7.getDepth()); } } if (direction == undefined) { if (subject.getDepth() > targetDepth) { direction = "up"; } else { direction = "down"; } } var _local1 = new Array(); for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local1.push(_local7); } } _local1.sort(sortFunction); if (direction == "up") { var _local3; var _local11; do { if (_local1.length <= 0) { break; } _local3 = _local1.pop(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } _local11 = subject.getDepth(); _local3 = _local1.pop(); var _local4 = _local3.getDepth(); if (_local11 > (_local4 + 1)) { if (_local4 >= 0) { subject.swapDepths(_local4 + 1); } else if ((_local11 > _local8) && (_local4 < _local8)) { subject.swapDepths(_local8); } } subject.swapDepths(_local3); } while (_local4 != targetDepth); } else if (direction == "down") { var _local3; do { if (_local1.length <= 0) { break; } _local3 = _local1.shift(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } var _local11 = _local3.getDepth(); _local3 = _local1.shift(); var _local4 = _local3.getDepth(); if ((_local11 < (_local4 - 1)) && (_local4 > 0)) { subject.swapDepths(_local4 - 1); } subject.swapDepths(_local3); } while (_local4 != targetDepth); } } function getDepthByFlag(depthFlag, depthTable) { var _local2 = 0; if ((depthFlag == kTop) || (depthFlag == kNotopmost)) { var _local5 = 0; var _local7 = false; var _local8; for (_local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { if (!_local9._topmost) { _local2 = Math.max(_local2, _local9.getDepth()); } else if (!_local7) { _local5 = _local9.getDepth(); _local7 = true; } else { _local5 = Math.min(_local5, _local9.getDepth()); } } } } _local2 = _local2 + 20; if (_local7) { if (_local2 >= _local5) { _local2 = _local5 - 1; } } } else if (depthFlag == kBottom) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.min(_local2, _local9.getDepth()); } } } _local2 = _local2 - 20; } else if (depthFlag == kTopmost) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.max(_local2, _local9.getDepth()); } } } _local2 = _local2 + 100; } if (_local2 >= highestDepth) { _local2 = highestDepth; } var _local6 = lowestDepth + numberOfAuthortimeLayers; for (var _local9 in depthTable) { var _local4 = depthTable[_local9]; if (_local4._parent != undefined) { _local6 = Math.min(_local6, _local4.getDepth()); } } if (_local2 <= _local6) { _local2 = _local6; } return(_local2); } function buildDepthTable(Void) { var _local5 = new Array(); var _local4; for (_local4 in this) { var _local2 = this[_local4]; var _local3 = typeof(_local2); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) { if (_local2._parent == this) { _local5[_local2.getDepth()] = _local2; } } } return(_local5); } static var reservedDepth = 1048575; static var highestDepth = 1048574; static var lowestDepth = -16383; static var numberOfAuthortimeLayers = 383; static var kCursor = 101; static var kTooltip = 102; static var kTop = 201; static var kBottom = 202; static var kTopmost = 203; static var kNotopmost = 204; static var holder = _root.createEmptyMovieClip("reserved", reservedDepth); static var __depthManager = new mx.managers.DepthManager(); }
Symbol 157 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher { var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener; function UIEventDispatcher () { super(); } static function addKeyEvents(obj) { if (obj.keyHandler == undefined) { var _local1 = (obj.keyHandler = new Object()); _local1.owner = obj; _local1.onKeyDown = _fEventDispatcher.onKeyDown; _local1.onKeyUp = _fEventDispatcher.onKeyUp; } Key.addListener(obj.keyHandler); } static function removeKeyEvents(obj) { Key.removeListener(obj.keyHandler); } static function addLoadEvents(obj) { if (obj.onLoad == undefined) { obj.onLoad = _fEventDispatcher.onLoad; obj.onUnload = _fEventDispatcher.onUnload; if (obj.getBytesTotal() == obj.getBytesLoaded()) { obj.doLater(obj, "onLoad"); } } } static function removeLoadEvents(obj) { delete obj.onLoad; delete obj.onUnload; } static function initialize(obj) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.UIEventDispatcher(); } obj.addEventListener = _fEventDispatcher.__addEventListener; obj.__origAddEventListener = _fEventDispatcher.addEventListener; obj.removeEventListener = _fEventDispatcher.removeEventListener; obj.dispatchEvent = _fEventDispatcher.dispatchEvent; obj.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(mx.events.EventDispatcher, eventObj); dispatchQueue(this, eventObj); } function onKeyDown(Void) { owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onKeyUp(Void) { owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onLoad(Void) { if (__sentLoadEvent != true) { dispatchEvent({type:"load"}); } __sentLoadEvent = true; } function onUnload(Void) { dispatchEvent({type:"unload"}); } function __addEventListener(event, handler) { __origAddEventListener(event, handler); var _local3 = lowLevelEvents; for (var _local5 in _local3) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local2 = _local3[_local5][0]; mx.events.UIEventDispatcher[_local2](this); } } } function removeEventListener(event, handler) { var _local6 = "__q_" + event; mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler); if (this[_local6].length == 0) { var _local2 = lowLevelEvents; for (var _local5 in _local2) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local3 = _local2[_local5][1]; mx.events.UIEventDispatcher[_local2[_local5][1]](this); } } } } static var keyEvents = {keyDown:1, keyUp:1}; static var loadEvents = {load:1, unload:1}; static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]}; static var _fEventDispatcher = undefined; }
Symbol 158 MovieClip [__Packages.mx.core.ExternalContent] Frame 0
class mx.core.ExternalContent { var createObject, numChildren, prepList, doLater, loadList, dispatchEvent, loadedList, childLoaded; function ExternalContent () { } function loadExternal(url, placeholderClassName, instanceName, depth, initProps) { var _local2; _local2 = createObject(placeholderClassName, instanceName, depth, initProps); this[mx.core.View.childNameBase + numChildren] = _local2; if (prepList == undefined) { prepList = new Object(); } prepList[instanceName] = {obj:_local2, url:url, complete:false, initProps:initProps}; prepareToLoadMovie(_local2); return(_local2); } function prepareToLoadMovie(obj) { obj.unloadMovie(); doLater(this, "waitForUnload"); } function waitForUnload() { var _local3; for (_local3 in prepList) { var _local2 = prepList[_local3]; if (_local2.obj.getBytesTotal() == 0) { if (loadList == undefined) { loadList = new Object(); } loadList[_local3] = _local2; _local2.obj.loadMovie(_local2.url); delete prepList[_local3]; doLater(this, "checkLoadProgress"); } else { doLater(this, "waitForUnload"); } } } function checkLoadProgress() { var _local3; for (_local3 in loadList) { var _local2 = loadList[_local3]; _local2.loaded = _local2.obj.getBytesLoaded(); _local2.total = _local2.obj.getBytesTotal(); if (_local2.total > 0) { _local2.obj._visible = false; dispatchEvent({type:"progress", target:_local2.obj, current:_local2.loaded, total:_local2.total}); if (_local2.loaded == _local2.total) { if (loadedList == undefined) { loadedList = new Object(); } loadedList[_local3] = _local2; delete loadList[_local3]; doLater(this, "contentLoaded"); } } else if (_local2.total == -1) { if (_local2.failedOnce != undefined) { _local2.failedOnce++; if (_local2.failedOnce > 3) { dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total}); delete loadList[_local3]; } } else { _local2.failedOnce = 0; } } doLater(this, "checkLoadProgress"); } } function contentLoaded() { var _local4; for (_local4 in loadedList) { var _local2 = loadedList[_local4]; _local2.obj._visible = true; _local2.obj._complete = true; var _local3; for (_local3 in _local2.initProps) { _local2.obj[_local3] = _local2.initProps[_local3]; } childLoaded(_local2.obj); dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total}); delete loadedList[_local4]; } } function convertToUIObject(obj) { if (obj.setSize == undefined) { var _local2 = mx.core.UIObject.prototype; obj.addProperty("width", _local2.__get__width, null); obj.addProperty("height", _local2.__get__height, null); obj.addProperty("left", _local2.__get__left, null); obj.addProperty("x", _local2.__get__x, null); obj.addProperty("top", _local2.__get__top, null); obj.addProperty("y", _local2.__get__y, null); obj.addProperty("right", _local2.__get__right, null); obj.addProperty("bottom", _local2.__get__bottom, null); obj.addProperty("visible", _local2.__get__visible, _local2.__set__visible); obj.move = mx.core.UIObject.prototype.move; obj.setSize = mx.core.UIObject.prototype.setSize; obj.size = mx.core.UIObject.prototype.size; mx.events.UIEventDispatcher.initialize(obj); } } static function enableExternalContent() { } static function classConstruct() { var _local1 = mx.core.View.prototype; var _local2 = mx.core.ExternalContent.prototype; _local1.loadExternal = _local2.loadExternal; _local1.prepareToLoadMovie = _local2.prepareToLoadMovie; _local1.waitForUnload = _local2.waitForUnload; _local1.checkLoadProgress = _local2.checkLoadProgress; _local1.contentLoaded = _local2.contentLoaded; _local1.convertToUIObject = _local2.convertToUIObject; return(true); } static var classConstructed = classConstruct(); static var ViewDependency = mx.core.View; }
Symbol 159 MovieClip [__Packages.mx.skins.CustomBorder] Frame 0
class mx.skins.CustomBorder extends mx.skins.Border { var __width, __height, l_mc, setSkin, minHeight, minWidth, m_mc, r_mc; function CustomBorder () { super(); } function get width() { return(__width); } function get height() { return(__height); } function init(Void) { super.init(); } function createChildren(Void) { } function draw(Void) { if (l_mc == undefined) { var _local2 = setSkin(tagL, leftSkin); if (horizontal) { minHeight = l_mc._height; minWidth = l_mc._width; } else { minHeight = l_mc._height; minWidth = l_mc._width; } } if (m_mc == undefined) { setSkin(tagM, middleSkin); if (horizontal) { minHeight = m_mc._height; minWidth = minWidth + m_mc._width; } else { minHeight = minHeight + m_mc._height; minWidth = m_mc._width; } } if (r_mc == undefined) { setSkin(tagR, rightSkin); if (horizontal) { minHeight = r_mc._height; minWidth = minWidth + r_mc._width; } else { minHeight = minHeight + r_mc._height; minWidth = r_mc._width; } } size(); } function size(Void) { l_mc.move(0, 0); if (horizontal) { r_mc.move(width - r_mc.width, 0); m_mc.move(l_mc.width, 0); m_mc.setSize(r_mc.x - m_mc.x, m_mc.height); } else { r_mc.move(0, height - r_mc.height, 0); m_mc.move(0, l_mc.height); m_mc.setSize(m_mc.width, r_mc.y - m_mc.y); } } static var symbolName = "CustomBorder"; static var symbolOwner = mx.skins.CustomBorder; static var version = "2.0.1.78"; var className = "CustomBorder"; static var tagL = 0; static var tagM = 1; static var tagR = 2; var idNames = new Array("l_mc", "m_mc", "r_mc"); var leftSkin = "F3PieceLeft"; var middleSkin = "F3PieceMiddle"; var rightSkin = "F3PieceRight"; var horizontal = true; }
Symbol 160 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb] Frame 0
class mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder { var useHandCursor, ymin, ymax, datamin, datamax, scrollMove, lastY, _ymouse, _y, _parent, onMouseMove, grip_mc, setSkin, gripSkin, __get__width, __get__height; function ScrollThumb () { super(); } function createChildren(Void) { super.createChildren(); useHandCursor = false; } function setRange(_ymin, _ymax, _datamin, _datamax) { ymin = _ymin; ymax = _ymax; datamin = _datamin; datamax = _datamax; } function dragThumb(Void) { scrollMove = _ymouse - lastY; scrollMove = scrollMove + _y; if (scrollMove < ymin) { scrollMove = ymin; } else if (scrollMove > ymax) { scrollMove = ymax; } _parent.isScrolling = true; _y = scrollMove; var _local2 = Math.round(((datamax - datamin) * (_y - ymin)) / (ymax - ymin)) + datamin; _parent.scrollPosition = _local2; _parent.dispatchScrollEvent("ThumbTrack"); updateAfterEvent(); } function stopDragThumb(Void) { _parent.isScrolling = false; _parent.dispatchScrollEvent("ThumbPosition"); _parent.dispatchScrollChangedEvent(); delete onMouseMove; } function onPress(Void) { _parent.pressFocus(); lastY = _ymouse; onMouseMove = dragThumb; super.onPress(); } function onRelease(Void) { _parent.releaseFocus(); stopDragThumb(); super.onRelease(); } function onReleaseOutside(Void) { _parent.releaseFocus(); stopDragThumb(); super.onReleaseOutside(); } function draw() { super.draw(); if (grip_mc == undefined) { setSkin(3, gripSkin); } } function size() { super.size(); grip_mc.move((__get__width() - grip_mc.width) / 2, (__get__height() - grip_mc.height) / 2); } static var symbolOwner = mx.skins.CustomBorder.symbolOwner; var className = "ScrollThumb"; var btnOffset = 0; var horizontal = false; var idNames = new Array("l_mc", "m_mc", "r_mc", "grip_mc"); }
Symbol 161 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent { static var emphasizedStyleDeclaration; var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle; function SimpleButton () { super(); } function init(Void) { super.init(); if (preset == undefined) { boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } useHandCursor = false; } function createChildren(Void) { if (preset != undefined) { var _local2 = this[idNames[preset]]; this[refNames[preset]] = _local2; skinName = _local2; if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } initializing = false; } else if (__state == true) { setStateVar(true); } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } } } function setIcon(tag, linkageName) { return(setSkin(tag + 8, linkageName)); } function changeIcon(tag, linkageName) { linkLength = linkageName.length; var _local2 = stateNames[tag] + "Icon"; this[_local2] = linkageName; this[idNames[tag + 8]] = _local2; setStateVar(getState()); } function changeSkin(tag, linkageName) { var _local2 = stateNames[tag] + "Skin"; this[_local2] = linkageName; this[idNames[tag]] = _local2; setStateVar(getState()); } function viewIcon(varName) { var _local4 = varName + "Icon"; var _local3 = this[_local4]; if (typeof(_local3) == "string") { var _local5 = _local3; if (__emphasized) { if (this[_local3 + "Emphasized"].length > 0) { _local3 = _local3 + "Emphasized"; } } if (this[_local3].length == 0) { return(undefined); } _local3 = setIcon(tagMap[_local5], this[_local3]); if ((_local3 == undefined) && (_global.isLivePreview)) { _local3 = setIcon(0, "ButtonIcon"); } this[_local4] = _local3; } iconName._visible = false; iconName = _local3; iconName._visible = true; } function removeIcons() { var _local3 = 0; while (_local3 < 2) { var _local2 = 8; while (_local2 < 16) { destroyObject(idNames[_local2]); this[stateNames[_local2 - 8] + "Icon"] = ""; _local2++; } _local3++; } refresh(); } function setSkin(tag, linkageName, initobj) { var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this}))); calcSize(tag, _local3); return(_local3); } function calcSize(Void) { __width = _width; __height = _height; } function viewSkin(varName, initObj) { var _local3 = varName + "Skin"; var _local2 = this[_local3]; if (typeof(_local2) == "string") { var _local4 = _local2; if (__emphasized) { if (this[_local2 + "Emphasized"].length > 0) { _local2 = _local2 + "Emphasized"; } } if (this[_local2].length == 0) { return(undefined); } _local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this}))); this[_local3] = _local2; } skinName._visible = false; skinName = _local2; skinName._visible = true; } function showEmphasized(e) { if (e && (!__emphatic)) { if (emphasizedStyleDeclaration != undefined) { __emphaticStyleName = styleName; styleName = emphasizedStyleDeclaration; } __emphatic = true; } else { if (__emphatic) { styleName = __emphaticStyleName; } __emphatic = false; } } function refresh(Void) { var _local2 = getState(); if (enabled == false) { viewIcon("disabled"); viewSkin("disabled"); } else { viewSkin(phase); viewIcon(phase); } setView(phase == "down"); iconName.enabled = enabled; } function setView(offset) { if (iconName == undefined) { return(undefined); } var _local2 = (offset ? (btnOffset) : 0); iconName._x = ((__width - iconName._width) / 2) + _local2; iconName._y = ((__height - iconName._height) / 2) + _local2; } function setStateVar(state) { if (state) { if (trueOverSkin.length == 0) { rolloverSkin = tus; } else { rolloverSkin = trs; } if (trueOverIcon.length == 0) { rolloverIcon = tui; } else { rolloverIcon = tri; } upSkin = tus; downSkin = tds; disabledSkin = dts; upIcon = tui; downIcon = tdi; disabledIcon = dti; } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } else { rolloverSkin = frs; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } else { rolloverIcon = fri; } upSkin = fus; downSkin = fds; disabledSkin = dfs; upIcon = fui; downIcon = fdi; disabledIcon = dfi; } __state = state; } function setState(state) { if (state != __state) { setStateVar(state); invalidate(); } } function size(Void) { refresh(); } function draw(Void) { if (initializing) { initializing = false; skinName.visible = true; iconName.visible = true; } size(); } function getState(Void) { return(__state); } function setToggle(val) { __toggle = val; if (__toggle == false) { setState(false); } } function getToggle(Void) { return(__toggle); } function set toggle(val) { setToggle(val); //return(toggle); } function get toggle() { return(getToggle()); } function set value(val) { setSelected(val); //return(value); } function get value() { return(getSelected()); } function set selected(val) { setSelected(val); //return(selected); } function get selected() { return(getSelected()); } function setSelected(val) { if (__toggle) { setState(val); } else { setState((initializing ? (val) : (__state))); } } function getSelected() { return(__state); } function setEnabled(val) { if (enabled != val) { super.setEnabled(val); invalidate(); } } function onPress(Void) { pressFocus(); phase = "down"; refresh(); dispatchEvent({type:"buttonDown"}); if (autoRepeat) { interval = setInterval(this, "onPressDelay", getStyle("repeatDelay")); } } function onPressDelay(Void) { dispatchEvent({type:"buttonDown"}); if (autoRepeat) { clearInterval(interval); interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval")); } } function onPressRepeat(Void) { dispatchEvent({type:"buttonDown"}); updateAfterEvent(); } function onRelease(Void) { releaseFocus(); phase = "rollover"; if (interval != undefined) { clearInterval(interval); delete interval; } if (getToggle()) { setState(!getState()); } else { refresh(); } dispatchEvent({type:"click"}); } function onDragOut(Void) { phase = "up"; refresh(); dispatchEvent({type:"buttonDragOut"}); } function onDragOver(Void) { if (phase != "up") { onPress(); return(undefined); } phase = "down"; refresh(); } function onReleaseOutside(Void) { releaseFocus(); phase = "up"; if (interval != undefined) { clearInterval(interval); delete interval; } } function onRollOver(Void) { phase = "rollover"; refresh(); } function onRollOut(Void) { phase = "up"; refresh(); } function getLabel(Void) { return(fui.text); } function setLabel(val) { if (typeof(fui) == "string") { createLabel("fui", 8, val); fui.styleName = this; } else { fui.text = val; } var _local4 = fui._getTextFormat(); var _local2 = _local4.getTextExtent2(val); fui._width = _local2.width + 5; fui._height = _local2.height + 5; iconName = fui; setView(__state); } function get emphasized() { return(__emphasized); } function set emphasized(val) { __emphasized = val; var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]] = stateNames[_local2] + "Skin"; if (typeof(this[idNames[_local2 + 8]]) == "movieclip") { this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon"; } _local2++; } showEmphasized(__emphasized); setStateVar(__state); invalidateStyle(); //return(emphasized); } function keyDown(e) { if (e.code == 32) { onPress(); } } function keyUp(e) { if (e.code == 32) { onRelease(); } } function onKillFocus(newFocus) { super.onKillFocus(); if (phase != "up") { phase = "up"; refresh(); } } static var symbolName = "SimpleButton"; static var symbolOwner = mx.controls.SimpleButton; static var version = "2.0.1.78"; var className = "SimpleButton"; var style3dInset = 4; var btnOffset = 1; var __toggle = false; var __state = false; var __emphasized = false; var __emphatic = false; static var falseUp = 0; static var falseDown = 1; static var falseOver = 2; static var falseDisabled = 3; static var trueUp = 4; static var trueDown = 5; static var trueOver = 6; static var trueDisabled = 7; var falseUpSkin = "SimpleButtonUp"; var falseDownSkin = "SimpleButtonIn"; var falseOverSkin = ""; var falseDisabledSkin = "SimpleButtonUp"; var trueUpSkin = "SimpleButtonIn"; var trueDownSkin = ""; var trueOverSkin = ""; var trueDisabledSkin = "SimpleButtonIn"; var falseUpIcon = ""; var falseDownIcon = ""; var falseOverIcon = ""; var falseDisabledIcon = ""; var trueUpIcon = ""; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = ""; var phase = "up"; var fui = "falseUpIcon"; var fus = "falseUpSkin"; var fdi = "falseDownIcon"; var fds = "falseDownSkin"; var frs = "falseOverSkin"; var fri = "falseOverIcon"; var dfi = "falseDisabledIcon"; var dfs = "falseDisabledSkin"; var tui = "trueUpIcon"; var tus = "trueUpSkin"; var tdi = "trueDownIcon"; var tds = "trueDownSkin"; var trs = "trueOverSkin"; var tri = "trueOverIcon"; var dts = "trueDisabledSkin"; var dti = "trueDisabledIcon"; var rolloverSkin = mx.controls.SimpleButton.prototype.frs; var rolloverIcon = mx.controls.SimpleButton.prototype.fri; var upSkin = mx.controls.SimpleButton.prototype.fus; var downSkin = mx.controls.SimpleButton.prototype.fds; var disabledSkin = mx.controls.SimpleButton.prototype.dfs; var upIcon = mx.controls.SimpleButton.prototype.fui; var downIcon = mx.controls.SimpleButton.prototype.fdi; var disabledIcon = mx.controls.SimpleButton.prototype.dfi; var initializing = true; var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"]; var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"]; var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"]; var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7}; }
Symbol 162 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar] Frame 0
class mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent { var isScrolling, scrollTrack_mc, scrollThumb_mc, __height, tabEnabled, focusEnabled, boundingBox_mc, setSkin, upArrow_mc, _minHeight, _minWidth, downArrow_mc, createObject, createClassObject, enabled, _height, dispatchEvent, minMode, maxMode, plusMode, minusMode, _parent, getStyle, scrolling, _ymouse; function ScrollBar () { super(); } function get scrollPosition() { return(_scrollPosition); } function set scrollPosition(pos) { _scrollPosition = pos; if (isScrolling != true) { pos = Math.min(pos, maxPos); pos = Math.max(pos, minPos); var _local3 = (((pos - minPos) * (scrollTrack_mc.height - scrollThumb_mc._height)) / (maxPos - minPos)) + scrollTrack_mc.top; scrollThumb_mc.move(0, _local3); } //return(scrollPosition); } function get pageScrollSize() { return(largeScroll); } function set pageScrollSize(lScroll) { largeScroll = lScroll; //return(pageScrollSize); } function set lineScrollSize(sScroll) { smallScroll = sScroll; //return(lineScrollSize); } function get lineScrollSize() { return(smallScroll); } function get virtualHeight() { return(__height); } function init(Void) { super.init(); _scrollPosition = 0; tabEnabled = false; focusEnabled = false; boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function createChildren(Void) { if (scrollTrack_mc == undefined) { setSkin(skinIDTrack, scrollTrackName); } scrollTrack_mc.visible = false; var _local3 = new Object(); _local3.enabled = false; _local3.preset = mx.controls.SimpleButton.falseDisabled; _local3.initProperties = 0; _local3.autoRepeat = true; _local3.tabEnabled = false; var _local2; if (upArrow_mc == undefined) { _local2 = createButton(upArrowName, "upArrow_mc", skinIDUpArrow, _local3); } _local2.buttonDownHandler = onUpArrow; _local2.clickHandler = onScrollChanged; _minHeight = _local2.height; _minWidth = _local2.width; if (downArrow_mc == undefined) { _local2 = createButton(downArrowName, "downArrow_mc", skinIDDownArrow, _local3); } _local2.buttonDownHandler = onDownArrow; _local2.clickHandler = onScrollChanged; _minHeight = _minHeight + _local2.height; } function createButton(linkageName, id, skinID, o) { if (skinID == skinIDUpArrow) { o.falseUpSkin = upArrowUpName; o.falseDownSkin = upArrowDownName; o.falseOverSkin = upArrowOverName; } else { o.falseUpSkin = downArrowUpName; o.falseDownSkin = downArrowDownName; o.falseOverSkin = downArrowOverName; } var _local3 = createObject(linkageName, id, skinID, o); this[id].visible = false; this[id].useHandCursor = false; return(_local3); } function createThumb(Void) { var _local2 = new Object(); _local2.validateNow = true; _local2.tabEnabled = false; _local2.leftSkin = thumbTopName; _local2.middleSkin = thumbMiddleName; _local2.rightSkin = thumbBottomName; _local2.gripSkin = thumbGripName; createClassObject(mx.controls.scrollClasses.ScrollThumb, "scrollThumb_mc", skinIDThumb, _local2); } function setScrollProperties(pSize, mnPos, mxPos, ls) { var _local4; var _local2 = scrollTrack_mc; pageSize = pSize; largeScroll = (((ls != undefined) && (ls > 0)) ? (ls) : (pSize)); minPos = Math.max(mnPos, 0); maxPos = Math.max(mxPos, 0); _scrollPosition = Math.max(minPos, _scrollPosition); _scrollPosition = Math.min(maxPos, _scrollPosition); if (((maxPos - minPos) > 0) && (enabled)) { var _local5 = _scrollPosition; if (!initializing) { upArrow_mc.enabled = true; downArrow_mc.enabled = true; } _local2.onPress = (_local2.onDragOver = startTrackScroller); _local2.onRelease = releaseScrolling; _local2.onDragOut = (_local2.stopScrolling = stopScrolling); _local2.onReleaseOutside = releaseScrolling; _local2.useHandCursor = false; if (scrollThumb_mc == undefined) { createThumb(); } var _local3 = scrollThumb_mc; if (scrollTrackOverName.length > 0) { _local2.onRollOver = trackOver; _local2.onRollOut = trackOut; } _local4 = (pageSize / ((maxPos - minPos) + pageSize)) * _local2.height; if (_local4 < _local3.minHeight) { if (_local2.height < _local3.minHeight) { _local3.__set__visible(false); } else { _local4 = _local3.minHeight; _local3.__set__visible(true); _local3.setSize(_minWidth, _local3.minHeight + 0); } } else { _local3.__set__visible(true); _local3.setSize(_minWidth, _local4); } _local3.setRange(upArrow_mc.__get__height() + 0, (virtualHeight - downArrow_mc.__get__height()) - _local3.__get__height(), minPos, maxPos); _local5 = Math.min(_local5, maxPos); scrollPosition = (Math.max(_local5, minPos)); } else { scrollThumb_mc.__set__visible(false); if (!initializing) { upArrow_mc.enabled = false; downArrow_mc.enabled = false; } delete _local2.onPress; delete _local2.onDragOver; delete _local2.onRelease; delete _local2.onDragOut; delete _local2.onRollOver; delete _local2.onRollOut; delete _local2.onReleaseOutside; } if (initializing) { scrollThumb_mc.__set__visible(false); } } function setEnabled(enabledFlag) { super.setEnabled(enabledFlag); setScrollProperties(pageSize, minPos, maxPos, largeScroll); } function draw(Void) { if (initializing) { initializing = false; scrollTrack_mc.visible = true; upArrow_mc.__set__visible(true); downArrow_mc.__set__visible(true); } size(); } function size(Void) { if (_height == 1) { return(undefined); } if (upArrow_mc == undefined) { return(undefined); } var _local3 = upArrow_mc.__get__height(); var _local2 = downArrow_mc.__get__height(); upArrow_mc.move(0, 0); var _local4 = scrollTrack_mc; _local4._y = _local3; _local4._height = (virtualHeight - _local3) - _local2; downArrow_mc.move(0, virtualHeight - _local2); setScrollProperties(pageSize, minPos, maxPos, largeScroll); } function dispatchScrollEvent(detail) { dispatchEvent({type:"scroll", detail:detail}); } function isScrollBarKey(k) { if (k == 36) { if (scrollPosition != 0) { scrollPosition = (0); dispatchScrollEvent(minMode); } return(true); } if (k == 35) { if (scrollPosition < maxPos) { scrollPosition = (maxPos); dispatchScrollEvent(maxMode); } return(true); } return(false); } function scrollIt(inc, mode) { var _local3 = smallScroll; if (inc != "Line") { _local3 = ((largeScroll == 0) ? (pageSize) : (largeScroll)); } var _local2 = _scrollPosition + (mode * _local3); if (_local2 > maxPos) { _local2 = maxPos; } else if (_local2 < minPos) { _local2 = minPos; } if (scrollPosition != _local2) { scrollPosition = (_local2); var _local4 = ((mode < 0) ? (minusMode) : (plusMode)); dispatchScrollEvent(inc + _local4); } } function startTrackScroller(Void) { _parent.pressFocus(); if (_parent.scrollTrackDownName.length > 0) { if (_parent.scrollTrackDown_mc == undefined) { _parent.setSkin(skinIDTrackDown, scrollTrackDownName); } else { _parent.scrollTrackDown_mc.visible = true; } } _parent.trackScroller(); _parent.scrolling = setInterval(_parent, "scrollInterval", getStyle("repeatDelay"), "Page", -1); } function scrollInterval(inc, mode) { clearInterval(scrolling); if (inc == "Page") { trackScroller(); } else { scrollIt(inc, mode); } scrolling = setInterval(this, "scrollInterval", getStyle("repeatInterval"), inc, mode); } function trackScroller(Void) { if ((scrollThumb_mc._y + scrollThumb_mc.__get__height()) < _ymouse) { scrollIt("Page", 1); } else if (scrollThumb_mc._y > _ymouse) { scrollIt("Page", -1); } } function dispatchScrollChangedEvent(Void) { dispatchEvent({type:"scrollChanged"}); } function stopScrolling(Void) { clearInterval(_parent.scrolling); _parent.scrollTrackDown_mc.visible = false; } function releaseScrolling(Void) { _parent.releaseFocus(); stopScrolling(); _parent.dispatchScrollChangedEvent(); } function trackOver(Void) { if (_parent.scrollTrackOverName.length > 0) { if (_parent.scrollTrackOver_mc == undefined) { _parent.setSkin(skinIDTrackOver, scrollTrackOverName); } else { _parent.scrollTrackOver_mc.visible = true; } } } function trackOut(Void) { _parent.scrollTrackOver_mc.visible = false; } function onUpArrow(Void) { _parent.scrollIt("Line", -1); } function onDownArrow(Void) { _parent.scrollIt("Line", 1); } function onScrollChanged(Void) { _parent.dispatchScrollChangedEvent(); } static var symbolOwner = mx.core.UIComponent; var className = "ScrollBar"; var minPos = 0; var maxPos = 0; var pageSize = 0; var largeScroll = 0; var smallScroll = 1; var _scrollPosition = 0; var scrollTrackName = "ScrollTrack"; var scrollTrackOverName = ""; var scrollTrackDownName = ""; var upArrowName = "BtnUpArrow"; var upArrowUpName = "ScrollUpArrowUp"; var upArrowOverName = "ScrollUpArrowOver"; var upArrowDownName = "ScrollUpArrowDown"; var downArrowName = "BtnDownArrow"; var downArrowUpName = "ScrollDownArrowUp"; var downArrowOverName = "ScrollDownArrowOver"; var downArrowDownName = "ScrollDownArrowDown"; var thumbTopName = "ScrollThumbTopUp"; var thumbMiddleName = "ScrollThumbMiddleUp"; var thumbBottomName = "ScrollThumbBottomUp"; var thumbGripName = "ScrollThumbGripUp"; static var skinIDTrack = 0; static var skinIDTrackOver = 1; static var skinIDTrackDown = 2; static var skinIDUpArrow = 3; static var skinIDDownArrow = 4; static var skinIDThumb = 5; var idNames = new Array("scrollTrack_mc", "scrollTrackOver_mc", "scrollTrackDown_mc", "upArrow_mc", "downArrow_mc"); var clipParameters = {minPos:1, maxPos:1, pageSize:1, scrollPosition:1, lineScrollSize:1, pageScrollSize:1, visible:1, enabled:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); var initializing = true; }
Symbol 163 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager { static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent; function SystemManager () { } static function init(Void) { if (_initialized == false) { _initialized = true; mx.events.EventDispatcher.initialize(mx.managers.SystemManager); Mouse.addListener(mx.managers.SystemManager); Stage.addListener(mx.managers.SystemManager); _xAddEventListener = addEventListener; addEventListener = __addEventListener; _xRemoveEventListener = removeEventListener; removeEventListener = __removeEventListener; } } static function addFocusManager(f) { form = f; f.focusManager.activate(); } static function removeFocusManager(f) { } static function onMouseDown(Void) { var _local1 = form; _local1.focusManager._onMouseDown(); } static function onResize(Void) { var _local7 = Stage.width; var _local6 = Stage.height; var _local9 = _global.origWidth; var _local8 = _global.origHeight; var _local3 = Stage.align; var _local5 = (_local9 - _local7) / 2; var _local4 = (_local8 - _local6) / 2; if (_local3 == "T") { _local4 = 0; } else if (_local3 == "B") { _local4 = _local8 - _local6; } else if (_local3 == "L") { _local5 = 0; } else if (_local3 == "R") { _local5 = _local9 - _local7; } else if (_local3 == "LT") { _local4 = 0; _local5 = 0; } else if (_local3 == "TR") { _local4 = 0; _local5 = _local9 - _local7; } else if (_local3 == "LB") { _local4 = _local8 - _local6; _local5 = 0; } else if (_local3 == "RB") { _local4 = _local8 - _local6; _local5 = _local9 - _local7; } if (__screen == undefined) { __screen = new Object(); } __screen.x = _local5; __screen.y = _local4; __screen.width = _local7; __screen.height = _local6; _root.focusManager.relocate(); dispatchEvent({type:"resize"}); } static function get screen() { init(); if (__screen == undefined) { onResize(); } return(__screen); } static var _initialized = false; static var idleFrames = 0; static var isMouseDown = false; static var forms = new Array(); }
Symbol 164 MovieClip [__Packages.mx.controls.HScrollBar] Frame 0
class mx.controls.HScrollBar extends mx.controls.scrollClasses.ScrollBar { var _minHeight, _minWidth, _xscale, _rotation, __width, scrollIt; function HScrollBar () { super(); } function getMinWidth(Void) { return(_minHeight); } function getMinHeight(Void) { return(_minWidth); } function init(Void) { super.init(); _xscale = -100; _rotation = -90; } function get virtualHeight() { return(__width); } function isScrollBarKey(k) { if (k == 37) { scrollIt("Line", -1); return(true); } if (k == 39) { scrollIt("Line", 1); return(true); } return(super.isScrollBarKey(k)); } static var symbolName = "HScrollBar"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.1.78"; var className = "HScrollBar"; var minusMode = "Left"; var plusMode = "Right"; var minMode = "AtLeft"; var maxMode = "AtRight"; }
Symbol 165 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton { var initializing, labelPath, initIcon, getState, enabled, phase, idNames, __width, __height, setState, invalidate, iconName, refresh, createLabel, _iconLinkageName, removeIcons, hitArea_mc, createEmptyObject; function Button () { super(); } function init(Void) { super.init(); } function draw() { if (initializing) { labelPath.visible = true; } super.draw(); if (initIcon != undefined) { _setIcon(initIcon); } delete initIcon; } function onRelease(Void) { super.onRelease(); } function createChildren(Void) { super.createChildren(); } function setSkin(tag, linkageName, initobj) { return(super.setSkin(tag, linkageName, initobj)); } function viewSkin(varName) { var _local3 = (getState() ? "true" : "false"); _local3 = _local3 + (enabled ? (phase) : "disabled"); super.viewSkin(varName, {styleName:this, borderStyle:_local3}); } function invalidateStyle(c) { labelPath.invalidateStyle(c); super.invalidateStyle(c); } function setColor(c) { var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]].redraw(true); _local2++; } } function setEnabled(enable) { labelPath.enabled = enable; super.setEnabled(enable); } function calcSize(tag, ref) { if ((__width == undefined) || (__height == undefined)) { return(undefined); } if (tag < 7) { ref.setSize(__width, __height, true); } } function size(Void) { setState(getState()); setHitArea(__width, __height); var _local3 = 0; while (_local3 < 8) { var _local4 = idNames[_local3]; if (typeof(this[_local4]) == "movieclip") { this[_local4].setSize(__width, __height, true); } _local3++; } super.size(); } function set labelPlacement(val) { __labelPlacement = val; invalidate(); //return(labelPlacement); } function get labelPlacement() { return(__labelPlacement); } function getLabelPlacement(Void) { return(__labelPlacement); } function setLabelPlacement(val) { __labelPlacement = val; invalidate(); } function getBtnOffset(Void) { if (getState()) { var _local2 = btnOffset; } else if (phase == "down") { var _local2 = btnOffset; } else { var _local2 = 0; } return(_local2); } function setView(offset) { var _local16 = (offset ? (btnOffset) : 0); var _local12 = getLabelPlacement(); var _local7 = 0; var _local6 = 0; var _local9 = 0; var _local8 = 0; var _local5 = 0; var _local4 = 0; var _local3 = labelPath; var _local2 = iconName; var _local15 = _local3.textWidth; var _local14 = _local3.textHeight; var _local10 = (__width - borderW) - borderW; var _local11 = (__height - borderW) - borderW; if (_local2 != undefined) { _local7 = _local2._width; _local6 = _local2._height; } if ((_local12 == "left") || (_local12 == "right")) { if (_local3 != undefined) { _local9 = Math.min(_local10 - _local7, _local15 + 5); _local3._width = _local9; _local8 = Math.min(_local11, _local14 + 5); _local3._height = _local8; } if (_local12 == "right") { _local5 = _local7; if (centerContent) { _local5 = _local5 + (((_local10 - _local9) - _local7) / 2); } _local2._x = _local5 - _local7; } else { _local5 = (_local10 - _local9) - _local7; if (centerContent) { _local5 = _local5 / 2; } _local2._x = _local5 + _local9; } _local4 = 0; _local2._y = _local4; if (centerContent) { _local2._y = (_local11 - _local6) / 2; _local4 = (_local11 - _local8) / 2; } if (!centerContent) { _local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2); } } else { if (_local3 != undefined) { _local9 = Math.min(_local10, _local15 + 5); _local3._width = _local9; _local8 = Math.min(_local11 - _local6, _local14 + 5); _local3._height = _local8; } _local5 = (_local10 - _local9) / 2; _local2._x = (_local10 - _local7) / 2; if (_local12 == "top") { _local4 = (_local11 - _local8) - _local6; if (centerContent) { _local4 = _local4 / 2; } _local2._y = _local4 + _local8; } else { _local4 = _local6; if (centerContent) { _local4 = _local4 + (((_local11 - _local8) - _local6) / 2); } _local2._y = _local4 - _local6; } } var _local13 = borderW + _local16; _local3._x = _local5 + _local13; _local3._y = _local4 + _local13; _local2._x = _local2._x + _local13; _local2._y = _local2._y + _local13; } function set label(lbl) { setLabel(lbl); //return(label); } function setLabel(label) { if (label == "") { labelPath.removeTextField(); refresh(); return(undefined); } if (labelPath == undefined) { var _local2 = createLabel("labelPath", 200, label); _local2._width = _local2.textWidth + 5; _local2._height = _local2.textHeight + 5; if (initializing) { _local2.visible = false; } } else { delete labelPath.__text; labelPath.text = label; refresh(); } } function getLabel(Void) { return(((labelPath.__text != undefined) ? (labelPath.__text) : (labelPath.text))); } function get label() { return(getLabel()); } function _getIcon(Void) { return(_iconLinkageName); } function get icon() { if (initializing) { return(initIcon); } return(_iconLinkageName); } function _setIcon(linkage) { if (initializing) { if (linkage == "") { return(undefined); } initIcon = linkage; } else { if (linkage == "") { removeIcons(); return(undefined); } super.changeIcon(0, linkage); super.changeIcon(1, linkage); super.changeIcon(3, linkage); super.changeIcon(4, linkage); super.changeIcon(5, linkage); _iconLinkageName = linkage; refresh(); } } function set icon(linkage) { _setIcon(linkage); //return(icon); } function setHitArea(w, h) { if (hitArea_mc == undefined) { createEmptyObject("hitArea_mc", 100); } var _local2 = hitArea_mc; _local2.clear(); _local2.beginFill(16711680); _local2.drawRect(0, 0, w, h); _local2.endFill(); _local2.setVisible(false); } static var symbolName = "Button"; static var symbolOwner = mx.controls.Button; var className = "Button"; static var version = "2.0.1.78"; var btnOffset = 0; var _color = "buttonColor"; var __label = "default value"; var __labelPlacement = "right"; var falseUpSkin = "ButtonSkin"; var falseDownSkin = "ButtonSkin"; var falseOverSkin = "ButtonSkin"; var falseDisabledSkin = "ButtonSkin"; var trueUpSkin = "ButtonSkin"; var trueDownSkin = "ButtonSkin"; var trueOverSkin = "ButtonSkin"; var trueDisabledSkin = "ButtonSkin"; var falseUpIcon = ""; var falseDownIcon = ""; var falseOverIcon = ""; var falseDisabledIcon = ""; var trueUpIcon = ""; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = ""; var clipParameters = {labelPlacement:1, icon:1, toggle:1, selected:1, label:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters); var centerContent = true; var borderW = 1; }
Symbol 166 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement { var getStyle, _color, onEnterFrame; function ColoredSkinElement () { } function setColor(c) { if (c != undefined) { var _local2 = new Color(this); _local2.setRGB(c); } } function draw(Void) { setColor(getStyle(_color)); onEnterFrame = undefined; } function invalidateStyle(Void) { onEnterFrame = draw; } static function setColorStyle(p, colorStyle) { if (p._color == undefined) { p._color = colorStyle; } p.setColor = mixins.setColor; p.invalidateStyle = mixins.invalidateStyle; p.draw = mixins.draw; p.setColor(p.getStyle(colorStyle)); } static var mixins = new mx.skins.ColoredSkinElement(); }
Symbol 167 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions { function UIObjectExtensions () { } static function addGeometry(tf, ui) { tf.addProperty("width", ui.__get__width, null); tf.addProperty("height", ui.__get__height, null); tf.addProperty("left", ui.__get__left, null); tf.addProperty("x", ui.__get__x, null); tf.addProperty("top", ui.__get__top, null); tf.addProperty("y", ui.__get__y, null); tf.addProperty("right", ui.__get__right, null); tf.addProperty("bottom", ui.__get__bottom, null); tf.addProperty("visible", ui.__get__visible, ui.__set__visible); } static function Extensions() { if (bExtended == true) { return(true); } bExtended = true; var _local6 = mx.core.UIObject.prototype; var _local9 = mx.skins.SkinElement.prototype; addGeometry(_local9, _local6); mx.events.UIEventDispatcher.initialize(_local6); var _local13 = mx.skins.ColoredSkinElement; mx.styles.CSSTextStyles.addTextStyles(_local6); var _local5 = MovieClip.prototype; _local5.getTopLevel = _local6.getTopLevel; _local5.createLabel = _local6.createLabel; _local5.createObject = _local6.createObject; _local5.createClassObject = _local6.createClassObject; _local5.createEmptyObject = _local6.createEmptyObject; _local5.destroyObject = _local6.destroyObject; _global.ASSetPropFlags(_local5, "getTopLevel", 1); _global.ASSetPropFlags(_local5, "createLabel", 1); _global.ASSetPropFlags(_local5, "createObject", 1); _global.ASSetPropFlags(_local5, "createClassObject", 1); _global.ASSetPropFlags(_local5, "createEmptyObject", 1); _global.ASSetPropFlags(_local5, "destroyObject", 1); _local5.__getTextFormat = _local6.__getTextFormat; _local5._getTextFormat = _local6._getTextFormat; _local5.getStyleName = _local6.getStyleName; _local5.getStyle = _local6.getStyle; _global.ASSetPropFlags(_local5, "__getTextFormat", 1); _global.ASSetPropFlags(_local5, "_getTextFormat", 1); _global.ASSetPropFlags(_local5, "getStyleName", 1); _global.ASSetPropFlags(_local5, "getStyle", 1); var _local7 = TextField.prototype; addGeometry(_local7, _local6); _local7.addProperty("enabled", function () { return(this.__enabled); }, function (x) { this.__enabled = x; this.invalidateStyle(); }); _local7.move = _local9.move; _local7.setSize = _local9.setSize; _local7.invalidateStyle = function () { this.invalidateFlag = true; }; _local7.draw = function () { if (this.invalidateFlag) { this.invalidateFlag = false; var _local2 = this._getTextFormat(); this.setTextFormat(_local2); this.setNewTextFormat(_local2); this.embedFonts = _local2.embedFonts == true; if (this.__text != undefined) { if (this.text == "") { this.text = this.__text; } delete this.__text; } this._visible = true; } }; _local7.setColor = function (color) { this.textColor = color; }; _local7.getStyle = _local5.getStyle; _local7.__getTextFormat = _local6.__getTextFormat; _local7.setValue = function (v) { this.text = v; }; _local7.getValue = function () { return(this.text); }; _local7.addProperty("value", function () { return(this.getValue()); }, function (v) { this.setValue(v); }); _local7._getTextFormat = function () { var _local2 = this.stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); this.__getTextFormat(_local2); this.stylecache.tf = _local2; if (this.__enabled == false) { if (this.enabledColor == undefined) { var _local4 = this.getTextFormat(); this.enabledColor = _local4.color; } var _local3 = this.getStyle("disabledColor"); _local2.color = _local3; } else if (this.enabledColor != undefined) { if (_local2.color == undefined) { _local2.color = this.enabledColor; } } return(_local2); }; _local7.getPreferredWidth = function () { this.draw(); return(this.textWidth + 4); }; _local7.getPreferredHeight = function () { this.draw(); return(this.textHeight + 4); }; TextFormat.prototype.getTextExtent2 = function (s) { var _local3 = _root._getTextExtent; if (_local3 == undefined) { _root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100); _local3 = _root._getTextExtent; _local3._visible = false; } _root._getTextExtent.text = s; var _local4 = this.align; this.align = "left"; _root._getTextExtent.setTextFormat(this); this.align = _local4; return({width:_local3.textWidth, height:_local3.textHeight}); }; if (_global.style == undefined) { _global.style = new mx.styles.CSSStyleDeclaration(); _global.cascadingStyles = true; _global.styles = new Object(); _global.skinRegistry = new Object(); if (_global._origWidth == undefined) { _global.origWidth = Stage.width; _global.origHeight = Stage.height; } } var _local4 = _root; while (_local4._parent != undefined) { _local4 = _local4._parent; } _local4.addProperty("width", function () { return(Stage.width); }, null); _local4.addProperty("height", function () { return(Stage.height); }, null); _global.ASSetPropFlags(_local4, "width", 1); _global.ASSetPropFlags(_local4, "height", 1); return(true); } static var bExtended = false; static var UIObjectExtended = Extensions(); static var UIObjectDependency = mx.core.UIObject; static var SkinElementDependency = mx.skins.SkinElement; static var CSSTextStylesDependency = mx.styles.CSSTextStyles; static var UIEventDispatcherDependency = mx.events.UIEventDispatcher; }
Symbol 168 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults { var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill; function Defaults () { } static function setThemeDefaults() { var _local2 = _global.style; _local2.themeColor = 8453965 /* 0x80FF4D */; _local2.disabledColor = 8684164 /* 0x848284 */; _local2.modalTransparency = 0; _local2.filled = true; _local2.stroked = true; _local2.strokeWidth = 1; _local2.strokeColor = 0; _local2.fillColor = 16777215 /* 0xFFFFFF */; _local2.repeatInterval = 35; _local2.repeatDelay = 500; _local2.fontFamily = "_sans"; _local2.fontSize = 12; _local2.selectionColor = 13500353 /* 0xCDFFC1 */; _local2.rollOverColor = 14942166 /* 0xE3FFD6 */; _local2.useRollOver = true; _local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDuration = 200; _local2.openDuration = 250; _local2.borderStyle = "inset"; _local2.color = 734012 /* 0x0B333C */; _local2.textSelectedColor = 24371; _local2.textRollOverColor = 2831164 /* 0x2B333C */; _local2.textDisabledColor = 16777215 /* 0xFFFFFF */; _local2.vGridLines = true; _local2.hGridLines = false; _local2.vGridLineColor = 6710886 /* 0x666666 */; _local2.hGridLineColor = 6710886 /* 0x666666 */; _local2.headerColor = 15395562 /* 0xEAEAEA */; _local2.indentation = 17; _local2.folderOpenIcon = "TreeFolderOpen"; _local2.folderClosedIcon = "TreeFolderClosed"; _local2.defaultLeafIcon = "TreeNodeIcon"; _local2.disclosureOpenIcon = "TreeDisclosureOpen"; _local2.disclosureClosedIcon = "TreeDisclosureClosed"; _local2.popupDuration = 150; _local2.todayColor = 6710886 /* 0x666666 */; _local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration()); _local2.backgroundColor = 16777215 /* 0xFFFFFF */; _local2.borderColor = 13290186 /* 0xCACACA */; _local2.borderStyle = "inset"; _local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration()); _local2.borderStyle = "inset"; _local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration()); _local2.textAlign = "center"; _local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration()); _local2.borderColor = 14015965 /* 0xD5DDDD */; _local2.buttonColor = 7305079 /* 0x6F7777 */; _local2.shadowColor = 15658734 /* 0xEEEEEE */; _local2.highlightColor = 12897484 /* 0xC4CCCC */; _local2.shadowCapColor = 14015965 /* 0xD5DDDD */; _local2.borderCapColor = 9542041 /* 0x919999 */; var _local4 = new Object(); _local4.borderColor = 16711680 /* 0xFF0000 */; _local4.buttonColor = 16711680 /* 0xFF0000 */; _local4.shadowColor = 16711680 /* 0xFF0000 */; _local4.highlightColor = 16711680 /* 0xFF0000 */; _local4.shadowCapColor = 16711680 /* 0xFF0000 */; _local4.borderCapColor = 16711680 /* 0xFF0000 */; mx.core.UIComponent.prototype.origBorderStyles = _local4; var _local3; _local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration()); _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderStyle = "inset"; _global.styles.TextArea = _global.styles.TextInput; _local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "default"; _local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "alert"; _local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "inset"; _local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "none"; _local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration()); _local3.color = 11187123 /* 0xAAB3B3 */; _local3.fontWeight = "bold"; _local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = "11"; _local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "solid"; _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderColor = 9081738 /* 0x8A938A */; _local3.headerHeight = 22; _local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1))); _local3.verticalGap = -1; _local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration()); _local3.borderColor = 9542041 /* 0x919999 */; _local3.headerColor = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 10; _local3.textAlign = "right"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = 11; _local3.textAlign = "center"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration()); _local3.color = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 12; _local3.fontWeight = "bold"; _local3.textAlign = "center"; } function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) { if (typeof(r) == "object") { var _local18 = r.br; var _local16 = r.bl; var _local15 = r.tl; var _local10 = r.tr; } else { var _local10 = r; var _local15 = _local10; var _local16 = _local15; var _local18 = _local16; } if (typeof(c) == "object") { if (typeof(alpha) != "object") { var _local9 = [alpha, alpha]; } else { var _local9 = alpha; } if (ratios == undefined) { ratios = [0, 255]; } var _local14 = h * 0.7; if (typeof(rot) != "object") { var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */}; } else { var _local11 = rot; } if (gradient == "radial") { beginGradientFill("radial", c, _local9, ratios, _local11); } else { beginGradientFill("linear", c, _local9, ratios, _local11); } } else if (c != undefined) { beginFill(c, alpha); } r = _local18; var _local13 = r - (r * 0.707106781186547); var _local12 = r - (r * 0.414213562373095); moveTo(x + w, (y + h) - r); lineTo(x + w, (y + h) - r); curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13); curveTo((x + w) - _local12, y + h, (x + w) - r, y + h); r = _local16; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x + r, y + h); curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13); curveTo(x, (y + h) - _local12, x, (y + h) - r); r = _local15; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x, y + r); curveTo(x, y + _local12, x + _local13, y + _local13); curveTo(x + _local12, y, x + r, y); r = _local10; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo((x + w) - r, y); curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13); curveTo(x + w, y + _local12, x + w, y + r); lineTo(x + w, (y + h) - r); if (c != undefined) { endFill(); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); setThemeDefaults(); mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; static var UIObjectDependency = mx.core.UIObject; }
Symbol 169 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent { var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, lastMouse, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, findFocusFromObject; function FocusManager () { super(); } function get defaultPushButton() { return(__defaultPushButton); } function set defaultPushButton(x) { if (x != __defaultPushButton) { __defaultPushButton.__set__emphasized(false); __defaultPushButton = x; defPushButton = x; x.__set__emphasized(true); } //return(defaultPushButton); } function getMaxTabIndex(o) { var _local3 = 0; var _local6; for (_local6 in o) { var _local2 = o[_local6]; if (_local2._parent == o) { if (_local2.tabIndex != undefined) { if (_local2.tabIndex > _local3) { _local3 = _local2.tabIndex; } } if (_local2.tabChildren == true) { var _local4 = getMaxTabIndex(_local2); if (_local4 > _local3) { _local3 = _local4; } } } } return(_local3); } function getNextTabIndex(Void) { return(getMaxTabIndex(form) + 1); } function get nextTabIndex() { return(getNextTabIndex()); } function relocate(Void) { var _local2 = mx.managers.SystemManager.__get__screen(); move(_local2.x - 1, _local2.y - 1); } function init(Void) { super.init(); tabEnabled = false; _width = (_height = 1); _x = (_y = -1); _alpha = 0; _parent.focusManager = this; _parent.tabChildren = true; _parent.tabEnabled = false; form = _parent; _parent.addEventListener("hide", this); _parent.addEventListener("reveal", this); mx.managers.SystemManager.init(); mx.managers.SystemManager.addFocusManager(form); tabCapture.tabIndex = 0; watch("enabled", enabledChanged); Selection.addListener(this); lastMouse = new Object(); _global.ASSetPropFlags(_parent, "focusManager", 1); _global.ASSetPropFlags(_parent, "tabChildren", 1); _global.ASSetPropFlags(_parent, "tabEnabled", 1); } function enabledChanged(id, oldValue, newValue) { _visible = newValue; return(newValue); } function activate(Void) { Key.addListener(this); activated = (_visible = true); if (lastFocus != undefined) { bNeedFocus = true; if (!mx.managers.SystemManager.isMouseDown) { doLater(this, "restoreFocus"); } } } function deactivate(Void) { Key.removeListener(this); activated = (_visible = false); var _local2 = getSelectionFocus(); var _local3 = getActualFocus(_local2); if (isOurFocus(_local3)) { lastSelFocus = _local2; lastFocus = _local3; } cancelAllDoLaters(); } function isOurFocus(o) { if (o.focusManager == this) { return(true); } while (o != undefined) { if (o.focusManager != undefined) { return(false); } if (o._parent == _parent) { return(true); } o = o._parent; } return(false); } function onSetFocus(o, n) { if (n == null) { if (activated) { bNeedFocus = true; } } else { var _local2 = getFocus(); if (isOurFocus(_local2)) { bNeedFocus = false; lastFocus = _local2; lastSelFocus = n; } } } function restoreFocus(Void) { var _local2 = lastSelFocus.hscroll; if (_local2 != undefined) { var _local5 = lastSelFocus.scroll; var _local4 = lastSelFocus.background; } lastFocus.setFocus(); var _local3 = Selection; Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex); if (_local2 != undefined) { lastSelFocus.scroll = _local5; lastSelFocus.hscroll = _local2; lastSelFocus.background = _local4; } } function onUnload(Void) { mx.managers.SystemManager.removeFocusManager(form); } function setFocus(o) { if (o == null) { Selection.setFocus(null); } else if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } function getActualFocus(o) { var _local1 = o._parent; while (_local1 != undefined) { if (_local1.focusTextField != undefined) { while (_local1.focusTextField != undefined) { o = _local1; _local1 = _local1._parent; if (_local1 == undefined) { return(undefined); } if (_local1.focusTextField == undefined) { return(o); } } } if (_local1.tabEnabled != true) { return(o); } o = _local1; _local1 = o._parent; } return(undefined); } function getSelectionFocus() { var m = Selection.getFocus(); var o = eval (m); return(o); } function getFocus(Void) { var _local2 = getSelectionFocus(); return(getActualFocus(_local2)); } function walkTree(p, index, groupName, dir, lookup, firstChild) { var _local5 = true; var _local11; for (_local11 in p) { var _local2 = p[_local11]; if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_local2 != _lastTarget) { if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) { continue; } if ((_local2 instanceof TextField) && (_local2.selectable == false)) { continue; } if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) { if (firstChild) { _firstNode = _local2; firstChild = false; } } if (_nextIsNext == true) { if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) { _nextNode = _local2; } } if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) { if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) { } else { _lastx = _local2; } } } else { _prevNode = _lastx; _needPrev = false; _nextIsNext = true; } if (_local2.tabIndex != undefined) { if (_local2.tabIndex == index) { if (_foundList[_local2._name] == undefined) { if (_needPrev) { _prevObj = _local2; _needPrev = false; } _nextObj = _local2; } } if (dir && (_local2.tabIndex > index)) { if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) { _nextObj = _local2; } } else if ((!dir) && (_local2.tabIndex < index)) { if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) { _prevObj = _local2; } } if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) { _firstObj = _local2; } if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) { _lastObj = _local2; } } if (_local2.tabChildren) { getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) { if (_local2 == _lastTarget) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_prevNode == undefined) { var _local3 = _lastx; var _local7 = false; while (_local3 != undefined) { if (_local3 == _local2) { _local7 = true; break; } _local3 = _local3._parent; } if (_local7 == false) { _prevNode = _lastx; } } _needPrev = false; if (_nextNode == undefined) { _nextIsNext = true; } } else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } } _lastNode = _lastx; if (lookup) { if (p._parent != undefined) { if (p != _parent) { if ((_prevNode == undefined) && (dir)) { _needPrev = true; } else if ((_nextNode == undefined) && (!dir)) { _nextIsNext = false; } _lastTarget = _lastTarget._parent; getTabCandidate(p._parent, index, groupName, dir, true); } } } } function getTabCandidate(o, index, groupName, dir, firstChild) { var _local2; var _local3 = true; if (o == _parent) { _local2 = o; _local3 = false; } else { _local2 = o._parent; if (_local2 == undefined) { _local2 = o; _local3 = false; } } walkTree(_local2, index, groupName, dir, _local3, firstChild); } function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) { walkTree(o, index, groupName, dir, false, firstChild); } function getFocusManagerFromObject(o) { while (o != undefined) { if (o.focusManager != undefined) { return(o.focusManager); } o = o._parent; } return(undefined); } function tabHandler(Void) { bDrawFocus = true; var _local5 = getSelectionFocus(); var _local4 = getActualFocus(_local5); if (_local4 != _local5) { _local5 = _local4; } if (getFocusManagerFromObject(_local5) != this) { _local5 == undefined; } if (_local5 == undefined) { _local5 = form; } else if (_local5.tabIndex != undefined) { if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) { _foundList = new Object(); _foundList.tabIndex = _local5.tabIndex; } _foundList[_local5._name] = _local5; } var _local3 = Key.isDown(16) != true; _searchKey = getTimer(); _needPrev = true; _nextIsNext = false; _lastx = undefined; _firstNode = undefined; _lastNode = undefined; _nextNode = undefined; _prevNode = undefined; _firstObj = undefined; _lastObj = undefined; _nextObj = undefined; _prevObj = undefined; _lastTarget = _local5; var _local6 = _local5; getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true); var _local2; if (_local3) { if (_nextObj != undefined) { _local2 = _nextObj; } else { _local2 = _firstObj; } } else if (_prevObj != undefined) { _local2 = _prevObj; } else { _local2 = _lastObj; } if (_local2.tabIndex != _local5.tabIndex) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; _foundList[_local2._name] = _local2; } else { if (_foundList == undefined) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; } _foundList[_local2._name] = _local2; } if (_local2 == undefined) { if (_local3 == false) { if (_nextNode != undefined) { _local2 = _nextNode; } else { _local2 = _firstNode; } } else if ((_prevNode == undefined) || (_local5 == form)) { _local2 = _lastNode; } else { _local2 = _prevNode; } } if (_local2 == undefined) { return(undefined); } lastTabFocus = _local2; setFocus(_local2); if (_local2.emphasized != undefined) { if (defPushButton != undefined) { _local5 = defPushButton; defPushButton = _local2; _local5.emphasized = false; _local2.emphasized = true; } } else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) { _local5 = defPushButton; defPushButton = __defaultPushButton; _local5.emphasized = false; __defaultPushButton.__set__emphasized(true); } } function onKeyDown(Void) { mx.managers.SystemManager.idleFrames = 0; if (defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (defaultPushButton != undefined) { doLater(this, "sendDefaultPushButtonEvent"); } } } } function sendDefaultPushButtonEvent(Void) { defPushButton.dispatchEvent({type:"click"}); } function getMousedComponentFromChildren(x, y, o) { for (var _local7 in o) { var _local2 = o[_local7]; if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) { _local2._searchKey = _searchKey; if (_local2.hitTest(x, y, true)) { if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) { return(_local2); } var _local3 = getMousedComponentFromChildren(x, y, _local2); if (_local3 != undefined) { return(_local3); } return(_local2); } } } return(undefined); } function mouseActivate(Void) { if (!bNeedFocus) { return(undefined); } _searchKey = getTimer(); var _local2 = getMousedComponentFromChildren(lastMouse.x, lastMouse.y, form); if (_local2 instanceof mx.core.UIComponent) { return(undefined); } _local2 = findFocusFromObject(_local2); if (_local2 == lastFocus) { return(undefined); } if (_local2 == undefined) { doLater(this, "restoreFocus"); return(undefined); } var _local3 = _local2.hscroll; if (_local3 != undefined) { var _local6 = _local2.scroll; var _local5 = _local2.background; } setFocus(_local2); var _local4 = Selection; Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex); if (_local3 != undefined) { _local2.scroll = _local6; _local2.hscroll = _local3; _local2.background = _local5; } } function _onMouseDown(Void) { bDrawFocus = false; if (lastFocus != undefined) { lastFocus.drawFocus(false); } mx.managers.SystemManager.idleFrames = 0; var _local3 = Selection; _local3.lastBeginIndex = Selection.getBeginIndex(); _local3.lastEndIndex = Selection.getEndIndex(); lastMouse.x = _root._xmouse; lastMouse.y = _root._ymouse; _root.localToGlobal(lastMouse); } function onMouseUp(Void) { if (_visible) { doLater(this, "mouseActivate"); } } function handleEvent(e) { if (e.type == "reveal") { mx.managers.SystemManager.activate(form); } else { mx.managers.SystemManager.deactivate(form); } } static function enableFocusManagement() { if (!initialized) { initialized = true; Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } } } static var symbolName = "FocusManager"; static var symbolOwner = mx.managers.FocusManager; static var version = "2.0.1.78"; var className = "FocusManager"; var bNeedFocus = false; var bDrawFocus = false; var defaultPushButtonEnabled = true; var activated = true; static var initialized = false; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 170 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement { var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible; function FocusRect () { super(); boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function draw(o) { o.adjustFocusRect(); } function setSize(w, h, r, a, rectCol) { _xscale = (_yscale = 100); clear(); if (typeof(r) == "object") { r.br = ((r.br > 2) ? (r.br - 2) : 0); r.bl = ((r.bl > 2) ? (r.bl - 2) : 0); r.tr = ((r.tr > 2) ? (r.tr - 2) : 0); r.tl = ((r.tl > 2) ? (r.tl - 2) : 0); beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, r); endFill(); r.br = ((r.br > 1) ? (r.br + 1) : 0); r.bl = ((r.bl > 1) ? (r.bl + 1) : 0); r.tr = ((r.tr > 1) ? (r.tr + 1) : 0); r.tl = ((r.tl > 1) ? (r.tl + 1) : 0); beginFill(rectCol, a * 0.3); drawRoundRect(1, 1, w - 2, h - 2, r); r.br = ((r.br > 1) ? (r.br - 1) : 0); r.bl = ((r.bl > 1) ? (r.bl - 1) : 0); r.tr = ((r.tr > 1) ? (r.tr - 1) : 0); r.tl = ((r.tl > 1) ? (r.tl - 1) : 0); drawRoundRect(2, 2, w - 4, h - 4, r); endFill(); } else { var _local5; if (r != 0) { _local5 = r - 2; } else { _local5 = 0; } beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); beginFill(rectCol, a * 0.3); if (r != 0) { _local5 = r - 2; r = r - 1; } else { _local5 = 0; r = 0; } drawRoundRect(1, 1, w - 2, h - 2, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); } } function handleEvent(e) { if (e.type == "unload") { _visible = true; } else if (e.type == "resize") { e.target.adjustFocusRect(); } else if (e.type == "move") { e.target.adjustFocusRect(); } } static function classConstruct() { mx.core.UIComponent.prototype.drawFocus = function (focused) { var _local2 = this._parent.focus_mc; if (!focused) { _local2._visible = false; this.removeEventListener("unload", _local2); this.removeEventListener("move", _local2); this.removeEventListener("resize", _local2); } else { if (_local2 == undefined) { _local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop); _local2.tabEnabled = false; this._parent.focus_mc = _local2; } else { _local2._visible = true; } _local2.draw(this); if (_local2.getDepth() < this.getDepth()) { _local2.setDepthAbove(this); } this.addEventListener("unload", _local2); this.addEventListener("move", _local2); this.addEventListener("resize", _local2); } }; mx.core.UIComponent.prototype.adjustFocusRect = function () { var _local2 = this.getStyle("themeColor"); if (_local2 == undefined) { _local2 = 8453965 /* 0x80FF4D */; } var _local3 = this._parent.focus_mc; _local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2); _local3.move(this.x - 2, this.y - 2); }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect; mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return(true); } static var classConstructed = classConstruct(); static var DefaultsDependency = mx.skins.halo.Defaults; static var UIComponentDependency = mx.core.UIComponent; }
Symbol 171 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows { function OverlappedWindows () { } static function checkIdle(Void) { if (mx.managers.SystemManager.idleFrames > 10) { mx.managers.SystemManager.dispatchEvent({type:"idle"}); } else { mx.managers.SystemManager.idleFrames++; } } static function __addEventListener(e, o, l) { if (e == "idle") { if (mx.managers.SystemManager.interval == undefined) { mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100); } } mx.managers.SystemManager._xAddEventListener(e, o, l); } static function __removeEventListener(e, o, l) { if (e == "idle") { if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) { clearInterval(mx.managers.SystemManager.interval); } } else { mx.managers.SystemManager._xRemoveEventListener(e, o, l); } } static function onMouseDown(Void) { mx.managers.SystemManager.idleFrames = 0; mx.managers.SystemManager.isMouseDown = true; var _local5 = _root; var _local3; var _local8 = _root._xmouse; var _local7 = _root._ymouse; if (mx.managers.SystemManager.form.modalWindow == undefined) { if (mx.managers.SystemManager.forms.length > 1) { var _local6 = mx.managers.SystemManager.forms.length; var _local4; _local4 = 0; while (_local4 < _local6) { var _local2 = mx.managers.SystemManager.forms[_local4]; if (_local2._visible) { if (_local2.hitTest(_local8, _local7)) { if (_local3 == undefined) { _local3 = _local2.getDepth(); _local5 = _local2; } else if (_local3 < _local2.getDepth()) { _local3 = _local2.getDepth(); _local5 = _local2; } } } _local4++; } if (_local5 != mx.managers.SystemManager.form) { mx.managers.SystemManager.activate(_local5); } } } var _local9 = mx.managers.SystemManager.form; _local9.focusManager._onMouseDown(); } static function onMouseMove(Void) { mx.managers.SystemManager.idleFrames = 0; } static function onMouseUp(Void) { mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.idleFrames = 0; } static function activate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) { var _local1 = mx.managers.SystemManager.form; _local1.focusManager.deactivate(); } } mx.managers.SystemManager.form = f; f.focusManager.activate(); } static function deactivate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) { var _local5 = mx.managers.SystemManager.form; _local5.focusManager.deactivate(); var _local3 = mx.managers.SystemManager.forms.length; var _local1; var _local2; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { _local1 = _local1 + 1; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } mx.managers.SystemManager.form = _local2; break; } if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } _local5 = mx.managers.SystemManager.form; _local5.focusManager.activate(); } } } static function addFocusManager(f) { mx.managers.SystemManager.forms.push(f); mx.managers.SystemManager.activate(f); } static function removeFocusManager(f) { var _local3 = mx.managers.SystemManager.forms.length; var _local1; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { if (mx.managers.SystemManager.form == f) { mx.managers.SystemManager.deactivate(f); } mx.managers.SystemManager.forms.splice(_local1, 1); return(undefined); } _local1++; } } static function enableOverlappedWindows() { if (!initialized) { initialized = true; mx.managers.SystemManager.checkIdle = checkIdle; mx.managers.SystemManager.__addEventListener = __addEventListener; mx.managers.SystemManager.__removeEventListener = __removeEventListener; mx.managers.SystemManager.onMouseDown = onMouseDown; mx.managers.SystemManager.onMouseMove = onMouseMove; mx.managers.SystemManager.onMouseUp = onMouseUp; mx.managers.SystemManager.activate = activate; mx.managers.SystemManager.deactivate = deactivate; mx.managers.SystemManager.addFocusManager = addFocusManager; mx.managers.SystemManager.removeFocusManager = removeFocusManager; } } static var initialized = false; static var SystemManagerDependency = mx.managers.SystemManager; }
Symbol 172 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle { var styleName, stylecache, _color, setColor, invalidateStyle; function CSSSetStyle () { } function _setStyle(styleProp, newValue) { this[styleProp] = newValue; if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) { if (styleProp == "color") { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } } _level0.changeTextStyleInChildren(styleProp); return(undefined); } if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } if (styleProp == "themeColor") { var _local7 = mx.styles.StyleManager.colorNames.haloBlue; var _local6 = mx.styles.StyleManager.colorNames.haloGreen; var _local8 = mx.styles.StyleManager.colorNames.haloOrange; var _local4 = {}; _local4[_local7] = 12188666 /* 0xB9FBFA */; _local4[_local6] = 13500353 /* 0xCDFFC1 */; _local4[_local8] = 16766319 /* 0xFFD56F */; var _local5 = {}; _local5[_local7] = 13958653 /* 0xD4FDFD */; _local5[_local6] = 14942166 /* 0xE3FFD6 */; _local5[_local8] = 16772787 /* 0xFFEEB3 */; var _local9 = _local4[newValue]; var _local10 = _local5[newValue]; if (_local9 == undefined) { _local9 = newValue; } if (_local10 == undefined) { _local10 = newValue; } setStyle("selectionColor", _local9); setStyle("rollOverColor", _local10); } _level0.changeColorStyleInChildren(styleName, styleProp, newValue); } else { if ((styleProp == "backgroundColor") && (isNaN(newValue))) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } _level0.notifyStyleChangeInChildren(styleName, styleProp, newValue); } } function changeTextStyleInChildren(styleProp) { var _local4 = getTimer(); var _local5; for (_local5 in this) { var _local2 = this[_local5]; if (_local2._parent == this) { if (_local2.searchKey != _local4) { if (_local2.stylecache != undefined) { delete _local2.stylecache.tf; delete _local2.stylecache[styleProp]; } _local2.invalidateStyle(styleProp); _local2.changeTextStyleInChildren(styleProp); _local2.searchKey = _local4; } } } } function changeColorStyleInChildren(sheetName, colorStyle, newValue) { var _local6 = getTimer(); var _local7; for (_local7 in this) { var _local2 = this[_local7]; if (_local2._parent == this) { if (_local2.searchKey != _local6) { if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) { if (_local2.stylecache != undefined) { delete _local2.stylecache[colorStyle]; } if (typeof(_local2._color) == "string") { if (_local2._color == colorStyle) { var _local4 = _local2.getStyle(colorStyle); if (colorStyle == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = _local4; } } _local2.setColor(_local4); } } else if (_local2._color[colorStyle] != undefined) { if (typeof(_local2) != "movieclip") { _local2._parent.invalidateStyle(); } else { _local2.invalidateStyle(colorStyle); } } } _local2.changeColorStyleInChildren(sheetName, colorStyle, newValue); _local2.searchKey = _local6; } } } } function notifyStyleChangeInChildren(sheetName, styleProp, newValue) { var _local5 = getTimer(); var _local6; for (_local6 in this) { var _local2 = this[_local6]; if (_local2._parent == this) { if (_local2.searchKey != _local5) { if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) { if (_local2.stylecache != undefined) { delete _local2.stylecache[styleProp]; delete _local2.stylecache.tf; } delete _local2.enabledColor; _local2.invalidateStyle(styleProp); } _local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue); _local2.searchKey = _local5; } } } } function setStyle(styleProp, newValue) { if (stylecache != undefined) { delete stylecache[styleProp]; delete stylecache.tf; } this[styleProp] = newValue; if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } if (styleProp == "themeColor") { var _local10 = mx.styles.StyleManager.colorNames.haloBlue; var _local9 = mx.styles.StyleManager.colorNames.haloGreen; var _local11 = mx.styles.StyleManager.colorNames.haloOrange; var _local6 = {}; _local6[_local10] = 12188666 /* 0xB9FBFA */; _local6[_local9] = 13500353 /* 0xCDFFC1 */; _local6[_local11] = 16766319 /* 0xFFD56F */; var _local7 = {}; _local7[_local10] = 13958653 /* 0xD4FDFD */; _local7[_local9] = 14942166 /* 0xE3FFD6 */; _local7[_local11] = 16772787 /* 0xFFEEB3 */; var _local12 = _local6[newValue]; var _local13 = _local7[newValue]; if (_local12 == undefined) { _local12 = newValue; } if (_local13 == undefined) { _local13 = newValue; } setStyle("selectionColor", _local12); setStyle("rollOverColor", _local13); } if (typeof(_color) == "string") { if (_color == styleProp) { if (styleProp == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = newValue; } } setColor(newValue); } } else if (_color[styleProp] != undefined) { invalidateStyle(styleProp); } changeColorStyleInChildren(undefined, styleProp, newValue); } else { if ((styleProp == "backgroundColor") && (isNaN(newValue))) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } invalidateStyle(styleProp); } if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) { var _local8; var _local5 = newValue; if (styleProp == "styleName") { _local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5)); _local5 = _local8.themeColor; if (_local5 != undefined) { _local8.rollOverColor = (_local8.selectionColor = _local5); } } notifyStyleChangeInChildren(undefined, styleProp, newValue); } } static function enableRunTimeCSS() { } static function classConstruct() { var _local2 = MovieClip.prototype; var _local3 = mx.styles.CSSSetStyle.prototype; mx.styles.CSSStyleDeclaration.prototype.setStyle = _local3._setStyle; _local2.changeTextStyleInChildren = _local3.changeTextStyleInChildren; _local2.changeColorStyleInChildren = _local3.changeColorStyleInChildren; _local2.notifyStyleChangeInChildren = _local3.notifyStyleChangeInChildren; _local2.setStyle = _local3.setStyle; _global.ASSetPropFlags(_local2, "changeTextStyleInChildren", 1); _global.ASSetPropFlags(_local2, "changeColorStyleInChildren", 1); _global.ASSetPropFlags(_local2, "notifyStyleChangeInChildren", 1); _global.ASSetPropFlags(_local2, "setStyle", 1); var _local4 = TextField.prototype; _local4.setStyle = _local2.setStyle; _local4.changeTextStyleInChildren = _local3.changeTextStyleInChildren; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; }
Symbol 173 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions { function UIComponentExtensions () { } static function Extensions() { if (bExtended == true) { return(true); } bExtended = true; TextField.prototype.setFocus = function () { Selection.setFocus(this); }; TextField.prototype.onSetFocus = function (oldFocus) { if (this.tabEnabled != false) { if (this.getFocusManager().bDrawFocus) { this.drawFocus(true); } } }; TextField.prototype.onKillFocus = function (oldFocus) { if (this.tabEnabled != false) { this.drawFocus(false); } }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager; mx.managers.OverlappedWindows.enableOverlappedWindows(); mx.styles.CSSSetStyle.enableRunTimeCSS(); mx.managers.FocusManager.enableFocusManagement(); } static var bExtended = false; static var UIComponentExtended = Extensions(); static var UIComponentDependency = mx.core.UIComponent; static var FocusManagerDependency = mx.managers.FocusManager; static var OverlappedWindowsDependency = mx.managers.OverlappedWindows; }
Symbol 174 MovieClip [__Packages.mx.skins.halo.RectBorder] Frame 0
class mx.skins.halo.RectBorder extends mx.skins.RectBorder { var offset, getStyle, borderStyleName, __borderMetrics, className, borderColorName, backgroundColorName, shadowColorName, highlightColorName, buttonColorName, __get__width, __get__height, clear, _color, drawRoundRect, beginFill, drawRect, endFill; function RectBorder () { super(); } function init(Void) { borderWidths.default = 3; super.init(); } function getBorderMetrics(Void) { if (offset == undefined) { var _local3 = getStyle(borderStyleName); offset = borderWidths[_local3]; } if ((getStyle(borderStyleName) == "default") || (getStyle(borderStyleName) == "alert")) { __borderMetrics = {left:3, top:1, right:3, bottom:3}; return(__borderMetrics); } return(super.getBorderMetrics()); } function drawBorder(Void) { var _local6 = _global.styles[className]; if (_local6 == undefined) { _local6 = _global.styles.RectBorder; } var _local5 = getStyle(borderStyleName); var _local7 = getStyle(borderColorName); if (_local7 == undefined) { _local7 = _local6[borderColorName]; } var _local8 = getStyle(backgroundColorName); if (_local8 == undefined) { _local8 = _local6[backgroundColorName]; } var _local16 = getStyle("backgroundImage"); if (_local5 != "none") { var _local14 = getStyle(shadowColorName); if (_local14 == undefined) { _local14 = _local6[shadowColorName]; } var _local13 = getStyle(highlightColorName); if (_local13 == undefined) { _local13 = _local6[highlightColorName]; } var _local12 = getStyle(buttonColorName); if (_local12 == undefined) { _local12 = _local6[buttonColorName]; } var _local11 = getStyle(borderCapColorName); if (_local11 == undefined) { _local11 = _local6[borderCapColorName]; } var _local10 = getStyle(shadowCapColorName); if (_local10 == undefined) { _local10 = _local6[shadowCapColorName]; } } offset = borderWidths[_local5]; var _local9 = offset; var _local3 = __get__width(); var _local4 = __get__height(); clear(); _color = undefined; if (_local5 == "none") { } else if (_local5 == "inset") { _color = colorList; draw3dBorder(_local11, _local12, _local7, _local13, _local14, _local10); } else if (_local5 == "outset") { _color = colorList; draw3dBorder(_local11, _local7, _local12, _local14, _local13, _local10); } else if (_local5 == "alert") { var _local15 = getStyle("themeColor"); drawRoundRect(0, 5, _local3, _local4 - 5, 5, 6184542, 10); drawRoundRect(1, 4, _local3 - 2, _local4 - 5, 4, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, _local15, 50); drawRoundRect(3, 1, _local3 - 6, _local4 - 4, 2, 16777215, 100); } else if (_local5 == "default") { drawRoundRect(0, 5, _local3, _local4 - 5, {tl:5, tr:5, br:0, bl:0}, 6184542, 10); drawRoundRect(1, 4, _local3 - 2, _local4 - 5, {tl:4, tr:4, br:0, bl:0}, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, {tl:3, tr:3, br:0, bl:0}, [12897484, 11844796], 100, 0, "radial"); drawRoundRect(3, 1, _local3 - 6, _local4 - 4, {tl:2, tr:2, br:0, bl:0}, 16777215, 100); } else if (_local5 == "dropDown") { drawRoundRect(0, 0, _local3 + 1, _local4, {tl:4, tr:0, br:0, bl:4}, [13290186, 7895160], 100, -10, "linear"); drawRoundRect(1, 1, _local3 - 1, _local4 - 2, {tl:3, tr:0, br:0, bl:3}, 16777215, 100); } else if (_local5 == "menuBorder") { var _local15 = getStyle("themeColor"); drawRoundRect(4, 4, _local3 - 2, _local4 - 3, 0, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(4, 4, _local3 - 1, _local4 - 2, 0, 6184542, 10); drawRoundRect(0, 0, _local3 + 1, _local4, 0, [0, 14342874], 100, 250, "linear"); drawRoundRect(0, 0, _local3 + 1, _local4, 0, _local15, 50); drawRoundRect(2, 2, _local3 - 3, _local4 - 4, 0, 16777215, 100); } else if (_local5 == "comboNonEdit") { } else { beginFill(_local7); drawRect(0, 0, _local3, _local4); drawRect(1, 1, _local3 - 1, _local4 - 1); endFill(); _color = borderColorName; } if (_local8 != undefined) { beginFill(_local8); drawRect(_local9, _local9, __get__width() - _local9, __get__height() - _local9); endFill(); } } function draw3dBorder(c1, c2, c3, c4, c5, c6) { var _local3 = __get__width(); var _local2 = __get__height(); beginFill(c1); drawRect(0, 0, _local3, _local2); drawRect(1, 0, _local3 - 1, _local2); endFill(); beginFill(c2); drawRect(1, 0, _local3 - 1, 1); endFill(); beginFill(c3); drawRect(1, _local2 - 1, _local3 - 1, _local2); endFill(); beginFill(c4); drawRect(1, 1, _local3 - 1, 2); endFill(); beginFill(c5); drawRect(1, _local2 - 2, _local3 - 1, _local2 - 1); endFill(); beginFill(c6); drawRect(1, 2, _local3 - 1, _local2 - 2); drawRect(2, 2, _local3 - 2, _local2 - 2); endFill(); } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = mx.skins.halo.RectBorder; _global.skinRegistry.RectBorder = true; return(true); } static var symbolName = "RectBorder"; static var symbolOwner = mx.skins.halo.RectBorder; static var version = "2.0.1.78"; var borderCapColorName = "borderCapColor"; var shadowCapColorName = "shadowCapColor"; var colorList = {highlightColor:0, borderColor:0, buttonColor:0, shadowColor:0, borderCapColor:0, shadowCapColor:0}; var borderWidths = {none:0, solid:1, inset:2, outset:2, alert:3, dropDown:2, menuBorder:2, comboNonEdit:2}; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 175 MovieClip [__Packages.mx.skins.halo.ButtonSkin] Frame 0
class mx.skins.halo.ButtonSkin extends mx.skins.RectBorder { var __get__width, __get__height, getStyle, _parent, clear, drawRoundRect, __get__x, __get__y; function ButtonSkin () { super(); } function init() { super.init(); } function size() { drawHaloRect(__get__width(), __get__height()); } function drawHaloRect(w, h) { var _local6 = getStyle("borderStyle"); var _local4 = getStyle("themeColor"); var _local5 = _parent.emphasized; clear(); switch (_local6) { case "falseup" : if (_local5) { drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 75); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 75); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); } else { drawRoundRect(0, 0, w, h, 5, 9542041, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, "radial"); drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, "radial"); drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100); } break; case "falsedown" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20); break; case "falserollover" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 50); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case "falsedisabled" : drawRoundRect(0, 0, w, h, 5, 13159628, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); break; case "trueup" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16250871, 100); break; case "truedown" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20); break; case "truerollover" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 40); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case "truedisabled" : drawRoundRect(0, 0, w, h, 5, 13159628, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.skinRegistry.ButtonSkin = true; return(true); } static var symbolName = "ButtonSkin"; static var symbolOwner = mx.skins.halo.ButtonSkin; var className = "ButtonSkin"; var backgroundColorName = "buttonColor"; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 176 MovieClip [__Packages.mx.controls.VScrollBar] Frame 0
class mx.controls.VScrollBar extends mx.controls.scrollClasses.ScrollBar { var scrollIt; function VScrollBar () { super(); } function init(Void) { super.init(); } function isScrollBarKey(k) { if (k == 38) { scrollIt("Line", -1); return(true); } if (k == 40) { scrollIt("Line", 1); return(true); } if (k == 33) { scrollIt("Page", -1); return(true); } if (k == 34) { scrollIt("Page", 1); return(true); } return(super.isScrollBarKey(k)); } static var symbolName = "VScrollBar"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.1.78"; var className = "VScrollBar"; var minusMode = "Up"; var plusMode = "Down"; var minMode = "AtTop"; var maxMode = "AtBottom"; }
Symbol 177 MovieClip [__Packages.mx.data.components.WebServiceConnector] Frame 0
class mx.data.components.WebServiceConnector extends MovieClip { var WSDLURL, addProperty, _visible, realWSDLURL, service, dispatchEvent, results, operation, multipleSimultaneousAllowed, refreshAndValidate, suppressInvalidCalls, params; function WebServiceConnector () { super(); mx.events.EventDispatcher.initialize(this); mx.data.binding.ComponentMixins.initComponent(this); if ((WSDLURL.length > 0) == true) { setWSDLURL(WSDLURL); } addProperty("WSDLURL", getWSDLURL, setWSDLURL); _visible = false; } function setWSDLURL(url) { realWSDLURL = url; service = allServices[realWSDLURL]; if (service == null) { _global.__dataLogger.logData(this, "Creating WebService object for <WSDLURL>", {WSDLURL:WSDLURL}); service = new mx.services.WebService(realWSDLURL); allServices[realWSDLURL] = service; var _local3 = function (fault) { this.lastFault = fault; }; service.onFault = _local3; service.lastFault = null; } else { _global.__dataLogger.logData(this, "Will use already-created WebService object for <WSDLURL>", {WSDLURL:WSDLURL}); } } function getWSDLURL() { return(realWSDLURL); } function notifyInfo() { notifyStatus("StatusChange", {callsInProgress:callsInProgress}); } function bumpCallsInProgress(amount) { callsInProgress = callsInProgress + amount; notifyInfo(); } function notifyStatus(code, data) { var _local2 = new Object(); _local2.type = "status"; _local2.code = code; _local2.data = data; dispatchEvent(_local2); } function setResult(r, pendingCall) { if (Object(this).__schema.multiPartResult) { if (typeof(pendingCall.getOutputParameters) != "function") { pendingCall.getOutputParameters = mx.services.PendingCall.prototype.getOutputParameters; } var _local8 = mx.data.binding.FieldAccessor.findElementType(Object(this).__schema, "results"); var _local5 = pendingCall.getOutputParameters(); var _local4 = new Object(); var _local6 = _local5.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local5[_local2]; _local4[_local3.name] = _local3.value; _local2++; } results = _local4; } else { results = r; } dispatchEvent({type:"result"}); } function trigger() { _global.__dataLogger.logData(this, "WebService Triggered, <WSDLURL>, <operation>", {WSDLURL:WSDLURL, operation:operation}); _global.__dataLogger.nestLevel++; if (service == null) { notifyStatus("WebServiceFault", {faultcode:"No.WSDLURL.Defined", faultstring:"the WebServiceConnector component had no WSDL URL defined"}); _global.__dataLogger.nestLevel--; return(undefined); } if (service.lastFault != null) { notifyStatus("WebServiceFault", service.lastFault); _global.__dataLogger.nestLevel--; return(undefined); } if ((!multipleSimultaneousAllowed) && (callsInProgress > 0)) { notifyStatus("CallAlreadyInProgress", callsInProgress); _global.__dataLogger.nestLevel--; return(undefined); } dispatchEvent({type:"send"}); if ((!refreshAndValidate("params")) && (suppressInvalidCalls)) { notifyStatus("InvalidParams"); _global.__dataLogger.nestLevel--; return(undefined); } var _local3 = new Array(); if (params instanceof Array) { var _local7 = 0; while (_local7 < params.length) { _local3.push(params[_local7]); _local7++; } _global.__dataLogger.logData(this, "Parameters to <operation> will be sent in the order you've provided", {WSDLURL:WSDLURL, operation:operation}); } else { var _local5 = mx.data.binding.FieldAccessor.findElementType(Object(this).__schema, "params"); if (_local5 != null) { var _local7 = 0; while (_local7 < _local5.elements.length) { var _local4 = _local5.elements[_local7].name; _local3.push(params[_local4]); _local7++; } _global.__dataLogger.logData(this, "Parameters to <operation> will be sent in the order defined in the schema", {WSDLURL:WSDLURL, operation:operation}); } else { for (var _local7 in params) { _local3.push(params[_local7]); } _global.__dataLogger.logData(this, "No schema information available - parameters to <operation> will be sent in a unknown order", {WSDLURL:WSDLURL, operation:operation}); } } _global.__dataLogger.logData(this, "Invoking <operation>(<params>)", {WSDLURL:WSDLURL, operation:operation, params:_local3}); var _local6 = service.stub.invokeOperation(operation, _local3); if (_local6 == null) { if (service.lastFault != null) { notifyStatus("WebServiceFault", service.lastFault); service.lastFault = null; } else { notifyStatus("WebServiceFault", {faultcode:"Unknown.Call.Failure", faultstring:"WebService invocation failed for unknown reasons"}); } } else { bumpCallsInProgress(1); _local6.WebServiceConnector = this; _local6.onResult = function (result) { this.WebServiceConnector.setResult(result, this); this.WebServiceConnector.bumpCallsInProgress(-1); }; _local6.onFault = function (fault) { this.WebServiceConnector.notifyStatus("WebServiceFault", fault); this.WebServiceConnector.bumpCallsInProgress(-1); }; } _global.__dataLogger.nestLevel--; } function onUpdate() { _visible = true; } static var allServices = new Array(); var callsInProgress = 0; }
Symbol 182 MovieClip [__Packages.mx.services.WebService] Frame 0
class mx.services.WebService { var _name, _portName, _description, _proxyURI, _endpointReplacementURI, _timeout, gotWSDL, stub, __resolve; function WebService (wsdlLocation, logObj, proxyURI, endpointProxyURI, serviceName, portName) { mx.services.Namespace.setup(); _name = serviceName; _portName = portName; _description = null; _proxyURI = proxyURI; _endpointReplacementURI = endpointProxyURI; _timeout = -1; gotWSDL = false; stub = new mx.services.WebServiceProxy(this, wsdlLocation, logObj); __resolve = function (methodName) { return(function () { return(this.stub.invokeOperation(methodName, arguments)); }); }; } function getCall(operationName) { return(stub.getCall(operationName)); } function onLoad(wsdl) { } function onFault(fault) { } }
Symbol 183 MovieClip [__Packages.mx.services.Log] Frame 0
class mx.services.Log { var level, name; function Log (logLevel, name) { level = ((logLevel == undefined) ? (BRIEF) : (logLevel)); this.name = ((name == undefined) ? "" : (name)); } function logInfo(msg, level) { if (level == undefined) { level = BRIEF; } if (level <= this.level) { if (level == DEBUG) { onLog((((getDateString() + " [DEBUG] ") + name) + ": ") + msg); } else { onLog((((getDateString() + " [INFO] ") + name) + ": ") + msg); } } } function logDebug(msg) { logInfo(msg, DEBUG); } function getDateString() { var _local1 = new Date(); return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds()); } function onLog(message) { trace(message); } static var NONE = -1; static var BRIEF = 0; static var VERBOSE = 1; static var DEBUG = 2; }
Symbol 184 MovieClip [__Packages.mx.services.WebServiceProxy] Frame 0
class mx.services.WebServiceProxy { var log, service, wsdlURI, wsdl, _servicePortMappings, activePort, waitingOps, callQueue; function WebServiceProxy (webservice, wsdlLocation, logObj) { log = logObj; log.logInfo("Creating stub for " + wsdlLocation, mx.services.Log.VERBOSE); service = webservice; var _local3; if (_local3 == undefined) { _local3 = service._proxyURI; } if (_local3 != undefined) { wsdlLocation = (buildURL(_local3) + "?target=") + escape(wsdlLocation); } wsdlURI = buildURL(wsdlLocation); var _local2 = new mx.services.Log(log.level, "WSDL"); _local2._parentLog = log; _local2.onLog = function (txt) { this._parentLog.onLog(txt); }; wsdl = new mx.services.WSDL(wsdlURI, this, _local2); wsdl.onLoad = function () { this.serviceProxy.onWSDL(); }; log.logInfo("Created stub for " + wsdlURI, mx.services.Log.VERBOSE); } function buildURL(url) { var _local2 = url; if ((url.indexOf("http://") == -1) && (url.indexOf("https://") == -1)) { var _local3 = _root._url.indexOf("/", 8); if (_local3 != -1) { _local2 = _root._url.substring(0, _local3) + url; } } return(_local2); } function onWSDL() { var _local12 = wsdl.fault; if (_local12 == undefined) { var _local8 = new Object(); var _local10 = wsdl.services; var _local7 = 0; var _local5 = null; var _local6 = null; for (var _local9 in _local10) { var _local4 = new Object(); var _local3 = wsdl.services[_local9].ports; for (var _local11 in _local3) { var _local2 = createCallsFromPort(_local3[_local11]); _local4[_local11] = _local2; if (_local5 == undefined) { _local5 = _local11; _local6 = _local9; } _local7++; } _local8[_local9] = _local4; } _servicePortMappings = _local8; var _local9 = service._name; var _local11 = service._portName; if ((_local9 == undefined) && (_local11 == undefined)) { if (_local7 == 1) { _local9 = _local6; _local11 = _local5; } else if (_local7 == 0) { _local12 = new mx.services.SOAPFault("WSDL.NoPorts", "There are no valid services/ports in the WSDL file!"); } else { _local12 = new mx.services.SOAPFault("WSDL.MultiplePorts", "There are multiple possible ports in the WSDL file; please specify a service name and port name!"); } } if (_local12 == undefined) { if (_local9 == undefined) { _local9 = _local6; } if (_local11 == undefined) { _local11 = _local5; } var _local13 = setPort(_local11, _local9); if (_local13 == undefined) { return(undefined); } log.logInfo((("Set active port in service stub: " + _local9) + " : ") + _local11, mx.services.Log.VERBOSE); service.gotWSDL = true; service.onLoad.call(service, wsdl.document); } } if (_local12 != undefined) { service.onFault.call(service, _local12); log.logDebug("Service stub found fault upon receiving WSDL: " + _local12.faultstring); } service.__resolve = function (operationName) { var callback = (new mx.services.PendingCall()); callback.genSingleConcurrencyFault = function () { clearInterval(this.timerID); var _local2 = new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + operationName) + "' in service!"); this.__handleFault(_local2); this.onFault(_local2); }; callback.timerID = setInterval(function () { callback.genSingleConcurrencyFault(); }, 50); return(callback); }; unEnqueueCalls(_local12); } function setPort(portName, serviceName) { var _local4 = ((serviceName == undefined) ? (service._name) : (serviceName)); var _local6 = _servicePortMappings[_local4]; if (_local6 == undefined) { service.onFault(new mx.services.SOAPFault("Client.NoSuchService", ("Couldn't find service '" + _local4) + "'")); return(undefined); } var _local3 = _servicePortMappings[_local4][portName]; if (_local3 == undefined) { service.onFault(new mx.services.SOAPFault("Client.NoSuchPort", ((("Couldn't find a matching port (service = '" + _local4) + "', port = '") + portName) + "')")); return(undefined); } for (var _local5 in activePort) { service[_local5] = undefined; } for (var _local5 in _local3) { service[_local5] = function () { return(this.stub.invokeOperation(arguments.callee.name, arguments)); }; service[_local5].name = _local5; } activePort = _local3; service._name = _local4; service._description = _servicePortMappings[_local4].description; return(activePort); } function createCallsFromPort(wsdlPort) { var _local17 = new Object(); var _local20 = wsdlPort.binding; var _local19 = _local20.portType; var _local16 = _local19.operations; var _local13 = wsdlPort.endpointURI; if (service._endpointReplacementURI != undefined) { var _local21 = _local13.indexOf("/", 7); _local13 = service._endpointReplacementURI + _local13.substring(_local21); } var _local23; var _local18 = wsdl.schemas; var _local14 = service._proxyURI; if (_local14 != undefined) { _local14 = buildURL(_local14); } var _local15 = waitingOps; var _local4; for (_local4 in _local16) { var _local3 = _local16[_local4]; var _local7 = _local3.actionURI; var _local12 = _local3.style; var _local6 = _local3.inputEncoding; var _local10 = _local6.use; var _local9 = _local6.namespaceURI; var _local11 = _local6.encodingStyle; var _local5 = new mx.services.Log(log.level, "SOAP"); _local5._parentLog = log; _local5.onLog = function (txt) { this._parentLog.onLog(txt); }; var _local8 = _local13; if (_local14 != undefined) { _local8 = (((_local14 + "?transport=SoapHttp&action=") + escape(_local7)) + "&target=") + escape(_local13); } var _local2 = _local15[_local4]; if (_local2 != undefined) { delete _local15[_local4]; } else { _local2 = new mx.services.SOAPCall(_local4); } _local2.targetNamespace = _local9; _local2.endpointURI = _local8; _local2.log = _local5; _local2.operationStyle = _local12; _local2.useStyle = _local10; _local2.encodingStyle = _local11; _local2.actionURI = _local7; _local2.schemaContext = _local18; _local2.wsdlOperation = _local3; if (_local3.description != undefined) { _local2.description = _local3.description; } _local17[_local4] = _local2; log.logInfo("Made SOAPCall for operation " + _local4, mx.services.Log.BRIEF); } return(_local17); } function invokeOperation(operationName, args) { var _local2; if (wsdl.fault != undefined) { if (wsdl.fault.faultcode == mx.services.SOAPConstants.DISCONNECTED_FAULT_CODE) { _local2 = enqueueCall(operationName, args); } else { service.onFault.call(service, wsdl.fault); } } else if ((wsdl.rootWSDL.xmlDoc == undefined) || (!wsdl.rootWSDL.xmlDoc.loaded)) { _local2 = enqueueCall(operationName, args); log.logInfo("Queing call " + operationName); } else { _local2 = invokeCall(operationName, args); if (_local2 == undefined) { var _local5 = new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + operationName) + "' in service!"); service.onFault.call(service, _local5); return(undefined); } log.logInfo("Invoking call " + operationName); } return(_local2); } function getCall(operationName) { if ((wsdl.rootWSDL.xmlDoc != undefined) && (wsdl.rootWSDL.xmlDoc.loaded)) { return(activePort[operationName]); } var _local2 = waitingOps; if (_local2 == undefined) { _local2 = new Object(); waitingOps = _local2; } var _local3 = _local2[operationName]; if (_local3 == undefined) { _local3 = new mx.services.SOAPCall(operationName); _local2[operationName] = _local3; } return(_local3); } function invokeCall(operationName, parameters) { var _local2 = activePort[operationName]; if (_local2 == undefined) { return(undefined); } if (service._timeout != -1) { _local2.timeout = service._timeout; } var _local3 = _local2.asyncInvoke(parameters, "onLoad"); return(_local3); } function enqueueCall(operationName, args) { if (callQueue == undefined) { callQueue = new Array(); } var _local2 = new Object(); _local2.operationName = operationName; _local2.args = args; _local2.cancel = function () { this.cancelled = true; }; callQueue.push(_local2); return(_local2); } function unEnqueueCalls(fault) { var _local7 = waitingOps; if (_local7 != undefined) { for (var _local10 in _local7) { var _local6 = _local7[_local10]; if (fault != undefined) { _local6.onFault(fault); continue; } var _local3 = activePort[_local10]; if (_local3 == undefined) { _local6.onFault(new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + _local10) + "' in service!")); continue; } } } var _local8 = callQueue; if (_local8 != undefined) { var _local9 = _local8.length; var _local4 = 0; while (_local4 < _local9) { var _local2 = _local8[_local4]; if (_local2.cancelled) { } else if (fault != undefined) { log.logInfo("Faulting previously queued call " + _local2.operationName); _local2.onFault(fault); } else { log.logInfo("Invoking previously queued call " + _local2.operationName); var _local3 = invokeCall(_local2.operationName, _local2.args); if (_local3 == undefined) { fault = new mx.services.SOAPFault("Client.NoSuchMethod", ("Couldn't find method '" + _local2.operationName) + "' in service!"); _local2.onFault(fault); return(undefined); } _local3.originalPromise = _local2; _local2.myCall = _local3.myCall; _local3.timerObj = _local2.timerObj; _local3.onResult = function (result, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onResult(result, response); }; _local3.onFault = function (fault) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onFault(fault); }; _local3.__handleResult = function (result, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.__handleResult(result, response); }; _local3.__handleFault = function (fault) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.__handleFault(fault); }; _local3.onHeaders = function (headers, response) { this.originalPromise.request = this.request; this.originalPromise.response = this.response; this.originalPromise.onHeaders(headers, response); }; } _local4++; } } } }
Symbol 185 MovieClip [__Packages.mx.services.QName] Frame 0
class mx.services.QName { var localPart, namespaceURI; function QName (localPart, namespaceURI) { this.localPart = ((localPart == undefined) ? "" : (localPart)); this.namespaceURI = ((namespaceURI == undefined) ? "" : (namespaceURI)); } function equals(qname) { return((namespaceURI == qname.namespaceURI) && (localPart == qname.localPart)); } }
Symbol 186 MovieClip [__Packages.mx.services.WSDLConstants] Frame 0
class mx.services.WSDLConstants { function WSDLConstants () { } static function getConstants(versionNumber) { var _local1 = new Object(); _local1.definitionsQName = new mx.services.QName("definitions", WSDL_URI); _local1.typesQName = new mx.services.QName("types", WSDL_URI); _local1.messageQName = new mx.services.QName("message", WSDL_URI); _local1.portTypeQName = new mx.services.QName("portType", WSDL_URI); _local1.bindingQName = new mx.services.QName("binding", WSDL_URI); _local1.serviceQName = new mx.services.QName("service", WSDL_URI); _local1.importQName = new mx.services.QName("import", WSDL_URI); _local1.documentationQName = new mx.services.QName("documentation", WSDL_URI); _local1.portQName = new mx.services.QName("port", WSDL_URI); _local1.soapAddressQName = new mx.services.QName("address", WSDL_SOAP_URI); _local1.bindingQName = new mx.services.QName("binding", WSDL_URI); _local1.soapBindingQName = new mx.services.QName("binding", WSDL_SOAP_URI); _local1.operationQName = new mx.services.QName("operation", WSDL_URI); _local1.soapOperationQName = new mx.services.QName("operation", WSDL_SOAP_URI); _local1.documentationQName = new mx.services.QName("documentation", WSDL_URI); _local1.soapBodyQName = new mx.services.QName("body", WSDL_SOAP_URI); _local1.inputQName = new mx.services.QName("input", WSDL_URI); _local1.outputQName = new mx.services.QName("output", WSDL_URI); _local1.parameterQName = new mx.services.QName("part", WSDL_URI); return(_local1); } static var WSDL_URI = "http://schemas.xmlsoap.org/wsdl/"; static var WSDL_SOAP_URI = "http://schemas.xmlsoap.org/wsdl/soap/"; static var SOAP_ENVELOPE_URI = "http://schemas.xmlsoap.org/soap/envelope/"; static var SOAP_ENCODING_URI = "http://schemas.xmlsoap.org/wsdl/soap/encoding/"; static var HTTP_WSDL_URI = "http://schemas.xmlsoap.org/wsdl/http/"; static var HTTP_SOAP_URI = "http://schemas.xmlsoap.org/soap/http"; static var MACROMEDIA_SOAP_URI = "http://www.macromedia.com/soap/"; static var DEFAULT_STYLE = "document"; }
Symbol 187 MovieClip [__Packages.mx.services.SchemaVersion] Frame 0
class mx.services.SchemaVersion { static var version2001, version2000, version1999; var xsdURI, xsiURI, schemaQName, allQName, complexTypeQName, elementTypeQName, importQName, simpleTypeQName, complexContentQName, sequenceQName, simpleContentQName, restrictionQName, attributeQName, extensionQName, nilQName; function SchemaVersion (xsdURI, xsiURI) { this.xsdURI = xsdURI; this.xsiURI = xsiURI; schemaQName = new mx.services.QName("schema", xsdURI); allQName = new mx.services.QName("all", xsdURI); complexTypeQName = new mx.services.QName("complexType", xsdURI); elementTypeQName = new mx.services.QName("element", xsdURI); importQName = new mx.services.QName("import", xsdURI); simpleTypeQName = new mx.services.QName("simpleType", xsdURI); complexContentQName = new mx.services.QName("complexContent", xsdURI); sequenceQName = new mx.services.QName("sequence", xsdURI); simpleContentQName = new mx.services.QName("simpleContent", xsdURI); restrictionQName = new mx.services.QName("restriction", xsdURI); attributeQName = new mx.services.QName("attribute", xsdURI); extensionQName = new mx.services.QName("extension", xsdURI); var _local3 = "nil"; if (xsdURI == XSD_URI_1999) { _local3 = "null"; } nilQName = new mx.services.QName(_local3, xsiURI); } static function getSchemaVersion(xsdURI) { if (xsdURI == XSD_URI_2001) { if (version2001 == undefined) { version2001 = new mx.services.SchemaVersion(XSD_URI_2001, XSI_URI_2001); } return(version2001); } if (xsdURI == XSD_URI_2000) { if (version2000 == undefined) { version2000 = new mx.services.SchemaVersion(XSD_URI_2000, XSI_URI_2000); } return(version2000); } if (xsdURI == XSD_URI_1999) { if (version1999 == undefined) { version1999 = new mx.services.SchemaVersion(XSD_URI_1999, XSI_URI_1999); } return(version1999); } } static var XML_SCHEMA_URI = "http://www.w3.org/2001/XMLSchema"; static var SOAP_ENCODING_URI = "http://schemas.xmlsoap.org/soap/encoding/"; static var XSD_URI_1999 = "http://www.w3.org/1999/XMLSchema"; static var XSD_URI_2000 = "http://www.w3.org/2000/10/XMLSchema"; static var XSD_URI_2001 = "http://www.w3.org/2001/XMLSchema"; static var XSI_URI_1999 = "http://www.w3.org/1999/XMLSchema-instance"; static var XSI_URI_2000 = "http://www.w3.org/2000/10/XMLSchema-instance"; static var XSI_URI_2001 = "http://www.w3.org/2001/XMLSchema-instance"; static var APACHESOAP_URI = "http://xml.apache.org/xml-soap"; static var CF_RPC_URI = "http://rpc.xml.coldfusion"; }
Symbol 188 MovieClip [__Packages.mx.services.DataType] Frame 0
class mx.services.DataType { var name, typeType, namespaceURI, qname, isAnonymous, deserializer; function DataType (name, typeType, xmlns, deserializer) { this.name = name; this.typeType = ((typeType == undefined) ? (OBJECT_TYPE) : (typeType)); namespaceURI = ((xmlns == undefined) ? (mx.services.SchemaVersion.XML_SCHEMA_URI) : (xmlns)); qname = new mx.services.QName(this.name, namespaceURI); isAnonymous = false; this.deserializer = deserializer; } static var NUMBER_TYPE = 0; static var STRING_TYPE = 1; static var OBJECT_TYPE = 2; static var DATE_TYPE = 3; static var BOOLEAN_TYPE = 4; static var XML_TYPE = 5; static var ARRAY_TYPE = 6; static var MAP_TYPE = 7; static var ANY_TYPE = 8; static var COLL_TYPE = 10; static var ROWSET_TYPE = 11; static var QBEAN_TYPE = 12; static var objectType = new mx.services.DataType("", OBJECT_TYPE, ""); }
Symbol 189 MovieClip [__Packages.mx.services.SOAPFault] Frame 0
class mx.services.SOAPFault { var faultcode, faultstring, detail, element, faultNamespaceURI, faultactor; function SOAPFault (faultcode, faultstring, detail, element, faultNS, faultactor) { this.faultcode = faultcode; this.faultstring = faultstring; this.detail = detail; this.element = element; faultNamespaceURI = faultNS; this.faultactor = faultactor; } }
Symbol 190 MovieClip [__Packages.mx.services.SOAPConstants] Frame 0
class mx.services.SOAPConstants { static var soap11Constants, soap12Constants; var contentType, ENVELOPE_URI, ENCODING_URI, envelopeQName, headerQName, bodyQName, faultQName, actorQName, soapencArrayQName, soapencArrayTypeQName, soapencRefQName; function SOAPConstants () { } static function getConstants(versionNumber) { if (versionNumber < 2) { if (soap11Constants == undefined) { soap11Constants = new mx.services.SOAPConstants(); soap11Constants.setSOAP11(); } return(soap11Constants); } if (soap12Constants == undefined) { soap12Constants = new mx.services.SOAPConstants(); soap12Constants.setSOAP12(); } return(soap12Constants); } function setSOAP11() { contentType = "text/xml; charset=utf-8"; ENVELOPE_URI = "http://schemas.xmlsoap.org/soap/envelope/"; ENCODING_URI = "http://schemas.xmlsoap.org/soap/encoding/"; setupConstants(); } function setSOAP12() { contentType = "application/soap+xml; charset=utf-8"; ENVELOPE_URI = "http://www.w3.org/2002/12/soap-envelope"; ENCODING_URI = "http://www.w3.org/2002/12/soap-encoding"; setupConstants(); } function setupConstants() { envelopeQName = new mx.services.QName("Envelope", ENVELOPE_URI); headerQName = new mx.services.QName("Header", ENVELOPE_URI); bodyQName = new mx.services.QName("Body", ENVELOPE_URI); faultQName = new mx.services.QName("Fault", ENVELOPE_URI); actorQName = new mx.services.QName("Actor", ENVELOPE_URI); soapencArrayQName = new mx.services.QName("Array", ENCODING_URI); soapencArrayTypeQName = new mx.services.QName("arrayType", ENCODING_URI); soapencRefQName = new mx.services.QName("multiRef", ENCODING_URI); } static var DEFAULT_VERSION = 0; static var XML_DECLARATION = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r"; static var RPC_STYLE = "rpc"; static var DOC_STYLE = "document"; static var WRAPPED_STYLE = "wrapped"; static var USE_ENCODED = "encoded"; static var USE_LITERAL = "literal"; static var DEFAULT_OPERATION_STYLE = RPC_STYLE; static var DEFAULT_USE = USE_ENCODED; static var SOAP_ENV_PREFIX = "SOAP-ENV"; static var SOAP_ENC_PREFIX = "soapenc"; static var XML_SCHEMA_PREFIX = "xsd"; static var XML_SCHEMA_INSTANCE_PREFIX = "xsi"; static var XML_SCHEMA_URI = "http://www.w3.org/2001/XMLSchema"; static var XML_SCHEMA_INSTANCE_URI = "http://www.w3.org/2001/XMLSchema-instance"; static var SCHEMA_INSTANCE_TYPE = XML_SCHEMA_INSTANCE_PREFIX + ":type"; static var ARRAY_PQNAME = SOAP_ENC_PREFIX + ":Array"; static var ARRAY_TYPE_PQNAME = SOAP_ENC_PREFIX + ":arrayType"; static var MODE_IN = 0; static var MODE_OUT = 1; static var MODE_INOUT = 2; static var DISCONNECTED_FAULT_CODE = "Client.Disconnected"; }
Symbol 191 MovieClip [__Packages.mx.services.SchemaContext] Frame 0
class mx.services.SchemaContext { var log, schemas, schemaVersion, unresolvedImports; function SchemaContext (logObj) { log = logObj; schemas = new Object(); } static function RegisterSchemaTypes(schemaObj, schemaVersion) { var _local1 = schemaVersion.xsdURI; schemaObj.registerType(new mx.services.DataType("boolean", mx.services.DataType.BOOLEAN_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("string", mx.services.DataType.STRING_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("decimal", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("integer", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("negativeInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("nonNegativeInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("positiveInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("nonPositiveInteger", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("long", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("int", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("short", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("byte", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedLong", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedInt", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedShort", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("unsignedByte", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("float", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("double", mx.services.DataType.NUMBER_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("date", mx.services.DataType.DATE_TYPE, _local1)); var _local3 = new mx.services.DataType("dateTime", mx.services.DataType.DATE_TYPE, _local1); schemaVersion.dateTimeType = _local3; schemaObj.registerType(_local3); schemaObj.registerType(new mx.services.DataType("time", mx.services.DataType.DATE_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("base64Binary", mx.services.DataType.OBJECT_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("hexBinary", mx.services.DataType.OBJECT_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("token", mx.services.DataType.STRING_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("normalizedString", mx.services.DataType.STRING_TYPE, _local1)); schemaObj.registerType(new mx.services.DataType("anyType", mx.services.DataType.ANY_TYPE, _local1)); if (_local1 == mx.services.SchemaVersion.XSD_URI_1999) { schemaObj.registerType(new mx.services.DataType("timeInstant", mx.services.DataType.DATE_TYPE, _local1)); } } static function RegisterStandardTypes(schemaObj) { RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_1999)); RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2000)); RegisterSchemaTypes(schemaObj, mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2001)); schemaObj.registerType(new mx.services.DataType("string", mx.services.DataType.STRING_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("int", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("integer", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("long", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("short", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("byte", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("decimal", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("float", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("base64", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("double", mx.services.DataType.NUMBER_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); schemaObj.registerType(new mx.services.DataType("boolean", mx.services.DataType.BOOLEAN_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI)); var _local2 = new mx.services.DataType("Array", mx.services.DataType.ARRAY_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI); _local2.arrayType = new mx.services.DataType("any", mx.services.DataType.ANY_TYPE, mx.services.SchemaVersion.SOAP_ENCODING_URI); _local2.arrayDimensions = 1; _local2.isEncodedArray = true; _local2.itemElement = new mx.services.QName("item"); schemaObj.registerType(_local2); schemaObj.registerType(new mx.services.DataType("Map", mx.services.DataType.MAP_TYPE, mx.services.SchemaVersion.APACHESOAP_URI)); schemaObj.registerType(new mx.services.DataType("RowSet", mx.services.DataType.ROWSET_TYPE, mx.services.SchemaVersion.APACHESOAP_URI)); schemaObj.registerType(new mx.services.DataType("QueryBean", mx.services.DataType.QBEAN_TYPE, mx.services.SchemaVersion.CF_RPC_URI)); } function registerSchemaNode(rootElement, document) { var _local4 = rootElement.getQName(); if (_local4.localPart != "schema") { return(undefined); } var _local2 = mx.services.SchemaVersion.getSchemaVersion(_local4.namespaceURI); if (_local2 == undefined) { return(undefined); } schemaVersion = _local2; if (rootElement.getQName().equals(_local2.schemaQName)) { var _local5 = rootElement.attributes.targetNamespace; processImports(rootElement, _local2, document); return(registerNamespace(_local5, rootElement)); } } function processImports(rootElement, schemaVersion, document) { var _local4 = rootElement.getElementsByQName(schemaVersion.importQName); if (_local4 != undefined) { var _local3 = 0; while (_local3 < _local4.length) { var _local2 = _local4[_local3].attributes.schemaLocation; if (_local2 != undefined) { _local2 = buildURL(_local2, document.location); var _local5 = _local4[_local3].attributes.namespace; importDocument(_local2, _local5); } _local3++; } } } function importDocument(location, namespaceURI) { var _local2 = new XML(); _local2.ignoreWhite = true; _local2.schemaContext = this; _local2.namespace = namespaceURI; _local2.location = location; unresolvedImports++; fetchDocument(_local2); } function fetchDocument(document) { document.onData = function (src) { if (src == undefined) { this.fault = new mx.services.SOAPFault(mx.services.SOAPConstants.DISCONNECTED_FAULT_CODE, "Could not load imported schema", ("Unable to load schema, if currently online, please verify the URI and/or format of the schema at (" + this.schemaURI) + ")"); this.log.logDebug("Unable to receive WSDL file"); } else { this.unresolvedImports--; this.registerSchemaNode(document.firstChild, document); } }; document.load(document.location, "GET"); } function buildURL(locationURL, contextURL) { if ((locationURL.substr(0, 7) == "http://") || (locationURL.substr(0, 8) == "https://")) { return(locationURL); } var _local3 = contextURL.lastIndexOf("/"); contextURL = contextURL.substr(0, _local3 + 1); return(contextURL + locationURL); } function registerNamespace(namespaceURI, rootElement) { log.logInfo("Registering schema namespace: " + namespaceURI, mx.services.Log.VERBOSE); if (schemas[namespaceURI] != undefined) { log.logInfo("Duplicate namespace!"); return(undefined); } var _local2 = new mx.services.Schema(namespaceURI, rootElement, this); schemas[namespaceURI] = _local2; var _local4 = rootElement.attributes.elementFormDefault; if ((_local4 != undefined) && (_local4 == "qualified")) { _local2.elementFormDefault = "qualified"; } return(_local2); } function registerType(dtype) { var _local4 = dtype.namespaceURI; var _local2 = schemas[_local4]; if (_local2 == undefined) { _local2 = registerNamespace(_local4); } if (_local2.types[dtype.name] == undefined) { _local2.types[dtype.name] = dtype; } } function registerElement(elemObj) { var _local4 = elemObj.namespaceURI; var _local2 = schemas[_local4]; if (_local2 == undefined) { _local2 = registerNamespace(_local4); } if (elemObj.form == undefined) { elemObj.form = _local2.elementFormDefault; } _local2.elements[elemObj.name] = elemObj; } function getElementByQName(elQName) { var _local3 = schemas[elQName.namespaceURI]; if (_local3 != undefined) { var _local2 = _local3.elements[elQName.localPart]; if (_local2 == undefined) { _local2 = _local3.parseElement(elQName.localPart); if (_local2 == undefined) { } } return(_local2); } } function getTypeByQName(typeQName) { var _local13 = schemas[typeQName.namespaceURI]; if (_local13 != undefined) { var _local12 = typeQName.localPart; var _local14 = _local12.indexOf("["); if (_local14 != -1) { var _local15 = _local12.substring(0, _local14); var _local9 = getTypeByQName(new mx.services.QName(_local15, typeQName.namespaceURI)); var _local4 = _local12.substring(_local14); var _local2 = 0; while (_local2 != -1) { var _local6 = new Array(); _local2++; var _local3 = _local4.indexOf(",", _local2); while (_local3 != -1) { var _local8 = Number(_local4.substring(_local2, _local3)); _local6.push(_local8); _local2 = _local3 + 1; _local3 = _local4.indexOf(",", _local2); } var _local7 = _local4.indexOf("]", _local2); if (_local7 == -1) { } if (_local7 == _local2) { _local6.push(-1); } else { var _local10 = Number(_local4.substring(_local2, _local7)); _local6.push(_local10); } var _local5 = new mx.services.DataType(_local9.name, mx.services.DataType.ARRAY_TYPE, _local9.namespaceURI); _local5.isEncodedArray = true; _local5.arrayType = _local9; _local5.itemElement = new mx.services.QName("item"); _local5.dimensions = _local6; _local9 = _local5; _local2 = _local4.indexOf("[", _local7); } return(_local9); } var _local11 = _local13.types[_local12]; if (_local11 != undefined) { return(_local11); } _local11 = _local13.parseType(_local12); if (_local11 == undefined) { } return(_local11); } } function getType(qualifiedName, node) { var _local3 = ""; var _local4 = qualifiedName; var _local2 = qualifiedName.indexOf(":"); if (_local2 != -1) { _local3 = qualifiedName.substring(0, _local2); _local4 = qualifiedName.substring(_local2 + 1); } var _local6 = node.getNamespaceForPrefix(_local3); return(getTypeByQName(_local4, _local6, node)); } }
Symbol 192 MovieClip [__Packages.mx.services.ElementDecl] Frame 0
class mx.services.ElementDecl { function ElementDecl () { } }
Symbol 193 MovieClip [__Packages.mx.services.Schema] Frame 0
class mx.services.Schema { var targetNamespace, rootElement, context, schemaVersion, types, elements, elementFormDefault; function Schema (targetNamespace, rootElement, schemaContext) { this.targetNamespace = targetNamespace; this.rootElement = rootElement; context = schemaContext; schemaVersion = schemaContext.schemaVersion; types = new Object(); elements = new Object(); } static function getSchemas(xmlDocument) { var _local1 = new Array(); return(_local1); } function registerType(dtype) { if (types[dtype.name] == undefined) { types[dtype.name] = dtype; } } function registerElement(elementObj) { elements[elementObj.name] = elementObj; } function parseType(localPart) { var _local2 = rootElement.getElementsByReferencedName(localPart, schemaVersion.complexTypeQName)[0]; if (_local2 != undefined) { return(parseComplexType(_local2)); } _local2 = rootElement.getElementsByReferencedName(localPart, schemaVersion.simpleTypeQName)[0]; if (_local2 != undefined) { return(parseSimpleType(_local2)); } } function parseElement(name) { var _local3 = rootElement.getElementsByReferencedName(name, schemaVersion.elementTypeQName)[0]; if (_local3 != undefined) { var _local2 = parseElementDecl(_local3); registerElement(_local2); return(_local2); } } function parseComplexType(typeNode, isAnonymous) { var _local4 = new mx.services.DataType(); var _local8 = typeNode.attributes.name; if (!isAnonymous) { _local4.name = _local8; _local4.namespaceURI = targetNamespace; _local4.qname = new mx.services.QName(_local8, targetNamespace); registerType(_local4); } else { _local4.isAnonymous = true; } var _local6 = typeNode.childNodes; var _local7 = _local6.length; var _local5 = 0; while ((_local5 < _local7) && (context.fault == undefined)) { var _local2 = _local6[_local5]; var _local3 = _local2.getQName(); if (_local3.equals(schemaVersion.allQName)) { parseAll(_local2, _local4); } else if (_local3.equals(schemaVersion.complexContentQName)) { parseComplexContent(_local2, _local4); } else if (_local3.equals(schemaVersion.simpleContentQName)) { parseSimpleContent(_local2, _local4); } else if (_local3.equals(schemaVersion.sequenceQName)) { parseSequence(_local2, _local4); } else if (_local3.equals(schemaVersion.attributeQName)) { parseAttribute(_local2, _local4); } _local5++; } typeNode.parsed = 1; return(_local4); } function parseSimpleType(typeNode, isAnonymous) { var _local8 = new mx.services.DataType(); var _local11 = typeNode.attributes.name; if (!isAnonymous) { _local8.name = _local11; _local8.namespaceURI = targetNamespace; _local8.qname = new mx.services.QName(_local11, targetNamespace); registerType(_local8); } else { _local8.isAnonymous = true; } var _local9 = typeNode.childNodes; var _local10 = _local9.length; var _local3 = 0; while (_local3 < _local10) { var _local2 = _local9[_local3]; var _local4 = _local2.getQName(); if (_local4.equals(schemaVersion.restrictionQName)) { var _local5 = _local2.attributes.base; var _local6 = _local2.getQNameFromString(_local5); var _local7 = context.getTypeByQName(_local6); _local8.typeType = _local7.typeType; } _local3++; } typeNode.parsed = 1; return(_local8); } function parseAll(allNode, typeObj) { return(parseSequence(allNode, typeObj)); } function parseElementDecl(elementNode) { var _local2 = new mx.services.ElementDecl(); var _local6; if (elementNode.attributes.ref != undefined) { var _local10 = elementNode.attributes.ref; var _local9 = elementNode.getQNameFromString(_local10); var _local5 = context.getElementByQName(_local9); _local2.name = _local5.name; _local2.schemaType = _local5.schemaType; _local2.form = _local5.form; _local2.namespace = _local5.namespace; _local2.minOccurs = elementNode.attributes.minOccurs; _local2.maxOccurs = elementNode.attributes.maxOccurs; return(_local2); } var _local12 = elementNode.attributes.name; _local2.name = _local12; if (elementNode.attributes.type != undefined) { var _local11 = elementNode.getQNameFromString(elementNode.attributes.type, true); _local6 = context.getTypeByQName(_local11); } else { var _local8 = elementNode.getElementsByQName(schemaVersion.complexTypeQName)[0]; if (_local8 != null) { _local6 = parseComplexType(_local8, true); } else { var _local7 = elementNode.getElementsByQName(schemaVersion.simpleTypeQName)[0]; if (_local7 != null) { _local6 = parseSimpleType(_local7, true); } } } _local2.schemaType = _local6; _local2.minOccurs = elementNode.attributes.minOccurs; _local2.maxOccurs = elementNode.attributes.maxOccurs; var _local4 = elementNode.attributes.form; if (_local4 == undefined) { _local4 = elementFormDefault; } _local2.form = _local4; if (_local4 == "qualified") { _local2.namespace = targetNamespace; } else { _local2.namespace = ""; } return(_local2); } function parseAttribute(attrNode, typeObj) { var _local4 = attrNode.attributes.name; var _local6 = new Object(); _local6.name = _local4; var _local5 = attrNode.attributes.type; if (_local5 != undefined) { var _local7 = attrNode.getQNameFromString(_local5, true); var _local3 = context.getTypeByQName(_local7); if (_local3 != undefined) { if (typeObj.partTypes == undefined) { typeObj.partTypes = new Object(); } var _local2 = new Object(); _local2.isAttribute = true; _local2.schemaType = _local3; typeObj.partTypes[_local4] = _local2; } } } function parseSequence(sequenceNode, dtype) { var _local9 = sequenceNode.childNodes; var _local8 = _local9.length; var _local5 = _local8 - 1; while (_local5 > -1) { var _local7 = _local9[_local5]; var _local2 = parseElementDecl(_local7); var _local4 = _local2; if ((_local8 == 1) && (_local2.maxOccurs == "unbounded")) { dtype.name = "array"; dtype.typeType = mx.services.DataType.ARRAY_TYPE; dtype.arrayType = _local4.schemaType; dtype.itemElement = new mx.services.QName(_local2.name, _local2.namespace); } else { if (_local2.maxOccurs == "unbounded") { var _local6 = new mx.services.DataType("array", mx.services.DataType.ARRAY_TYPE); _local6.arrayType = _local4.schemaType; _local4 = _local6; _local4.itemElement = new mx.services.QName(_local2.name, _local2.namespace); } if (dtype.partTypes == undefined) { dtype.partTypes = new Object(); } dtype.partTypes[_local2.name] = _local4; } _local5--; } return(dtype); } function parseSimpleContent(contentNode, typeObj) { var _local5 = contentNode.firstChild; if (!_local5.getQName().equals(schemaVersion.extensionQName)) { return(undefined); } var _local6 = _local5.attributes.base; var _local7 = _local5.getQNameFromString(_local6, true); var _local8 = context.getTypeByQName(_local7); if (typeObj.partTypes == undefined) { typeObj.partTypes = new Object(); } typeObj.simpleValue = _local8; var _local3 = _local5.childNodes; var _local2 = 0; while (_local2 < _local3.length) { parseAttribute(_local3[_local2], typeObj); _local2++; } } function parseComplexContent(contentNode, typeObj) { var _local6 = contentNode.childNodes; var _local7 = _local6.length; var _local3 = 0; while ((_local3 < _local7) && (context.fault == undefined)) { var _local2 = _local6[_local3]; var _local4 = _local2.getQName(); if (_local4.equals(schemaVersion.restrictionQName)) { return(parseRestriction(_local2, typeObj)); } if (_local4.equals(schemaVersion.extensionQName)) { return(parseExtension(_local2, typeObj)); } _local3++; } } function parseExtension(extensionNode, typeObj) { var _local11 = extensionNode.attributes.base; var _local12 = extensionNode.getQNameFromString(_local11); var _local5 = context.getTypeByQName(_local12); typeObj.typeType = _local5.typeType; typeObj.partTypes = new Object(); for (var _local9 in _local5.partTypes) { typeObj.partTypes[_local9] = _local5.partTypes[_local9]; } var _local7 = extensionNode.childNodes; var _local8 = _local7.length; var _local2 = 0; while ((_local2 < _local8) && (context.fault == undefined)) { var _local3 = _local7[_local2]; var _local4 = _local3.getQName(); if (_local4.equals(schemaVersion.sequenceQName)) { return(parseSequence(_local3, typeObj)); } _local2++; } } function parseRestriction(restrictionNode, derivedType) { var _local13 = restrictionNode.attributes.base; var _local14 = restrictionNode.getQNameFromString(_local13); var _local12 = context.getTypeByQName(_local14); derivedType.name = "derived" + _local12.name; derivedType.typeType = _local12.typeType; derivedType.namespaceURI = _local12.namespaceURI; if (_local12.typeType == mx.services.DataType.ARRAY_TYPE) { derivedType.isEncodedArray = _local12.isEncodedArray; derivedType.itemElement = _local12.itemElement; } var _local10 = restrictionNode.getElementsByQName(schemaVersion.attributeQName); var _local9 = 0; while (_local9 < _local10.length) { var _local5 = _local10[_local9]; var _local7 = _local5.attributes.ref; if (_local7.indexOf(":") != -1) { _local7 = _local7.substring(_local7.indexOf(":") + 1); } for (var _local11 in _local5.attributes) { var _local2 = _local11; if (_local2.indexOf(":") != -1) { _local2 = _local2.substring(_local2.indexOf(":") + 1); } if (_local2 == _local7) { var _local6 = _local5.attributes[_local11]; var _local8 = _local5.getQNameFromString(_local6, true); var _local3 = context.getTypeByQName(_local8); if (_local3 != undefined) { derivedType[_local2] = _local3[_local2]; derivedType.name = _local3.name; derivedType.qname = _local3.qname; derivedType.namespaceURI = _local3.namespaceURI; } else { derivedType[_local2] = _local6; } } } _local9++; } return(derivedType); } }
Symbol 194 MovieClip [__Packages.mx.services.WSDL] Frame 0
class mx.services.WSDL { var log, serviceProxy, wsdlURI, wsdlDocs, constants, schemas, unresolvedImports, document, startTime, fault, targetNamespace, rootWSDL, onLoad, services; function WSDL (wsdlURI, serviceProxy, logObj, wsdlVersion) { log = logObj; log.logInfo("Creating WSDL object for " + wsdlURI, mx.services.Log.VERBOSE); this.serviceProxy = serviceProxy; this.wsdlURI = wsdlURI; wsdlDocs = new Object(); var _local4 = ((wsdlVersion == undefined) ? 0 : (wsdlVersion)); constants = mx.services.WSDLConstants.getConstants(_local4); var _local3 = new mx.services.Log(log.level, "XMLSchema"); _local3._parentLog = log; _local3.onLog = function (txt) { this._parentLog.onLog(txt); }; schemas = new mx.services.SchemaContext(_local3); mx.services.SchemaContext.RegisterStandardTypes(schemas); unresolvedImports = 1; var _local2 = new XML(); _local2.ignoreWhite = true; _local2.wsdl = this; _local2.location = wsdlURI; _local2.isRootWSDL = true; document = _local2; startTime = new Date(); fetchDocument(_local2); log.logInfo("Successfully created WSDL object", mx.services.Log.VERBOSE); } function fetchDocument(document) { document.onData = function (src) { if (src != undefined) { var _local2 = new Date(); this.wsdl.log.logInfo("Received WSDL document from the remote service", mx.services.Log.VERBOSE); this.parseXML(src); this.loaded = true; var _local3 = Math.round(new Date() - _local2); this.wsdl.log.logInfo(("Parsed WSDL XML [" + _local3) + " millis]", mx.services.Log.VERBOSE); } this.wsdl.parseDocument(this); delete this.wsdl; }; document.load(document.location, "GET"); } function parseDocument(document) { if (!document.loaded) { fault = new mx.services.SOAPFault(mx.services.SOAPConstants.DISCONNECTED_FAULT_CODE, "Could not load WSDL", ("Unable to load WSDL, if currently online, please verify the URI and/or format of the WSDL (" + wsdlURI) + ")"); log.logDebug("Unable to receive WSDL file"); } else { unresolvedImports--; processImports(document); } if ((unresolvedImports == 0) || (fault != undefined)) { parseCompleted(); } } function buildURL(locationURL, contextURL) { if ((locationURL.substr(0, 7) == "http://") || (locationURL.substr(0, 8) == "https://")) { return(locationURL); } var _local3 = contextURL.lastIndexOf("/"); contextURL = contextURL.substr(0, _local3 + 1); return(contextURL + locationURL); } function processImports(document) { var _local7 = document.firstChild; var _local9 = constants; var _local8 = _local7.getQName(); if (!_local8.equals(_local9.definitionsQName)) { if (_local8.localPart == "schema") { schemas.registerSchemaNode(_local7); return(undefined); } fault = new mx.services.SOAPFault("Server", "Faulty WSDL format", "Definitions must be the first element in a WSDL document"); return(undefined); } var _local11 = _local7.attributes.targetNamespace; var _local10 = new mx.services.WSDLDocument(document, this); wsdlDocs[_local11] = _local10; if (document.isRootWSDL) { targetNamespace = _local11; rootWSDL = _local10; } var _local4 = _local7.getElementsByQName(_local9.importQName); if (_local4 != undefined) { var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2].attributes.location; _local3 = buildURL(_local3, document.location); var _local5 = _local4[_local2].attributes.namespace; importDocument(_local3, _local5); _local2++; } } } function importDocument(location, namespaceURI) { var _local2 = new XML(); _local2.ignoreWhite = true; _local2.wsdl = this; _local2.namespace = namespaceURI; _local2.location = location; unresolvedImports++; fetchDocument(_local2); } function parseCompleted() { if (fault == undefined) { parseServices(); } if (fault == undefined) { var _local2 = Math.floor(new Date() - startTime); } onLoad(); } function parseServices() { log.logDebug("Parsing definitions"); var _local6 = constants; var _local3 = rootWSDL.serviceElements; if (_local3 == undefined) { fault = new mx.services.SOAPFault("Server.NoServicesInWSDL", "Could not load WSDL", ("No <wsdl:service> elements found in WSDL at " + wsdlURI) + "."); log.logDebug("No <service> elements in WSDL file"); return(undefined); } var _local4 = new Object(); for (var _local5 in _local3) { var _local2 = parseService(_local3[_local5]); _local4[_local2.name] = _local2; } services = _local4; log.logDebug("Completed WSDL parsing"); } function parseSchemas(typesNode) { log.logDebug("Parsing schemas"); var _local3 = typesNode.childNodes; var _local4 = _local3.length; var _local2 = 0; while (_local2 < _local4) { schemas.registerSchemaNode(_local3[_local2]); _local2++; } log.logDebug("Done parsing schemas."); } function parseService(serviceElement) { log.logDebug("Parsing service: " + serviceElement.nodeName); var _local11 = new Object(); _local11.ports = new Object(); var _local8 = constants; _local11.name = serviceElement.attributes.name; var _local12 = serviceElement.childNodes; var _local13 = _local12.length; var _local7 = 0; while ((_local7 < _local13) && (fault == undefined)) { var _local2 = _local12[_local7]; var _local9 = _local2.getQName(); if (_local9.equals(_local8.documentationQName)) { _local11.description = _local2.firstChild; } else if (_local9.equals(_local8.portQName)) { var _local4 = new Object(); var _local3 = 0; while (_local3 < _local2.childNodes.length) { var _local5 = _local2.childNodes[_local3]; var _local6 = _local5.getQName(); if (_local6.equals(_local8.soapAddressQName)) { _local4.endpointURI = _local5.attributes.location; break; } _local3++; } if (_local4.endpointURI != undefined) { _local4.name = _local2.attributes.name; var _local10 = _local2.getQNameFromString(_local2.attributes.binding); _local4.binding = parseBinding(_local10); _local11.ports[_local4.name] = _local4; } } _local7++; } return(_local11); } function parseBinding(bindingName) { log.logDebug("Parsing binding: " + bindingName); var _local10 = new Object(); var _local4 = constants; var _local25 = wsdlDocs[bindingName.namespaceURI]; if (_local25 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedNamespace", ("The WSDL parser had no registered document for the namespace '" + bindingName.namespaceURI) + "'"); return(undefined); } var _local19 = _local25.getBindingElement(bindingName.localPart); if (_local19 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedBindingName", ((("The WSDL parser couldn't find a binding named '" + bindingName.localPart) + "' in namespace '") + bindingName.namespaceURI) + "'"); return(undefined); } var _local26 = _local19.getQNameFromString(_local19.attributes.type); _local10.portType = parsePortType(_local26); if (fault != undefined) { return(undefined); } var _local23 = _local19.childNodes; var _local24 = _local23.length; var _local13 = 0; while (_local13 < _local24) { var _local11 = _local23[_local13]; var _local17 = _local11.getQName(); if (_local17.equals(_local4.soapBindingQName)) { _local10.style = _local11.attributes.style; if (_local10.style == undefined) { _local10.style = mx.services.WSDLConstants.DEFAULT_STYLE; } _local10.transport = _local11.attributes.transport; } else if (_local17.equals(_local4.operationQName)) { var _local20 = _local11.attributes.name; var _local7 = _local10.portType.operations[_local20]; var _local14 = _local11.childNodes; var _local18 = _local14.length; var _local6 = 0; while (_local6 < _local18) { var _local3 = _local14[_local6]; var _local5 = _local3.getQName(); if (_local5.equals(_local4.soapOperationQName)) { var _local12 = _local3.attributes.soapAction; _local7.actionURI = _local12; var _local9 = _local3.attributes.style; if (_local9 == undefined) { _local9 = _local10.style; } _local7.style = _local9; } else if (_local5.equals(_local4.inputQName)) { var _local8 = _local3.getElementsByQName(_local4.soapBodyQName)[0]; var _local2 = new Object(); _local2.use = _local8.attributes.use; _local2.namespaceURI = _local8.attributes.namespace; if (_local2.namespaceURI == undefined) { _local2.namespaceURI = targetNamespace; } _local2.encodingStyle = _local8.attributes.encodingStyle; _local7.inputEncoding = _local2; } else if (_local5.equals(_local4.outputQName)) { var _local8 = _local3.getElementsByQName(_local4.soapBodyQName)[0]; var _local2 = new Object(); _local2.use = _local8.attributes.use; _local2.namespaceURI = _local8.attributes.namespace; if (_local2.namespaceURI == undefined) { _local2.namespaceURI = targetNamespace; } _local2.encodingStyle = _local8.attributes.encodingStyle; _local7.outputEncoding = _local2; } _local6++; } } _local13++; } var _local21 = document.getElementsByQName(_local4.bindingQName); var _local15 = 0; while (_local15 < _local21.length) { _local19 = _local21[_local15]; var _local16 = _local19.attributes.name; if (bindingName != _local16) { } else { _local10.name = _local16; } _local15++; } return(_local10); } function parsePortType(portTypeName, document) { log.logDebug("Parsing portType: " + portTypeName); var _local19 = wsdlDocs[portTypeName.namespaceURI]; if (_local19 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedNamespace", ("The WSDL parser had no registered document for the namespace '" + portTypeName.namespaceURI) + "'"); return(undefined); } var _local18 = _local19.getPortTypeElement(portTypeName.localPart); if (_local18 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedPortTypeName", ((("The WSDL parser couldn't find a portType named '" + portTypeName.localPart) + "' in namespace '") + portTypeName.namespaceURI) + "'"); return(undefined); } var _local13 = new Object(); var _local7 = constants; _local13.name = _local18.attributes.name; _local13.operations = new Object(); var _local14 = _local18.getElementsByQName(_local7.operationQName); var _local15 = _local14.length; var _local9 = 0; while (_local9 < _local15) { var _local11 = _local14[_local9]; var _local2 = new mx.services.WSDLOperation(_local11.attributes.name, this, document); var _local10 = _local11.childNodes; var _local12 = _local10.length; var _local5 = 0; while (_local5 < _local12) { var _local3 = _local10[_local5]; var _local4 = _local3.getQName(); if (_local4.equals(_local7.documentationQName)) { _local2.documentation = _local3.childNodes[0]; } else { var _local8 = _local3.attributes.message; var _local6 = _local3.getQNameFromString(_local8); if (_local4.equals(_local7.inputQName)) { _local2.inputMessage = _local6; } else if (_local4.equals(_local7.outputQName)) { _local2.outputMessage = _local6; } } _local5++; } if (_local13.operations[_local2.name] != undefined) { fault = new mx.services.SOAPFault("WSDL.OverloadedOperation", ("The WSDL contains an overloaded operation (" + _local2.name) + ") - we do not currently support this usage."); return(undefined); } _local13.operations[_local2.name] = _local2; _local9++; } return(_local13); } function parseMessage(messageName, operationName, mode, document) { log.logDebug("Parsing message: " + messageName); var _local22 = wsdlDocs[messageName.namespaceURI]; if (_local22 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedNamespace", ("The WSDL parser had no registered document for the namespace '" + messageName.namespaceURI) + "'"); return(undefined); } var _local21 = _local22.getMessageElement(messageName.localPart); if (_local21 == undefined) { fault = new mx.services.SOAPFault("WSDL.UnrecognizedMessageName", ((("The WSDL parser couldn't find a message named '" + messageName.localPart) + "' in namespace '") + messageName.namespaceURI) + "'"); return(undefined); } var _local23 = constants; var _local3 = new Object(); _local3.name = _local21.attributes.name; if (_local3.name == undefined) { if (mode == mx.services.SOAPConstants.MODE_IN) { _local3.name = operationName + "Request"; } else { _local3.name == (operationName + "Response"); } } log.logDebug("Message name is " + _local3.name); var _local18 = _local21.getElementsByQName(_local23.parameterQName); var _local16 = _local18.length; _local3.parameters = new Array(); var _local8 = 0; while (_local8 < _local16) { var _local5 = _local18[_local8]; var _local14 = _local5.attributes.name; var _local2; var _local12; if (_local5.attributes.element != undefined) { var _local10 = _local5.attributes.element; var _local13 = _local5.getQNameFromString(_local10); var _local7 = schemas.getElementByQName(_local13); if (schemas.fault != undefined) { fault = schemas.fault; return(undefined); } if (_local7 == undefined) { fault = new mx.services.SOAPFault("WSDL.BadElement", ("Element " + _local10) + " not resolvable"); return(undefined); } _local2 = _local7.schemaType; _local12 = _local13; if ((_local16 == 1) && (operationName == _local13.localPart)) { for (var _local17 in _local2.partTypes) { var _local4 = _local2.partTypes[_local17]; var _local6 = new mx.services.QName(_local17, _local4.namespace); var _local15 = new mx.services.SOAPParameter(_local17, _local4.schemaType, mode, _local6); _local3.parameters.push(_local15); _local3.targetNamespace = _local13.namespaceURI; } _local3.isWrapped = true; if (_local7.form == "qualified") { _local3.isQualified = true; } break; } } else { var _local9 = _local5.attributes.type; var _local13 = _local5.getQNameFromString(_local9); _local2 = schemas.getTypeByQName(_local13); if (schemas.fault != undefined) { fault = schemas.fault; return(undefined); } if (_local2 == undefined) { fault = new mx.services.SOAPFault("WSDL.BadType", ("Type " + _local9) + " not resolvable"); return(undefined); } } var _local15 = new mx.services.SOAPParameter(_local14, _local2, mode, _local12); _local3.parameters.push(_local15); _local8++; } return(_local3); } }
Symbol 195 MovieClip [__Packages.mx.services.WSDLDocument] Frame 0
class mx.services.WSDLDocument { var xmlDoc, targetNamespace, bindingElements, portTypeElements, messageElements, serviceElements; function WSDLDocument (document, wsdl) { xmlDoc = document; var _local8 = document.firstChild; var _local6 = wsdl.constants; var _local9 = _local8.getQName(); if (!_local9.equals(_local6.definitionsQName)) { wsdl.fault = new mx.services.SOAPFault("Server", "Faulty WSDL format", "Definitions must be the first element in a WSDL document"); return; } targetNamespace = _local8.attributes.targetNamespace; bindingElements = new Object(); portTypeElements = new Object(); messageElements = new Object(); serviceElements = new Object(); var _local3 = _local8.childNodes; var _local2 = 0; while (_local2 < _local3.length) { var _local4 = _local3[_local2].getQName(); var _local5 = _local3[_local2].attributes.name; if (_local4.equals(_local6.bindingQName)) { bindingElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.portTypeQName)) { portTypeElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.messageQName)) { messageElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.serviceQName)) { serviceElements[_local5] = _local3[_local2]; } else if (_local4.equals(_local6.typesQName)) { wsdl.parseSchemas(_local3[_local2]); } _local2++; } } function getBindingElement(name) { return(bindingElements[name]); } function getMessageElement(name) { return(messageElements[name]); } function getPortTypeElement(name) { return(portTypeElements[name]); } function getServiceElement(name) { return(serviceElements[name]); } }
Symbol 196 MovieClip [__Packages.mx.services.WSDLOperation] Frame 0
class mx.services.WSDLOperation { var name, wsdl, document, input, inputMessage, output, outputMessage; function WSDLOperation (name, wsdl, document) { this.name = name; this.wsdl = wsdl; this.document = document; } function parseMessages() { var _local2 = wsdl; input = _local2.parseMessage(inputMessage, name, mx.services.SOAPConstants.MODE_IN, document); output = _local2.parseMessage(outputMessage, name, mx.services.SOAPConstants.MODE_OUT, document); } }
Symbol 197 MovieClip [__Packages.mx.services.SOAPParameter] Frame 0
class mx.services.SOAPParameter { var name, schemaType, mode, qname; function SOAPParameter (name, schemaType, mode, qname) { this.name = name; this.schemaType = schemaType; this.mode = ((mode == undefined) ? (mx.services.SOAPConstants.MODE_IN) : (mode)); this.qname = qname; } }
Symbol 198 MovieClip [__Packages.mx.services.PendingCall] Frame 0
class mx.services.PendingCall { var myCall, soapConstants, log, timeoutFunc, timerID, request, requestHeaders, _multiRefs, fault, response, __handleFault, onFault, responseHeaders, onHeaders, onResult, __handleResult, bodyNode, onHeader; function PendingCall (myCall) { this.myCall = myCall; soapConstants = myCall.soapConstants; log = myCall.log; doLazyDecoding = myCall.doLazyDecoding; doDecoding = myCall.doDecoding; } function setTimeout(timeoutMS) { timeoutFunc = function () { clearInterval(this.timerID); this.timerID = undefined; var _local2 = new mx.services.SOAPFault("Timeout", ("Timeout while calling method " + this.myCall.operationName) + "!"); this.onFault(_local2); }; timerID = setInterval(this, "timeoutFunc", timeoutMS); } function cancel() { if (timerID != undefined) { clearInterval(timerID); } cancelled = true; } function encode() { log.logInfo("Encoding SOAPCall request", mx.services.Log.VERBOSE); encodeHTTPRequest(); encodeSOAPEnvelope(); } function encodeHTTPRequest() { log.logDebug("Creating HTTP request object"); var _local2 = new XML(); _local2.ignoreWhite = true; _local2.contentType = soapConstants.contentType; _local2.xmlDecl = mx.services.SOAPConstants.XML_DECLARATION; _local2.addRequestHeader("SOAPAction", ("\"" + myCall.actionURI) + "\""); request = _local2; } function encodeSOAPEnvelope() { log.logDebug("Encoding SOAP request envelope"); var _local3 = request; var _local4 = myCall.schemaVersion; var _local5 = soapConstants.envelopeQName; var _local2 = _local3.createElement((mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":") + _local5.localPart); _local2.attributes["xmlns:" + mx.services.SOAPConstants.SOAP_ENV_PREFIX] = soapConstants.ENVELOPE_URI; _local2.attributes["xmlns:" + mx.services.SOAPConstants.XML_SCHEMA_PREFIX] = _local4.xsdURI; _local2.attributes["xmlns:" + mx.services.SOAPConstants.XML_SCHEMA_INSTANCE_PREFIX] = _local4.xsiURI; _local3.appendChild(_local2); _local3.soapEnvelope = _local2; encodeSOAPHeader(); encodeSOAPBody(); } function encodeSOAPHeader() { var _local7 = request; var _local6 = request.soapEnvelope; var _local3 = requestHeaders; if (_local3.length > 0) { var _local4 = _local7.createElement((mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":") + soapConstants.headerQName.localPart); _local6.appendChild(_local4); var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { _local4.appendChild(_local3[_local2].element); _local2++; } } } function encodeSOAPBody() { log.logDebug("Encoding SOAP request body"); var _local2 = request; var _local3 = myCall; var _local5 = _local3.operationName; var _local6 = _local3.targetNamespace; var _local7 = _local3.soapConstants; var _local10 = _local2.soapEnvelope; _local2.soapEnvelope = null; var _local8 = _local7.bodyQName; var _local4 = _local2.createElement((mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":") + _local8.localPart); _local10.appendChild(_local4); if (!_local3.useLiteralBody) { if (_local3.operationStyle != mx.services.SOAPConstants.DOC_STYLE) { if ((_local3.operationStyle == mx.services.SOAPConstants.WRAPPED_STYLE) && (_local3.elementFormQualified)) { _local2.soapOperation = _local2.createElement(_local5); _local2.soapOperation.attributes.xmlns = _local6; } else { var _local9 = getStringFromQName(_local4, new mx.services.QName(_local5, _local6)); _local2.soapOperation = _local2.createElement(_local9); if (_local3.useStyle == mx.services.SOAPConstants.USE_ENCODED) { _local2.soapOperation.attributes[mx.services.SOAPConstants.SOAP_ENV_PREFIX + ":encodingStyle"] = _local7.ENCODING_URI; } } _local4.appendChild(_local2.soapOperation); } else { _local2.soapOperation = _local4; } } } function addHeader(headerElement) { log.logDebug("Adding header: " + headerElement.nodeName); if (requestHeaders == undefined) { requestHeaders = new Array(); } requestHeaders.push(new mx.services.SOAPHeader(headerElement)); } function getOrCreatePrefix(node, namespaceURI, preferredPrefix) { if ((namespaceURI == undefined) || (namespaceURI == "")) { var _local5 = node.getNamespaceForPrefix(""); if ((_local5 != undefined) && (_local5 != "")) { node.attributes.xmlns = ""; node.registerNamespace("", ""); } return(""); } var _local2 = node.getPrefixForNamespace(namespaceURI); var _local6 = false; if (_local2 == undefined) { if (preferredPrefix == undefined) { request.nscount++; _local2 = "ns" + request.nscount; } else { _local2 = preferredPrefix; } _local6 = true; } if (_local6) { if (_local2 != "") { node.attributes["xmlns:" + _local2] = namespaceURI; } else { node.attributes.xmlns = namespaceURI; } node.registerPrefix(_local2, namespaceURI); } return(_local2); } function getStringFromQName(node, qname) { var _local2 = getOrCreatePrefix(node, qname.namespaceURI); if (_local2 != "") { return((_local2 + ":") + qname.localPart); } return(qname.localPart); } function encodeParam(paramName, paramType, parentNode, qname) { var _local2; var _local4 = request; var _local12 = mx.services.SOAPConstants.SCHEMA_INSTANCE_TYPE; if (paramType.typeType == mx.services.DataType.ARRAY_TYPE) { if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { _local2 = _local4.createElement((mx.services.SOAPConstants.SOAP_ENC_PREFIX + ":") + paramName); _local2.attributes["xmlns:" + mx.services.SOAPConstants.SOAP_ENC_PREFIX] = soapConstants.ENCODING_URI; parentNode.appendChild(_local2); _local2.nodeName = paramName; var _local7 = paramType.arrayType; var _local8 = mx.services.SOAPConstants.ARRAY_TYPE_PQNAME; var _local11 = getOrCreatePrefix(_local2, _local7.namespaceURI); _local2.attributes[_local8] = (_local11 + ":") + _local7.name; } else { _local2 = _local4.createElement(paramName); parentNode.appendChild(_local2); if (qname != undefined) { _local2.nodeName = getStringFromQName(_local2, qname); } } } else if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var _local9 = getStringFromQName(parentNode, new mx.services.QName(paramName, paramType.namespaceURI)); _local2 = _local4.createElement(_local9); parentNode.appendChild(_local2); _local2.nodeName = paramName; } else { _local2 = _local4.createElement(paramName); parentNode.appendChild(_local2); if (qname != undefined) { _local2.nodeName = getStringFromQName(_local2, qname); } } return(_local2); } function encodeParamValue(valueObj, valueType, elementNode, document) { var _local29 = mx.services.SOAPConstants.SCHEMA_INSTANCE_TYPE; if (valueType.typeType == mx.services.DataType.ARRAY_TYPE) { var _local19 = valueType.arrayType; var _local20 = valueObj.length; if ((myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) && (valueType.isEncodedArray == true)) { var _local11 = valueType; var _local4 = ""; var _local21 = true; while (_local11.typeType == mx.services.DataType.ARRAY_TYPE) { var _local3 = _local11.dimensions; if (_local3.length > 1) { var _local9 = 0; while (_local9 < _local3.length) { if (_local9 > 0) { _local4 = _local4 + ","; } _local4 = _local4 + _local3[_local9]; _local9++; } } else if (_local21) { _local4 = _local4 + (("[" + _local20) + "]"); _local21 = false; } else { _local4 = _local4 + "[]"; } _local11 = _local11.arrayType; } elementNode.attributes[mx.services.SOAPConstants.ARRAY_TYPE_PQNAME] = getStringFromQName(elementNode, valueType.qname) + _local4; elementNode.attributes[_local29] = mx.services.SOAPConstants.ARRAY_PQNAME; } var _local9 = 0; while (_local9 < _local20) { var _local18 = getStringFromQName(elementNode, valueType.itemElement); var _local13 = document.createElement(_local18); var _local22 = elementNode.getPrefixForNamespace(_local19.namespaceURI); elementNode.appendChild(_local13); encodeParamValue(valueObj[_local9], _local19, _local13, document); _local9++; } return(undefined); } if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var _local26; var _local28 = true; if (valueType == undefined) { valueType = valueObj.__dataType; } if ((valueType == undefined) || (valueType.typeType == mx.services.DataType.ANY_TYPE)) { var _local27 = typeof(valueObj); var _local25; if (_local27 == "number") { _local25 = "double"; } else if (_local27 == "object") { if (valueObj instanceof Date) { _local25 = "dateTime"; valueType = myCall.schemaVersion.dateTimeType; } else { valueType = mx.services.DataType.objectType; _local28 = false; } } else { _local25 = "string"; } var _local30 = getOrCreatePrefix(elementNode, myCall.schemaVersion.xsdURI); _local26 = (_local30 + ":") + _local25; } else if (!valueType.isAnonymous) { var _local30 = getOrCreatePrefix(elementNode, valueType.namespaceURI); _local26 = (_local30 + ":") + valueType.name; } if (_local28 && (_local26 != undefined)) { elementNode.attributes[_local29] = _local26; } } if (valueType.typeType == mx.services.DataType.MAP_TYPE) { encodeMap(valueObj, elementNode, document); } else { if (valueType.partTypes != undefined) { for (var _local24 in valueType.partTypes) { var _local6 = valueType.partTypes[_local24]; var _local8 = valueObj[_local24]; var _local17 = new mx.services.QName(_local24, _local6.namespace); if (_local6.isAttribute) { elementNode.attributes[_local24] = _local8; } else { var _local16 = encodeParam(_local24, _local6.schemaType, elementNode, _local17); if (_local8 != undefined) { encodeParamValue(_local8, _local6.schemaType, _local16, document); } } } if (valueType.simpleValue != undefined) { var _local33 = document.createTextNode(valueObj._value); elementNode.appendChild(_local33); } return(undefined); } if (valueType.typeType == mx.services.DataType.DATE_TYPE) { var _local34 = encodeDate(valueObj, valueType); var _local31 = document.createTextNode(_local34); elementNode.appendChild(_local31); return(undefined); } if (valueType.typeType == mx.services.DataType.OBJECT_TYPE) { for (var _local23 in valueObj) { var _local14 = valueObj[_local23]; var _local12 = _local14.__dataType; var _local15 = encodeParam(_local23, _local12, elementNode); encodeParamValue(_local14, _local12, _local15, document); } return(undefined); } var _local32 = document.createTextNode(valueObj.toString()); elementNode.appendChild(_local32); } } function setupBodyXML(bodyXML) { request.appendChild(bodyXML); } function setupParams(inputParams) { var _local9 = myCall.parameters; var _local10 = _local9.length; var _local3 = 0; while (_local3 < _local10) { var _local2 = _local9[_local3]; var _local4 = _local2.schemaType; var _local6; if (_local2.mode != mx.services.SOAPConstants.MODE_OUT) { var _local8 = encodeParam(_local2.name, _local4, request.soapOperation, _local2.qname); if (inputParams instanceof Array) { _local6 = inputParams[_local3]; } else { _local6 = inputParams[_local2.name]; } var _local5 = _local4.schemaType; if (_local5 == undefined) { _local5 = _local4; } encodeParamValue(_local6, _local5, _local8, request); } _local3++; } request.soapOperation = null; _multiRefs = null; } function encodeMap(obj, mapNode, document) { for (var _local8 in obj) { var _local2 = document.createElement("item"); var _local4 = document.createElement("key"); _local2.appendChild(_local4); encodeParamValue(_local8, undefined, _local4, document); var _local5 = document.createElement("value"); _local2.appendChild(_local5); encodeParamValue(obj[_local8], undefined, _local5, document); mapNode.appendChild(_local2); } } function encodeDate(rawDate, dateType) { var _local1 = new String(); if ((dateType.name == "dateTime") || (dateType.name == "date")) { _local1 = _local1.concat(rawDate.getUTCFullYear(), "-"); var _local2 = rawDate.getUTCMonth() + 1; if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, "-"); _local2 = rawDate.getUTCDate(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2); } if (dateType.name == "dateTime") { _local1 = _local1.concat("T"); } if ((dateType.name == "dateTime") || (dateType.name == "time")) { var _local2 = rawDate.getUTCHours(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, ":"); _local2 = rawDate.getUTCMinutes(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, ":"); _local2 = rawDate.getUTCSeconds(); if (_local2 < 10) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2, "."); _local2 = rawDate.getUTCMilliseconds(); if (_local2 < 10) { _local1 = _local1.concat("00"); } else if (_local2 < 100) { _local1 = _local1.concat("0"); } _local1 = _local1.concat(_local2); } _local1 = _local1.concat("Z"); return(_local1); } function decode(assert, response, callbackMethod) { log.logInfo("Decoding SOAPCall response", mx.services.Log.VERBOSE); var _local3; if (!assert) { var _local4 = new mx.services.SOAPFault(); _local4.faultcode = "Server.Connection"; _local4.faultstring = "Unable to connect to endpoint: " + myCall.endpointURI; _local4.faultactor = myCall.targetNamespace; fault = _local4; log.logDebug("No response received from remote service"); } else { _local3 = decodeSOAPEnvelope(response); if (log.level > mx.services.Log.BRIEF) { this.response._decodeTimeMark = new Date(); this.response._decodeTime = Math.round(this.response._decodeTimeMark - this.response._parseTimeMark); log.logInfo(("Decoded SOAP response into result [" + this.response._decodeTime) + " millis]"); } } if (fault != undefined) { __handleFault(fault); onFault(fault, response); myCall.onFault(fault, response); } else { if (responseHeaders != undefined) { onHeaders(responseHeaders, response); } onResult(_local3, response); myCall.onResult(_local3, response); __handleResult(_local3); } this[callbackMethod](_local3, response); } function decodeSOAPEnvelope(response) { log.logDebug("Decoding SOAP response envelope"); var _local4; var _local11 = soapConstants; var _local8 = response.firstChild; if (_local8.getNamespaceURI() != soapConstants.ENVELOPE_URI) { var _local12 = new mx.services.SOAPFault(); _local12.faultcode = "VersionMismatch"; _local12.faultstring = (("Request implements version: " + soapConstants.ENVELOPE_URI) + " Response implements version ") + _local8.getNamespaceURI(); fault = _local12; } else { var _local13 = _local8.getPrefixForNamespace(_local11.ENVELOPE_URI); var _local6 = _local8.getPrefixForNamespace(myCall.schemaVersion.xsiURI); var _local14 = _local8.getPrefixForNamespace(myCall.schemaVersion.xsdURI); var _local9 = new mx.services.PrefixedQName(_local13, _local11.headerQName); var _local10 = new mx.services.PrefixedQName(_local13, _local11.bodyQName); var _local15 = new mx.services.PrefixedQName(_local13, _local11.faultQName); var _local5 = _local8.childNodes; var _local7 = _local5.length; var _local3 = 0; while (_local3 < _local7) { var _local2 = _local5[_local3]; if (_local2.nodeName == _local9.qualifiedName) { responseHeaders = decodeSOAPHeaders(_local2); } else if ((fault == undefined) && (_local2.nodeName == _local10.qualifiedName)) { bodyNode = _local2; if (doDecoding) { _local4 = decodeSOAPBody(_local2, _local6); } else { _local4 = _local2.childNodes; } } _local3++; } } return(_local4); } function decodeSOAPHeaders(headerNode) { log.logDebug("Decoding SOAP response headers"); var _local6 = new Array(); var _local7 = headerNode.childNodes; var _local8 = _local7.length; var _local4 = 0; while (_local4 < _local8) { var _local2 = _local7[_local4]; var _local5 = _local2.attributes.mustUnderstand; if (_local5 == "1") { if (typeof(onHeader) != "function") { var _local3 = new mx.services.SOAPFault(); _local3.faultcode = "MustUnderstand"; _local3.faultstring = "No callback for header " + _local2.nodeName; fault = _local3; break; } } _local6.push(_local2); _local4++; } return(_local6); } function decodeSOAPBody(bodyNode, xsiPrefix) { log.logDebug("Decoding SOAP response body"); var _local7; var _local8 = bodyNode.childNodes[0]; if (_local8.getLocalName() == soapConstants.faultQName.localPart) { fault = decodeSOAPFault(_local8); } else if (myCall.useStyle == mx.services.SOAPConstants.USE_ENCODED) { var _local9 = _local8.childNodes; var _local10 = _local9.length; var _local2 = 0; while (_local2 < _local10) { var _local3 = _local9[_local2]; var _local6 = getOutputParameter(_local2); var _local4 = decodeResultNode(_local3, _local6.schemaType); _local6.value = _local4; if (_local2 == 0) { _local7 = _local4; } _local2++; } } else { var _local6 = getOutputParameterByQName(_local8.getQName()); if (myCall.operationStyle == mx.services.SOAPConstants.WRAPPED_STYLE) { for (var _local11 in _local6.schemaType.partTypes) { var _local5 = _local6.schemaType.partTypes[_local11]; var _local4 = decodeResultNode(_local8.childNodes[0], _local5.schemaType); _local7 = _local4; } } else { _local7 = decodeResultNode(_local8, _local6.schemaType); _local6.value = _local7; } } return(_local7); } function decodeResultNode(resultNode, schemaType, preExistingResult) { var _local5; var _local17 = resultNode.attributes.href; if (_local17 != undefined) { resultNode = decodeRef(bodyNode, _local17); if (resultNode == undefined) { } } var _local13 = myCall.schemaVersion; for (var _local15 in resultNode.attributes) { var _local10 = resultNode.getQNameFromString(_local15); if (_local13.nilQName.equals(_local10)) { var _local9 = resultNode.attributes[_local15]; if ((_local9 == "true") || (_local9 == "1")) { return(null); } } } if ((schemaType == undefined) || (schemaType.typeType == mx.services.DataType.ANY_TYPE)) { schemaType = getTypeFromNode(resultNode); } if (schemaType.typeType == mx.services.DataType.ARRAY_TYPE) { _local5 = decodeArrayNode(resultNode, schemaType.arrayType); } else if (schemaType.typeType == mx.services.DataType.COLL_TYPE) { _local5 = decodeCollectionNode(resultNode, schemaType.arrayType, preExistingResult); } else if (schemaType.typeType == mx.services.DataType.XML_TYPE) { _local5 = resultNode; } else if (schemaType.typeType == mx.services.DataType.MAP_TYPE) { _local5 = decodeMap(resultNode); } else if (schemaType.typeType == mx.services.DataType.ROWSET_TYPE) { _local5 = decodeRowSet(resultNode); } else if (schemaType.typeType == mx.services.DataType.QBEAN_TYPE) { _local5 = decodeQueryBean(resultNode); } else if (schemaType.partTypes != undefined) { _local5 = new Object(); var _local2; for (_local2 in schemaType.partTypes) { if (schemaType.partTypes[_local2].isAttribute) { _local5[_local2] = resultNode.attributes[_local2]; } } if (schemaType.simpleValue == undefined) { var _local12 = resultNode.childNodes; _local2 = 0; while (_local2 < _local12.length) { var _local7 = _local12[_local2]; var _local6 = _local7.getLocalName(); var _local8 = schemaType.partTypes[_local6]; if (_local8 == undefined) { } var _local11 = _local5[_local6]; _local5[_local6] = decodeResultNode(_local7, _local8.schemaType, _local11); _local2++; } } else { _local5._value = decodeResultNode(resultNode, schemaType.simpleValue); } } else if (resultNode.childNodes.length == 0) { if (schemaType.typeType == mx.services.DataType.STRING_TYPE) { _local5 = ""; } else { _local5 = null; } } else if ((resultNode.childNodes.length == 1) && (resultNode.childNodes[0].nodeType == 3)) { var _local14 = resultNode.childNodes[0]; var _local18 = schemaType.typeType; if (schemaType.typeType == mx.services.DataType.BOOLEAN_TYPE) { var _local16 = _local14.nodeValue; if ((_local16.toLowerCase() == "true") || (_local16 == "1")) { _local5 = true; } else { _local5 = false; } } else if (schemaType.typeType == mx.services.DataType.DATE_TYPE) { _local5 = decodeDate(_local14.nodeValue); } else if (schemaType.typeType == mx.services.DataType.NUMBER_TYPE) { _local5 = Number(_local14.nodeValue); } else { _local5 = _local14.nodeValue; } } else { _local5 = resultNode; } return(_local5); } function decodeRef(rootNode, id) { id = id.substring(1); if (_multiRefs == null) { _multiRefs = new Object(); var _local5 = rootNode.childNodes; var _local6 = _local5.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local5[_local2]; var _local4 = _local3.attributes.id; if (_local4 != undefined) { _multiRefs[_local4] = _local3; } _local2++; } } return(_multiRefs[id]); } function decodeArrayNode(node, arrayType) { return(((myCall.useStyle == mx.services.SOAPConstants.USE_LITERAL) ? (decodeLiteralArrayNode(node, arrayType)) : (decodeSOAPArrayNode(node, arrayType)))); } function decodeLiteralArrayNode(node, arrayType) { if (doLazyDecoding) { return(new mx.services.ArrayProxy(node.childNodes, this, arrayType)); } var _local4 = new Array(); var _local3 = node.childNodes; var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { _local4.push(decodeResultNode(_local3[_local2], arrayType)); _local2++; } return(_local4); } function decodeCollectionNode(node, arrayType, arrayObj) { if (arrayObj == undefined) { arrayObj = new Array(); } arrayObj.push(decodeResultNode(node, arrayType)); return(arrayObj); } function decodeSOAPArrayNode(node, arrayType) { var _local9 = new Array(); var _local4 = node.getAttributeByQName(soapConstants.soapencArrayTypeQName); if (_local4 == undefined) { var _local7 = decodeLiteralArrayNode(node, arrayType); return(_local7); } var _local2 = myCall.schemaContext.getTypeByQName(node.getQNameFromString(_local4)); if (_local2 != undefined) { arrayType = _local2; } var _local6 = new Array(1); _local6[0] = 0; var _local8 = decodeArrayContents(node.childNodes, _local6, arrayType.dimensions, 0, arrayType); return(_local8); } function decodeArrayContents(arrayMemberNodes, linearIdxHolder, dimensions, dimensionIdx, arrayType) { var _local4 = dimensions[dimensionIdx]; var _local3 = new Array(); if (dimensionIdx == (dimensions.length - 1)) { var _local2 = 0; while (_local2 < _local4) { _local3[_local2] = decodeResultNode(arrayMemberNodes[linearIdxHolder[0]++], arrayType.arrayType); _local2++; } } else { var _local2 = 0; while (_local2 < _local4) { _local3[_local2] = decodeArrayContents(arrayMemberNodes, linearIdxHolder, dimensions, dimensionIdx + 1, arrayType.arrayType); _local2++; } } return(_local3); } function decodeRowSet(rowSetNode) { var _local10 = new Array(); var _local7 = new Array(); var _local6 = new Array(); var _local9 = rowSetNode.childNodes[0].childNodes; var _local12 = _local9.length; var _local2 = 0; while (_local2 < _local12) { var _local3 = _local9[_local2]; var _local4 = _local3.attributes.type; if (_local4 == undefined) { return(undefined); } var _local5 = _local3.getQNameFromString(_local4); if (_local5 == undefined) { return(undefined); } _local7[_local2] = myCall.schemaContext.getTypeByQName(_local5); _local6[_local2] = _local3.childNodes[0].nodeValue; _local2++; } var _local8 = rowSetNode.childNodes[1].childNodes; var _local11 = _local8.length; if (doLazyDecoding) { return(new mx.services.RowSetProxy(this, _local8, _local7, _local6)); } _local2 = 0; while (_local2 < _local11) { _local10[_local2] = decodeRowSetItem(_local8[_local2], _local7, _local6); _local2++; } return(_local10); } function decodeQueryBean(beanNode) { var _local10 = new Array(); var _local4 = new Array(); var _local9 = beanNode.getElementsByLocalName("columnList")[0]; if (_local9 == undefined) { return(undefined); } var _local11 = _local9.childNodes.length; var _local3 = 0; while (_local3 < _local11) { var _local7 = _local9.childNodes[_local3]; _local4[_local3] = _local7.childNodes[0].nodeValue; _local3++; } var _local12 = beanNode.getElementsByLocalName("data")[0]; if (_local12 == undefined) { return(undefined); } var _local8 = decodeSOAPArrayNode(_local12); _local3 = 0; while (_local3 < _local8.length) { var _local6 = _local8[_local3]; var _local5 = new Object(); var _local2 = 0; while (_local2 < _local4.length) { _local5[_local4[_local2]] = _local6[_local2]; _local2++; } _local10[_local3] = _local5; _local3++; } return(_local10); } function decodeRowSetItem(itemNode, types, fields) { var _local5 = itemNode.childNodes; var _local4 = new Object(); var _local6 = types.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local5[_local2]; _local4[fields[_local2]] = decodeResultNode(_local3, types[_local2]); _local2++; } return(_local4); } function decodeMap(node) { var _local9 = new Object(); var _local8 = node.childNodes; var _local5 = 0; while (_local5 < _local8.length) { var _local4 = _local8[_local5].childNodes; var _local6; var _local7; var _local3 = 0; while (_local3 < _local4.length) { var _local2 = _local4[_local3]; if (_local2.nodeName == "key") { _local6 = decodeResultNode(_local2); } else if (_local2.nodeName == "value") { _local7 = decodeResultNode(_local2); } _local3++; } _local9[_local6] = _local7; _local5++; } return(_local9); } function getTypeFromNode(node) { var _local2 = node.attributes["xsi:type"]; if (_local2 == undefined) { return(undefined); } var _local3 = node.getQNameFromString(_local2); if (_local3 == undefined) { return(undefined); } return(myCall.schemaContext.getTypeByQName(_local3)); } function decodeDate(rawValue) { var _local4; var _local2; var _local1; var _local8 = rawValue.indexOf("T"); var _local14 = rawValue.indexOf(":"); var _local15 = rawValue.indexOf("-"); if (_local8 != -1) { _local2 = rawValue.substring(0, _local8); _local1 = rawValue.substring(_local8 + 1); } else if (_local14 != -1) { _local1 = rawValue; } else if (_local15 != -1) { _local2 = rawValue; } if (_local2 != undefined) { var _local13 = _local2.substring(0, _local2.indexOf("-")); var _local12 = _local2.substring(5, _local2.indexOf("-", 5)); var _local9 = _local2.substring(8, 10); _local4 = new Date(Date.UTC(_local13, _local12 - 1, _local9)); } else { _local4 = new Date(); } if (_local1 != undefined) { var _local3 = "Z"; var _local6 = 0; if (_local2.length > 10) { _local3 = _local2.substring(10); } else if (_local1.length > 12) { _local3 = _local1.substring(12); } if (_local3 != "Z") { var _local7 = _local3.length; _local6 = _local3.substring(_local7 - 5, _local7 - 3); if (_local3.charAt(_local7 - 6) == "+") { _local6 = -_local6; } } var _local16 = Number(_local1.substring(0, _local1.indexOf(":"))); var _local17 = _local1.substring(3, _local1.indexOf(":", 3)); var _local10 = _local1.substring(6, _local1.indexOf(".", 6)); var _local11 = _local1.substr(9, 3); _local4.setUTCHours(_local16, _local17, _local10, _local11); _local4 = new Date(_local4.getTime() + (_local6 * 3600000)); } return(_local4); } function decodeSOAPFault(faultNode) { log.logDebug("SOAP: Decoding SOAP response fault"); var _local4 = new mx.services.SOAPFault(); _local4.element = faultNode; var _local5 = faultNode.childNodes; var _local6 = _local5.length; var _local3 = 0; while (_local3 < _local6) { var _local2 = _local5[_local3]; if (_local2.nodeName == "faultcode") { _local4.faultcode = _local2.childNodes[0].toString(); } else if (_local2.nodeName == "faultstring") { _local4.faultstring = _local2.childNodes[0].toString(); } else if (_local2.nodeName == "faultactor") { _local4.faultactor = _local2.childNodes[0].toString(); } else if (_local2.nodeName == "detail") { _local4.detail = _local2; } _local3++; } return(_local4); } function getOutputParameter(index) { return(getOutputParameters()[index]); } function getOutputParameterByName(localName) { var _local4 = getOutputParameters(); var _local5 = _local4.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = _local4[_local2]; if (_local3.name == localName) { return(_local3); } _local2++; } } function getOutputParameterByQName(qname) { var _local4 = getOutputParameters(); var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2].qname; if (_local3 != undefined) { if ((_local3.localPart == qname.localPart) && (_local3.namespaceURI == qname.namespaceURI)) { return(_local4[_local2]); } } _local2++; } } function getOutputParameters() { var _local5 = new Array(); var _local4 = myCall.parameters; var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2]; if (_local3.mode != mx.services.SOAPConstants.MODE_IN) { _local5.push(_local3); } _local2++; } return(_local5); } function getOutputValue(index) { return(getOutputValues()[index]); } function getOutputValues() { var _local5 = new Array(); var _local4 = myCall.parameters; var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2]; if (_local3.mode != mx.services.SOAPConstants.MODE_IN) { _local5.push(_local3.value); } _local2++; } return(_local5); } function getInputParameter(index) { return(getInputParameters()[index]); } function getInputParameters() { var _local5 = new Array(); var _local4 = myCall.parameters; var _local6 = _local4.length; var _local2 = 0; while (_local2 < _local6) { var _local3 = _local4[_local2]; if (_local3.mode != mx.services.SOAPConstants.MODE_OUT) { _local5.push(_local3); } _local2++; } return(_local5); } var doLazyDecoding = true; var doDecoding = true; var cancelled = false; }
Symbol 199 MovieClip [__Packages.mx.services.SOAPCall] Frame 0
class mx.services.SOAPCall { var log, operationName, targetNamespace, endpointURI, parameters, concurrency, timeout, version, schemaContext, schemaVersion, soapConstants, doLazyDecoding, doDecoding, operationStyle, useStyle, encodingStyle, actionURI, request, wsdlOperation, elementFormQualified, currentlyActive; function SOAPCall (operationName, targetNamespace, endpointURI, logObj, operationStyle, useStyle, encodingStyle, soapAction, soapVersion, schemaContext) { log = logObj; log.logInfo("Creating SOAPCall for " + operationName, mx.services.Log.VERBOSE); log.logDebug("SOAPCall endpoint URI: " + endpointURI); this.operationName = operationName; this.targetNamespace = targetNamespace; this.endpointURI = endpointURI; parameters = new Array(); concurrency = MULTIPLE_CONCURRENCY; timeout = undefined; version = ((soapVersion == undefined) ? (mx.services.SOAPConstants.DEFAULT_VERSION) : (soapVersion)); this.schemaContext = schemaContext; var _local2 = schemaContext.schemaVersion; schemaVersion = ((_local2 == undefined) ? (mx.services.SchemaVersion.getSchemaVersion(mx.services.SchemaVersion.XSD_URI_2001)) : (_local2)); soapConstants = mx.services.SOAPConstants.getConstants(version); doLazyDecoding = true; doDecoding = true; this.operationStyle = ((operationStyle == undefined) ? (mx.services.SOAPConstants.DEFAULT_OPERATION_STYLE) : (operationStyle)); this.useStyle = ((useStyle == undefined) ? (mx.services.SOAPConstants.DEFAULT_USE) : (useStyle)); this.encodingStyle = ((encodingStyle == undefined) ? (soapConstants.ENCODING_URI) : (encodingStyle)); actionURI = (((soapAction == undefined) || (soapAction == "")) ? ((this.targetNamespace + "/") + this.operationName) : (soapAction)); log.logInfo("Successfully created SOAPCall", mx.services.Log.VERBOSE); } function addParameter(soapParam) { parameters.push(soapParam); } function invoke() { if (request == undefined) { return(undefined); } return(asyncInvoke(request, "onLoad")); } function asyncInvoke(args, callbackMethod) { var _local3 = new mx.services.PendingCall(this); if (!initialized) { wsdlOperation.parseMessages(); if (wsdlOperation.input.isWrapped) { operationStyle = mx.services.SOAPConstants.WRAPPED_STYLE; targetNamespace = wsdlOperation.input.targetNamespace; elementFormQualified = wsdlOperation.input.isQualified; } if (wsdlOperation.wsdl.fault != undefined) { triggerDelayedFault(_local3, wsdlOperation.wsdl.fault); return(_local3); } var _local5 = wsdlOperation.input.parameters; var _local9 = _local5.length; var _local2 = 0; while (_local2 < _local9) { addParameter(_local5[_local2]); _local2++; } var _local6 = wsdlOperation.output.parameters; var _local7 = _local6.length; _local2 = 0; while (_local2 < _local7) { addParameter(_local6[_local2]); _local2++; } initialized = true; } log.logInfo("Asynchronously invoking SOAPCall: " + operationName); var _local11; if (log.level > mx.services.Log.BRIEF) { _local11 = new Date(); } if ((concurrency != MULTIPLE_CONCURRENCY) && (currentlyActive != undefined)) { if (concurrency == SINGLE_CONCURRENCY) { var _local12 = new mx.services.SOAPFault("ConcurrencyError", ("Attempt to call method " + operationName) + " while another call is pending. Either change concurrency options or avoid multiple calls."); triggerDelayedFault(_local3, _local12); return(_local3); } currentlyActive.cancel(); } currentlyActive = _local3; if (concurrency == SINGLE_CONCURRENCY) { _local3.isSingleCall = true; } _local3.encode(); _local3.callbackMethod = callbackMethod; _local3.setupParams(args); var _local8 = new XML(); _local8.ignoreWhite = true; _local8.callback = _local3; _local8._startTimeMark = _local11; _local8.onData = function (src) { var _local2 = this.callback; delete this.callback; if (_local2.isSingleCall) { _local2.myCall.currentlyActive = undefined; } if (_local2.timerID != undefined) { clearInterval(_local2.timerID); _local2.timerID = undefined; } if (_local2.cancelled) { return(undefined); } var _local3 = _local2.log.level; if (_local3 > mx.services.Log.BRIEF) { this._networkTimeMark = new Date(); this._networkTime = Math.round(this._networkTimeMark - this._startTimeMark); _local2.log.logInfo(("Received SOAP response from network [" + this._networkTime) + " millis]"); } if (src != undefined) { this.parseXML(src); this.loaded = true; if (_local3 > mx.services.Log.BRIEF) { this._parseTimeMark = new Date(); this._parseTime = Math.round(this._parseTimeMark - this._networkTimeMark); _local2.log.logInfo(("Parsed SOAP response XML [" + this._parseTime) + " millis]"); } } else { this.loaded = false; } _local2.decode.call(_local2, this.loaded, this, _local2.callbackMethod); }; _local3.response = _local8; if (timeout != undefined) { _local3.setTimeout(timeout); } _local3.request.sendAndLoad(endpointURI, _local8, "POST"); log.logInfo("Sent SOAP Request Message", mx.services.Log.VERBOSE); return(_local3); } function triggerDelayedFault(callback, fault) { callback.fault = fault; callback.handleDelayedFault = function () { clearInterval(this.timerID); this.timerID = undefined; this.__handleFault(this.fault); this.onFault(this.fault); }; callback.timerID = setInterval(function () { callback.handleDelayedFault(); }, 50); } static var MULTIPLE_CONCURRENCY = 0; static var SINGLE_CONCURRENCY = 1; static var LAST_CONCURRENCY = 2; var initialized = false; var useLiteralBody = false; }
Symbol 200 MovieClip [__Packages.mx.services.SOAPHeader] Frame 0
class mx.services.SOAPHeader { var element; function SOAPHeader (element) { this.element = element; } }
Symbol 201 MovieClip [__Packages.mx.services.PrefixedQName] Frame 0
class mx.services.PrefixedQName { var prefix, qname, qualifiedName; function PrefixedQName (prefix, qname) { this.prefix = prefix; this.qname = qname; qualifiedName = prefix; if (prefix != "") { qualifiedName = qualifiedName + ":"; } qualifiedName = qualifiedName + qname.localPart; } }
Symbol 202 MovieClip [__Packages.mx.services.ArrayProxy] Frame 0
class mx.services.ArrayProxy extends Array { var xmlNodes, sCall, arrayType, length; function ArrayProxy (xmlNodes, sCall, arrayType) { super(); this.xmlNodes = xmlNodes; this.sCall = sCall; this.arrayType = arrayType; length = xmlNodes.length; } function __resolve(index) { index = Number(index); var _local2 = sCall.decodeResultNode(xmlNodes[index], arrayType); this[index] = _local2; return(_local2); } }
Symbol 203 MovieClip [__Packages.mx.services.RowSetProxy] Frame 0
class mx.services.RowSetProxy extends Array { var sCall, xmlNodes, types, fields, length, views; function RowSetProxy (sCall, xmlNodes, types, fields) { super(); this.sCall = sCall; this.xmlNodes = xmlNodes; this.types = types; this.fields = fields; length = xmlNodes.length; views = new Array(); } function __resolve(index) { index = Number(index); if ((index < 0) || (index > length)) { return(undefined); } var _local3 = sCall.decodeRowSetItem(xmlNodes[index], types, fields); this[index] = _local3; return(_local3); } function getColumnNames() { return(fields); } }
Symbol 204 MovieClip [__Packages.mx.services.Namespace] Frame 0
class mx.services.Namespace { function Namespace () { } static function setup() { if (alreadySetup) { return(undefined); } alreadySetup = true; var _local15 = XMLNode.prototype; if (_local15.getQName == undefined) { _local15.getQName = function () { if (this.prefixedQName != undefined) { return(this.prefixedQName.qname); } var _local2 = this.nodeName; var _local3 = ""; var _local4 = _local2.indexOf(":"); if (_local4 != -1) { _local3 = _local2.substring(0, _local4); _local2 = _local2.substring(_local4 + 1); } var _local6 = this.getNamespaceForPrefix(_local3); var _local5 = new mx.services.QName(_local2, _local6); this.prefixedQName = new mx.services.PrefixedQName(_local3, _local5); return(_local5); }; } if (_local15.setChildValue == undefined) { _local15.setChildValue = function (name, value) { var _local5 = this.attributes[name]; if (_local5 != undefined) { this.attributes[name] = value; return(undefined); } var _local2 = this.getElementsByLocalName(name)[0]; if (_local2 != undefined) { _local2.firstChild.removeNode(); var _local4 = mx.services.Namespace._doc.createTextNode(value); _local2.appendChild(_local4); } }; } if (_local15.setValue == undefined) { _local15.setValue = function (value) { trace("setting value to " + value); this.firstChild.removeNode(); var _local2 = mx.services.Namespace._doc.createTextNode(value); this.appendChild(_local2); }; } if (_local15.getQualifiedName == undefined) { _local15.getQualifiedName = function () { return(this.nodeName); }; } if (_local15.getPrefix == undefined) { _local15.getPrefix = function () { if (this.prefixedQName != undefined) { return(this.prefixedQName.prefix); } var _local2 = this.nodeName; var _local3 = ""; var _local4 = _local2.indexOf(":"); if (_local4 != -1) { _local3 = _local2.substring(0, _local4); } return(_local3); }; } if (_local15.getLocalName == undefined) { _local15.getLocalName = function () { if (this.prefixedQName != undefined) { return(this.prefixedQName.qname.localPart); } var _local2 = this.nodeName; var _local3 = _local2.indexOf(":"); if (_local3 != -1) { _local2 = _local2.substring(_local3 + 1); } return(_local2); }; } if (_local15.getNamespaceURI == undefined) { _local15.getNamespaceURI = function () { return(this.getQName().namespaceURI); }; } if (_local15.loadNSMappings == undefined) { _local15.loadNSMappings = function () { if (this.mappings == undefined) { this.mappings = new Object(); } for (var _local4 in this.attributes) { var _local2 = true; if (_local4.indexOf("xmlns") == 0) { if (_local4.charAt(5) == ":") { _local2 = false; } else if (_local4.length != 5) { continue; } var _local3 = this.attributes[_local4]; if (_local2) { this.mappings["<>defaultNamespace<>"] = _local3; } else { this.mappings[_local4.substring(6)] = _local3; } } } }; } if (_local15.getPrefixForNamespace == undefined) { _local15.getPrefixForNamespace = function (namespaceURI) { var _local3; if ((namespaceURI == undefined) || (namespaceURI == "")) { return(undefined); } if (this.mappings == undefined) { this.loadNSMappings(); } for (var _local5 in this.mappings) { var _local2 = this.mappings[_local5]; if (_local2 == namespaceURI) { _local3 = _local5; break; } } if ((_local3 == undefined) && (this.parentNode != undefined)) { _local3 = this.parentNode.getPrefixForNamespace(namespaceURI); } if (_local3 == "<>defaultNamespace<>") { _local3 = ""; } return(_local3); }; } if (_local15.getNamespaceForPrefix == undefined) { _local15.getNamespaceForPrefix = function (prefix) { if (prefix == "") { prefix = "<>defaultNamespace<>"; } if (this.mappings == undefined) { this.loadNSMappings(); } var _local2 = this.mappings[prefix]; if ((_local2 == undefined) && (this.parentNode != undefined)) { _local2 = this.parentNode.getNamespaceForPrefix(prefix); } return(_local2); }; } if (_local15.getElementsByQName == undefined) { _local15.getElementsByQName = function (qname) { var _local4 = new Array(); if (this.getQName().equals(qname)) { _local4.push(this); } var _local5 = this.childNodes.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = this.childNodes[_local2]; if (_local3.getQName().equals(qname)) { _local4.push(_local3); } _local2++; } return(_local4); }; } if (_local15.getElementsByLocalName == undefined) { _local15.getElementsByLocalName = function (lname) { var _local4 = new Array(); if (this.getLocalName() == lname) { _local4.push(this); } var _local5 = this.childNodes.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = this.childNodes[_local2]; if (_local3.getLocalName() == lname) { _local4.push(_local3); } _local2++; } return(_local4); }; } if (_local15.getElementsByReferencedName == undefined) { _local15.getElementsByReferencedName = function (nameValue, qname) { var _local6 = new Array(); var _local12 = this.attributes.name; if (_local12 == nameValue) { var _local10 = false; if (qname != undefined) { var _local11 = this.getQName(); if ((_local11.namespaceURI == qname.namespaceURI) && (_local11.localPart == qname.localPart)) { _local10 = true; } } else { _local10 = true; } if (_local10) { _local6.push(this); } } else { var _local8 = this.childNodes.length; var _local4 = 0; while (_local4 < _local8) { var _local3 = this.childNodes[_local4].getElementsByReferencedName(nameValue, qname); var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { _local6.push(_local3[_local2]); _local2++; } _local4++; } } return(_local6); }; } if (_local15.getAttributeByQName == undefined) { _local15.getAttributeByQName = function (qn) { for (var _local8 in this.attributes) { var _local5 = ""; var _local2 = _local8; var _local3 = _local8.indexOf(":"); if (_local3 != -1) { _local5 = _local8.substring(0, _local3); _local2 = _local8.substring(_local3 + 1); } var _local4 = this.getNamespaceForPrefix(_local5); var _local7 = new mx.services.QName(_local4, _local2); if ((_local2 == qn.localPart) && (_local4 == qn.namespaceURI)) { return(this.attributes[_local8]); } } }; } if (_local15.getQNameFromString == undefined) { _local15.getQNameFromString = function (prefixedName, useDefault) { var _local3 = prefixedName.indexOf(":"); var _local4 = ""; if ((_local3 == -1) && (!useDefault)) { return(new mx.services.QName(prefixedName)); } _local4 = prefixedName.substring(0, _local3); prefixedName = prefixedName.substring(_local3 + 1); return(new mx.services.QName(prefixedName, this.getNamespaceForPrefix(_local4))); }; } if (_local15.registerNamespace == undefined) { _local15.registerNamespace = function (prefix, namespaceURI) { if (this.mappings == undefined) { this.loadNSMappings(); } if (prefix == "") { prefix = "<>defaultNamespace<>"; } if (this.mappings[prefix] == undefined) { this.mappings[prefix] = namespaceURI; } }; } if (_local15.unregisterNamespace == undefined) { _local15.unregisterNamespace = function (prefix) { if (this.mappings != undefined) { if (prefix == "") { prefix = "<>defaultNamespace<>"; } this.mappings[prefix] = undefined; } }; } _local15 = XML.prototype; _local15.nscount = 0; _local15.getElementsByQName = function (qname) { return(this.firstChild.getElementsByQName(qname)); }; _local15.getElementsByReferencedName = function (tname, qname) { var _local2 = tname.indexOf(":"); var _local3 = ((_local2 != -1) ? (tname.substring(_local2 + 1)) : (tname)); return(this.firstChild.getElementsByReferencedName(_local3, qname)); }; _local15.getElementsByLocalName = function (lname) { return(this.firstChild.getElementsByLocalName(lname)); }; } static var alreadySetup = false; static var _doc = new XML(); }
Symbol 205 MovieClip [__Packages.mx.controls.UIScrollBar] Frame 0
class mx.controls.UIScrollBar extends mx.controls.scrollClasses.ScrollBar { var textField, wasHorizontal, __width, __height, _parent, synchScroll, setScrollProperties, __set__scrollPosition, initializing, _rotation, _xscale, hScroller, vScroller, onChanged, onScroller, scrollPosition, dispatchEvent; function UIScrollBar () { super(); } function init(Void) { super.init(); textField.owner = this; horizontal = (wasHorizontal); if (horizontal) { ((textField != undefined) ? (super.setSize(textField._width, 16)) : (super.setSize(__width, __height))); } else { ((textField != undefined) ? (super.setSize(16, textField._height)) : (super.setSize(__width, __height))); } if (horizontal) { var _local3 = __width; __height = __width; width = _local3; __width = 16; } textField.onScroller = function () { this.hPosition = this.hscroll; this.vPosition = this.scroll - 1; }; if (_targetInstanceName != undefined) { setScrollTarget(_targetInstanceName); _targetInstanceName.addListener(this); } } function get _targetInstanceName() { return(textField); } function get height() { if (wasHorizontal) { return(__width); } return(__height); } function get width() { if (wasHorizontal) { return(__height); } return(__width); } function size(Void) { super.size(); onTextChanged(); } function draw() { super.draw(); } function set _targetInstanceName(t) { if (t == undefined) { textField.removeListener(this); delete textField[(horizontal ? "hScroller" : "vScroller")]; if ((textField.hScroller != undefined) && (textField.vScroller != undefined)) { textField.unwatch("text"); textField.unwatch("htmltext"); } } var _local3 = _parent[t]; textField = _parent[t]; onTextChanged(); //return(_targetInstanceName); } function setSize(w, h) { if (horizontal) { super.setSize(h, w); } else { super.setSize(w, h); } } function onTextChanged(Void) { if (textField == undefined) { return(undefined); } clearInterval(synchScroll); if (horizontal) { var _local2 = textField.hscroll; setScrollProperties(textField._width, 0, textField.maxhscroll); __set__scrollPosition(Math.min(_local2, textField.maxhscroll)); } else { var _local2 = textField.scroll; var _local3 = textField.bottomScroll - textField.scroll; setScrollProperties(_local3, 1, textField.maxscroll); __set__scrollPosition(Math.min(_local2, textField.maxscroll)); } } function get horizontal() { return(wasHorizontal); } function set horizontal(v) { wasHorizontal = v; if (v and initializing) { if (_rotation == 90) { return; } _xscale = -100; _rotation = -90; } if (!initializing) { if (v) { if (_rotation == 0) { _rotation = -90; _xscale = -100; } } else if (_rotation == -90) { _rotation = 0; _xscale = 100; } } //return(horizontal); } function callback(prop, oldval, newval) { clearInterval(hScroller.synchScroll); clearInterval(vScroller.synchScroll); hScroller.synchScroll = setInterval(hScroller, "onTextChanged", 50); vScroller.synchScroll = setInterval(vScroller, "onTextChanged", 50); return(newval); } function setScrollTarget(tF) { if (tF == undefined) { textField.removeListener(this); delete textField[(horizontal ? "hScroller" : "vScroller")]; if ((textField.hScroller != undefined) && (textField.vScroller != undefined)) { textField.unwatch("text"); textField.unwatch("htmltext"); } } textField = undefined; if (!(tF instanceof TextField)) { return(undefined); } textField = tF; if (horizontal) { textField.hScroller = this; textField.hScroller.lineScrollSize = 5; } else { textField.vScroller = this; textField.vScroller.lineScrollSize = 1; } onTextChanged(); onChanged = function (Void) { this.onTextChanged(); }; onScroller = function (Void) { if (!this.isScrolling) { if (!this.horizontal) { this.scrollPosition = this.textField.scroll; } else { this.scrollPosition = this.textField.hscroll; } } }; textField.addListener(this); textField.watch("text", callback); textField.watch("htmlText", callback); } function scrollHandler(Void) { if (horizontal) { var _local2 = textField.background; textField.hscroll = scrollPosition; textField.background = _local2; } else { textField.scroll = scrollPosition; } } function setEnabled(enable) { super.setEnabled(enable); if (enable) { textField.addListener(this); } else { textField.removeListener(); } } function dispatchScrollEvent(detail) { dispatchEvent({type:"scroll"}); } static var symbolName = "UIScrollBar"; static var symbolOwner = mx.controls.UIScrollBar; var className = "UIScrollBar"; var clipParameters = {_targetInstanceName:1, horizontal:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.UIScrollBar.prototype.clipParameters); static var version = "2.0.1.78"; }
Symbol 207 MovieClip [__Packages.mx.containers.ScrollPane] Frame 0
class mx.containers.ScrollPane extends mx.core.ScrollView { var _total, _loaded, destroyChildAt, createChild, __scrollContent, spContentHolder, hScroller, vScroller, __get__hScrollPolicy, __vScrollPolicy, __get__vScrollPolicy, tabEnabled, keyDown, mask_mc, hPosition, __get__maxHPosition, vPosition, __get__maxVPosition, __hPosition, __vPosition, invalidate; function ScrollPane () { super(); } function getBytesTotal() { return(_total); } function getBytesLoaded() { return(_loaded); } function set contentPath(scrollableContent) { if (!initializing) { if (scrollableContent == undefined) { destroyChildAt(0); } else { if (this[mx.core.View.childNameBase + 0] != undefined) { destroyChildAt(0); } createChild(scrollableContent, "spContentHolder"); } } __scrollContent = scrollableContent; //return(contentPath); } function get contentPath() { return(__scrollContent); } function get content() { return(spContentHolder); } function setHPosition(position) { if ((position <= hScroller.maxPos) && (position >= hScroller.minPos)) { super.setHPosition(position); spContentHolder._x = -position; } } function setVPosition(position) { if ((position <= vScroller.maxPos) && (position >= vScroller.minPos)) { super.setVPosition(position); spContentHolder._y = -position; } } function get vLineScrollSize() { return(__vLineScrollSize); } function set vLineScrollSize(vLineSize) { __vLineScrollSize = vLineSize; vScroller.__set__lineScrollSize(vLineSize); //return(vLineScrollSize); } function get hLineScrollSize() { return(__hLineScrollSize); } function set hLineScrollSize(hLineSize) { __hLineScrollSize = hLineSize; hScroller.__set__lineScrollSize(hLineSize); //return(hLineScrollSize); } function get vPageScrollSize() { return(__vPageScrollSize); } function set vPageScrollSize(vPageSize) { __vPageScrollSize = vPageSize; vScroller.__set__pageScrollSize(vPageSize); //return(vPageScrollSize); } function get hPageScrollSize() { return(__hPageScrollSize); } function set hPageScrollSize(hPageSize) { __hPageScrollSize = hPageSize; hScroller.__set__pageScrollSize(hPageSize); //return(hPageScrollSize); } function set hScrollPolicy(policy) { __hScrollPolicy = policy.toLowerCase(); setScrollProperties(spContentHolder._width, 1, spContentHolder._height, 1); //return(__get__hScrollPolicy()); } function set vScrollPolicy(policy) { __vScrollPolicy = policy.toLowerCase(); setScrollProperties(spContentHolder._width, 1, spContentHolder._height, 1); //return(__get__vScrollPolicy()); } function get scrollDrag() { return(__scrollDrag); } function set scrollDrag(s) { __scrollDrag = s; if (__scrollDrag) { spContentHolder.useHandCursor = true; spContentHolder.onPress = function () { this._parent.startDragLoop(); }; spContentHolder.tabEnabled = false; spContentHolder.onRelease = (spContentHolder.onReleaseOutside = function () { delete this.onMouseMove; }); __scrollDrag = true; } else { delete spContentHolder.onPress; spContentHolder.tabEnabled = false; spContentHolder.tabChildren = true; spContentHolder.useHandCursor = false; __scrollDrag = false; } //return(scrollDrag); } function init(Void) { super.init(); tabEnabled = true; keyDown = _onKeyDown; } function createChildren(Void) { super.createChildren(); mask_mc._visible = false; initializing = false; if ((__scrollContent != undefined) && (__scrollContent != "")) { contentPath = (__scrollContent); } } function size(Void) { super.size(); setScrollProperties(spContentHolder._width, 1, spContentHolder._height, 1); hPosition = Math.min(hPosition, __get__maxHPosition()); vPosition = Math.min(vPosition, __get__maxVPosition()); } function setScrollProperties(columnCount, columnWidth, rowCount, rowHeight) { super.setScrollProperties(columnCount, columnWidth, rowCount, rowHeight); hScroller.__set__lineScrollSize(__hLineScrollSize); hScroller.__set__pageScrollSize(__hPageScrollSize); vScroller.__set__lineScrollSize(__vLineScrollSize); vScroller.__set__pageScrollSize(__vPageScrollSize); } function onScroll(scrollEvent) { super.onScroll(scrollEvent); spContentHolder._x = -__hPosition; spContentHolder._y = -__vPosition; } function childLoaded(obj) { super.childLoaded(obj); onComplete(); } function onComplete(Void) { setScrollProperties(spContentHolder._width, 1, spContentHolder._height, 1); hPosition = 0; vPosition = 0; scrollDrag = (__scrollDrag); invalidate(); } function startDragLoop(Void) { spContentHolder.lastX = spContentHolder._xmouse; spContentHolder.lastY = spContentHolder._ymouse; spContentHolder.onMouseMove = function () { var _local5 = this.lastX - this._xmouse; var _local4 = this.lastY - this._ymouse; _local5 = _local5 + this._parent.hPosition; _local4 = _local4 + this._parent.vPosition; var _local3 = this._parent.getViewMetrics(); var _local7 = (this._parent.__height - _local3.top) - _local3.bottom; var _local6 = (this._parent.__width - _local3.left) - _local3.right; this._parent.__hPosition = Math.max(0, Math.min(_local5, this._width - _local6)); this._parent.__vPosition = Math.max(0, Math.min(_local4, this._height - _local7)); this._parent.hScroller.scrollPosition = this._parent.__hPosition; this._x = -this._parent.hPosition; this._parent.vScroller.scrollPosition = this._parent.__vPosition; this._y = -this._parent.vPosition; super.dispatchEvent({type:"scroll"}); }; } function dispatchEvent(o) { o.target = this; _total = o.total; _loaded = o.current; super.dispatchEvent(o); } function refreshPane(Void) { contentPath = (__scrollContent); } function _onKeyDown(e) { if (e.code == 40) { vPosition = vPosition + vLineScrollSize; } else if (e.code == 38) { vPosition = vPosition - vLineScrollSize; } else if (e.code == 37) { hPosition = hPosition - hLineScrollSize; } else if (e.code == 39) { hPosition = hPosition + hLineScrollSize; } else if (e.code == 33) { vPosition = vPosition - vPageScrollSize; } else if (e.code == 34) { vPosition = vPosition + vPageScrollSize; } else if (e.code == 36) { vPosition = vScroller.minPos; } else if (e.code == 35) { vPosition = vScroller.maxPos; } } static var symbolName = "ScrollPane"; static var symbolOwner = mx.containers.ScrollPane; var className = "ScrollPane"; static var version = "2.0.1.78"; var __hScrollPolicy = "auto"; var __scrollDrag = false; var __vLineScrollSize = 5; var __hLineScrollSize = 5; var __vPageScrollSize = 20; var __hPageScrollSize = 20; var clipParameters = {contentPath:1, scrollDrag:1, hScrollPolicy:1, vScrollPolicy:1, vLineScrollSize:1, hLineScrollSize:1, vPageScrollSize:1, hPageScrollSize:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.containers.ScrollPane.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters); var initializing = true; }
Symbol 209 MovieClip [__Packages.mx.data.components.RDBMSResolver] Frame 0
class mx.data.components.RDBMSResolver extends MovieClip { var _opNumber, __tableName, __nullValue, __updateMode, __updateResults, __unresolvedPackets, __unresolvedDeltas, __fieldInfo, __deltaPacket, _fieldValueObj, __updatePacket, dispatchEvent, __schema; function RDBMSResolver () { super(); _opNumber = new Array(); _opNumber.length = 3; _opNumber.insert = mx.data.components.datasetclasses.DeltaPacketConsts.Added; _opNumber.delete = mx.data.components.datasetclasses.DeltaPacketConsts.Removed; _opNumber.update = mx.data.components.datasetclasses.DeltaPacketConsts.Modified; __tableName = ((__tableName == undefined) ? "" : (__tableName)); __nullValue = ((__nullValue == undefined) ? "{_NULL_}" : (__nullValue)); __updateMode = ((__updateMode == undefined) ? (umUsingKey) : (__updateMode)); __updateResults = null; __unresolvedPackets = new Array(); __unresolvedDeltas = new Array(); mx.data.binding.ComponentMixins.initComponent(this); mx.events.EventDispatcher.initialize(this); } function get tableName() { return(__tableName); } function set tableName(newValue) { __tableName = newValue; //return(tableName); } function get updateMode() { return(__updateMode); } function set updateMode(newValue) { __updateMode = newValue; //return(updateMode); } function get nullValue() { return(__nullValue); } function set nullValue(newValue) { __nullValue = newValue; //return(nullValue); } function get fieldInfo() { return(__fieldInfo); } function get deltaPacket() { return(__deltaPacket); } function set deltaPacket(dp) { _fieldValueObj = new Object(); _fieldValueObj.__schema = getLocalSchema(dp.getConfigInfo().elements[0].type); mx.data.binding.ComponentMixins.initComponent(_fieldValueObj); __deltaPacket = dp; if ((dp != null) && (dp != undefined)) { __unresolvedDeltas[dp.getTransactionId()] = dp; createUpdatePacketFromDelta(); } //return(deltaPacket); } function get updatePacket() { return(__updatePacket); } function get updateResults() { return(__updateResults); } function set updateResults(results) { __updateResults = results; updateResultsToDataset(); //return(updateResults); } function get unresolvedPackets() { return(__unresolvedPackets); } function addFieldInfo(fieldName, ownerName, isKey) { fieldInfo.addItem(new mx.data.components.resclasses.FieldInfoItem(fieldName, ownerName, isKey)); } function resendPacket(transID) { var _local2 = __unresolvedPackets[transID].updatePacket; if ((_local2 != null) && (_local2 != undefined)) { __updatePacket = _local2; dispatchEvent({target:this, type:"updatePacketChanged"}); return(true); } return(false); } function buildFieldTag(deltaObj, field, isKey) { var _local4 = deltaObj.getItemByName(field.name); var _local3 = ((("<field name=\"" + field.name) + "\" type=\"") + field.type.name) + "\""; var _local7; var _local6; if (deltaObj.getOperation() != mx.data.components.datasetclasses.DeltaPacketConsts.Added) { _local7 = ((_local4 != null) ? (((_local4.__get__oldValue() != null) ? (encodeFieldValue(field.name, _local4.__get__oldValue())) : (__nullValue))) : (encodeFieldValue(field.name, deltaObj.getSource()[field.name]))); _local6 = ((_local4.__get__newValue() != null) ? (encodeFieldValue(field.name, _local4.__get__newValue())) : (__nullValue)); _local3 = _local3 + ((" oldValue=\"" + _local7) + "\""); _local3 = _local3 + ((_local4 != null) ? ((" newValue=\"" + _local6) + "\"") : ""); _local3 = _local3 + ((" key=\"" + isKey.toString()) + "\" />"); } else { _local3 = _local3 + ((" newValue=\"" + encodeFieldValue(field.name, deltaObj.getSource()[field.name])) + "\""); _local3 = _local3 + ((" key=\"" + isKey.toString()) + "\" />"); } return(_local3); } function createUpdatePacketFromDelta() { __updatePacket = getDeltaAsXML(__deltaPacket); dispatchEvent({target:this, type:"beforeApplyUpdates", updatePacket:__updatePacket}); __unresolvedPackets[__deltaPacket.getTransactionId()] = {timestamp:__deltaPacket.getTimestamp(), updatePacket:__updatePacket}; dispatchEvent({target:this, type:"updatePacketChanged"}); } function decodeFieldValue(fieldName, value) { var _local2 = _fieldValueObj.getField(fieldName); _fieldValueObj[fieldName] = value; return(_local2.getTypedValue(mx.data.binding.FieldAccessor.findElementType(_fieldValueObj.__schema, fieldName).type.name).value); } function encodeFieldValue(fieldName, value) { var _local2 = mx.data.binding.FieldAccessor.findElementType(_fieldValueObj.__schema, fieldName); if (_local2 != null) { var _local3 = _fieldValueObj.getField(fieldName); _local3.setTypedValue(new mx.data.binding.TypedValue(value, _local2.name, _local2)); return(mx.utils.XMLString.escape(String(_fieldValueObj[fieldName]))); } return(mx.utils.XMLString.escape(String(value))); } function getDeltaAsXML(deltaPacket) { var _local4 = deltaPacket.getIterator(); var _local3 = null; var _local2 = ((((("<?xml version=\"1.0\"?> <update_packet tableName=\"" + __tableName) + "\" nullValue=\"") + __nullValue) + "\" transID=\"") + deltaPacket.getTransactionId()) + "\">"; while (_local4.hasNext()) { _local3 = mx.data.components.datasetclasses.Delta(_local4.next()); switch (_local3.getOperation()) { case mx.data.components.datasetclasses.DeltaPacketConsts.Removed : _local2 = _local2 + (("<delete id=\"" + _local3.getId()) + "\">"); if ((__updateMode == umUsingKey) || (__updateMode == umUsingAll)) { _local2 = _local2 + getFieldList(_local3, __updateMode, false); } else { _local2 = _local2 + getFieldList(_local3, umUsingAll, false); } _local2 = _local2 + "</delete>"; break; case mx.data.components.datasetclasses.DeltaPacketConsts.Added : _local2 = _local2 + (("<insert id=\"" + _local3.getId()) + "\">"); _local2 = _local2 + getFieldList(_local3, umUsingKey, true); _local2 = _local2 + "</insert>"; break; case mx.data.components.datasetclasses.DeltaPacketConsts.Modified : _local2 = _local2 + (("<update id=\"" + _local3.getId()) + "\">"); _local2 = _local2 + getFieldList(_local3, __updateMode, true); _local2 = _local2 + "</update>"; } } _local2 = _local2 + "</update_packet>"; var _local5 = new XML(); _local5.ignoreWhite = true; _local5.parseXML(_local2); return(_local5); } function getFieldInfo(fieldName) { var _local2 = null; var _local3 = fieldInfo.getIterator(); while (_local3.hasNext()) { _local2 = mx.data.components.resclasses.FieldInfoItem(_local3.next()); if (_local2.fieldName == fieldName) { return(_local2); } } return(null); } function getFieldList(deltaObj, keyFieldMode, listModified) { var _local7 = ""; var _local2 = null; var _local4 = null; var _local5 = __deltaPacket.getSource().getResolverFieldList(); for (var _local9 in _local5) { _local2 = _local5[_local9]; _local4 = deltaObj.getItemByName(_local9); if (includeField(deltaObj, _local2, keyFieldMode, listModified)) { _local7 = _local7 + buildFieldTag(deltaObj, _local2, isKey(_local2, _local4, keyFieldMode)); } } return(_local7); } function includeField(deltaObj, fld, keyFieldMode, includeModified) { var _local2 = getFieldInfo(fld.name); if (((_local2 == null) || (_local2.ownerName == "")) || (_local2.ownerName == __tableName)) { var _local4 = deltaObj.getItemByName(fld.name); return((isKey(fld, _local4, keyFieldMode) || ((_local4 != null) && (includeModified))) || ((deltaObj.getOperation() == mx.data.components.datasetclasses.DeltaPacketConsts.Added) && (deltaObj.getSource()[fld.name] != null))); } return(false); } function isKey(fld, chgItem, keyFieldMode) { return(((keyFieldMode == umUsingAll) || ((keyFieldMode == umUsingModified) && (chgItem != null))) || ((getFieldInfo(fld.name) != null) && (getFieldInfo(fld.name).isKey))); } function removeUnresolvedPacket(transID) { __unresolvedPackets[transID] = null; __unresolvedDeltas[transID] = null; } function updateResultsToDataset() { var _local5 = new Array(); var _local4 = new Array(); var _local7 = __updateResults.firstChild.childNodes; var _local3 = null; var _local6 = __updateResults.firstChild.attributes.transID; _fieldValueObj = new Object(); _fieldValueObj.__schema = getLocalSchema(mx.data.components.datasetclasses.DeltaPacket(__unresolvedDeltas[_local6]).getConfigInfo().elements[0].type); mx.data.binding.ComponentMixins.initComponent(_fieldValueObj); var _local2 = 0; while (_local2 < _local7.length) { _local3 = _local7[_local2]; if (_local3.nodeName.toLowerCase() == "operation") { _local5.push(Object(updateResultNodeToDelta(_local6, _local3))); } else { _local4.push(Object(updateResultNodeToDelta(_local6, _local3))); } _local2++; } if (_local6 == undefined) { _local6 = new Date().toString(); } __deltaPacket = new mx.data.components.datasetclasses.DeltaPacketImpl(this, _local6); _local2 = 0; while (_local2 < _local5.length) { __deltaPacket.addItem(_local5[_local2]); _local2++; } removeUnresolvedPacket(_local6); dispatchEvent({target:this, type:"reconcileResults", deltaPacket:__deltaPacket}); dispatchEvent({target:this, type:"deltaPacketChanged"}); if (_local4.length > 0) { __deltaPacket = new mx.data.components.datasetclasses.DeltaPacketImpl(this, new Date().toString()); _local2 = 0; while (_local2 < _local4.length) { __deltaPacket.addItem(_local4[_local2]); _local2++; } dispatchEvent({target:this, type:"reconcileUpdates", deltaPacket:__deltaPacket}); dispatchEvent({target:this, type:"deltaPacketChanged"}); } } function updateResultNodeToDelta(transID, node) { var _local3 = -1; var _local5 = ""; var _local4 = null; var _local8 = ""; var _local6 = false; switch (node.nodeName.toLowerCase()) { case "insert" : _local3 = _opNumber[node.nodeName]; _local4 = updateResultGetSourceObject(node, true); break; case "delete" : _local3 = _opNumber[node.nodeName]; _local4 = updateResultGetSourceObject(node, false); break; case "update" : _local3 = _opNumber[node.nodeName]; _local4 = updateResultGetSourceObject(node, false); _local6 = true; break; case "operation" : _local3 = _opNumber[node.attributes.op]; if (!((_local3 >= 0) && (_local3 < _opNumber.length))) { throw new Error(((("Operation '" + node.attributes.op) + "' does not exist. Error on RDBMSResolver '") + Object(this)._name) + "'."); } _local5 = node.attributes.id; _local4 = getDeltaSource(transID, _local5); if (node.attributes.msg != null) { _local8 = node.attributes.msg; } _local6 = true; break; default : throw new Error(((("Unknown node type '" + node.nodeName) + "'. Error on RDBMSResolver '") + Object(this)._name) + "'."); } var _local7 = new mx.data.components.datasetclasses.DeltaImpl(_local5, _local4, _local3, _local8, true); if (_local6) { updateResultsAddDeltaItems(node, _local7); } return(_local7); } function getDeltaSource(transID, opID) { var _local5 = mx.data.components.datasetclasses.DeltaPacket(__unresolvedDeltas[transID]); if (_local5 != null) { var _local2; var _local3 = _local5.getIterator(); while (_local3.hasNext()) { _local2 = mx.data.components.datasetclasses.Delta(_local3.next()); if (_local2.getId() == opID) { return(_local2.getSource()); } } } return(null); } function getLocalSchema(extSch) { var _local4 = null; if (extSch != null) { var _local6 = __schema.elements; var _local7 = extSch.elements; var _local3 = 0; while (_local3 < _local6.length) { if (_local6[_local3].type.original == false) { if (_local4 == null) { _local4 = mx.utils.ObjectCopy.copy(extSch); } var _local5 = false; var _local2 = 0; var _local8 = _local6[_local3].name; while ((!_local5) && (_local2 < _local7.length)) { _local5 = _local7[_local2].name == _local8; _local2++; } if (_local5) { _local4.elements[_local2 - 1] = _local6[_local3]; } else { if (_local4.elements == null) { _local4.elements = new Array(); } _local4.elements.push(_local6[_local3]); } } _local3++; } if (_local4 == null) { _local4 = extSch; } } else { _local4 = __schema; } return(_local4); } function updateResultsAddDeltaItems(node, delta) { var _local6 = node.childNodes; var _local2 = null; var _local4 = null; var _local5 = 0; while (_local5 < _local6.length) { _local2 = _local6[_local5]; if (_local2.nodeType != 3) { var _local3 = new Object(); _local4 = _local2.attributes.name; if (_local2.attributes.oldValue != undefined) { _local3.oldValue = decodeFieldValue(_local4, _local2.attributes.oldValue); } if (_local2.attributes.newValue != undefined) { _local3.newValue = decodeFieldValue(_local4, _local2.attributes.newValue); } if (_local2.attributes.curValue != undefined) { _local3.curValue = decodeFieldValue(_local4, _local2.attributes.curValue); } _local3.message = _local2.attributes.msg; new mx.data.components.datasetclasses.DeltaItem(mx.data.components.datasetclasses.DeltaItem.Property, _local4, _local3, Object(delta)); } _local5++; } } function updateResultGetSourceObject(node, isInsert) { var _local5 = node.childNodes; var _local2 = null; var _local4 = new Object(); var _local3 = 0; while (_local3 < _local5.length) { _local2 = _local5[_local3]; if (isInsert) { if (_local2.attributes.newValue != undefined) { _local4[_local2.attributes.name] = _local2.attributes.newValue; } else { throw new Error(((("Field " + _local2.attributes.name) + "in Insert operation node does not have a 'newValue' attribute. Error on RDBMSResolver '") + Object(this)._name) + "'."); } } else if (_local2.attributes.key == "true") { if (_local2.attributes.oldValue != undefined) { _local4[_local2.attributes.name] = _local2.attributes.oldValue; } else { throw new Error(((("Field " + _local2.attributes.name) + "is a key field but does not have an 'oldValue' attribute. Error on RDBMSResolver '") + Object(this)._name) + "'."); } } _local3++; } return(_local4); } static var umUsingKey = "umUsingKey"; static var umUsingModified = "umUsingModified"; static var umUsingAll = "umUsingAll"; }
Symbol 214 MovieClip [__Packages.mx.data.components.resclasses.FieldInfoItem] Frame 0
class mx.data.components.resclasses.FieldInfoItem extends Object { var fieldName, ownerName, isKey; function FieldInfoItem (fldName, ownName, key) { super(); fieldName = fldName; ownerName = ownName; isKey = key; } }
Symbol 215 MovieClip [__Packages.mx.utils.CollectionImpl] Frame 0
class mx.utils.CollectionImpl extends Object implements mx.utils.Collection { var _items; function CollectionImpl () { super(); _items = new Array(); } function addItem(item) { var _local2 = false; if (item != null) { _items.push(item); _local2 = true; } return(_local2); } function clear() { _items = new Array(); } function contains(item) { return(internalGetItem(item) > -1); } function getItemAt(index) { return(_items[index]); } function getIterator() { return(new mx.utils.IteratorImpl(this)); } function getLength() { return(_items.length); } function isEmpty() { return(_items.length == 0); } function removeItem(item) { var _local2 = false; var _local3 = internalGetItem(item); if (_local3 > -1) { _items.splice(_local3, 1); _local2 = true; } return(_local2); } function internalGetItem(item) { var _local3 = -1; var _local2 = 0; while (_local2 < _items.length) { if (_items[_local2] == item) { _local3 = _local2; break; } _local2++; } return(_local3); } }
Symbol 216 MovieClip [__Packages.mx.controls.RadioButton] Frame 0
class mx.controls.RadioButton extends mx.controls.Button { var setToggle, __value, selected, releaseFocus, phase, dispatchEvent, _parent, __data, setState, __state, getFocusManager; function RadioButton () { super(); } function init(Void) { setToggle(__toggle); __value = this; super.init(); } function size(Void) { super.size(); } function onRelease() { if (selected) { return(undefined); } releaseFocus(); phase = "up"; setSelected(true); dispatchEvent({type:"click"}); _parent[__groupName].dispatchEvent({type:"click"}); } function setData(val) { __data = val; } function set data(val) { __data = val; //return(data); } function getData(val) { return(__data); } function get data() { return(__data); } function onUnload() { if (_parent[__groupName].selectedRadio == this) { _parent[__groupName].selectedRadio = undefined; } _parent[__groupName].radioList[indexNumber] = null; delete _parent[__groupName].radioList[indexNumber]; } function setSelected(val) { var _local2 = _parent[__groupName]; var _local4 = _local2.selectedRadio.__width; var _local5 = _local2.selectedRadio.__height; if (val) { _local2.selectedRadio.setState(false); _local2.selectedRadio = this; } else if (_local2.selectedRadio == this) { _local2.selectedRadio.setState(false); _local2.selectedRadio = undefined; } setState(val); } function deleteGroupObj(groupName) { delete _parent[groupName]; } function getGroupName() { return(__groupName); } function get groupName() { return(__groupName); } function setGroupName(groupName) { if ((groupName == undefined) || (groupName == "")) { return(undefined); } delete _parent[__groupName].radioList[__data]; addToGroup(groupName); __groupName = groupName; } function set groupName(groupName) { setGroupName(groupName); //return(this.groupName); } function addToGroup(groupName) { if ((groupName == "") || (groupName == undefined)) { return(undefined); } var _local2 = _parent[groupName]; if (_local2 == undefined) { _local2 = (_parent[groupName] = new mx.controls.RadioButtonGroup()); _local2.__groupName = groupName; } _local2.addInstance(this); if (__state) { _local2.selectedRadio.setState(false); _local2.selectedRadio = this; } } function get emphasized() { return(undefined); } function keyDown(e) { switch (e.code) { case 40 : setNext(); break; case 38 : setPrev(); break; case 37 : setPrev(); break; case 39 : setNext(); } } function setNext() { var _local2 = _parent[groupName]; if ((_local2.selectedRadio.indexNumber + 1) == _local2.radioList.length) { return(undefined); } var _local4 = (_local2.selectedRadio ? (_local2.selectedRadio.indexNumber) : -1); var _local3 = 1; while (_local3 < _local2.radioList.length) { if ((_local2.radioList[_local4 + _local3] != undefined) && (_local2.radioList[_local4 + _local3].enabled)) { var _local5 = getFocusManager(); _local2.radioList[_local4 + _local3].selected = true; _local5.setFocus(_local2.radioList[_local2.selectedRadio.indexNumber]); _local2.dispatchEvent({type:"click"}); break; } _local3++; } } function setPrev() { var _local2 = _parent[groupName]; if (_local2.selectedRadio.indexNumber == 0) { return(undefined); } var _local4 = (_local2.selectedRadio ? (_local2.selectedRadio.indexNumber) : 1); var _local3 = 1; while (_local3 < _local2.radioList.length) { if ((_local2.radioList[_local4 - _local3] != undefined) && (_local2.radioList[_local4 - _local3].enabled)) { var _local5 = getFocusManager(); _local2.radioList[_local4 - _local3].selected = true; _local5.setFocus(_local2.radioList[_local2.selectedRadio.indexNumber]); _local2.dispatchEvent({type:"click"}); break; } _local3++; } } function set toggle(v) { //return(toggle); } function get toggle() { } function set icon(v) { //return(icon); } function get icon() { } static var symbolName = "RadioButton"; static var symbolOwner = mx.controls.RadioButton; static var version = "2.0.1.78"; var className = "RadioButton"; var btnOffset = 0; var __toggle = true; var __label = "Radio Button"; var __labelPlacement = "right"; var ignoreClassStyleDeclaration = {Button:1}; var __groupName = "radioGroup"; var indexNumber = 0; var offset = false; var falseUpSkin = ""; var falseDownSkin = ""; var falseOverSkin = ""; var falseDisabledSkin = ""; var trueUpSkin = ""; var trueDownSkin = ""; var trueOverSkin = ""; var trueDisabledSkin = ""; var falseUpIcon = "RadioFalseUp"; var falseDownIcon = "RadioFalseDown"; var falseOverIcon = "RadioFalseOver"; var falseDisabledIcon = "RadioFalseDisabled"; var trueUpIcon = "RadioTrueUp"; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = "RadioTrueDisabled"; var centerContent = false; var borderW = 0; var clipParameters = {labelPlacement:1, data:1, label:1, groupName:1, selected:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.RadioButton.prototype.clipParameters, mx.controls.Button.prototype.clipParameters); }
Symbol 233 MovieClip [__Packages.mx.controls.RadioButtonGroup] Frame 0
class mx.controls.RadioButtonGroup { var radioList, __groupName, selectedRadio; function RadioButtonGroup () { init(); mx.events.UIEventDispatcher.initialize(this); } function init(Void) { radioList = new Array(); } function setGroupName(groupName) { if ((groupName == undefined) || (groupName == "")) { return(undefined); } var _local6 = __groupName; _parent[groupName] = this; for (var _local5 in radioList) { radioList[_local5].groupName = groupName; var _local3 = radioList[_local5]; } _local3.deleteGroupObj(_local6); } function getGroupName() { return(__groupName); } function addInstance(instance) { instance.indexNumber = indexNumber++; radioList.push(instance); } function getValue() { if (selectedRadio.data == "") { return(selectedRadio.label); } return(selectedRadio.__data); } function getLabelPlacement() { for (var _local3 in radioList) { var _local2 = radioList[_local3].getLabelPlacement(); } return(_local2); } function setLabelPlacement(pos) { for (var _local3 in radioList) { radioList[_local3].setLabelPlacement(pos); } } function setEnabled(val) { for (var _local3 in radioList) { radioList[_local3].enabled = val; } } function setSize(val, val1) { for (var _local3 in radioList) { radioList[_local3].setSize(val, val1); } } function getEnabled() { for (var _local4 in radioList) { var _local2 = radioList[_local4].enabled; var _local3 = t + (_local2 + 0); } if (_local3 == radioList.length) { return(true); } if (_local3 == 0) { return(false); } } function setStyle(name, val) { for (var _local4 in radioList) { radioList[_local4].setStyle(name, val); } } function setInstance(val) { for (var _local3 in radioList) { if (radioList[_local3] == val) { radioList[_local3].selected = true; } } } function getInstance() { return(selectedRadio); } function setValue(val) { for (var _local4 in radioList) { if ((radioList[_local4].__data == val) || (radioList[_local4].label == val)) { var _local2 = _local4; break; } } if (_local2 != undefined) { selectedRadio.setState(false); selectedRadio.hitArea_mc._height = selectedRadio.__height; selectedRadio.hitArea_mc._width = selectedRadio.__width; selectedRadio = radioList[_local2]; selectedRadio.setState(true); selectedRadio.hitArea_mc._height = (selectedRadio.hitArea_mc._width = 0); } } function set groupName(groupName) { if ((groupName == undefined) || (groupName == "")) { return; } var _local6 = __groupName; _parent[groupName] = this; for (var _local5 in radioList) { radioList[_local5].groupName = groupName; var _local3 = radioList[_local5]; } _local3.deleteGroupObj(_local6); //return(this.groupName); } function get groupName() { return(__groupName); } function set selectedData(val) { for (var _local4 in radioList) { if ((radioList[_local4].__data == val) || (radioList[_local4].label == val)) { var _local2 = _local4; break; } } if (_local2 != undefined) { selectedRadio.setState(false); selectedRadio = radioList[_local2]; selectedRadio.setState(true); } //return(selectedData); } function get selectedData() { if ((selectedRadio.data == "") || (selectedRadio.data == undefined)) { return(selectedRadio.label); } return(selectedRadio.__data); } function get selection() { return(selectedRadio); } function set selection(val) { for (var _local3 in radioList) { if (radioList[_local3] == val) { radioList[_local3].selected = true; } } //return(selection); } function set labelPlacement(pos) { for (var _local3 in radioList) { radioList[_local3].setLabelPlacement(pos); } //return(labelPlacement); } function get labelPlacement() { for (var _local3 in radioList) { var _local2 = radioList[_local3].getLabelPlacement(); } return(_local2); } function set enabled(val) { for (var _local3 in radioList) { radioList[_local3].enabled = val; } //return(enabled); } function get enabled() { var _local2 = 0; for (var _local3 in radioList) { _local2 = _local2 + radioList[_local3].enabled; } if (_local2 == 0) { return(false); } if (_local2 == radioList.length) { return(true); } } static var symbolName = "RadioButtonGroup"; static var symbolOwner = mx.controls.RadioButtonGroup; static var version = "2.0.1.78"; var className = "RadioButtonGroup"; var indexNumber = 0; }
Symbol 234 MovieClip [__Packages.mx.controls.ProgressBar] Frame 0
class mx.controls.ProgressBar extends mx.core.UIObject { var tabEnabled, boundingBox_mc, progTrackLeft_mc, setSkin, progTrackMiddle_mc, progTrackRight_mc, progBarLeft_mc, progBarMiddle_mc, progBarRight_mc, progIndBar_mc, mask_mc, createObject, labelPath, createLabel, setSize, __width, __height, invalidate, __source, __stringSource, si, dispatchEvent; function ProgressBar () { super(); } function init(Void) { super.init(); tabEnabled = false; boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function createChildren(Void) { if (progTrackLeft_mc == undefined) { setSkin(skinIDProgTrackLeft, progTrackLeftName); } if (progTrackMiddle_mc == undefined) { setSkin(skinIDProgTrackMiddle, progTrackMiddleName); } if (progTrackRight_mc == undefined) { setSkin(skinIDProgTrackRight, progTrackRightName); } if (progBarLeft_mc == undefined) { setSkin(skinIDProgBarLeft, progBarLeftName); } if (progBarMiddle_mc == undefined) { setSkin(skinIDProgBarMiddle, progBarMiddleName); } if (progBarRight_mc == undefined) { setSkin(skinIDProgBarRight, progBarRightName); } if (progIndBar_mc == undefined) { setSkin(skinIDProgIndBar, progIndBarName); progIndBar_mc._visible = false; } if (mask_mc == undefined) { mask_mc = createObject("BoundingBox", "mask_mc", skinIDMask); mask_mc._visible = false; progIndBar_mc.setMask(mask_mc); } if (labelPath == undefined) { labelPath = createLabel("labelPath", skinIDLabel); labelPath.tabEnabled = false; labelPath.selectable = false; labelPath.styleName = this; } setSize(__width, __height); } function size(Void) { invalidate(); } function draw(Void) { if ((__source == undefined) && (__stringSource != undefined)) { setSource(__stringSource); __stringSource = undefined; } var _local14 = __width; var _local22 = __height; var _local5 = ((progBarLeft_mc._width > progTrackLeft_mc._width) ? (progBarLeft_mc._width) : (progTrackLeft_mc._width)); var _local6 = ((progBarLeft_mc._height > progTrackLeft_mc._height) ? (progBarLeft_mc._height) : (progTrackLeft_mc._height)); var _local15 = ((progBarRight_mc._width > progTrackRight_mc._width) ? (progBarRight_mc._width) : (progTrackRight_mc._width)); var _local7 = _local14; var _local8 = 0; var _local9 = 0; if (__labelPlacement == "top") { _local8 = _local22 - _local6; } if ((__label != undefined) && (__label != "")) { labelPath._visible = false; var _local11 = 1; var _local20 = 1; var _local18 = 5; var _local26 = 4; var _local12 = __value - __minimum; if (_local12 < 0) { _local12 = 0; } var _local13 = __maximum - __minimum; if (_local13 < 0) { _local13 = 0; } if ((__labelPlacement == "left") || (__labelPlacement == "right")) { var _local4 = __label; if (!__indeterminate) { _local4 = replace(_local4, "%1", String(Math.floor(_local13 / __conversion))); _local4 = replace(_local4, "%2", String(Math.floor(_local13 / __conversion))); _local4 = replace(_local4, "%3", String(100)); _local4 = replace(_local4, "%%", "%"); } else { _local4 = replace(_local4, "%1", String(Math.floor(_local12 / __conversion))); _local4 = replace(_local4, "%2", "??"); _local4 = replace(_local4, "%3", ""); _local4 = replace(_local4, "%%", ""); } labelPath.text = _local4; _local7 = _local14 - ((labelPath.textWidth + _local18) + _local11); if (_local7 < (_local5 + _local15)) { _local7 = 0; } if (__labelPlacement == "left") { _local9 = _local14 - _local7; } } var _local3 = __label; if (!__indeterminate) { _local3 = replace(_local3, "%1", String(Math.floor(_local12 / __conversion))); _local3 = replace(_local3, "%2", String(Math.floor(_local13 / __conversion))); _local3 = replace(_local3, "%3", String(Math.floor(percentComplete))); _local3 = replace(_local3, "%%", "%"); } else { _local3 = replace(_local3, "%1", String(Math.floor(_local12 / __conversion))); _local3 = replace(_local3, "%2", "??"); _local3 = replace(_local3, "%3", ""); _local3 = replace(_local3, "%%", ""); } labelPath.text = _local3; var _local10 = 0; if ((__labelPlacement == "left") || (__labelPlacement == "right")) { _local10 = (_local14 - _local7) - _local11; } else { _local10 = _local14 - _local11; } if (_local10 < (labelPath.textWidth + _local18)) { labelPath._width = _local10; } else { labelPath._width = labelPath.textWidth + _local18; } if (((__labelPlacement == "left") || (__labelPlacement == "right")) || (__labelPlacement == "center")) { _local10 = _local22; } else { _local10 = (_local22 - _local20) - _local6; } if (_local10 < (labelPath.textHeight + _local26)) { labelPath._height = _local10; } else { labelPath._height = labelPath.textHeight + _local26; } if (__labelPlacement == "left") { labelPath._x = _local11; } else if (__labelPlacement == "right") { labelPath._x = _local7 + _local11; } else { labelPath._x = _local11; } if (((__labelPlacement == "center") || (__labelPlacement == "left")) || (__labelPlacement == "right")) { labelPath._y = (_local6 / 2) - (labelPath.height / 2); } else if (__labelPlacement == "top") { labelPath._y = (_local8 - _local20) - labelPath.height; } else { labelPath._y = _local6 + _local20; } labelPath._visible = true; } else { labelPath.text = ""; labelPath._visible = false; } if (_local7 >= (_local5 + _local15)) { var _local2 = progTrackLeft_mc.getBounds(progTrackLeft_mc); var _local42 = -_local2.xMin; var _local41 = -_local2.yMin; progTrackLeft_mc.move(((_local9 + _local5) - progTrackLeft_mc._width) + _local42, (_local8 + ((_local6 - progTrackLeft_mc._height) / 2)) + _local41); _local2 = progTrackMiddle_mc.getBounds(progTrackMiddle_mc); var _local38 = -_local2.xMin; var _local35 = -_local2.yMin; progTrackMiddle_mc.setSize((_local7 - _local5) - _local15, progTrackMiddle_mc._height); progTrackMiddle_mc.move((_local9 + _local5) + _local38, (_local8 + ((_local6 - progTrackLeft_mc._height) / 2)) + _local35); _local2 = progTrackRight_mc.getBounds(progTrackRight_mc); var _local31 = -_local2.xMin; var _local32 = -_local2.yMin; progTrackRight_mc.move(((_local9 + _local5) + progTrackMiddle_mc._width) + _local31, (_local8 + ((_local6 - progTrackRight_mc._height) / 2)) + _local32); var _local21 = (_local7 - _local5) - _local15; var _local16 = (_local21 * percentComplete) / 100; var _local17 = 0; if (__indeterminate == true) { _local16 = _local21; mask_mc._width = _local16; mask_mc._height = progIndBar_mc._height; mask_mc._x = _local9 + _local5; mask_mc._y = _local8 + ((_local6 - progIndBar_mc._height) / 2); progIndBar_mc._width = (_local7 * 200) / 150; var _local28 = progIndBar_mc._x; _local2 = progIndBar_mc.getBounds(progIndBar_mc); var _local30 = -_local2.xMin; var _local29 = -_local2.yMin; var _local19 = (_local9 + _local5) + _local30; var _local23 = (progIndBar_mc._width * 50) / 200; var _local25 = (progIndBar_mc._width * 20) / 200; var _local24 = 3; var _local27 = _local23; if (__direction == "left") { _local23 = (progIndBar_mc._width * 30) / 200; _local25 = 0; _local24 = -3; _local27 = _local25; } if ((_local28 <= (_local19 - _local23)) || (_local28 >= (_local19 - _local25))) { progIndBar_mc._x = (_local19 - _local27) + _local24; } else { progIndBar_mc._x = progIndBar_mc._x + _local24; } progIndBar_mc._y = (_local8 + ((_local6 - progIndBar_mc._height) / 2)) + _local29; progIndBar_mc._visible = true; invalidate(); } else { progIndBar_mc._visible = false; if (__direction == "left") { _local17 = _local21 - _local16; } } _local2 = progBarMiddle_mc.getBounds(progBarMiddle_mc); var _local40 = -_local2.xMin; var _local39 = -_local2.yMin; progBarMiddle_mc.setSize(_local16, progBarMiddle_mc._height); progBarMiddle_mc.move(((_local17 + _local9) + _local5) + _local40, (_local8 + ((_local6 - progBarLeft_mc._height) / 2)) + _local39); _local2 = progBarLeft_mc.getBounds(progBarLeft_mc); var _local36 = -_local2.xMin; var _local33 = -_local2.yMin; progBarLeft_mc.move((((_local17 + _local9) + _local5) - progBarLeft_mc._width) + _local36, (_local8 + ((_local6 - progBarLeft_mc._height) / 2)) + _local33); _local2 = progBarRight_mc.getBounds(progBarRight_mc); var _local34 = -_local2.xMin; var _local37 = -_local2.yMin; progBarRight_mc.move((((_local17 + _local9) + _local5) + progBarMiddle_mc._width) + _local34, (_local8 + ((_local6 - progBarRight_mc._height) / 2)) + _local37); progTrackLeft_mc._visible = true; progTrackMiddle_mc._visible = true; progTrackRight_mc._visible = true; progBarLeft_mc._visible = true; progBarMiddle_mc._visible = true; progBarRight_mc._visible = true; } else { progTrackLeft_mc._visible = false; progTrackMiddle_mc._visible = false; progTrackRight_mc._visible = false; progBarLeft_mc._visible = false; progBarMiddle_mc._visible = false; progBarRight_mc._visible = false; } } function replace(str, from, to) { var _local1 = str.split(from); var _local2 = _local1.join(to); return(_local2); } function getMode(Void) { return(__mode); } function setMode(val) { if ((val == "polled") || (val == "manual")) { __mode = val; } else { delete __mode; } invalidate(); } function getDirection(Void) { return(__direction); } function setDirection(val) { if (val == "left") { __direction = val; } else { delete __direction; } invalidate(); } function getLabelPlacement(Void) { return(__labelPlacement); } function setLabelPlacement(val) { if ((((val == "top") || (val == "center")) || (val == "left")) || (val == "right")) { __labelPlacement = val; } else { delete __labelPlacement; } invalidate(); } function getIndeterminate(Void) { return(__indeterminate); } function setIndeterminate(val) { if (val == true) { __indeterminate = true; } else { delete __indeterminate; } invalidate(); } function getLabel(Void) { return(__label); } function setLabel(val) { __label = val; invalidate(); } function getConversion(Void) { return(__conversion); } function setConversion(val) { if ((!_global.isNaN(val)) && (Number(val) > 0)) { __conversion = Number(val); invalidate(); } } function getSource(Void) { return(__source); } function setSource(val) { if (typeof(val) == "string") { __stringSource = val; val = eval (val); } if (((val != null) && (val != undefined)) && (val != "")) { __source = val; if (__mode == "event") { if (__source.addEventListener) { __source.addEventListener("progress", this); __source.addEventListener("complete", this); } else { __source = undefined; } } if (__mode == "polled") { si = setInterval(this, "update", __interval); } } else if (__source != null) { delete __source; clearInterval(si); delete si; } } function update(Void) { var _local2 = __source; var _local3 = _local2.getBytesLoaded(); var _local4 = _local2.getBytesTotal(); _setProgress(_local3, _local4); if ((percentComplete >= 100) && (__value > 0)) { clearInterval(si); } } function progress(pEvent) { var _local2 = pEvent.target; var _local3 = _local2.bytesLoaded; var _local4 = _local2.bytesTotal; _setProgress(_local3, _local4); } function complete(pEvent) { } function _setProgress(completed, total) { if ((!_global.isNaN(completed)) && (!_global.isNaN(total))) { __value = Number(completed); __maximum = Number(total); if (__mode != "event") { dispatchEvent({type:"progress", current:completed, total:total}); if ((__value == __maximum) && (__value > 0)) { dispatchEvent({type:"complete", current:completed, total:total}); } } invalidate(); } } function setProgress(completed, total) { if (__mode == "manual") { _setProgress(completed, total); } } function getPercentComplete(Void) { if ((__value < __minimum) || (__maximum < __minimum)) { return(0); } var _local3 = (100 * (__value - __minimum)) / (__maximum - __minimum); if (_global.isNaN(_local3) || (_local3 < 0)) { return(0); } if (_local3 > 100) { return(100); } return(_local3); } function getMaximum(Void) { return(__maximum); } function setMaximum(val) { if ((!_global.isNaN(val)) && (__mode == "manual")) { __maximum = Number(val); invalidate(); } } function getMinimum(Void) { return(__minimum); } function setMinimum(val) { if ((!_global.isNaN(val)) && (__mode == "manual")) { __minimum = Number(val); invalidate(); } } function getVal(Void) { return(__value); } function get mode() { return(getMode()); } function set mode(x) { setMode(x); //return(mode); } function get source() { return(getSource()); } function set source(x) { setSource(x); //return(source); } function get direction() { return(getDirection()); } function set direction(x) { setDirection(x); //return(direction); } function get label() { return(getLabel()); } function set label(x) { setLabel(x); //return(label); } function get labelPlacement() { return(getLabelPlacement()); } function set labelPlacement(x) { setLabelPlacement(x); //return(labelPlacement); } function get indeterminate() { return(getIndeterminate()); } function set indeterminate(x) { setIndeterminate(x); //return(indeterminate); } function get conversion() { return(getConversion()); } function set conversion(x) { setConversion(x); //return(conversion); } function get percentComplete() { return(getPercentComplete()); } function get maximum() { return(getMaximum()); } function set maximum(x) { setMaximum(x); //return(maximum); } function get minimum() { return(getMinimum()); } function set minimum(x) { setMinimum(x); //return(minimum); } function get value() { return(getVal()); } static var symbolName = "ProgressBar"; static var symbolOwner = Object(mx.controls.ProgressBar); var className = "ProgressBar"; static var version = "2.0.1.78"; var __mode = "event"; var __direction = "right"; var __labelPlacement = "bottom"; var __label = "LOADING %3%% "; var __conversion = 1; var __maximum = 0; var __minimum = 0; var __value = 0; var __indeterminate = false; var progTrackLeftName = "ProgTrackLeft"; var progTrackMiddleName = "ProgTrackMiddle"; var progTrackRightName = "ProgTrackRight"; var progBarLeftName = "ProgBarLeft"; var progBarMiddleName = "ProgBarMiddle"; var progBarRightName = "ProgBarRight"; var progIndBarName = "ProgIndBar"; var idNames = new Array("progTrackLeft_mc", "progTrackMiddle_mc", "progTrackRight_mc", "progBarLeft_mc", "progBarMiddle_mc", "progBarRight_mc", "progIndBar_mc"); var skinIDProgTrackLeft = 0; var skinIDProgTrackMiddle = 1; var skinIDProgTrackRight = 2; var skinIDProgBarLeft = 3; var skinIDProgBarMiddle = 4; var skinIDProgBarRight = 5; var skinIDProgIndBar = 6; var skinIDMask = 100; var skinIDLabel = 200; var __interval = 30; var __leave = 2; var clipParameters = {mode:1, source:1, direction:1, label:1, labelPlacement:1, conversion:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.ProgressBar.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); }
Symbol 262 MovieClip [__Packages.mx.controls.NumericStepper] Frame 0
class mx.controls.NumericStepper extends mx.core.UIComponent { var boundingBox_mc, _visible, tabEnabled, tabChildren, nextButton_mc, __width, prevButton_mc, __height, inputField, StepTrack_mc, focusTextField, createObject, enabled, __set__visible, setSize, createClassObject, __maxChars, dispatchEvent; function NumericStepper () { super(); } function init() { super.init(); boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); _visible = false; tabEnabled = false; tabChildren = true; } function setVisible(x, noEvent) { super.setVisible(x, noEvent); if (initializing) { __visible = x; } } function layoutControl() { nextButton_mc._x = __width - nextButton_mc.__width; nextButton_mc._y = 0; prevButton_mc._x = __width - prevButton_mc.__width; prevButton_mc._y = __height - prevButton_mc.__height; inputField.setSize(__width - nextButton_mc.__width, __height); StepTrack_mc._width = Math.max(nextButton_mc.__width, prevButton_mc.__width); StepTrack_mc._x = __width - StepTrack_mc._width; StepTrack_mc._height = __height - (nextButton_mc._height + prevButton_mc._height); StepTrack_mc._y = nextButton_mc.__height; } function createChildren() { super.createChildren(); addAsset("nextButton_mc", skinIDUpArrow); addAsset("prevButton_mc", skinIDDownArrow); addAsset("inputField", skinIDInput); focusTextField = inputField.label; createObject("StepTrack", "StepTrack_mc", 2); size(); } function draw() { prevButton_mc.enabled = enabled; nextButton_mc.enabled = enabled; inputField.enabled = enabled; size(); initializing = false; __set__visible(__visible); } function size() { var _local2 = calcMinHeight(); var _local3 = calcMinWidth(); if (__height < _local2) { setSize(__width, _local2); } if (__width < _local3) { setSize(_local3, __height); } layoutControl(); } function calcMinHeight() { return(22); } function calcMinWidth() { return(40); } function addAsset(id, skinID) { var _local2 = new Object(); _local2.styleName = this; if (skinID == 10) { _local2.falseUpSkin = upArrowUp; _local2.falseOverSkin = upArrowOver; _local2.falseDownSkin = upArrowDown; _local2.falseDisabledSkin = upArrowDisabled; createClassObject(mx.controls.SimpleButton, id, skinID, _local2); var _local5 = nextButton_mc; _local5.tabEnabled = false; _local5.styleName = this; _local5._x = __width - _local5.__width; _local5._y = 0; _local5.owner = this; _local5.autoRepeat = true; _local5.clickHandler = function () { Selection.setSelection(0, 0); }; _local5.buttonDownHandler = function () { this.owner.buttonPress(this); }; } else if (skinID == 11) { _local2.falseUpSkin = downArrowUp; _local2.falseOverSkin = downArrowOver; _local2.falseDownSkin = downArrowDown; _local2.falseDisabledSkin = downArrowDisabled; createClassObject(mx.controls.SimpleButton, id, skinID, _local2); var _local3 = prevButton_mc; _local3.tabEnabled = false; _local3.styleName = this; _local3._x = __width - _local3.__width; _local3._y = __height - _local3.__height; _local3.owner = this; _local3.autoRepeat = true; _local3.clickHandler = function () { Selection.setSelection(0, 0); }; _local3.buttonDownHandler = function () { this.owner.buttonPress(this); }; } else if (skinID == 9) { createClassObject(mx.controls.TextInput, id, skinID); var _local4 = inputField; _local4.styleName = this; _local4.setSize(__width - nextButton_mc.__width, __height); _local4.restrict = "0-9\\-\\.\\,"; _local4.maxChars = __maxChars; _local4.text = value; _local4.onSetFocus = function () { this._parent.onSetFocus(); }; _local4.onKillFocus = function () { this._parent.onKillFocus(); }; _local4.drawFocus = function (b) { this._parent.drawFocus(b); }; _local4.onKeyDown = function () { this._parent.onFieldKeyDown(); }; } } function setFocus() { Selection.setFocus(inputField); } function onKillFocus() { mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = true; super.onKillFocus(); Key.removeListener(inputField); if (Number(inputField.text) != value) { var _local3 = checkValidValue(Number(inputField.text)); inputField.text = _local3; value = (_local3); } } function onSetFocus() { super.onSetFocus(); Key.addListener(inputField); mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = false; } function onFieldKeyDown() { var _local2 = value; switch (Key.getCode()) { case 40 : var _local3 = value - stepSize; value = (_local3); if (_local2 != value) { dispatchEvent({type:"change"}); } break; case 38 : _local3 = stepSize + value; value = (_local3); if (_local2 != value) { dispatchEvent({type:"change"}); } break; case 36 : inputField.text = minimum; value = (minimum); break; case 35 : inputField.text = maximum; value = (maximum); break; case 13 : value = (Number(inputField.text)); if (_local2 == value) { break; } dispatchEvent({type:"change"}); } } function get nextValue() { if (checkRange(value + stepSize)) { __nextValue = value + stepSize; return(__nextValue); } } function get previousValue() { if (checkRange(__value - stepSize)) { __previousValue = value - stepSize; return(__previousValue); } } function set maxChars(num) { __maxChars = num; inputField.maxChars = __maxChars; //return(maxChars); } function get maxChars() { return(__maxChars); } function get value() { return(__value); } function set value(v) { var _local2 = checkValidValue(v); if (_local2 == __value) { return; } inputField.text = (__value = _local2); //return(value); } function get minimum() { return(__minimum); } function set minimum(v) { __minimum = v; //return(minimum); } function get maximum() { return(__maximum); } function set maximum(v) { __maximum = v; //return(maximum); } function get stepSize() { return(__stepSize); } function set stepSize(v) { __stepSize = v; //return(stepSize); } function onFocus() { } function buttonPress(button) { var _local2 = value; if (button._name == "nextButton_mc") { value = value + stepSize; } else { value = value - stepSize; } if (_local2 != value) { dispatchEvent({type:"change"}); Selection.setSelection(0, 0); } } function checkRange(v) { return((v >= minimum) and (v <= maximum)); } function checkValidValue(val) { var _local7 = val / stepSize; var _local9 = Math.floor(_local7); var _local2 = stepSize; var _local6 = minimum; var _local5 = maximum; if ((val > _local6) and (val < _local5)) { if ((_local7 - _local9) == 0) { return(val); } var _local8 = Math.floor(val / _local2); var _local4 = _local8 * _local2; if (((((val - _local4) >= (_local2 / 2)) && (_local5 >= (_local4 + _local2))) && (_local6 <= (_local4 - _local2))) || (((val + _local2) == _local5) && (((_local5 - _local4) - _local2) > 1E-14))) { _local4 = _local4 + _local2; } return(_local4); } if (val >= _local5) { return(_local5); } return(_local6); } function onLabelChanged(o) { var _local2 = checkValidValue(Number(o.__get__text())); o.__set__text(_local2); value = (_local2); } function get tabIndex() { return(inputField.tabIndex); } function set tabIndex(w) { inputField.tabIndex = w; //return(tabIndex); } static var symbolName = "NumericStepper"; static var symbolOwner = mx.controls.NumericStepper; static var version = "2.0.1.78"; var className = "NumericStepper"; var upArrowUp = "StepUpArrowUp"; var upArrowDown = "StepUpArrowDown"; var upArrowOver = "StepUpArrowOver"; var upArrowDisabled = "StepUpArrowDisabled"; var downArrowUp = "StepDownArrowUp"; var downArrowDown = "StepDownArrowDown"; var downArrowOver = "StepDownArrowOver"; var downArrowDisabled = "StepDownArrowDisabled"; var skinIDUpArrow = 10; var skinIDDownArrow = 11; var skinIDInput = 9; var initializing = true; var __visible = true; var __minimum = 0; var __maximum = 10; var __stepSize = 1; var __value = 0; var __nextValue = 0; var __previousValue = 0; var clipParameters = {minimum:1, maximum:1, stepSize:1, value:1, maxChars:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.NumericStepper.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); }
Symbol 283 MovieClip [__Packages.mx.controls.TextInput] Frame 0
class mx.controls.TextInput extends mx.core.UIComponent { var owner, enterListener, label, tabChildren, tabEnabled, focusTextField, _color, _parent, border_mc, createClassObject, dispatchValueChangedEvent, __get__width, __get__height, tfx, tfy, tfw, tfh, getStyle, bind, updateModel, _getTextFormat, enabled; function TextInput () { super(); } function addEventListener(event, handler) { if (event == "enter") { addEnterEvents(); } super.addEventListener(event, handler); } function enterOnKeyDown() { if (Key.getAscii() == 13) { owner.dispatchEvent({type:"enter"}); } } function addEnterEvents() { if (enterListener == undefined) { enterListener = new Object(); enterListener.owner = this; enterListener.onKeyDown = enterOnKeyDown; } } function init(Void) { super.init(); label.styleName = this; tabChildren = true; tabEnabled = false; focusTextField = label; _color = mx.core.UIObject.textColorList; label.onSetFocus = function () { this._parent.onSetFocus(); }; label.onKillFocus = function (n) { this._parent.onKillFocus(n); }; label.drawFocus = function (b) { this._parent.drawFocus(b); }; label.onChanged = onLabelChanged; } function setFocus() { Selection.setFocus(label); } function onLabelChanged(Void) { _parent.dispatchEvent({type:"change"}); _parent.dispatchValueChangedEvent(text); } function createChildren(Void) { super.createChildren(); if (border_mc == undefined) { createClassObject(_global.styles.rectBorderClass, "border_mc", 0, {styleName:this}); } border_mc.swapDepths(label); label.autoSize = "none"; } function get html() { return(getHtml()); } function set html(value) { setHtml(value); //return(html); } function getHtml() { return(label.html); } function setHtml(value) { if (value != label.html) { label.html = value; } } function get text() { return(getText()); } function set text(t) { setText(t); //return(text); } function getText() { if (initializing) { return(initText); } if (label.html == true) { return(label.htmlText); } return(label.text); } function setText(t) { if (initializing) { initText = t; } else { var _local2 = label; if (_local2.html == true) { _local2.htmlText = t; } else { _local2.text = t; } } dispatchValueChangedEvent(t); } function size(Void) { border_mc.setSize(__get__width(), __get__height()); var _local2 = border_mc.__get__borderMetrics(); var _local6 = _local2.left + _local2.right; var _local3 = _local2.top + _local2.bottom; var _local5 = _local2.left; var _local4 = _local2.top; tfx = _local5; tfy = _local4; tfw = __get__width() - _local6; tfh = __get__height() - _local3; label.move(tfx, tfy); label.setSize(tfw, tfh + 1); } function setEnabled(enable) { label.type = (((__editable == true) || (enable == false)) ? "input" : "dynamic"); label.selectable = enable; var _local2 = getStyle((enable ? "color" : "disabledColor")); if (_local2 == undefined) { _local2 = (enable ? 0 : 8947848); } setColor(_local2); } function setColor(col) { label.textColor = col; } function onKillFocus(newFocus) { if (enterListener != undefined) { Key.removeListener(enterListener); } if (bind != undefined) { updateModel(text); } super.onKillFocus(newFocus); } function onSetFocus(oldFocus) { var f = Selection.getFocus(); var o = eval (f); if (o != label) { Selection.setFocus(label); return(undefined); } if (enterListener != undefined) { Key.addListener(enterListener); } super.onSetFocus(oldFocus); } function draw(Void) { var _local2 = label; var _local4 = getText(); if (initializing) { initializing = false; delete initText; } var _local3 = _getTextFormat(); _local2.embedFonts = _local3.embedFonts == true; if (_local3 != undefined) { _local2.setTextFormat(_local3); _local2.setNewTextFormat(_local3); } _local2.multiline = false; _local2.wordWrap = false; if (_local2.html == true) { _local2.setTextFormat(_local3); _local2.htmlText = _local4; } else { _local2.text = _local4; } _local2.type = (((__editable == true) || (enabled == false)) ? "input" : "dynamic"); size(); } function setEditable(s) { __editable = s; label.type = (s ? "input" : "dynamic"); } function get maxChars() { return(label.maxChars); } function set maxChars(w) { label.maxChars = w; //return(maxChars); } function get length() { return(label.length); } function get restrict() { return(label.restrict); } function set restrict(w) { label.restrict = ((w == "") ? null : (w)); //return(restrict); } function get hPosition() { return(label.hscroll); } function set hPosition(w) { label.hscroll = w; //return(hPosition); } function get maxHPosition() { return(label.maxhscroll); } function get editable() { return(__editable); } function set editable(w) { setEditable(w); //return(editable); } function get password() { return(label.password); } function set password(w) { label.password = w; //return(password); } function get tabIndex() { return(label.tabIndex); } function set tabIndex(w) { label.tabIndex = w; //return(tabIndex); } function set _accProps(val) { label._accProps = val; //return(_accProps); } function get _accProps() { return(label._accProps); } static var symbolName = "TextInput"; static var symbolOwner = mx.controls.TextInput; static var version = "2.0.1.78"; var className = "TextInput"; var initializing = true; var clipParameters = {text:1, editable:1, password:1, maxChars:1, restrict:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextInput.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); var _maxWidth = mx.core.UIComponent.kStretch; var __editable = true; var initText = ""; }
Symbol 284 MovieClip [__Packages.mx.controls.MenuBar] Frame 0
class mx.controls.MenuBar extends mx.core.UIComponent { var __menus, __menuBarItems, __labels, boundingBox_mc, invUpdateDisplay, invUpdateSize, openMenuIndex, dispatchEvent, getFocusManager, supposedToLoseFocus, background_mc, createEmptyMovieClip, createObject, setMask, __menuDataProvider, _parent, labelFunction, enabled, __height, invalidate, enableByPass, redraw, width, mask_mc, height, __width, isDown, pressFocus, releaseFocus; function MenuBar () { super(); } function init(Void) { super.init(); __menus = new Object(); __menuBarItems = new Array(); var _local3 = 0; while (_local3 < __labels.length) { addMenu(__labels[_local3]); _local3++; } boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function draw(Void) { super.draw(); if (invUpdateDisplay) { updateDisplay(invUpdateSize); } } function handleEvent(event) { var _local2 = event.type; if (_local2 == "menuHide") { if (event.menu.menuBarIndex == openMenuIndex) { __menuBarItems[openMenuIndex].setLabelBorder("none"); delete openMenuIndex; } } if (rebroadcastEvents[_local2]) { event.target = this; dispatchEvent(event); } } function onSetFocus() { super.onSetFocus(); getFocusManager().defaultPushButtonEnabled = false; } function onKillFocus() { super.onKillFocus(); getFocusManager().defaultPushButtonEnabled = true; if (supposedToLoseFocus == undefined) { getMenuAt(openMenuIndex).hide(); } delete supposedToLoseFocus; } function createChildren(Void) { super.createChildren(); if (background_mc == undefined) { createEmptyMovieClip("background_mc", 0); background_mc.createObject(menuBarBackLeftName, "bckLeft", 1); background_mc.createObject(menuBarBackRightName, "bckRight", 2); background_mc.createObject(menuBarBackMiddleName, "bckCenter", 3); } if (!_global.isLivePreview) { var _local4 = createObject("BoundingBox", "mask_mc", 10); setMask(_local4); } updateBackgroundDisplay(); } function size(Void) { super.size(); updateDisplay(true); updateBackgroundDisplay(); } function addMenu(arg1, arg2) { var _local2 = __menuDataProvider.childNodes.length; if (_local2 == undefined) { _local2 = 0; } return(addMenuAt(_local2, arg1, arg2)); } function addMenuAt(index, arg1, arg2) { if (__menuDataProvider == undefined) { __menuDataProvider = new XML(); __menuDataProvider.addEventListener("modelChanged", this); } var _local8; var _local3; var _local4 = arg1; if (arg2 != undefined) { if (arg2 instanceof XML) { _local3 = __menuDataProvider.addMenuItemAt(index, arg1); var _local2 = arg2.childNodes; while (_local2.length != 0) { _local3.addMenuItem(_local2[0]); } _local4 = undefined; } else { arg2.attributes.label = arg1; _local4 = arg2; } } if (_local4 != undefined) { _local3 = __menuDataProvider.addMenuItemAt(index, _local4); } return(insertMenuBarItem(index, _local3)); } function insertMenuBarItem(index, mdp) { var _local2 = mx.controls.Menu.createMenu(_parent._root, mdp, {styleName:this, menuBarIndex:index}); __menus[mdp.getID()] = _local2; _local2.__menuBar = this; _local2.addEventListener("menuHide", this); _local2.addEventListener("rollOver", this); _local2.addEventListener("rollOut", this); _local2.addEventListener("menuShow", this); _local2.addEventListener("change", this); _local2.border_mc.borderStyle = "menuBorder"; _local2.labelField = labelField; _local2.labelFunction = labelFunction; var _local4 = labelFunction(mdp); if (_local4 == undefined) { _local4 = mdp.attributes[labelField]; } var _local3 = createObject("MenuBarItem", "mbItem" + (topItemDepth++), topItemDepth, {owner:this, __initText:_local4, styleName:this, _visible:false}); _local3.enabled = enabled; _local3.setSize(_local3.getPreferredWidth(), __height); _local2.__activator = _local3; __menuBarItems.splice(index, 0, _local3); invUpdateDisplay = true; invalidate(); return(_local2); } function getMenuAt(index) { return(__menus[__menuDataProvider.childNodes[index].getID()]); } function removeMenuAt(index) { var _local2 = __menuDataProvider.removeMenuItemAt(index); var _local3 = __menuBarItems[index]; __menuBarItems.splice(index, 1); _local3.removeMovieClip(); var _local5 = __menus[_local2.getID()]; delete __menus[_local2.getID()]; invUpdateDisplay = true; invalidate(); return(_local5); } function setEnabled(b) { super.setEnabled(b); var _local4 = __menuBarItems.length; enableByPass = true; var _local3 = 0; while (_local3 < _local4) { __menuBarItems[_local3].enabled = b; _local3++; } delete enableByPass; } function setMenuEnabledAt(index, enable) { if ((!enabled) && (enableByPass == undefined)) { return(undefined); } __menuBarItems[index].enabled = enable; } function getMenuEnabledAt(index) { return(__menuBarItems[index].enabled); } function setDataProvider(dp) { removeAll(); __menuDataProvider = dp; dp.isTreeRoot = true; var _local3 = dp.childNodes; var _local4 = _local3.length; var _local2 = 0; while (_local2 < _local4) { insertMenuBarItem(_local2, _local3[_local2]); _local2++; } } function get dataProvider() { return(__menuDataProvider); } function set dataProvider(dp) { setDataProvider(dp); //return(dataProvider); } function get labels() { return(__labels); } function set labels(lbls) { __labels = lbls; var _local4 = __menuBarItems.length; var _local3 = __labels.length; var _local2 = 0; while (_local2 < _local4) { removeMenuAt(0); _local2++; } _local2 = 0; while (_local2 < _local3) { addMenu(__labels[_local2]); _local2++; } redraw(true); //return(labels); } function invalidateStyle(propName) { super.invalidateStyle(propName); if ((((propName == "fontFamily") || (propName == "fontSize")) || (propName == "fontWeight")) || (propName == "styleName")) { invUpdateDisplay = true; invUpdateSize = true; invalidate(); } var _local3 = 0; while (_local3 < __menuBarItems.length) { getMenuAt(_local3).invalidateStyle(propName); _local3++; } } function changeColorStyleInChildren(sheet, styleProp, newValue) { super.changeColorStyleInChildren(sheet, styleProp, newValue); var _local3 = 0; while (_local3 < __menuBarItems.length) { getMenuAt(_local3).changeColorStyleInChildren(sheet, styleProp, newValue); _local3++; } } function notifyStyleChangeInChildren(sheet, styleProp, newValue) { super.notifyStyleChangeInChildren(sheet, styleProp, newValue); var _local3 = 0; while (_local3 < __menuBarItems.length) { getMenuAt(_local3).notifyStyleChangeInChildren(sheet, styleProp, newValue); _local3++; } } function updateDisplay(resize) { delete invUpdateDisplay; delete invUpdateSize; var _local4 = __marginWidth; var _local5 = 0; var _local6 = __menuBarItems.length; var _local3 = 0; while (_local3 < _local6) { var _local2 = __menuBarItems[_local3]; _local2._visible = true; _local2.menuBarIndex = _local3; getMenuAt(_local3).menuBarIndex = _local3; if (resize) { _local2.setSize(_local2.getPreferredWidth(), __height); } _local4 = (_local2._x = _local4 + _local5); _local5 = _local2.__width; _local3++; } } function updateBackgroundDisplay() { mask_mc._width = width; mask_mc._height = height; var _local2 = background_mc; _local2._height = __height; _local2.bckLeft._x = 0; var _local3 = _local2.bckLeft._width; _local2.bckCenter._width = __width - (_local3 + _local2.bckRight._width); _local2.bckCenter._x = _local3; _local2.bckRight._x = _local3 + _local2.bckCenter._width; } function showMenu(index) { openMenuIndex = index; var _local3 = __menuBarItems[index]; var _local6 = _local3.dP; if (__menus[_local6.getID()] == undefined) { var _local2 = mx.controls.Menu.createMenu(_parent._root, _local6, {styleName:this, menuBarIndex:index}); __menus[_local6.getID()] = _local2; _local2.__menuBar = this; _local2.addEventListener("menuHide", this); _local2.addEventListener("rollOver", this); _local2.addEventListener("rollOut", this); _local2.addEventListener("menuShow", this); _local2.addEventListener("change", this); _local2.border_mc.borderStyle = "menuBorder"; _local2.labelField = labelField; _local2.labelFunction = labelFunction; _local2.__activator = _local3; } var _local4 = {x:0, y:0}; _local3.setLabelBorder("falsedown"); _local3.localToGlobal(_local4); var _local5 = getMenuAt(index); _local5._root.globalToLocal(_local4); _local5.focusManager.lastFocus = undefined; _local5.show(_local4.x, _local4.y + (_local3._height + 1)); } function removeMenuBarItemAt(index) { var _local2 = __menuBarItems[index]; var _local3 = _local2.__menu; if (_local2 != undefined) { _local3.removeMovieClip(); _local2.removeMovieClip(); __menuBarItems.splice(index, 1); updateDisplay(false); } } function removeAll() { while (__menuBarItems.length > 0) { var _local2 = __menuBarItems[0]; var _local3 = _local2.__menu; _local3.removeMovieClip(); _local2.removeMovieClip(); __menuBarItems.splice(0, 1); } updateDisplay(false); } function onItemRollOver(index) { var _local3 = __menuBarItems[index]; if (openMenuIndex != undefined) { var _local2 = openMenuIndex; if (_local2 != index) { isDown = false; var _local4 = __menuBarItems[_local2]; onItemRelease(_local2); _local4.setLabelBorder("none"); showMenu(index); isDown = true; } } else { _local3.setLabelBorder("falserollover"); isDown = false; } } function onItemPress(index) { var _local2 = __menuBarItems[index]; if (!isDown) { showMenu(index); isDown = true; } else { _local2.setLabelBorder("falsedown"); isDown = false; } pressFocus(); } function onItemRelease(index) { var _local2 = __menuBarItems[index]; if (!isDown) { getMenuAt(index).hide(); _local2.setLabelBorder("falserollover"); } releaseFocus(); } function onItemRollOut(index) { if (openMenuIndex != index) { __menuBarItems[index].setLabelBorder("none"); } } function onItemDragOver(index) { var _local5 = __menuBarItems[index]; if (openMenuIndex != undefined) { var _local2 = openMenuIndex; if (_local2 != index) { isDown = false; var _local3 = __menuBarItems[_local2]; onItemRelease(_local2); _local3.setLabelBorder("none"); } } else { isDown = true; } onItemPress(index); } function onItemDragOut(index) { onItemRollOut(index); } function keyDown(e) { var _local3 = __menuBarItems.length; var _local8; if ((e.code == 39) || (e.code == 37)) { if (openMenuIndex == undefined) { openMenuIndex = -1; } var _local2 = openMenuIndex; var _local5 = false; var _local4 = 0; while ((!_local5) && (_local4 < _local3)) { _local4++; _local2 = ((e.code == 39) ? (_local2 + 1) : (_local2 - 1)); if (_local2 >= _local3) { _local2 = 0; } else if (_local2 < 0) { _local2 = _local3 - 1; } if (__menuBarItems[_local2].enabled) { _local5 = true; } } if (_local4 <= _local3) { onItemRollOver(_local2); } } if (Key.isDown(40)) { if (openMenuIndex != undefined) { var _local7 = getMenuAt(openMenuIndex); _local7.focusEnabled = true; _local7.moveSelBy(1); supposedToLoseFocus = true; Selection.setFocus(_local7); } } if (Key.isDown(13) || (Key.isDown(27))) { getMenuAt(openMenuIndex).hide(); } } static var symbolName = "MenuBar"; static var symbolOwner = mx.controls.MenuBar; static var version = "2.0.1.78"; var className = "MenuBar"; static var _s_MenuIndex = 0; var topItemDepth = 200; var menuBarBackLeftName = "MenuBarBackLeft"; var menuBarBackRightName = "MenuBarBackRight"; var menuBarBackMiddleName = "MenuBarBackMiddle"; var __backgroundWidth = 550; var __marginWidth = 10; var tabChildren = false; var labelField = "label"; var clipParameters = {enabled:1, visible:1, labels:1, minWidth:1, minHeight:1}; var rebroadcastEvents = {menuHide:1, menuShow:1, rollOver:1, rollOut:1, change:1}; }
Symbol 318 MovieClip [__Packages.mx.controls.listclasses.DataSelector] Frame 0
class mx.controls.listclasses.DataSelector extends Object { var __vPosition, setVPosition, __dataProvider, enabled, lastSelID, lastSelected, selected, invUpdateControl, invalidate, multipleSelection, updateControl, __rowCount, rows; function DataSelector () { super(); } static function Initialize(obj) { var _local3 = mixinProps; var _local4 = _local3.length; obj = obj.prototype; var _local1 = 0; while (_local1 < _local4) { obj[_local3[_local1]] = mixins[_local3[_local1]]; _local1++; } mixins.createProp(obj, "dataProvider", true); mixins.createProp(obj, "length", false); mixins.createProp(obj, "value", false); mixins.createProp(obj, "selectedIndex", true); mixins.createProp(obj, "selectedIndices", true); mixins.createProp(obj, "selectedItems", false); mixins.createProp(obj, "selectedItem", true); return(true); } function createProp(obj, propName, setter) { var p = (propName.charAt(0).toUpperCase() + propName.substr(1)); var _local2 = null; var _local4 = function (Void) { return(this["get" + p]()); }; if (setter) { _local2 = function (val) { this["set" + p](val); }; } obj.addProperty(propName, _local4, _local2); } function setDataProvider(dP) { if (__vPosition != 0) { setVPosition(0); } clearSelected(); __dataProvider.removeEventListener(this); __dataProvider = dP; dP.addEventListener("modelChanged", this); dP.addView(this); modelChanged({eventName:"updateAll"}); } function getDataProvider(Void) { return(__dataProvider); } function addItemAt(index, label, data) { if ((index < 0) || (!enabled)) { return(undefined); } var _local2 = __dataProvider; if (_local2 == undefined) { _local2 = (__dataProvider = new Array()); _local2.addEventListener("modelChanged", this); index = 0; } if ((typeof(label) == "object") || (typeof(_local2.getItemAt(0)) == "string")) { _local2.addItemAt(index, label); } else { _local2.addItemAt(index, {label:label, data:data}); } } function addItem(label, data) { addItemAt(__dataProvider.length, label, data); } function removeItemAt(index) { return(__dataProvider.removeItemAt(index)); } function removeAll(Void) { __dataProvider.removeAll(); } function replaceItemAt(index, newLabel, newData) { if (typeof(newLabel) == "object") { __dataProvider.replaceItemAt(index, newLabel); } else { __dataProvider.replaceItemAt(index, {label:newLabel, data:newData}); } } function sortItemsBy(fieldName, order) { lastSelID = __dataProvider.getItemID(lastSelected); __dataProvider.sortItemsBy(fieldName, order); } function sortItems(compareFunc, order) { lastSelID = __dataProvider.getItemID(lastSelected); __dataProvider.sortItems(compareFunc, order); } function getLength(Void) { return(__dataProvider.length); } function getItemAt(index) { return(__dataProvider.getItemAt(index)); } function modelChanged(eventObj) { var _local3 = eventObj.firstItem; var _local6 = eventObj.lastItem; var _local7 = eventObj.eventName; if (_local7 == undefined) { _local7 = eventObj.event; _local3 = eventObj.firstRow; _local6 = eventObj.lastRow; if (_local7 == "addRows") { _local7 = (eventObj.eventName = "addItems"); } else if (_local7 == "deleteRows") { _local7 = (eventObj.eventName = "removeItems"); } else if (_local7 == "updateRows") { _local7 = (eventObj.eventName = "updateItems"); } } if (_local7 == "addItems") { for (var _local2 in selected) { var _local5 = selected[_local2]; if ((_local5 != undefined) && (_local5 >= _local3)) { selected[_local2] = selected[_local2] + ((_local6 - _local3) + 1); } } } else if (_local7 == "removeItems") { if (__dataProvider.length == 0) { delete selected; } else { var _local9 = eventObj.removedIDs; var _local10 = _local9.length; var _local2 = 0; while (_local2 < _local10) { var _local4 = _local9[_local2]; if (selected[_local4] != undefined) { delete selected[_local4]; } _local2++; } for (_local2 in selected) { if (selected[_local2] >= _local3) { selected[_local2] = selected[_local2] - ((_local6 - _local3) + 1); } } } } else if (_local7 == "sort") { if (typeof(__dataProvider.getItemAt(0)) != "object") { delete selected; } else { var _local10 = __dataProvider.length; var _local2 = 0; while (_local2 < _local10) { if (isSelected(_local2)) { var _local4 = __dataProvider.getItemID(_local2); if (_local4 == lastSelID) { lastSelected = _local2; } selected[_local4] = _local2; } _local2++; } } } else if (_local7 == "filterModel") { setVPosition(0); } invUpdateControl = true; invalidate(); } function getValue(Void) { var _local2 = getSelectedItem(); if (typeof(_local2) != "object") { return(_local2); } return(((_local2.data == undefined) ? (_local2.label) : (_local2.data))); } function getSelectedIndex(Void) { for (var _local3 in selected) { var _local2 = selected[_local3]; if (_local2 != undefined) { return(_local2); } } } function setSelectedIndex(index) { if (((index >= 0) && (index < __dataProvider.length)) && (enabled)) { delete selected; selectItem(index, true); lastSelected = index; invUpdateControl = true; invalidate(); } else if (index == undefined) { clearSelected(); } } function getSelectedIndices(Void) { var _local2 = new Array(); for (var _local3 in selected) { _local2.push(selected[_local3]); } _local2.reverse(); return(((_local2.length > 0) ? (_local2) : undefined)); } function setSelectedIndices(indexArray) { if (multipleSelection != true) { return(undefined); } delete selected; var _local3 = 0; while (_local3 < indexArray.length) { var _local2 = indexArray[_local3]; if ((_local2 >= 0) && (_local2 < __dataProvider.length)) { selectItem(_local2, true); } _local3++; } invUpdateControl = true; updateControl(); } function getSelectedItems(Void) { var _local3 = getSelectedIndices(); var _local4 = new Array(); var _local2 = 0; while (_local2 < _local3.length) { _local4.push(getItemAt(_local3[_local2])); _local2++; } return(((_local4.length > 0) ? (_local4) : undefined)); } function getSelectedItem(Void) { return(__dataProvider.getItemAt(getSelectedIndex())); } function selectItem(index, selectedFlag) { if (selected == undefined) { selected = new Object(); } var _local2 = __dataProvider.getItemID(index); if (_local2 == undefined) { return(undefined); } if (selectedFlag && (!isSelected(index))) { selected[_local2] = index; } else if (!selectedFlag) { delete selected[_local2]; } } function isSelected(index) { var _local2 = __dataProvider.getItemID(index); if (_local2 == undefined) { return(false); } return(selected[_local2] != undefined); } function clearSelected(transition) { var _local3 = 0; for (var _local4 in selected) { var _local2 = selected[_local4]; if (((_local2 != undefined) && (__vPosition <= _local2)) && (_local2 < (__vPosition + __rowCount))) { rows[_local2 - __vPosition].drawRow(rows[_local2 - __vPosition].item, "normal", transition && ((_local3 % 3) == 0)); } _local3++; } delete selected; } static var mixins = new mx.controls.listclasses.DataSelector(); static var mixinProps = ["setDataProvider", "getDataProvider", "addItem", "addItemAt", "removeAll", "removeItemAt", "replaceItemAt", "sortItemsBy", "sortItems", "getLength", "getItemAt", "modelChanged", "calcPreferredWidthFromData", "calcPreferredHeightFromData", "getValue", "getSelectedIndex", "getSelectedItem", "getSelectedIndices", "getSelectedItems", "selectItem", "isSelected", "clearSelected", "setSelectedIndex", "setSelectedIndices"]; }
Symbol 319 MovieClip [__Packages.mx.controls.listclasses.DataProvider] Frame 0
class mx.controls.listclasses.DataProvider extends Object { var length, splice, dispatchEvent, sortOn, reverse, sort; function DataProvider (obj) { super(); } static function Initialize(obj) { var _local4 = mixinProps; var _local6 = _local4.length; obj = obj.prototype; var _local3 = 0; while (_local3 < _local6) { obj[_local4[_local3]] = mixins[_local4[_local3]]; _global.ASSetPropFlags(obj, _local4[_local3], 1); _local3++; } mx.events.EventDispatcher.initialize(obj); _global.ASSetPropFlags(obj, "addEventListener", 1); _global.ASSetPropFlags(obj, "removeEventListener", 1); _global.ASSetPropFlags(obj, "dispatchEvent", 1); _global.ASSetPropFlags(obj, "dispatchQueue", 1); Object.prototype.LargestID = 0; Object.prototype.getID = function () { if (this.__ID__ == undefined) { this.__ID__ = Object.prototype.LargestID++; _global.ASSetPropFlags(this, "__ID__", 1); } return(this.__ID__); }; _global.ASSetPropFlags(Object.prototype, "LargestID", 1); _global.ASSetPropFlags(Object.prototype, "getID", 1); return(true); } function addItemAt(index, value) { if (index < length) { splice(index, 0, value); } else if (index > length) { trace("Cannot add an item past the end of the DataProvider"); return(undefined); } this[index] = value; updateViews("addItems", index, index); } function addItem(value) { addItemAt(length, value); } function addItemsAt(index, newItems) { index = Math.min(length, index); newItems.unshift(index, 0); splice.apply(this, newItems); newItems.splice(0, 2); updateViews("addItems", index, (index + newItems.length) - 1); } function removeItemsAt(index, len) { var _local3 = new Array(); var _local2 = 0; while (_local2 < len) { _local3.push(getItemID(index + _local2)); _local2++; } var _local6 = splice(index, len); dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:index, lastItem:(index + len) - 1, removedItems:_local6, removedIDs:_local3}); } function removeItemAt(index) { var _local2 = this[index]; removeItemsAt(index, 1); return(_local2); } function removeAll(Void) { splice(0); updateViews("removeItems", 0, length - 1); } function replaceItemAt(index, itemObj) { if ((index < 0) || (index >= length)) { return(undefined); } var _local3 = getItemID(index); this[index] = itemObj; this[index].__ID__ = _local3; updateViews("updateItems", index, index); } function getItemAt(index) { return(this[index]); } function getItemID(index) { var _local2 = this[index]; if ((typeof(_local2) != "object") && (_local2 != undefined)) { return(index); } return(_local2.getID()); } function sortItemsBy(fieldName, order) { if (typeof(order) == "string") { sortOn(fieldName); if (order.toUpperCase() == "DESC") { reverse(); } } else { sortOn(fieldName, order); } updateViews("sort"); } function sortItems(compareFunc, optionFlags) { sort(compareFunc, optionFlags); updateViews("sort"); } function editField(index, fieldName, newData) { this[index][fieldName] = newData; dispatchEvent({type:"modelChanged", eventName:"updateField", firstItem:index, lastItem:index, fieldName:fieldName}); } function getEditingData(index, fieldName) { return(this[index][fieldName]); } function updateViews(event, first, last) { dispatchEvent({type:"modelChanged", eventName:event, firstItem:first, lastItem:last}); } static var mixinProps = ["addView", "addItem", "addItemAt", "removeAll", "removeItemAt", "replaceItemAt", "getItemAt", "getItemID", "sortItemsBy", "sortItems", "updateViews", "addItemsAt", "removeItemsAt", "getEditingData", "editField"]; static var evtDipatcher = mx.events.EventDispatcher; static var mixins = new mx.controls.listclasses.DataProvider(); }
Symbol 320 MovieClip [__Packages.mx.controls.listclasses.ScrollSelectList] Frame 0
class mx.controls.listclasses.ScrollSelectList extends mx.core.ScrollView { var invLayoutContent, rows, topRowZ, listContent, __dataProvider, __vPosition, tW, layoutX, layoutY, tH, invRowHeight, invalidate, __height, invUpdateControl, __cellRenderer, __labelFunction, __iconField, __iconFunction, getLength, baseRowZ, lastPosition, propertyTable, isSelected, wasKeySelected, changeFlag, clearSelected, selectItem, lastSelected, dispatchEvent, dragScrolling, _ymouse, scrollInterval, isPressed, onMouseUp, getSelectedIndex, enabled, tabEnabled, tabChildren, createEmptyMovieClip, border_mc; function ScrollSelectList () { super(); } function layoutContent(x, y, w, h) { delete invLayoutContent; var _local4 = Math.ceil(h / __rowHeight); roundUp = (h % __rowHeight) != 0; var _local12 = _local4 - __rowCount; if (_local12 < 0) { var _local3 = _local4; while (_local3 < __rowCount) { rows[_local3].removeMovieClip(); delete rows[_local3]; _local3++; } topRowZ = topRowZ + _local12; } else if (_local12 > 0) { if (rows == undefined) { rows = new Array(); } var _local3 = __rowCount; while (_local3 < _local4) { var _local2 = (rows[_local3] = listContent.createObject(__rowRenderer, "listRow" + (topRowZ++), topRowZ, {owner:this, styleName:this, rowIndex:_local3})); _local2._x = x; _local2._y = Math.round((_local3 * __rowHeight) + y); _local2.setSize(w, __rowHeight); _local2.drawRow(__dataProvider.getItemAt(__vPosition + _local3), getStateAt(__vPosition + _local3)); _local2.lastY = _local2._y; _local3++; } } if (w != tW) { var _local11 = ((_local12 > 0) ? (__rowCount) : (_local4)); var _local3 = 0; while (_local3 < _local11) { rows[_local3].setSize(w, __rowHeight); _local3++; } } if ((layoutX != x) || (layoutY != y)) { var _local3 = 0; while (_local3 < _local4) { rows[_local3]._x = x; rows[_local3]._y = Math.round((_local3 * __rowHeight) + y); _local3++; } } __rowCount = _local4; layoutX = x; layoutY = y; tW = w; tH = h; } function getRowHeight(Void) { return(__rowHeight); } function setRowHeight(v) { __rowHeight = v; invRowHeight = true; invalidate(); } function get rowHeight() { return(getRowHeight()); } function set rowHeight(w) { setRowHeight(w); //return(rowHeight); } function setRowCount(v) { __rowCount = v; } function getRowCount(Void) { var _local2 = ((__rowCount == 0) ? (Math.ceil(__height / __rowHeight)) : (__rowCount)); return(_local2); } function get rowCount() { return(getRowCount()); } function set rowCount(w) { setRowCount(w); //return(rowCount); } function setEnabled(v) { super.setEnabled(v); invUpdateControl = true; invalidate(); } function setCellRenderer(cR) { __cellRenderer = cR; var _local2 = 0; while (_local2 < rows.length) { rows[_local2].setCellRenderer(true); _local2++; } invUpdateControl = true; invalidate(); } function set cellRenderer(cR) { setCellRenderer(cR); //return(cellRenderer); } function get cellRenderer() { return(__cellRenderer); } function set labelField(field) { setLabelField(field); //return(labelField); } function setLabelField(field) { __labelField = field; invUpdateControl = true; invalidate(); } function get labelField() { return(__labelField); } function set labelFunction(func) { setLabelFunction(func); //return(labelFunction); } function setLabelFunction(func) { __labelFunction = func; invUpdateControl = true; invalidate(); } function get labelFunction() { return(__labelFunction); } function set iconField(field) { setIconField(field); //return(iconField); } function setIconField(field) { __iconField = field; invUpdateControl = true; invalidate(); } function get iconField() { return(__iconField); } function set iconFunction(func) { setIconFunction(func); //return(iconFunction); } function setIconFunction(func) { __iconFunction = func; invUpdateControl = true; invalidate(); } function get iconFunction() { return(__iconFunction); } function setVPosition(pos) { if (pos < 0) { return(undefined); } if ((pos > 0) && (pos > ((getLength() - __rowCount) + roundUp))) { return(undefined); } var _local8 = pos - __vPosition; if (_local8 == 0) { return(undefined); } __vPosition = pos; var _local10 = _local8 > 0; _local8 = Math.abs(_local8); if (_local8 >= __rowCount) { updateControl(); } else { var _local4 = new Array(); var _local9 = __rowCount - _local8; var _local12 = _local8 * __rowHeight; var _local11 = _local9 * __rowHeight; var _local6 = (_local10 ? 1 : -1); var _local3 = 0; while (_local3 < __rowCount) { if (((_local3 < _local8) && (_local10)) || ((_local3 >= _local9) && (!_local10))) { rows[_local3]._y = rows[_local3]._y + Math.round(_local6 * _local11); var _local5 = _local3 + (_local6 * _local9); var _local7 = __vPosition + _local5; _local4[_local5] = rows[_local3]; _local4[_local5].rowIndex = _local5; _local4[_local5].drawRow(__dataProvider.getItemAt(_local7), getStateAt(_local7), false); } else { rows[_local3]._y = rows[_local3]._y - Math.round(_local6 * _local12); var _local5 = _local3 - (_local6 * _local8); _local4[_local5] = rows[_local3]; _local4[_local5].rowIndex = _local5; } _local3++; } rows = _local4; _local3 = 0; while (_local3 < __rowCount) { rows[_local3].swapDepths(baseRowZ + _local3); _local3++; } } lastPosition = pos; super.setVPosition(pos); } function setPropertiesAt(index, obj) { var _local2 = __dataProvider.getItemID(index); if (_local2 == undefined) { return(undefined); } if (propertyTable == undefined) { propertyTable = new Object(); } propertyTable[_local2] = obj; rows[index - __vPosition].drawRow(__dataProvider.getItemAt(index), getStateAt(index)); } function getPropertiesAt(index) { var _local2 = __dataProvider.getItemID(index); if (_local2 == undefined) { return(undefined); } return(propertyTable[_local2]); } function getPropertiesOf(obj) { var _local2 = obj.getID(); if (_local2 == undefined) { return(undefined); } return(propertyTable[_local2]); } function getStyle(styleProp) { var _local2 = super.getStyle(styleProp); var _local3 = mx.styles.StyleManager.colorNames[_local2]; if (_local3 != undefined) { _local2 = _local3; } return(_local2); } function updateControl(Void) { var _local2 = 0; while (_local2 < __rowCount) { rows[_local2].drawRow(__dataProvider.getItemAt(_local2 + __vPosition), getStateAt(_local2 + __vPosition)); _local2++; } delete invUpdateControl; } function getStateAt(index) { return((isSelected(index) ? "selected" : "normal")); } function selectRow(rowIndex, transition, allowChangeEvent) { if (!selectable) { return(undefined); } var _local3 = __vPosition + rowIndex; var _local8 = __dataProvider.getItemAt(_local3); var _local5 = rows[rowIndex]; if (_local8 == undefined) { return(undefined); } if (transition == undefined) { transition = true; } if (allowChangeEvent == undefined) { allowChangeEvent = wasKeySelected; } changeFlag = true; if (((!multipleSelection) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) { clearSelected(transition); selectItem(_local3, true); lastSelected = _local3; _local5.drawRow(_local5.item, getStateAt(_local3), transition); } else if (Key.isDown(16) && (multipleSelection)) { if (lastSelected == undefined) { lastSelected = _local3; } var _local4 = ((lastSelected < _local3) ? 1 : -1); clearSelected(false); var _local2 = lastSelected; while (_local2 != _local3) { selectItem(_local2, true); if ((_local2 >= __vPosition) && (_local2 < (__vPosition + __rowCount))) { rows[_local2 - __vPosition].drawRow(rows[_local2 - __vPosition].item, "selected", false); } _local2 = _local2 + _local4; } selectItem(_local3, true); _local5.drawRow(_local5.item, "selected", transition); } else if (Key.isDown(17)) { var _local7 = isSelected(_local3); if ((!multipleSelection) || (wasKeySelected)) { clearSelected(transition); } if (!((!multipleSelection) && (_local7))) { selectItem(_local3, !_local7); var _local9 = ((!_local7) ? "selected" : "normal"); _local5.drawRow(_local5.item, _local9, transition); } lastSelected = _local3; } if (allowChangeEvent) { dispatchEvent({type:"change"}); } delete wasKeySelected; } function dragScroll(Void) { clearInterval(dragScrolling); if (_ymouse < 0) { setVPosition(__vPosition - 1); selectRow(0, false); var _local2 = Math.min((-_ymouse) - 30, 0); scrollInterval = (((0.593 * _local2) * _local2) + 1) + minScrollInterval; dragScrolling = setInterval(this, "dragScroll", scrollInterval); dispatchEvent({type:"scroll", direction:"vertical", position:__vPosition}); } else if (_ymouse > __height) { var _local3 = __vPosition; setVPosition(__vPosition + 1); if (_local3 != __vPosition) { selectRow((__rowCount - 1) - roundUp, false); } var _local2 = Math.min((_ymouse - __height) - 30, 0); scrollInterval = (((0.593 * _local2) * _local2) + 1) + minScrollInterval; dragScrolling = setInterval(this, "dragScroll", scrollInterval); dispatchEvent({type:"scroll", direction:"vertical", position:__vPosition}); } else { dragScrolling = setInterval(this, "dragScroll", 15); } updateAfterEvent(); } function __onMouseUp(Void) { clearInterval(dragScrolling); delete dragScrolling; delete dragScrolling; delete isPressed; delete onMouseUp; if (!selectable) { return(undefined); } if (changeFlag) { dispatchEvent({type:"change"}); } delete changeFlag; } function moveSelBy(incr) { if (!selectable) { setVPosition(__vPosition + incr); return(undefined); } var _local3 = getSelectedIndex(); if (_local3 == undefined) { _local3 = -1; } var _local2 = _local3 + incr; _local2 = Math.max(0, _local2); _local2 = Math.min(getLength() - 1, _local2); if (_local2 == _local3) { return(undefined); } if ((_local3 < __vPosition) || (_local3 >= (__vPosition + __rowCount))) { setVPosition(_local3); } if ((_local2 >= ((__vPosition + __rowCount) - roundUp)) || (_local2 < __vPosition)) { setVPosition(__vPosition + incr); } wasKeySelected = true; selectRow(_local2 - __vPosition, false); } function keyDown(e) { if (selectable) { if (findInputText()) { return(undefined); } } if (e.code == 40) { moveSelBy(1); } else if (e.code == 38) { moveSelBy(-1); } else if (e.code == 34) { if (selectable) { var _local3 = getSelectedIndex(); if (_local3 == undefined) { _local3 = 0; } setVPosition(_local3); } moveSelBy((__rowCount - 1) - roundUp); } else if (e.code == 33) { if (selectable) { var _local3 = getSelectedIndex(); if (_local3 == undefined) { _local3 = 0; } setVPosition(_local3); } moveSelBy((1 - __rowCount) + roundUp); } else if (e.code == 36) { moveSelBy(-__dataProvider.length); } else if (e.code == 35) { moveSelBy(__dataProvider.length); } } function findInputText(Void) { var _local2 = Key.getAscii(); if ((_local2 >= 33) && (_local2 <= 126)) { findString(String.fromCharCode(_local2)); return(true); } } function findString(str) { if (__dataProvider.length == 0) { return(undefined); } var _local4 = getSelectedIndex(); if (_local4 == undefined) { _local4 = 0; } var _local6 = 0; var _local3 = _local4 + 1; while (_local3 != _local4) { var _local2 = __dataProvider.getItemAt(_local3); if (_local2 instanceof XMLNode) { _local2 = _local2.attributes[__labelField]; } else if (typeof(_local2) != "string") { _local2 = String(_local2[__labelField]); } _local2 = _local2.substring(0, str.length); if ((str == _local2) || (str.toUpperCase() == _local2.toUpperCase())) { _local6 = _local3 - _local4; break; } if (_local3 >= (getLength() - 1)) { _local3 = -1; } _local3++; } if (_local6 != 0) { moveSelBy(_local6); } } function onRowPress(rowIndex) { if (!enabled) { return(undefined); } isPressed = true; dragScrolling = setInterval(this, "dragScroll", 15); onMouseUp = __onMouseUp; if (!selectable) { return(undefined); } selectRow(rowIndex); } function onRowRelease(rowIndex) { } function onRowRollOver(rowIndex) { if (!enabled) { return(undefined); } var _local2 = rows[rowIndex].item; if (getStyle("useRollOver") && (_local2 != undefined)) { rows[rowIndex].drawRow(_local2, "highlighted", false); } dispatchEvent({type:"itemRollOver", index:rowIndex + __vPosition}); } function onRowRollOut(rowIndex) { if (!enabled) { return(undefined); } if (getStyle("useRollOver")) { rows[rowIndex].drawRow(rows[rowIndex].item, getStateAt(rowIndex + __vPosition), false); } dispatchEvent({type:"itemRollOut", index:rowIndex + __vPosition}); } function onRowDragOver(rowIndex) { if (((!enabled) || (isPressed != true)) || (!selectable)) { return(undefined); } if (dropEnabled) { } else if (dragScrolling) { selectRow(rowIndex, false); } else { onMouseUp = __onMouseUp; onRowPress(rowIndex); } } function onRowDragOut(rowIndex) { if (!enabled) { return(undefined); } if (dragEnabled) { } else { onRowRollOut(rowIndex); } } function init(Void) { super.init(); tabEnabled = true; tabChildren = false; if (__dataProvider == undefined) { __dataProvider = new Array(); __dataProvider.addEventListener("modelChanged", this); } baseRowZ = (topRowZ = 10); } function createChildren(Void) { super.createChildren(); listContent = createEmptyMovieClip("content_mc", CONTENTDEPTH); invLayoutContent = true; invalidate(); } function draw(Void) { if (invRowHeight) { delete invRowHeight; __rowCount = 0; listContent.removeMovieClip(); listContent = createEmptyMovieClip("content_mc", CONTENTDEPTH); } if (invUpdateControl) { updateControl(); } border_mc.draw(); } function invalidateStyle(propName) { if (isRowStyle[propName]) { invUpdateControl = true; invalidate(); } else { var _local3 = 0; while (_local3 < __rowCount) { rows[_local3].invalidateStyle(propName); _local3++; } } super.invalidateStyle(propName); } static var mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList); static var mixIt2 = mx.controls.listclasses.DataProvider.Initialize(Array); var CONTENTDEPTH = 100; var __hPosition = 0; var __rowRenderer = "SelectableRow"; var __rowHeight = 22; var __rowCount = 0; var __labelField = "label"; var minScrollInterval = 30; var dropEnabled = false; var dragEnabled = false; var className = "ScrollSelectList"; var isRowStyle = {styleName:true, backgroundColor:true, selectionColor:true, rollOverColor:true, selectionDisabledColor:true, backgroundDisabledColor:true, textColor:true, textSelectedColor:true, textRollOverColor:true, textDisabledColor:true, alternatingRowColors:true, defaultIcon:true}; var roundUp = 0; var selectable = true; var multipleSelection = false; }
Symbol 321 MovieClip [__Packages.mx.controls.treeclasses.TreeDataProvider] Frame 0
class mx.controls.treeclasses.TreeDataProvider extends Object { var childNodes, appendChild, insertBefore, parentNode, removeNode; function TreeDataProvider () { super(); } static function Initialize(obj) { obj = obj.prototype; if (obj.addTreeNode != undefined) { return(false); } var _local4 = mixinProps; var _local5 = _local4.length; var _local2 = 0; while (_local2 < _local5) { obj[_local4[_local2]] = mixins[_local4[_local2]]; _global.ASSetPropFlags(obj, _local4[_local2], 1); _local2++; } mx.events.EventDispatcher.initialize(obj); _global.ASSetPropFlags(obj, "addEventListener", 1); _global.ASSetPropFlags(obj, "removeEventListener", 1); _global.ASSetPropFlags(obj, "dispatchEvent", 1); _global.ASSetPropFlags(obj, "dispatchQueue", 1); _global.ASSetPropFlags(obj, "createEvent", 1); return(true); } function createProp(obj, propName, setter) { var p = (propName.charAt(0).toUpperCase() + propName.substr(1)); var _local2 = null; var _local4 = function (Void) { return(this["get" + p]()); }; if (setter) { _local2 = function (val) { this["set" + p](val); }; } obj.addProperty(propName, _local4, _local2); } static function convertToNode(tag, arg, data) { if (typeof(arg) == "string") { var _local2 = blankXML.createElement(tag); _local2.attributes.label = arg; if (data != undefined) { _local2.attributes.data = data; } return(_local2); } if (arg instanceof XML) { return(arg.firstChild.cloneNode(true)); } if (arg instanceof XMLNode) { return(arg); } if (typeof(arg) == "object") { var _local2 = blankXML.createElement(tag); for (var _local3 in arg) { _local2.attributes[_local3] = arg[_local3]; } if (data != undefined) { _local2.attributes.data = data; } return(_local2); } } function addTreeNode(arg, data) { return(addTreeNodeAt(childNodes.length, arg, data)); } function addTreeNodeAt(index, arg, data) { if (index > childNodes.length) { return(undefined); } var _local2; if (arg instanceof XMLNode) { _local2 = arg.removeTreeNode(); } else { _local2 = convertToNode("node", arg, data); } if (index >= childNodes.length) { appendChild(_local2); } else { insertBefore(_local2, childNodes[index]); } updateViews({eventName:"addNode", node:_local2, parentNode:this, index:index}); return(_local2); } function getTreeNodeAt(index) { return(childNodes[index]); } function removeTreeNodeAt(index) { var _local2 = childNodes[index]; _local2.removeNode(); updateViews({eventName:"removeNode", node:_local2, parentNode:this, index:index}); return(_local2); } function removeTreeNode() { var _local4 = parentNode; var _local7; var _local3 = 0; var _local2 = parentNode.firstChild; while (_local2 != undefined) { if (_local2 == this) { _local7 = _local3; break; } _local3++; _local2 = _local2.nextSibling; } if (_local7 != undefined) { var _local9 = getRootNode(); removeNode(); _local4.updateViews({eventName:"removeNode", node:this, parentNode:_local4, index:_local7}); } return(this); } function removeAll() { while (childNodes.length > 0) { removeTreeNodeAt(childNodes.length - 1); } var _local3 = getRootNode(); updateViews({eventName:"updateTree"}); } function getRootNode() { var _local2 = this; while ((_local2.parentNode != undefined) && (_local2.isTreeRoot == undefined)) { _local2 = _local2.parentNode; } return(_local2); } function updateViews(eventObj) { var _local2 = this; eventObj.target = this; eventObj.type = "modelChanged"; while (_local2 != undefined) { if (_local2.isTreeRoot || (_local2.parentNode == undefined)) { _local2.dispatchEvent(eventObj); } _local2 = _local2.parentNode; } } static var mixinProps = ["addTreeNode", "addTreeNodeAt", "getTreeNodeAt", "removeTreeNodeAt", "getRootNode", "getDepth", "removeAll", "removeTreeNode", "updateViews"]; static var evtDipatcher = mx.events.EventDispatcher; static var mixins = new mx.controls.treeclasses.TreeDataProvider(); static var blankXML = new XML(); static var largestID = 0; }
Symbol 322 MovieClip [__Packages.mx.controls.menuclasses.MenuDataProvider] Frame 0
class mx.controls.menuclasses.MenuDataProvider extends Object { var addTreeNode, addTreeNodeAt, removeTreeNode, getTreeNodeAt, childNodes; function MenuDataProvider () { super(); } static function Initialize(obj) { obj = obj.prototype; var _local3 = mixinProps; var _local5 = _local3.length; var _local2 = 0; while (_local2 < _local5) { obj[_local3[_local2]] = mixins[_local3[_local2]]; _global.ASSetPropFlags(obj, _local3[_local2], 1); _local2++; } return(true); } function addMenuItem(arg) { return(addTreeNode(mx.controls.treeclasses.TreeDataProvider.convertToNode("menuitem", arg))); } function addMenuItemAt(index, arg) { return(addTreeNodeAt(index, mx.controls.treeclasses.TreeDataProvider.convertToNode("menuitem", arg))); } function removeMenuItem(Void) { return(removeTreeNode()); } function removeMenuItemAt(index) { return(getTreeNodeAt(index).removeTreeNode()); } function getMenuItemAt(index) { return(getTreeNodeAt(index)); } function indexOf(item) { var _local2 = 0; while (_local2 < childNodes.length) { if (childNodes[_local2] == item) { return(_local2); } _local2++; } return(undefined); } static var mixinProps = ["addMenuItem", "addMenuItemAt", "getMenuItemAt", "removeMenuItem", "removeMenuItemAt", "normalize", "indexOf"]; static var mixins = new mx.controls.menuclasses.MenuDataProvider(); }
Symbol 323 MovieClip [__Packages.mx.managers.PopUpManager] Frame 0
class mx.managers.PopUpManager { var popUp, setSize, move, modalWindow, _parent, _name, _visible, owner; function PopUpManager () { } static function createModalWindow(parent, o, broadcastOutsideEvents) { var _local2 = parent.createChildAtDepth("Modal", mx.managers.DepthManager.kTopmost); _local2.setDepthBelow(o); o.modalID = _local2._name; _local2._alpha = _global.style.modalTransparency; _local2.tabEnabled = false; if (broadcastOutsideEvents) { _local2.onPress = mixins.onPress; } else { _local2.onPress = mixins.nullFunction; } _local2.onRelease = mixins.nullFunction; _local2.resize = mixins.resize; mx.managers.SystemManager.init(); mx.managers.SystemManager.addEventListener("resize", _local2); _local2.resize(); _local2.useHandCursor = false; _local2.popUp = o; o.modalWindow = _local2; o.deletePopUp = mixins.deletePopUp; o.setVisible = mixins.setVisible; o.getVisible = mixins.getVisible; o.addProperty("visible", o.getVisible, o.setVisible); } static function createPopUp(parent, className, modal, initobj, broadcastOutsideEvents) { if (mixins == undefined) { mixins = new mx.managers.PopUpManager(); } if (broadcastOutsideEvents == undefined) { broadcastOutsideEvents = false; } var _local5 = parent._root; if (_local5 == undefined) { _local5 = _root; } while (parent != _local5) { parent = parent._parent; } initobj.popUp = true; var _local4 = parent.createClassChildAtDepth(className, ((broadcastOutsideEvents || (modal)) ? (mx.managers.DepthManager.kTopmost) : (mx.managers.DepthManager.kTop)), initobj); var _local2 = _root; var _local6 = _local2.focusManager != undefined; while (_local2._parent != undefined) { _local2 = _local2._parent._root; if (_local2.focusManager != undefined) { _local6 = true; break; } } if (_local6) { _local4.createObject("FocusManager", "focusManager", -1); if (_local4._visible == false) { mx.managers.SystemManager.deactivate(_local4); } } if (modal) { createModalWindow(parent, _local4, broadcastOutsideEvents); } else { if (broadcastOutsideEvents) { _local4.mouseListener = new Object(); _local4.mouseListener.owner = _local4; _local4.mouseListener.onMouseDown = mixins.onMouseDown; Mouse.addListener(_local4.mouseListener); } _local4.deletePopUp = mixins.deletePopUp; } return(_local4); } function onPress(Void) { var _local3 = popUp._root; if (_local3 == undefined) { _local3 = _root; } if (popUp.hitTest(_local3._xmouse, _local3._ymouse, false)) { return(undefined); } popUp.dispatchEvent({type:"mouseDownOutside"}); } function nullFunction(Void) { } function resize(Void) { var _local2 = mx.managers.SystemManager.__get__screen(); setSize(_local2.width, _local2.height); move(_local2.x, _local2.y); } function deletePopUp(Void) { if (modalWindow != undefined) { _parent.destroyObject(modalWindow._name); } _parent.destroyObject(_name); } function setVisible(v, noEvent) { super.setVisible(v, noEvent); modalWindow._visible = v; } function getVisible(Void) { return(_visible); } function onMouseDown(Void) { var _local3 = owner._root; if (_local3 == undefined) { _local3 = _root; } var _local4 = new Object(); _local4.x = _local3._xmouse; _local4.y = _local3._ymouse; _local3.localToGlobal(_local4); if (owner.hitTest(_local4.x, _local4.y, false)) { } else { owner.mouseDownOutsideHandler(owner); } } static var version = "2.0.1.78"; static var mixins = undefined; }
Symbol 324 MovieClip [__Packages.mx.effects.Tween] Frame 0
class mx.effects.Tween extends Object { static var IntervalToken; var arrayMode, listener, initVal, endVal, startTime, updateFunc, endFunc, ID; function Tween (listenerObj, init, end, dur) { super(); if (listenerObj == undefined) { return; } if (typeof(init) != "number") { arrayMode = true; } listener = listenerObj; initVal = init; endVal = end; if (dur != undefined) { duration = dur; } startTime = getTimer(); if (duration == 0) { endTween(); } else { AddTween(this); } } static function AddTween(tween) { tween.ID = ActiveTweens.length; ActiveTweens.push(tween); if (IntervalToken == undefined) { Dispatcher.DispatchTweens = DispatchTweens; IntervalToken = setInterval(Dispatcher, "DispatchTweens", Interval); } } static function RemoveTweenAt(index) { var _local2 = ActiveTweens; if (((index >= _local2.length) || (index < 0)) || (index == undefined)) { return(undefined); } _local2.splice(index, 1); var _local4 = _local2.length; var _local1 = index; while (_local1 < _local4) { _local2[_local1].ID--; _local1++; } if (_local4 == 0) { clearInterval(IntervalToken); delete IntervalToken; } } static function DispatchTweens(Void) { var _local2 = ActiveTweens; var _local3 = _local2.length; var _local1 = 0; while (_local1 < _local3) { _local2[_local1].doInterval(); _local1++; } updateAfterEvent(); } function doInterval() { var _local2 = getTimer() - startTime; var _local3 = getCurVal(_local2); if (_local2 >= duration) { endTween(); } else if (updateFunc != undefined) { listener[updateFunc](_local3); } else { listener.onTweenUpdate(_local3); } } function getCurVal(curTime) { if (arrayMode) { var _local3 = new Array(); var _local2 = 0; while (_local2 < initVal.length) { _local3[_local2] = easingEquation(curTime, initVal[_local2], endVal[_local2] - initVal[_local2], duration); _local2++; } return(_local3); } return(easingEquation(curTime, initVal, endVal - initVal, duration)); } function endTween() { if (endFunc != undefined) { listener[endFunc](endVal); } else { listener.onTweenEnd(endVal); } RemoveTweenAt(ID); } function setTweenHandlers(update, end) { updateFunc = update; endFunc = end; } function easingEquation(t, b, c, d) { return(((c / 2) * (Math.sin(Math.PI * ((t / d) - 0.5)) + 1)) + b); } static var ActiveTweens = new Array(); static var Interval = 10; static var Dispatcher = new Object(); var duration = 3000; }
Symbol 325 MovieClip [__Packages.mx.controls.Menu] Frame 0
class mx.controls.Menu extends mx.controls.listclasses.ScrollSelectList { var __set__visible, listContent, mask_mc, border_mc, __menuCache, getViewMetrics, layoutContent, __width, __height, invRowHeight, invUpdateSize, getFocusManager, __menuDataProvider, groupName, __get__visible, __menuBar, _x, _y, _width, popupMask, attachMovie, setMask, __get__width, height, getStyle, wasJustCreated, popupTween, isPressed, width, __activeChildren, __lastRowRolledOver, clearSelected, anchorRow, supposedToLoseFocus, __dataProvider, invalidate, __rowCount, getLength, setSize, rows, __namedItems, __radioGroups, _selection, _members, enabled, selectable, __anchor, __parentMenu, __anchorIndex, __vPosition, dragScrolling, __timer, __timeOut, focusManager, getSelectedIndex, wasKeySelected, selectRow, selectedIndex, selectedItem; function Menu () { super(); } static function createMenu(parent, mdp, initObj) { if (parent == undefined) { parent = _root; } var pt = new Object(); pt.x = parent._root._xmouse; pt.y = parent._root._ymouse; parent._root.localToGlobal(pt); if (mdp == undefined) { mdp = new XML(); } var _local3 = mx.managers.PopUpManager.createPopUp(parent, mx.controls.Menu, false, initObj, true); if (_local3 == undefined) { trace("Failed to create a new menu, probably because there is no Menu in the Library"); } else { _local3.isPressed = true; _local3.mouseDownOutsideHandler = function (event) { if ((!this.isMouseOverMenu()) && (!this.__activator.hitTest(pt.x, pt.y))) { this.hideAllMenus(); } }; _local3.dataProvider = mdp; } return(_local3); } static function isItemEnabled(itm) { var _local1 = itm.attributes.enabled; return((((_local1 == undefined) || (_local1 == true)) || (_local1.toLowerCase() == "true")) && (itm.attributes.type.toLowerCase() != "separator")); } static function isItemSelected(itm) { var _local1 = itm.attributes.selected; return((_local1 == true) || (_local1.toLowerCase() == "true")); } function init(Void) { super.init(); __set__visible(false); } function createChildren(Void) { super.createChildren(); listContent.setMask(mask_mc); mask_mc.removeMovieClip(); border_mc.move(0, 0); border_mc.borderStyle = "menuBorder"; } function propagateToSubMenus(prop, value) { for (var _local5 in __menuCache) { var _local2 = __menuCache[_local5]; if (_local2 != this) { _local2["set" + prop](value); } } } function setLabelField(lbl) { super.setLabelField(lbl); propagateToSubMenus("LabelField", lbl); } function setLabelFunction(lbl) { super.setLabelFunction(lbl); propagateToSubMenus("LabelFunction", lbl); } function setCellRenderer(cR) { super.setCellRenderer(cR); propagateToSubMenus("CellRenderer", cR); } function setRowHeight(v) { super.setRowHeight(v); propagateToSubMenus("RowHeight", v); } function setIconField(v) { super.setIconField(v); propagateToSubMenus("IconField", v); } function setIconFunction(v) { super.setIconFunction(v); propagateToSubMenus("IconFunction", v); } function size(Void) { super.size(); var _local3 = getViewMetrics(); layoutContent(_local3.left, _local3.top, (__width - _local3.left) - _local3.right, (__height - _local3.top) - _local3.bottom); } function draw(Void) { if (invRowHeight) { super.draw(); listContent.setMask(mask_mc); invUpdateSize = true; } super.draw(); if (invUpdateSize) { updateSize(); } } function onSetFocus() { super.onSetFocus(); getFocusManager().defaultPushButtonEnabled = false; } function setDataProvider(dP) { if (typeof(dP) == "string") { dP = new XML(dP).firstChild; } __menuDataProvider.removeEventListener("modelChanged", this); __menuDataProvider = dP; if (!(__menuDataProvider instanceof XML)) { __menuDataProvider.isTreeRoot = true; } __menuDataProvider.addEventListener("modelChanged", this); modelChanged({eventName:"updateTree"}); } function getDataProvider() { return(__menuDataProvider); } function addMenuItem(arg) { return(__menuDataProvider.addMenuItem(arg)); } function addMenuItemAt(index, arg) { return(__menuDataProvider.addMenuItemAt(index, arg)); } function removeMenuItemAt(index) { var _local2 = getMenuItemAt(index); if ((_local2 != undefined) && (_local2 != null)) { _local2.removeMenuItem(); } return(_local2); } function removeMenuItem(item) { return(removeMenuItemAt(indexOf(item))); } function removeAll(Void) { return(__menuDataProvider.removeAll()); } function getMenuItemAt(index) { return(__menuDataProvider.getMenuItemAt(index)); } function setMenuItemSelected(item, select) { if (item.attributes.type == "radio") { var _local3 = getRootMenu(); groupName = item.attributes.groupName; _local3[groupName].setGroupSelection(item); return(undefined); } if (select != item.attributes.selected) { item.attributes.selected = select; item.updateViews({eventName:"selectionChanged", node:item}); } } function setMenuItemEnabled(item, enable) { if (enable != item.attributes.enabled) { item.attributes.enabled = enable; item.updateViews({eventName:"enabledChanged", node:item}); } } function indexOf(item) { return(__menuDataProvider.indexOf(item)); } function show(x, y) { if (!__get__visible()) { var _local2 = getRootMenu(); _local2.dispatchEvent({type:"menuShow", menuBar:__menuBar, menu:this, menuItem:__menuDataProvider}); if (x != undefined) { _x = x; if (y != undefined) { _y = y; } } if (this != _local2) { var _local5 = (_x + _width) - Stage.width; if (_local5 > 0) { _x = _x - _local5; if (_x < 0) { _x = 0; } } } popupMask = attachMovie("BoundingBox", "pMask_mc", 6000); setMask(popupMask); var _local3 = __get__width(); if (_local3 < 50) { _local3 = 100; } popupMask._width = _local3; popupMask._height = height; popupMask._x = -popupMask._width; popupMask._y = -popupMask._height; var _local4 = getStyle("popupDuration"); if (wasJustCreated && (_local4 < 200)) { _local4 = 200; delete wasJustCreated; } popupTween = new mx.effects.Tween(this, [popupMask._x, popupMask._y], [0, 0], _local4); __set__visible(true); isPressed = true; if ((!__menuBar) && (_local2 == this)) { Selection.setFocus(this); } } } function onTweenUpdate(val) { popupMask._width = width; popupMask._x = val[0]; popupMask._y = val[1]; } function onTweenEnd(val) { popupMask._x = val[0]; popupMask._y = val[1]; setMask(undefined); popupMask.removeMovieClip(); } function hide(Void) { if (__get__visible()) { for (var _local2 in __activeChildren) { __activeChildren[_local2].hide(); } __lastRowRolledOver = undefined; clearSelected(); if (anchorRow != undefined) { anchorRow.highlight._visible = false; } __set__visible(false); isPressed = false; __wasVisible = false; var _local3 = getRootMenu(); _local3.dispatchEvent({type:"menuHide", menuBar:__menuBar, menu:this, menuItem:__menuDataProvider}); } } function onKillFocus() { super.onKillFocus(); getFocusManager().defaultPushButtonEnabled = true; if (supposedToLoseFocus == undefined) { hideAllMenus(); } delete supposedToLoseFocus; } function modelChanged(eventObj) { var _local3 = eventObj.eventName; if (_local3 == "updateTree") { __dataProvider.removeAll(); __dataProvider.addItemsAt(0, __menuDataProvider.childNodes); invUpdateSize = true; invalidate(); super.modelChanged({eventName:"updateAll"}); deinstallAllItems(); installItem(__menuDataProvider); if (__menuCache == undefined) { __menuCache = new Object(); } __menuCache[__menuDataProvider.getID()] = this; } else if ((_local3 == "addNode") || (_local3 == "removeNode")) { var _local5 = eventObj.node; var _local6 = eventObj.parentNode; var _local7 = __menuCache[_local6.getID()]; if (_local3 == "removeNode") { deleteDependentSubMenus(_local5); _local7.removeItemAt(eventObj.index); deinstallItem(_local5); } else { _local7.addItemAt(eventObj.index, _local5); installItem(_local5); } _local7.invUpdateSize = true; _local7.invalidate(); var _local8 = __menuCache[_local6.parentNode.getID()]; _local8.invUpdateControl = true; _local8.invalidate(); } else if ((_local3 == "selectionChanged") || (_local3 == "enabledChanged")) { var _local7 = __menuCache[eventObj.node.parentNode.getID()]; _local7.invUpdateControl = true; _local7.invalidate(); } else { super.modelChanged(eventObj); } } function updateSize() { delete invUpdateSize; var _local2 = calcHeight(); if (getLength() != __rowCount) { setSize(0, _local2); } setSize(calcWidth(), _local2); } function calcWidth() { var _local4 = -1; var _local3; var _local2 = 0; while (_local2 < rows.length) { _local3 = rows[_local2].getIdealWidth(); if (_local3 > _local4) { _local4 = _local3; } _local2++; } var _local5 = getStyle("textIndent"); if (_local5 == undefined) { _local5 = 0; } return(_local4 + _local5); } function calcHeight() { var _local2 = getViewMetrics(); return(((__dataProvider.length * __rowHeight) + _local2.top) + _local2.bottom); } function invalidateStyle(propName) { super.invalidateStyle(propName); for (var _local4 in __activeChildren) { __activeChildren[_local4].invalidateStyle(propName); } } function notifyStyleChangeInChildren(sheetName, styleProp, newValue) { super.notifyStyleChangeInChildren(sheetName, styleProp, newValue); for (var _local6 in __activeChildren) { __activeChildren[_local6].notifyStyleChangeInChildren(sheetName, styleProp, newValue); } } function deleteDependentSubMenus(menuItem) { var _local2 = menuItem.childNodes; for (var _local3 in _local2) { deleteDependentSubMenus(_local2[_local3]); } var _local4 = __menuCache[menuItem.getID()]; if (_local4 != undefined) { _local4.hide(); delete __menuCache[menuItem.getID()]; } } function installItem(item) { if (item.attributes.instanceName != undefined) { var _local6 = item.attributes.instanceName; if (this[_local6] != undefined) { trace("WARNING: Duplicate menu item instanceNames - " + _local6); } if (__namedItems == undefined) { __namedItems = new Object(); } __namedItems[_local6] = item; this[_local6] = item; } if ((item.attributes.type == "radio") && (item.attributes.groupName != undefined)) { var _local5 = item.attributes.groupName; var _local2 = this[_local5]; if (_local2 == undefined) { _local2 = new Object(); _local2.name = _local5; _local2._rootMenu = this; _local2._members = new Object(); _local2._memberCount = 0; _local2.getGroupSelection = getGroupSelection; _local2.setGroupSelection = setGroupSelection; _local2.addProperty("selection", _local2.getGroupSelection, _local2.setGroupSelection); if (__radioGroups == undefined) { __radioGroups = new Object(); } __radioGroups[_local5] = _local2; this[_local5] = _local2; } _local2._members[item.getID()] = item; _local2._memberCount++; if (isItemSelected(item)) { _local2.selection = item; } } var _local3 = item.childNodes; for (var _local7 in _local3) { installItem(_local3[_local7]); } } function deinstallItem(item) { var _local2 = item.childNodes; for (var _local5 in _local2) { deinstallItem(_local2[_local5]); } if (item.attributes.instanceName != undefined) { var _local7 = item.attributes.instanceName; delete this[_local7]; delete __namedItems[_local7]; } if ((item.attributes.type == "radio") && (item.attributes.groupName != undefined)) { var _local6 = item.attributes.groupName; var _local3 = this[_local6]; if (_local3 == undefined) { return(undefined); } delete _local3._members[item.getID()]; _local3._memberCount--; if (_local3._memberCount == 0) { delete this[_local6]; delete __radioGroups[_local6]; } else if (_local3.selection == item) { delete _local3._selection; } } } function deinstallAllItems(Void) { for (var _local2 in __namedItems) { delete this[_local2]; } delete __namedItems; for (var _local2 in __radioGroups) { delete this[_local2]; } delete __radioGroups; } function getGroupSelection() { return(_selection); } function setGroupSelection(item) { _selection = item; for (var _local4 in _members) { var _local2 = _members[_local4]; _local2.attributes.selected = _local2 == item; } item.updateViews({eventName:"selectionChanged", node:item}); } function onRowRelease(rowIndex) { if (((!enabled) || (!selectable)) || (!__get__visible())) { return(undefined); } var _local5 = rows[rowIndex]; var _local2 = _local5.item; if ((_local2 != undefined) && (isItemEnabled(_local2))) { var _local10 = _local2.attributes.type; var _local4 = (!_local2.hasChildNodes()) && (_local10 != "separator"); if (_local4) { hideAllMenus(); } var _local6; var _local3 = getRootMenu(); if ((_local10 == "check") || (_local10 == "radio")) { setMenuItemSelected(_local2, !isItemSelected(_local2)); } if (_local4) { _local3.dispatchEvent({type:"change", menuBar:__menuBar, menu:_local3, menuItem:_local2, groupName:_local2.attributes.groupName}); } } } function onRowPress(rowIndex) { var _local3 = rows[rowIndex].item; if (isItemEnabled(_local3) && (!_local3.hasChildNodes())) { super.onRowPress(rowIndex); } } function onRowRollOut(rowIndex) { if (((!enabled) || (!selectable)) || (!__get__visible())) { return(undefined); } super.onRowRollOut(rowIndex); var _local4 = rows[rowIndex].item; if (_local4 != undefined) { var _local5 = getRootMenu(); _local5.dispatchEvent({type:"rollOut", menuBar:__menuBar, menu:this, menuItem:_local4}); } var _local3 = __activeChildren[_local4.getID()]; if (_local4.hasChildNodes() > 0) { if (_local3.isOpening || (_local3.isOpening == undefined)) { cancelMenuDelay(); _local3.isOpening = false; } if (_local3.visible) { rows[rowIndex].drawRow(_local4, "selected", false); } } else if (_local3.isClosing || (_local3.isClosing == undefined)) { cancelMenuDelay(); _local3.isClosing = false; } setTimeOut(__closeDelay, _local4.getID()); } function onRowRollOver(rowIndex) { if (((!enabled) || (!selectable)) || (!__get__visible())) { return(undefined); } var _local2 = rows[rowIndex]; var _local8 = _local2.item; var _local6 = _local8.getID(); var _local4 = __activeChildren[__anchor]; var _local5 = __activeChildren[_local6]; clearSelected(); clearTimeOut(); __lastRowRolledOver = rowIndex; if (anchorRow != undefined) { anchorRow.drawRow(anchorRow.item, "normal", false); delete anchorRow; } if (__parentMenu) { var _local3 = __parentMenu.rows[__anchorIndex]; _local3.drawRow(_local3.item, "selected", false); __parentMenu.anchorRow = _local3; } if (_local5.__activeChildren[_local5.__anchor].visible) { _local5.__activeChildren[_local5.__anchor].hide(); } if (_local4.visible && (__anchor != _local6)) { _local4.isClosing = true; setMenuDelay(__closeDelay, "closeSubMenu", {id:__anchor}); } if ((_local8 != undefined) && (isItemEnabled(_local8))) { var _local7 = getRootMenu(); _local7.dispatchEvent({type:"rollOver", menuBar:__menuBar, menu:this, menuItem:_local8}); if (_local8.hasChildNodes() > 0) { anchorRow = _local2; _local2.drawRow(_local8, "selected", false); if (!_local5.visible) { _local5.isOpening = true; setMenuDelay(__openDelay, "openSubMenu", {item:_local8, rowIndex:rowIndex}); } } else { _local2.drawRow(_local8, "highlighted", false); } } } function onRowDragOver(rowIndex) { var _local4 = __dataProvider.getItemAt(rowIndex + __vPosition); if (isItemEnabled(_local4)) { super.onRowDragOver(rowIndex); onRowRollOver(rowIndex); } } function __onMouseUp() { clearInterval(dragScrolling); delete dragScrolling; delete isPressed; if (!selectable) { return(undefined); } if (__wasVisible) { hide(); } __wasVisible = false; } function setMenuDelay(delay, request, args) { if (__timer == null) { __timer = setInterval(this, "callMenuDelay", delay, request, args); } else { __delayQueue.push({delay:delay, request:request, args:args}); } } function callMenuDelay(request, args) { this[request](args); clearMenuDelay(); } function clearMenuDelay(Void) { clearInterval(__timer); __timer = null; runDelayQueue(); } function cancelMenuDelay(Void) { var _local2 = __delayQueue.pop(); clearMenuDelay(); } function runDelayQueue(Void) { if (__delayQueue.length == 0) { return(undefined); } var _local2 = __delayQueue.shift(); var _local4 = _local2.delay; var _local5 = _local2.request; var _local3 = _local2.args; setMenuDelay(_local4, _local5, _local3); } function setTimeOut(delay, id) { clearTimeOut(); __timeOut = setInterval(this, "callTimeOut", delay, id); } function clearTimeOut(Void) { clearInterval(__timeOut); __timeOut = null; } function callTimeOut(Void) { var _local2 = __activeChildren[__anchor]; clearTimeOut(); if ((!isMouseOverMenu()) && (_local2)) { var _local3 = _local2.__anchorIndex; var _local5 = __dataProvider.getItemAt(_local3 + __vPosition); var _local4 = rows[_local3]; _local4.drawRow(_local5, "normal", false); _local2.hide(); __delayQueue.length = 0; } } function openSubMenu(o) { var _local3 = getRootMenu(); var _local5 = rows[o.rowIndex]; var _local7 = o.item; var _local6 = (__anchor = _local7.getID()); var _local2 = _local3.__menuCache[_local6]; if (_local2 == undefined) { _local2 = mx.managers.PopUpManager.createPopUp(_local3, mx.controls.Menu, false, {__parentMenu:this, __anchorIndex:o.rowIndex, styleName:_local3}, true); _local2.labelField = _local3.__labelField; _local2.labelFunction = _local3.__labelFunction; _local2.iconField = _local3.__iconField; _local2.iconFunction = _local3.__iconFunction; _local2.wasJustCreated = true; _local2.cellRenderer = _local3.__cellRenderer; _local2.rowHeight = _local3.__rowHeight; if (_local3.__menuCache == undefined) { _local3.__menuCache = new Object(); _local3.__menuCache[_local3.__menuDataProvider.getID()] = _local3; } if (__activeChildren == undefined) { __activeChildren = new Object(); } _local3.__menuCache[_local6] = _local2; __activeChildren[_local6] = _local2; _local2.__dataProvider.addItemsAt(0, _local7.childNodes); _local2.invUpdateSize = true; _local2.invalidate(); } _local2.__menuBar = __menuBar; var _local4 = {x:0, y:0}; _local5.localToGlobal(_local4); _local5._root.globalToLocal(_local4); _local2.focusManager.lastFocus = undefined; _local2.show(_local4.x + _local5.__width, _local4.y); focusManager.lastFocus = undefined; _local2.isOpening = false; } function closeSubMenu(o) { var _local2 = __activeChildren[o.id]; _local2.hide(); _local2.isClosing = false; } function moveSelBy(incr) { var _local3 = getSelectedIndex(); if (_local3 == undefined) { _local3 = -1; } var _local2 = _local3 + incr; if (_local2 > (__dataProvider.length - 1)) { _local2 = 0; } else if (_local2 < 0) { _local2 = __dataProvider.length - 1; } wasKeySelected = true; selectRow(_local2 - __vPosition, false, false); var _local4 = __dataProvider.getItemAt(_local2 + __vPosition); if (_local4.attributes.type == "separator") { moveSelBy(incr); } } function keyDown(e) { if (__lastRowRolledOver != undefined) { selectedIndex = __lastRowRolledOver; __lastRowRolledOver = undefined; } var _local2 = selectedItem; if (Key.isDown(38)) { var _local4 = getRootMenu(); var _local3 = _local4.__menuCache[_local2.getID()]; if (_local2.hasChildNodes() && (_local3.visible)) { supposedToLoseFocus = true; Selection.setFocus(_local3); _local3.selectedIndex = _local3.rows.length - 1; } else { moveSelBy(-1); } } if (Key.isDown(40)) { var _local4 = getRootMenu(); var _local3 = _local4.__menuCache[_local2.getID()]; if (_local2.hasChildNodes() && (_local3.visible)) { supposedToLoseFocus = true; Selection.setFocus(_local3); _local3.selectedIndex = 0; } else { moveSelBy(1); } } if (Key.isDown(39)) { if (isItemEnabled(_local2) && (_local2.hasChildNodes())) { openSubMenu({item:_local2, rowIndex:selectedIndex}); var _local4 = getRootMenu(); var _local3 = _local4.__menuCache[_local2.getID()]; supposedToLoseFocus = true; Selection.setFocus(_local3); _local3.selectedIndex = 0; } else if (__menuBar) { supposedToLoseFocus = true; Selection.setFocus(__menuBar); __menuBar.keyDown(e); } } if (Key.isDown(37)) { if (__parentMenu) { supposedToLoseFocus = true; hide(); Selection.setFocus(__parentMenu); } else if (__menuBar) { supposedToLoseFocus = true; Selection.setFocus(__menuBar); __menuBar.keyDown(e); } } if (Key.isDown(13) || (Key.isDown(32))) { if (isItemEnabled(_local2) && (_local2.hasChildNodes())) { openSubMenu({item:_local2, rowIndex:selectedIndex}); var _local4 = getRootMenu(); var _local3 = _local4.__menuCache[_local2.getID()]; supposedToLoseFocus = true; Selection.setFocus(_local3); _local3.selectedIndex = 0; } else { onRowRelease(selectedIndex); } } if (Key.isDown(27) || (Key.isDown(9))) { hideAllMenus(); } } function hideAllMenus(Void) { getRootMenu().hide(); } function isMouseOverMenu(Void) { var _local4 = new Object(); _local4.x = _root._xmouse; _local4.y = _root._ymouse; _root.localToGlobal(_local4); if (border_mc.hitTest(_local4.x, _local4.y)) { return(true); } var _local5 = getRootMenu(); for (var _local6 in _local5.__menuCache) { var _local3 = _local5.__menuCache[_local6]; if (_local3.visible && (_local3.border_mc.hitTest(_local4.x, _local4.y))) { return(true); } } return(false); } function getRootMenu(Void) { var _local2 = this; while (_local2.__parentMenu != undefined) { _local2 = _local2.__parentMenu; } return(_local2); } static var symbolName = "Menu"; static var symbolOwner = mx.controls.Menu; var className = "Menu"; static var version = "2.0.1.78"; static var mixit = mx.controls.treeclasses.TreeDataProvider.Initialize(XMLNode); static var mixit2 = mx.controls.menuclasses.MenuDataProvider.Initialize(XMLNode); var __hScrollPolicy = "off"; var __vScrollPolicy = "off"; var __rowRenderer = "MenuRow"; var __rowHeight = 19; var __wasVisible = false; var __enabled = true; var __openDelay = 250; var __closeDelay = 250; var __delayQueue = new Array(); var __iconField = "icon"; }
Symbol 326 MovieClip [__Packages.mx.skins.halo.ActivatorSkin] Frame 0
class mx.skins.halo.ActivatorSkin extends mx.skins.RectBorder { var __get__width, __get__height, getStyle, clear, drawRoundRect, __get__x, __get__y; function ActivatorSkin () { super(); } function init() { super.init(); } function size() { drawHaloRect(__get__width(), __get__height()); } function drawHaloRect(w, h) { var _local5 = getStyle("borderStyle"); var _local4 = getStyle("themeColor"); clear(); switch (_local5) { case "none" : drawRoundRect(__get__x(), __get__y(), w, h, 0, 16777215, 0); break; case "falsedown" : drawRoundRect(__get__x(), __get__y(), w, h, 0, 9542041, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 0, [3355443, 16579836], 100, -90, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 0, _local4, 50); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 0, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 0, _local4, 20); break; case "falserollover" : drawRoundRect(__get__x(), __get__y(), w, h, 0, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 0, _local4, 50); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 0, [3355443, 16777215], 100, 0, "radial"); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 0, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 0, 16316664, 100); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.skinRegistry.ActivatorSkin = true; return(true); } static var symbolName = "ActivatorSkin"; static var symbolOwner = mx.skins.halo.ActivatorSkin; var className = "ActivatorSkin"; var backgroundColorName = "buttonColor"; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 327 MovieClip [__Packages.mx.controls.menuclasses.MenuBarItem] Frame 0
class mx.controls.menuclasses.MenuBarItem extends mx.core.UIComponent { var createLabel, cell, __initText, createClassObject, owner, useHandCursor, trackAsMenu, border_mc, __width, __height, enabled, menuBarIndex; function MenuBarItem () { super(); } function createChildren(Void) { super.createChildren(); createLabel("cell", 20); cell.setValue(__initText); createClassObject(mx.skins.halo.ActivatorSkin, "border_mc", 0, {styleName:owner, borderStyle:"none"}); useHandCursor = false; trackAsMenu = true; } function size(Void) { super.size(); border_mc.setSize(__width, __height); cell.setSize(__width - __cellWidthBuffer, cell.getPreferredHeight()); cell._x = __cellWidthBuffer / 2; cell._y = (__height - cell._height) / 2; } function getPreferredWidth(Void) { return(cell.getPreferredWidth() + __cellWidthBuffer); } function setLabelBorder(style) { border_mc.borderStyle = style; border_mc.draw(); } function setEnabled(state) { cell.enabled = state; if (!enabled) { setLabelBorder("none"); } } function onPress(Void) { owner.onItemPress(menuBarIndex); } function onRelease(Void) { owner.onItemRelease(menuBarIndex); } function onRollOver(Void) { owner.onItemRollOver(menuBarIndex); } function onRollOut(Void) { owner.onItemRollOut(menuBarIndex); } function onDragOver(Void) { owner.onItemDragOver(menuBarIndex); } function onDragOut(Void) { owner.onItemDragOut(menuBarIndex); } var __cellHeightBuffer = 3; var __cellWidthBuffer = 20; var __isDown = false; var __isClosing = false; }
Symbol 328 MovieClip [__Packages.mx.controls.listclasses.SelectableRow] Frame 0
class mx.controls.listclasses.SelectableRow extends mx.core.UIComponent { var __height, cell, owner, rowIndex, icon_mc, createObject, __width, backGround, highlight, highlightColor, createLabel, createClassObject, listOwner, tabEnabled, item, createEmptyMovieClip, drawRect, isChangedToSelected, bGTween, grandOwner; function SelectableRow () { super(); } function setValue(itmObj, state) { var _local7 = __height; var _local2 = cell; var _local5 = owner; var _local8 = itemToString(itmObj); if (_local2.getValue() != _local8) { _local2.setValue(_local8, itmObj, state); } var _local4 = _local5.getPropertiesAt(rowIndex + _local5.__vPosition).icon; if (_local4 == undefined) { _local4 = _local5.__iconFunction(itmObj); if (_local4 == undefined) { _local4 = itmObj[_local5.__iconField]; if (_local4 == undefined) { _local4 = _local5.getStyle("defaultIcon"); } } } var _local3 = icon_mc; if ((_local4 != undefined) && (itmObj != undefined)) { _local3 = createObject(_local4, "icon_mc", 20); _local3._x = 2; _local3._y = (_local7 - _local3._height) / 2; _local2._x = 4 + _local3._width; } else { _local3.removeMovieClip(); _local2._x = 2; } var _local9 = ((_local3 == undefined) ? 0 : (_local3._width)); _local2.setSize(__width - _local9, Math.min(_local7, _local2.getPreferredHeight())); _local2._y = (_local7 - _local2._height) / 2; } function size(Void) { var _local3 = backGround; var _local2 = cell; var _local4 = __height; var _local5 = __width; var _local6 = ((icon_mc == undefined) ? 0 : (icon_mc._width)); _local2.setSize(_local5 - _local6, Math.min(_local4, _local2.getPreferredHeight())); _local2._y = (_local4 - _local2._height) / 2; icon_mc._y = (_local4 - icon_mc._height) / 2; _local3._x = 0; _local3._width = _local5; _local3._height = _local4; drawRowFill(_local3, normalColor); drawRowFill(highlight, highlightColor); } function setCellRenderer(forceSizing) { var _local3 = owner.__cellRenderer; var _local4; if (cell != undefined) { _local4 = cell._x; cell.removeMovieClip(); cell.removeTextField(); } var _local2; if (_local3 == undefined) { _local2 = (cell = createLabel("cll", 0, {styleName:this})); _local2.styleName = owner; _local2.selectable = false; _local2.tabEnabled = false; _local2.background = false; _local2.border = false; } else if (typeof(_local3) == "string") { _local2 = (cell = createObject(_local3, "cll", 0, {styleName:this})); } else { _local2 = (cell = createClassObject(_local3, "cll", 0, {styleName:this})); } _local2.owner = this; _local2.listOwner = owner; _local2.getCellIndex = getCellIndex; _local2.getDataLabel = getDataLabel; if (_local4 != undefined) { _local2._x = _local4; } if (forceSizing) { size(); } } function getCellIndex(Void) { return({columnIndex:0, itemIndex:owner.rowIndex + listOwner.__vPosition}); } function getDataLabel() { return(listOwner.labelField); } function init(Void) { super.init(); tabEnabled = false; } function createChildren(Void) { setCellRenderer(false); setupBG(); setState(state, false); } function drawRow(itmObj, state, transition) { item = itmObj; setState(state, transition); setValue(itmObj, state, transition); } function itemToString(itmObj) { if (itmObj == undefined) { return(" "); } var _local2 = owner.__labelFunction(itmObj); if (_local2 == undefined) { _local2 = ((itmObj instanceof XMLNode) ? (itmObj.attributes[owner.__labelField]) : (itmObj[owner.__labelField])); if (_local2 == undefined) { _local2 = " "; if (typeof(itmObj) == "object") { for (var _local4 in itmObj) { if (_local4 != "__ID__") { _local2 = (itmObj[_local4] + ", ") + _local2; } } _local2 = _local2.substring(0, _local2.length - 2); } else { _local2 = itmObj; } } } return(_local2); } function setupBG(Void) { var _local2 = (backGround = createEmptyMovieClip("bG_mc", LOWEST_DEPTH)); drawRowFill(_local2, normalColor); highlight = createEmptyMovieClip("tran_mc", LOWEST_DEPTH + 10); _local2.owner = this; _local2.grandOwner = owner; _local2.onPress = bGOnPress; _local2.onRelease = bGOnRelease; _local2.onRollOver = bGOnRollOver; _local2.onRollOut = bGOnRollOut; _local2.onDragOver = bGOnDragOver; _local2.onDragOut = bGOnDragOut; _local2.useHandCursor = false; _local2.trackAsMenu = true; _local2.drawRect = drawRect; highlight.drawRect = drawRect; } function drawRowFill(mc, newClr) { mc.clear(); mc.beginFill(newClr); mc.drawRect(1, 0, __width, __height); mc.endFill(); mc._width = __width; mc._height = __height; } function setState(newState, transition) { var _local2 = highlight; var _local8 = backGround; var _local4 = __height; var _local3 = owner; if (!_local3.enabled) { if ((newState == "selected") || (state == "selected")) { highlightColor = _local3.getStyle("selectionDisabledColor"); drawRowFill(_local2, highlightColor); _local2._visible = true; _local2._y = 0; _local2._height = _local4; } else { _local2._visible = false; normalColor = _local3.getStyle("backgroundDisabledColor"); drawRowFill(_local8, normalColor); } cell.__enabled = false; cell.setColor(_local3.getStyle("disabledColor")); } else { cell.__enabled = true; if (transition && ((newState == state) || ((newState == "highlighted") && (state == "selected")))) { isChangedToSelected = true; return(undefined); } var _local6 = _local3.getStyle("selectionDuration"); var _local7 = 0; if (isChangedToSelected && (newState == "selected")) { transition = false; } var _local10 = transition && (_local6 != 0); if (newState == "normal") { _local7 = _local3.getStyle("color"); normalColor = getNormalColor(); drawRowFill(_local8, normalColor); if (_local10) { _local6 = _local6 / 2; _local2._height = _local4; _local2._width = __width; _local2._y = 0; bGTween = new mx.effects.Tween(this, _local4 + 2, _local4 * 0.2, _local6, 5); } else { _local2._visible = false; } delete isChangedToSelected; } else { highlightColor = _local3.getStyle(((newState == "highlighted") ? "rollOverColor" : "selectionColor")); drawRowFill(_local2, highlightColor); _local2._visible = true; _local7 = _local3.getStyle(((newState == "highlighted") ? "textRollOverColor" : "textSelectedColor")); if (_local10) { _local2._height = _local4 * 0.5; _local2._y = (_local4 - _local2._height) / 2; bGTween = new mx.effects.Tween(this, _local2._height, _local4 + 2, _local6, 5); var _local9 = _local3.getStyle("selectionEasing"); if (_local9 != undefined) { bGTween.easingEquation = _local9; } } else { _local2._y = 0; _local2._height = _local4; } } cell.setColor(_local7); } state = newState; } function onTweenUpdate(val) { highlight._height = val; highlight._y = (__height - val) / 2; } function onTweenEnd(val) { onTweenUpdate(val); highlight._visible = state != "normal"; } function getNormalColor(Void) { var _local3; var _local2 = owner; if (!owner.enabled) { _local3 = _local2.getStyle("backgroundDisabledColor"); } else { var _local5 = rowIndex + _local2.__vPosition; if (rowIndex == undefined) { _local3 = _local2.getPropertiesOf(item).backgroundColor; } else { _local3 = _local2.getPropertiesAt(_local5).backgroundColor; } if (_local3 == undefined) { var _local4 = _local2.getStyle("alternatingRowColors"); if (_local4 == undefined) { _local3 = _local2.getStyle("backgroundColor"); } else { _local3 = _local4[_local5 % _local4.length]; } } } return(_local3); } function invalidateStyle(propName) { cell.invalidateStyle(propName); super.invalidateStyle(propName); } function bGOnPress(Void) { grandOwner.pressFocus(); grandOwner.onRowPress(owner.rowIndex); } function bGOnRelease(Void) { grandOwner.releaseFocus(); grandOwner.onRowRelease(owner.rowIndex); } function bGOnRollOver(Void) { grandOwner.onRowRollOver(owner.rowIndex); } function bGOnRollOut(Void) { grandOwner.onRowRollOut(owner.rowIndex); } function bGOnDragOver(Void) { grandOwner.onRowDragOver(owner.rowIndex); } function bGOnDragOut(Void) { grandOwner.onRowDragOut(owner.rowIndex); } static var LOWEST_DEPTH = -16384; var state = "normal"; var disabledColor = 15263976; var normalColor = 16777215; }
Symbol 329 MovieClip [__Packages.mx.controls.menuclasses.MenuRow] Frame 0
class mx.controls.menuclasses.MenuRow extends mx.controls.listclasses.SelectableRow { var cell, state, owner, icon_branch, branch, type, iconID, icon_mc, icon_sep, createObject, __width, __height, idealWidth; function MenuRow () { super(); } function setValue(itemObj, sel) { var _local7 = cell; var _local6 = itemToString(itemObj); if (_local7.getValue() != _local6) { _local7.setValue(_local6, itemObj, state); } var _local8 = itemObj.hasChildNodes(); var _local5 = mx.controls.Menu.isItemEnabled(itemObj); var _local4 = itemObj.attributes.type; if (_local4 == undefined) { _local4 = "normal"; } var _local9 = mx.controls.Menu.isItemSelected(itemObj); var _local3 = owner.__iconFunction(itemObj); if (_local3 == undefined) { _local3 = itemObj.attributes[owner.__iconField]; } if (_local3 == undefined) { _local3 = owner.getStyle("defaultIcon"); } if (icon_branch && (((_local8 != branch) || (_local5 != isEnabled)) || (type == "separator"))) { icon_branch.removeMovieClip(); delete icon_branch; } if ((((_local9 != selected) || (_local3 != iconID)) || (_local4 != type)) || ((_local5 != isEnabled) && (_local4 != "normal"))) { icon_mc.removeMovieClip(); icon_sep.removeMovieClip(); delete icon_sep; delete icon_mc; } branch = _local8; isEnabled = _local5; type = _local4; selected = _local9; iconID = _local3; cell.__enabled = isEnabled; cell.setColor((isEnabled ? (owner.getStyle("color")) : (owner.getStyle("disabledColor")))); if (sel == "highlighted") { if (isEnabled) { cell.setColor(owner.getStyle("textRollOverColor")); } } else if (sel == "selected") { if (isEnabled) { cell.setColor(owner.getStyle("textSelectedColor")); } } if (branch && (icon_branch == undefined)) { icon_branch = createObject("MenuBranch" + (isEnabled ? "Enabled" : "Disabled"), "icon_branch", 20); } if (type == "separator") { if (icon_sep == undefined) { var _local10 = createObject("MenuSeparator", "icon_sep", 21); } } else if (icon_mc == undefined) { if (type != "normal") { if (selected) { iconID = ((type == "check") ? "MenuCheck" : "MenuRadio") + (isEnabled ? "Enabled" : "Disabled"); } else { iconID = undefined; } } if (iconID != undefined) { icon_mc = createObject(iconID, "icon_mc", 21); } } size(); } function itemToString(itmObj) { if (itmObj.attributes.type == "separator") { return(" "); } return(super.itemToString(itmObj)); } function size(Void) { super.size(); cell._x = lBuffer; cell.setSize((__width - rBuffer) - lBuffer, Math.min(__height, cell.getPreferredHeight())); if (icon_branch) { icon_branch._x = __width - (rBuffer / 2); icon_branch._y = (__height - icon_branch._height) / 2; } if (icon_sep) { icon_sep._x = 4; icon_sep._y = (__height - icon_sep._height) / 2; icon_sep._width = __width - 8; } else if (icon_mc) { icon_mc._x = Math.max(0, (lBuffer - icon_mc._width) / 2); icon_mc._y = (__height - icon_mc._height) / 2; } } function getIdealWidth(Void) { cell.draw(); idealWidth = ((cell.getPreferredWidth() + 4) + lBuffer) + rBuffer; return(idealWidth); } var isEnabled = true; var selected = false; var lBuffer = 18; var rBuffer = 15; }
Symbol 330 MovieClip [__Packages.mx.controls.Loader] Frame 0
class mx.controls.Loader extends mx.core.View { var _origWidth, _origHeight, __width, livePreview, __height, createTextField, contentHolder, childrenCreated, destroyChildAt, createChild, border_mc; function Loader () { super(); } function init() { super.init(); } function setSize(w, h, noEvent) { _origWidth = w; _origHeight = h; super.setSize(w, h, noEvent); if (_global.isLivePreview) { livePreview._width = __width - 1; livePreview._height = __height - 1; } } function draw() { size(); } function size() { super.size(); if (__scaleContent) { doScaleContent(); } else { doScaleLoader(); } } function createChildren() { super.createChildren(); if (_global.isLivePreview) { createTextField("livePreview", -1000, 0, 0, 99, 99); livePreview.text = "mx.controls.Loader"; livePreview.border = true; } if (__autoLoad) { load(); } } function getAutoLoad() { return(__autoLoad); } function get autoLoad() { return(getAutoLoad()); } function setAutoLoad(b) { if (__autoLoad != b) { __autoLoad = b; if (__autoLoad && (!this[mx.core.View.childNameBase + 0]._complete)) { load(); } } } function set autoLoad(b) { setAutoLoad(b); //return(autoLoad); } function getBytesLoaded() { return(__bytesLoaded); } function get bytesLoaded() { return(getBytesLoaded()); } function getBytesTotal() { return(__bytesTotal); } function get bytesTotal() { return(getBytesTotal()); } function getContent() { return(contentHolder); } function get content() { return(getContent()); } function getContentPath() { return(__contentPath); } function get contentPath() { return(getContentPath()); } function setContentPath(url) { if (__contentPath != url) { __contentPath = url; if (childrenCreated) { if (__autoLoad) { load(); } } } } function set contentPath(c) { setContentPath(c); //return(contentPath); } function getPercentLoaded() { var _local2 = 100 * (__bytesLoaded / __bytesTotal); if (isNaN(_local2)) { _local2 = 0; } return(_local2); } function get percentLoaded() { return(getPercentLoaded()); } function get scaleContent() { return(getScaleContent()); } function getScaleContent() { return(__scaleContent); } function setScaleContent(b) { if (__scaleContent != b) { __scaleContent = b; if (__scaleContent) { doScaleContent(); } else { doScaleLoader(); } } } function set scaleContent(b) { setScaleContent(b); //return(scaleContent); } function load(url) { if (url != undefined) { __contentPath = url; } if (this[mx.core.View.childNameBase + 0] != undefined) { if (this[mx.core.View.childNameBase + 0]._complete) { setSize(_origWidth, _origHeight); } destroyChildAt(0); } if ((__contentPath == undefined) || (__contentPath == "")) { return(undefined); } createChild(__contentPath, "contentHolder"); } function childLoaded(obj) { super.childLoaded(obj); obj._rotation = 0; _origWidth = __width; _origHeight = __height; if (__scaleContent) { doScaleContent(); } else { doScaleLoader(); } } function dispatchEvent(obj) { if ((obj.type == "progress") || (obj.type == "complete")) { obj.target = this; __bytesTotal = obj.total; __bytesLoaded = obj.current; } super.dispatchEvent(obj); } function doScaleContent() { if (!this[mx.core.View.childNameBase + 0]._complete) { return(undefined); } unScaleContent(); var _local2 = border_mc.__get__borderMetrics(); var _local7 = (_origWidth - _local2.left) - _local2.right; var _local6 = (_origHeight - _local2.top) - _local2.bottom; var _local9 = _local2.left; var _local8 = _local2.top; var _local5 = _local7 / contentHolder._width; var _local3 = _local6 / contentHolder._height; var _local4; if (_local5 > _local3) { _local9 = _local2.left + Math.floor((_local7 - (contentHolder._width * _local3)) / 2); _local4 = _local3; } else { _local8 = _local2.top + Math.floor((_local6 - (contentHolder._height * _local5)) / 2); _local4 = _local5; } _local4 = _local4 * 100; contentHolder._xscale = (contentHolder._yscale = _local4); contentHolder._x = _local9; contentHolder._y = _local8; if ((__width != _origWidth) || (__height != _origHeight)) { setSize(_origWidth, _origHeight); } } function doScaleLoader() { if (!this[mx.core.View.childNameBase + 0]._complete) { return(undefined); } unScaleContent(); var _local2 = border_mc.__get__borderMetrics(); var _local4 = (contentHolder._width + _local2.left) + _local2.right; var _local3 = (contentHolder._height + _local2.top) + _local2.bottom; if ((__width != _local4) || (__height != _local3)) { setSize(_local4, _local3); } contentHolder._x = _local2.left; contentHolder._y = _local2.top; } function unScaleContent() { contentHolder._xscale = (contentHolder._yscale = 100); contentHolder._x = (contentHolder._y = 0); } static var symbolName = "Loader"; static var symbolOwner = mx.controls.Loader; static var version = "2.0.1.78"; var className = "Loader"; var clipParameters = {autoLoad:1, scaleContent:1, contentPath:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Loader.prototype.clipParameters, mx.core.View.prototype.clipParameters); var __autoLoad = true; var __bytesLoaded = undefined; var __bytesTotal = undefined; var __contentPath = undefined; var __scaleContent = true; }
Symbol 332 MovieClip [__Packages.mx.controls.List] Frame 0
class mx.controls.List extends mx.controls.listclasses.ScrollSelectList { var border_mc, __labels, setDataProvider, roundUp, __get__rowCount, __dataProvider, __maxHPosition, invScrollProps, invalidate, __vPosition, getViewMetrics, setSize, __width, __rowHeight, totalWidth, totalHeight, displayWidth, __hScrollPolicy, vScroller, __hPosition, listContent, data, mask_mc, __height, __rowCount, invRowHeight, invLayoutContent, setScrollProperties, oldVWidth; function List () { super(); } function setEnabled(v) { super.setEnabled(v); border_mc.backgroundColorName = (v ? "backgroundColor" : "backgroundDisabledColor"); border_mc.invalidate(); } function get labels() { return(__labels); } function set labels(lbls) { __labels = lbls; setDataProvider(lbls); //return(labels); } function setVPosition(pos) { pos = Math.min((__dataProvider.length - __get__rowCount()) + roundUp, pos); pos = Math.max(0, pos); super.setVPosition(pos); } function setHPosition(pos) { pos = Math.max(Math.min(__maxHPosition, pos), 0); super.setHPosition(pos); hScroll(pos); } function setMaxHPosition(pos) { __maxHPosition = pos; invScrollProps = true; invalidate(); } function setHScrollPolicy(policy) { if ((policy.toLowerCase() == "auto") && (!autoHScrollAble)) { return(undefined); } super.setHScrollPolicy(policy); if (policy == "off") { setHPosition(0); setVPosition(Math.min((__dataProvider.length - __get__rowCount()) + roundUp, __vPosition)); } } function setRowCount(rC) { if (isNaN(rC)) { return(undefined); } var _local2 = getViewMetrics(); setSize(__width, ((__rowHeight * rC) + _local2.top) + _local2.bottom); } function layoutContent(x, y, tW, tH, dW, dH) { totalWidth = tW; totalHeight = tH; displayWidth = dW; var _local4 = (((__hScrollPolicy == "on") || (__hScrollPolicy == "auto")) ? (Math.max(tW, dW)) : (dW)); super.layoutContent(x, y, _local4, dH); } function modelChanged(eventObj) { super.modelChanged(eventObj); var _local3 = eventObj.eventName; if ((((_local3 == "addItems") || (_local3 == "removeItems")) || (_local3 == "updateAll")) || (_local3 == "filterModel")) { invScrollProps = true; invalidate("invScrollProps"); } } function onScroll(eventObj) { var _local3 = eventObj.target; if (_local3 == vScroller) { setVPosition(_local3.scrollPosition); } else { hScroll(_local3.scrollPosition); } super.onScroll(eventObj); } function hScroll(pos) { __hPosition = pos; listContent._x = -pos; } function init(Void) { super.init(); if (labels.length > 0) { var _local6 = new Array(); var _local3 = 0; while (_local3 < labels.length) { _local6.addItem({label:labels[_local3], data:data[_local3]}); _local3++; } setDataProvider(_local6); } __maxHPosition = 0; } function createChildren(Void) { super.createChildren(); listContent.setMask(mask_mc); border_mc.move(0, 0); border_mc.setSize(__width, __height); } function getRowCount(Void) { var _local2 = getViewMetrics(); return(((__rowCount == 0) ? (Math.ceil(((__height - _local2.top) - _local2.bottom) / __rowHeight)) : (__rowCount))); } function size(Void) { super.size(); configureScrolling(); var _local3 = getViewMetrics(); layoutContent(_local3.left, _local3.top, __width + __maxHPosition, totalHeight, (__width - _local3.left) - _local3.right, (__height - _local3.top) - _local3.bottom); } function draw(Void) { if (invRowHeight) { invScrollProps = true; super.draw(); listContent.setMask(mask_mc); invLayoutContent = true; } if (invScrollProps) { configureScrolling(); delete invScrollProps; } if (invLayoutContent) { var _local3 = getViewMetrics(); layoutContent(_local3.left, _local3.top, __width + __maxHPosition, totalHeight, (__width - _local3.left) - _local3.right, (__height - _local3.top) - _local3.bottom); } super.draw(); } function configureScrolling(Void) { var _local2 = __dataProvider.length; if (__vPosition > Math.max(0, (_local2 - getRowCount()) + roundUp)) { setVPosition(Math.max(0, Math.min((_local2 - getRowCount()) + roundUp, __vPosition))); } var _local3 = getViewMetrics(); var _local4 = ((__hScrollPolicy != "off") ? (((__maxHPosition + __width) - _local3.left) - _local3.right) : ((__width - _local3.left) - _local3.right)); if (_local2 == undefined) { _local2 = 0; } setScrollProperties(_local4, 1, _local2, __rowHeight); if (oldVWidth != _local4) { invLayoutContent = true; } oldVWidth = _local4; } static var symbolOwner = mx.controls.List; static var symbolName = "List"; var className = "List"; static var version = "2.0.1.78"; var clipParameters = {rowHeight:1, enabled:1, visible:1, labels:1}; var scrollDepth = 1; var __vScrollPolicy = "on"; var autoHScrollAble = false; }
Symbol 334 MovieClip [__Packages.mx.data.components.DataSet] Frame 0
class mx.data.components.DataSet extends MovieClip { var _loading, _eventDispatcher, super_addBinding, _fldValObj, __schema, __toProperties, _calcFields, _enableEvents, _event, _itemClass, _hasDelta, _deltaPacket, _filterFunc, _visible, _filtered, _srcSchema, _defValues, _name, __logChanges, __readOnly, __itemClassName, _trapProperties, __curItem, _dpIndexByTransId, _iterator, getField, __items, __schemaXML, _invalidSchema, _iterators, _itemIndexById, _dpTransIdCount, _lastTransId, _optDeltaItems, _deltaItems, _propCage, addProperty; function DataSet () { super(); _loading = false; _eventDispatcher = new Object(); mx.events.EventDispatcher.initialize(_eventDispatcher); super_addBinding = mx.data.binding.ComponentMixins.prototype.addBinding; _fldValObj = new Object(); _fldValObj.__schema = __schema; mx.data.binding.ComponentMixins.initComponent(_fldValObj); mx.data.binding.ComponentMixins.initComponent(this); __toProperties = new Object(); _calcFields = new Object(); _calcFields.__length__ = 0; initCollection(); initIterators(); _enableEvents = 0; _event = null; _itemClass = null; _hasDelta = 0; _deltaPacket = null; _filterFunc = null; _visible = false; _filtered = false; _srcSchema = null; _defValues = new Object(); _name = ((_name == undefined) ? "" : (_name)); __logChanges = ((__logChanges == undefined) ? true : (__logChanges)); __readOnly = ((__readOnly == undefined) ? false : (__readOnly)); __itemClassName = ((__itemClassName == undefined) ? "" : (__itemClassName)); _trapProperties = false; buildSchema(); createProperties(); } function get currentItem() { return(__curItem); } function get deltaPacket() { return(_deltaPacket); } function set deltaPacket(dp) { if (dp != null) { var _local9 = dp.getIterator(); var _local5; var _local13 = new Array(); var _local12 = _dpIndexByTransId[dp.getTransactionId()]; if (_local12 != undefined) { internalClearDeltaPacket(dp.getTransactionId()); while (_local9.hasNext()) { _local5 = mx.data.components.datasetclasses.Delta(_local9.next()); if (_local12.items[_local5.getId()] == null) { throw new mx.data.components.datasetclasses.DataSetError(((((("Couldn't resolve item with ID [" + _local5.getId()) + "] specified in deltaPacket [") + dp.getTransactionId()) + "]. Error for DataSet '") + _name) + "'."); } applyResolvePacket(_local5, _local13, _local12.items); } if (_local13.length > 0) { internalDispatchEvent("resolveDelta", {data:_local13}); } } else { var _local3; var _local15 = __logChanges; __logChanges = dp.logChanges() && (__logChanges); _enableEvents--; var _local14 = dp.getKeyInfo(); addSort(dp.getTransactionId(), _local14.keyList, _local14.options); try { while (_local9.hasNext()) { _local5 = mx.data.components.datasetclasses.Delta(_local9.next()); switch (_local5.getOperation()) { case mx.data.components.datasetclasses.DeltaPacketConsts.Modified : _local3 = _iterator.find(_local5.getSource()); if (_local3 != null) { var _local11 = __curItem; try { __curItem = _local3; var _local4; var _local8 = _local5.getChangeList(); var _local6 = 0; while (_local6 < _local8.length) { _local4 = _local8[_local6]; if (_local4.kind == mx.data.components.datasetclasses.DeltaItem.Property) { var _local7 = __toProperties[_local4.name].type; getField(_local4.name).setTypedValue(new mx.data.binding.TypedValue(_local4.newValue, _local7.name, _local7)); } else { this[_local4.name].apply(_local3, _local4.argList); } _local6++; } } finally { __curItem = _local11; } } break; case mx.data.components.datasetclasses.DeltaPacketConsts.Added : _local3 = convertToRaw(_local5.getSource(true)); _local3 = createItem(_local3); addItem(_local3); break; case mx.data.components.datasetclasses.DeltaPacketConsts.Removed : _local3 = convertToRaw(_local5.getSource()); _local3 = _iterator.find(_local3); if (_local3 == null) { break; } removeItem(_local3); } if (_local3 == null) { _global.__dataLogger.logData(null, "Couldn't find the following item:", _local5.getSource()); } } } finally { removeSort(dp.getTransactionId()); _enableEvents++; __logChanges = _local15; } } } //return(deltaPacket); } function get dataProvider() { return(new mx.data.components.datasetclasses.DataSetDataProvider(this)); } function set dataProvider(dp) { if (dp != null) { _loading = true; var _local6 = __logChanges; try { __logChanges = false; initCollection(); if ((dp.length > 0) && (hasInvalidSchema())) { defaultSchema(dp.getItemAt(0), true); } var _local5 = ((_itemClass != null) || (__itemClassName.length > 0)) || (_eventDispatcher.__q_newItem != undefined); var _local3; var _local2 = 0; while (_local2 < dp.length) { _local3 = dp.getItemAt(_local2); _local3 = (_local5 ? (createItem(_local3)) : (_local3)); internalAddItem(_local3, _local2, false, true); _local2++; } rebuildItemIndexById(); initIterators(); internalDispatchEvent("afterLoaded"); internalDispatchEvent("modelChanged", {eventName:"updateAll", firstItem:0, lastItem:length}); } finally { __logChanges = _local6; _loading = false; } } //return(dataProvider); } function get filtered() { return(_filtered); } function set filtered(value) { if (_filtered != value) { if (_iterator.setFiltered(value) != 0) { __curItem = internalFirst(); internalDispatchEvent("modelChanged", {eventName:"filterModel"}); } _filtered = value; } //return(filtered); } function get filterFunc() { return(_filterFunc); } function set filterFunc(value) { if (_filterFunc != value) { if (_iterator.setFilterFunc(value) != 0) { __curItem = internalFirst(); internalDispatchEvent("modelChanged", {eventName:"filterModel"}); } _filterFunc = value; } //return(filterFunc); } function get items() { return(__items); } function set items(itms) { var _local6 = __logChanges; _loading = true; try { __logChanges = false; initCollection(); if ((itms.length > 0) && (hasInvalidSchema())) { defaultSchema(itms[0]); } var _local5 = ((_itemClass != null) || (__itemClassName.length > 0)) || (_eventDispatcher.__q_newItem != undefined); var _local3; var _local2 = 0; while (_local2 < itms.length) { _local3 = itms[_local2]; _local3 = (_local5 ? (createItem(_local3)) : (_local3)); internalAddItem(_local3, _local2, false, false); _local2++; } rebuildItemIndexById(); initIterators(); internalDispatchEvent("afterLoaded"); internalDispatchEvent("modelChanged", {eventName:"updateAll", firstItem:0, lastItem:length}); } finally { __logChanges = _local6; _loading = false; } //return(items); } function get itemClassName() { return(__itemClassName); } function set itemClassName(value) { if ((__itemClassName != value) && (__items.length > 0)) { throw new mx.data.components.datasetclasses.DataSetError(("ItemClass can not be changed when there are already items in the collection. Error for DataSet '" + _name) + "'."); } __itemClassName = value; _itemClass = null; //return(itemClassName); } function get length() { return(getLength()); } function get logChanges() { return(__logChanges); } function set logChanges(value) { __logChanges = value; //return(logChanges); } function get properties() { return(__toProperties); } function get readOnly() { return(__readOnly); } function set readOnly(value) { __readOnly = value; //return(readOnly); } function get schema() { return(__schemaXML); } function set schema(sch) { if (sch.firstChild.nodeName != "properties") { throw new mx.data.components.datasetclasses.DataSetError("First node of schema XML must be 'properties'"); } __schema = new Object(); __schema.elements = new Array(); var _local3 = sch.firstChild.childNodes; var _local2; var _local6; for (var _local4 in _local3) { _local2 = _local3[_local4]; if (_local2.nodeName == "property") { __schema.elements.push(getSchemaObject(_local2)); } } __schemaXML = sch; _invalidSchema = false; createProperties(); //return(schema); } function get selectedIndex() { return(_iterator.getItemIndex(__curItem)); } function set selectedIndex(index) { var _local2 = _iterator.getItemAt(index); if (_local2 != null) { __curItem = _local2; _iterator.find(_local2); internalDispatchEvent("iteratorScrolled"); } //return(selectedIndex); } function addBinding(aBinding) { var _local2 = null; if (aBinding.source.component == this) { _local2 = aBinding.source; if (_local2.property == "dataProvider") { Object(aBinding).queueForExecute(); _local2.event = "NoEvent"; _local2 = null; } } if (aBinding.dest.component == this) { _local2 = aBinding.dest; } if (_local2 != null) { var _local4 = _local2.property; if ((_local4 != "deltaPacket") && (_local4 != "items")) { _local2.event = new Array("iteratorScrolled", "modelChanged"); } } super_addBinding(aBinding); } function addEventListener(name, handler) { _eventDispatcher.addEventListener(name, handler); } function addSort(name, propList, options) { if (hasSort(name)) { throw new mx.data.components.datasetclasses.DataSetError(((("Sort '" + name) + "' specified is already added. Error for dataset '") + _name) + "'."); } var _local4 = null; var _local2 = 0; while (_local2 < propList.length) { _local4 = __toProperties[propList[_local2]]; if (_local4 == null) { throw new mx.data.components.datasetclasses.DataSetError(((("Property '" + propList[_local2]) + "' not found in schema for DataSet '") + _name) + "' can't build index."); } addSortInfo(getField(_local4.name), name, _local2); _local2++; } var _local6 = new mx.data.components.datasetclasses.DataSetIterator(name, this, _iterators[DefaultIterator]); _local6.setFilterFunc(_filterFunc); _local6.setFiltered(_filtered); _local6.sortOn(propList, options); _iterators[name] = _local6; _iterator = _local6; __curItem = _iterator.next(); internalDispatchEvent("modelChanged", {eventName:"sort"}); } function addItem(transferObj) { if ((arguments.length > 0) && (transferObj == null)) { return(false); } return(addItemAt(length, transferObj)); } function addItemAt(index, transferObj) { checkReadOnly(); var _local5 = true; if (transferObj == undefined) { transferObj = createItem(null); } else { var _local7 = transferObj[ItemId]; _local5 = (_local7 == undefined) || (_itemIndexById[_local7] == undefined); } if (_local5) { if (hasInvalidSchema()) { defaultSchema(transferObj); } var _local4 = internalDispatchEvent("addItem", {item:transferObj, result:true}); _local5 = (_local4 == null) || (_local4.result); if (_local5 && (index <= length)) { var _local7 = internalAddItem(transferObj, index, true, false); if (__logChanges) { logAddItem(transferObj, false); } _local4 = {eventName:"addItems", firstItem:index, lastItem:index}; resyncIterators(_local4); var _local6 = _iterator.find({__ID__:_local7}); if (_local6 != null) { __curItem = _local6; } internalDispatchEvent("modelChanged", _local4); if ((_enableEvents < 0) && (_event != null)) { _event.data.lastItem = index; } } } return(_local5); } function applyUpdates() { if (_hasDelta > 0) { var _local2 = getDPTransId(); var _local4 = 0; if (_dpTransIdCount == 0) { _lastTransId = _local2; } else { _local4 = _dpIndexByTransId[_lastTransId].index; } _dpIndexByTransId[_local2] = {index:_deltaItems.length, prevId:_lastTransId, items:_optDeltaItems}; _dpTransIdCount++; _deltaPacket = new mx.data.components.datasetclasses.DeltaPacketImpl(this, _local2, getKeyInfo(), false, _srcSchema); for (var _local3 in _optDeltaItems) { _deltaPacket.addItem(_optDeltaItems[_local3]); } _lastTransId = _local2; _optDeltaItems = new Array(); _hasDelta = 0; internalDispatchEvent("deltaPacketChanged"); } else { _deltaPacket = null; } } function clear() { var _local4 = new Array(); var _local5 = new Array(); var _local2; var _local6; var _local8 = _iterator.getLength(); var _local3 = 0; while (_local3 < __items.length) { _local2 = __items[_local3]; _local6 = _local2[ItemId]; if (_iterator.contains(_local2)) { if (__logChanges) { logRemoveItem(_local2, false); } _local5.push(_local2[ItemId]); } else { _local4.push(_local2); } _local3++; } __items = _local4; rebuildItemIndexById(); var _local7 = {eventName:"removeItems", firstItem:0, lastItem:_local8, removedIDs:_local5}; resyncIterators(_local7); __curItem = getCurrentItem(); delete _local7[items]; internalDispatchEvent("modelChanged", _local7); } function createItem(itemData) { checkSchema(); var _local5 = null; if (_itemClass == null) { if (__itemClassName.length > 0) { _itemClass = mx.utils.ClassFinder.findClass(__itemClassName); if (_itemClass == null) { throw new mx.data.components.datasetclasses.DataSetError(((("Item class '" + __itemClassName) + "' specified not found. Error for DataSet '") + _name) + "'."); } } else { _itemClass = Function(Object); } } if (itemData == null) { _propCage = new Object(); _trapProperties = true; try { var _local2; for (var _local3 in __toProperties) { _local2 = _defValues[_local3]; if (_local2 != null) { getField(_local3).setTypedValue(new mx.data.binding.TypedValue(_local2, "String")); } } itemData = _propCage; } finally { _trapProperties = false; } } if (_itemClass == Object) { _local5 = itemData; } else { _local5 = new this._itemClass(); } _local5.setPropertyData(itemData); internalDispatchEvent("newItem", {item:_local5}); return(_local5); } function disableEvents() { _enableEvents--; } function dispatchEvent(eventObj) { internalDispatchEvent(eventObj.type, eventObj); } function enableEvents() { if (_enableEvents < 0) { _enableEvents++; } if (_enableEvents == 0) { internalDispatchEvent(_event.type, _event.data); _event = null; } } function find(values) { var _local2 = _iterator.find(convertToRaw(values)); if (_local2 != null) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } return(_local2 != null); } function findFirst(values) { var _local2 = _iterator.findFirst(convertToRaw(values)); if (_local2 != null) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } return(_local2 != null); } function findLast(values) { var _local2 = _iterator.findLast(convertToRaw(values)); if (_local2 != null) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } return(_local2 != null); } function first() { var _local2 = internalFirst(); if (__curItem != _local2) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } } function getItemId(index) { var _local2 = ""; if (getLength() > 0) { _local2 = ((index == undefined) ? (__curItem[ItemId]) : (_iterator.getItemId(index))); } return(_local2); } function getIterator() { var _local3 = internalGetId(); var _local2 = new mx.data.components.datasetclasses.DataSetIterator(_local3, this, mx.data.components.datasetclasses.DataSetIterator(_iterator)); _local2.first(); _iterators[_local3] = _local2; return(_local2); } function getLength() { return(_iterator.getLength()); } function hasNext() { return((_iterator.getLength() > 0) && (_iterator.hasNext() || (_iterator.getCurrentItem() != null))); } function hasPrevious() { return((_iterator.getLength() > 0) && (_iterator.hasPrevious() || (_iterator.getCurrentItem() != null))); } function hasSort(name) { return(_iterators[name] != undefined); } function isEmpty() { return(length == 0); } function clearDelta(id) { return(removeDelta(_optDeltaItems[id])); } function changesPending() { return(_hasDelta > 0); } function locateById(id) { var _local2 = _iterator.find({__ID__:id}); if (_local2 != null) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } return(_local2 != null); } function last() { _iterator.last(); var _local2 = _iterator.previous(); _iterator.next(); if (__curItem != _local2) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } } function loadFromSharedObj(objName, localPath) { var _local7 = SharedObject.getLocal(objName, localPath); if (_local7.data.items != undefined) { items = (_local7.data.items); var _local4 = _local7.data.optDelta; _optDeltaItems = new Array(); var _local2; for (var _local8 in _local4) { _local2 = _local4[_local8]; _optDeltaItems[_local2._id] = createDelta(_local2); } _local4 = _local7.data.delta; _deltaItems = new Array(); var _local8 = 0; while (_local8 < _local4.length) { _local2 = _local4[_local8]; if (_optDeltaItems[_local2._id] == undefined) { d = createDelta(_local2); } else { d = _optDeltaItems[_local2._id]; } _deltaItems.push(d); _local8++; } var _local5 = _local7.data.dpIndex; var _local3; for (_local8 in _local5) { _local3 = _local5[_local8].items; for (var _local6 in _local3) { _local3[_local6] = findDelta(_local6); } } _dpIndexByTransId = _local5; _lastTransId = _local7.data.lastTransId; _dpTransIdCount = _local7.data.transIdCount; _hasDelta = _local7.data.hasDelta; } } function next() { var _local2 = _iterator.next(); if (_local2 != null) { if (_local2 == __curItem) { _local2 = _iterator.next(); } if (_local2 != null) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } } } function previous() { var _local2 = _iterator.previous(); if (_local2 != null) { if (_local2 == __curItem) { _local2 = _iterator.previous(); } if (_local2 != null) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } } } function propertyModified(propName, subProp, typeInfo) { if ((propName == "dataProvider") || (propName == "items")) { _srcSchema = typeInfo; } } function removeAll() { var _local3 = __items.length; var _local2 = 0; while (_local2 < _local3) { if (__logChanges) { logRemoveItem(__items[_local2], false); } _local2++; } __items = new Array(); _itemIndexById = new Array(); var _local4 = {eventName:"removeItems", firstItem:0, lastItem:_local3}; resyncIterators(_local4); internalDispatchEvent("modelChanged", _local4); } function removeEventListener(name, handler) { _eventDispatcher.removeEventListener(name, handler); } function removeItem(item) { if ((arguments.length > 0) && (item == null)) { return(false); } if (item == null) { item = __curItem; } var _local4 = _itemIndexById[item[ItemId]]; if (_local4 != undefined) { return(internalRemoveItem(item)); } return(false); } function removeItemAt(index) { return(internalRemoveItem(_iterator.getItemAt(index))); } function removeRange() { _iterator.removeRange(); __curItem = internalFirst(); internalDispatchEvent("modelChanged", {eventName:"filterModel"}); } function removeSort(name) { if (_iterators[name] != undefined) { if (name != DefaultIterator) { if (_iterator.getId() == name) { setIterator(_iterators[DefaultIterator]); } var _local3 = _iterators[name].getSortInfo(); var _local2 = 0; while (_local2 < _local3.keyList.length) { removeSortInfo(getField(_local3.keyList[_local2]), name); _local2++; } delete _iterators[name]; } else { throw new mx.data.components.datasetclasses.DataSetError(("The default index can not be removed. Error on DataSet '" + _name) + "'."); } } else { throw new mx.data.components.datasetclasses.DataSetError(((("Sort '" + name) + "' specified does not exist. Error on DataSet '") + _name) + "'."); } } function skip(offset) { var _local2 = _iterator.skip(offset); if (_local2 == null) { if (offset > 0) { _local2 = _iterator.previous(); } else { _local2 = _iterator.next(); } } if (__curItem != _local2) { __curItem = _local2; internalDispatchEvent("iteratorScrolled"); } return(this); } function saveToSharedObj(objName, localPath) { var _local2 = SharedObject.getLocal(objName, localPath); if (_local2 == null) { throw new mx.data.components.datasetclasses.DataSetError(("Couldn't access specified shared object. Error for DataSet '" + _name) + "'."); } _local2.data.items = __items; _local2.data.optDelta = _optDeltaItems; _local2.data.delta = _deltaItems; _local2.data.dpIndex = _dpIndexByTransId; _local2.data.lastTransId = _lastTransId; _local2.data.transIdCount = _dpTransIdCount; _local2.data.hasDelta = _hasDelta; if (_local2.flush() == false) { throw new mx.data.components.datasetclasses.DataSetError(("Couldn't save shared object not sufficient space or rights. Error for DataSet '" + _name) + "'."); } } function setIterator(newIterator) { if (_iterators[newIterator.getId()] == undefined) { throw new mx.data.components.datasetclasses.DataSetError(((("Can't assign foreign iterator '" + newIterator.getId()) + "' to DataSet '") + _name) + "'."); } _iterator = newIterator; __curItem = getCurrentItem(); internalDispatchEvent("modelChanged", {eventName:"filterModel"}); } function setRange(startValues, endValues) { _iterator.setRange(convertToRaw(startValues), convertToRaw(endValues)); __curItem = internalFirst(); internalDispatchEvent("modelChanged", {eventName:"filterModel"}); } function useSort(sortName, options) { if (!hasSort(sortName)) { throw new mx.data.components.datasetclasses.DataSetError(((("Sort specified '" + sortName) + "' does'nt exist for DataSet '") + _name) + "'."); } var _local2 = _iterators[sortName]; if (options != undefined) { _local2.setSortOptions(options); } _local2.setFiltered(_filtered); _local2.setFilterFunc(_filterFunc); _iterator = _local2; first(); internalDispatchEvent("modelChanged", {eventName:"sort"}); } function addProxy() { var _local2; for (var _local3 in __toProperties) { _local2 = String(_local3); addProperty(_local2, this["get_" + _local2], this["set_" + _local2]); } } function addSortInfo(fld, name, index) { if (fld.sortInfo == null) { fld.sortInfo = new Array(); } fld.sortInfo[name] = index; } function applyResolvePacket(d, resPckt, dpItems) { var _local9 = resPckt.length; if (d.getMessage().length > 0) { resPckt.push(Object(d)); } else { var _local3 = d.getChangeList(); var _local4 = true; var _local2 = 0; while ((_local2 < _local3.length) && (_local4)) { _local4 = _local3[_local2].message.length == 0; _local2++; } if (_local2 < _local3.length) { resPckt.push(Object(d)); } } var _local6 = _local9 != resPckt.length; switch (d.getOperation()) { case mx.data.components.datasetclasses.DeltaPacketConsts.Added : if (_local6) { logAddItem(d.getSource(), true, d.getId()); } else { updateItem(d); } break; case mx.data.components.datasetclasses.DeltaPacketConsts.Removed : if (_local6) { logRemoveItem(d.getSource(), true, d.getId()); } break; case mx.data.components.datasetclasses.DeltaPacketConsts.Modified : if (!_local6) { updateItem(d); } else { var _local7 = dpItems[d.getId()]; _optDeltaItems[d.getId()] = _local7; _deltaItems.push(Object(_local7)); _hasDelta++; } } } function buildSchema() { if (hasInvalidSchema()) { __schemaXML = new XML("<properties/>"); } else { var _local4 = __schema.elements; var _local2; var _local6 = "<properties>"; var _local3 = 0; while (_local3 < _local4.length) { _local2 = _local4[_local3]; if (isValidElement(_local2)) { if ((_local2.type.name == "Date") && (_local2.type.encoder == undefined)) { _local2.type.encoder = {className:"mx.data.encoders.DateToNumber"}; } _local6 = _local6 + (((("<property name=\"" + _local2.name) + "\">") + getSchemaXML("type", _local2.type)) + "</property>"); } _local3++; } _local6 = _local6 + "</properties>"; __schemaXML = new XML(_local6); } } function createDelta(td) { var _local10; var _local1; var _local3; _local10 = new mx.data.components.datasetclasses.DeltaImpl(td._id, td._source, td._op, td._message, td._accessCl); var _local2 = 0; while (_local2 < td._deltaItems.length) { _local1 = td._deltaItems[_local2]; if (_local1.__kind == mx.data.components.datasetclasses.DeltaItem.Property) { _local3 = {newValue:_local1.__newValue, oldValue:_local1.__oldValue, curValue:_local1.__curValue, message:_local1.__message}; } else { _local3 = {argList:_local1.__argList}; } new mx.data.components.datasetclasses.DeltaItem(_local1.__kind, _local1.__name, _local3, Object(_local10)); _local2++; } return(_local10); } function checkReadOnly() { if (__readOnly) { throw new mx.data.components.datasetclasses.DataSetError(("Can't modify a read only DataSet. Error for '" + Object(this)._name) + "'."); } } function checkSchema() { if (hasInvalidSchema()) { throw new mx.data.components.datasetclasses.DataSetError(("Schema has not been specified. Can't construct item. Error for DataSet '" + _name) + "'."); } } function createProperties() { removeProxy(); _allowReslv = true; _calcFields.__length__ = 0; __toProperties = new Object(); var _local2; var _local3 = 0; while (_local3 < __schema.elements.length) { _local2 = __schema.elements[_local3]; if (isValidElement(_local2)) { __toProperties[_local2.name] = _local2; if (_local2.type.value != null) { _defValues[_local2.name] = _local2.type.value; _local2.type.value = null; } if (getField(_local2.name).kind.isCalculated) { _calcFields[_local2.name] = _local2; _calcFields.__length__++; } } _local3++; } addProxy(); _allowReslv = __items.length > 0; } function convertToRaw(values) { if (values instanceof Array) { return(convertArrayToRaw(values)); } return(convertObjectToRaw(values)); } function convertArrayToRaw(values) { _trapProperties = true; _propCage = new Object(); try { var _local5 = _iterator.getSortInfo(); var _local4; var _local6; var _local3; var _local2 = 0; while (_local2 < _local5.keyList.length) { if (_local2 < values.length) { _local4 = getField(_local5.keyList[_local2]); _local6 = __toProperties[_local5.keyList[_local2]].type; _local3 = values[_local2]; switch (typeof(_local3)) { case "string" : _local4.setAsString(_local3); break; case "boolean" : _local4.setAsBoolean(_local3); break; case "number" : _local4.setAsNumber(_local3); break; case "object" : _local4.setTypedValue(new mx.data.binding.TypedValue(_local3, _local6.name, _local6)); } } _local2++; } } finally { _trapProperties = false; } return(_propCage); } function convertObjectToRaw(values) { _trapProperties = true; _propCage = new Object(); try { var _local6 = _iterator.getSortInfo(); var _local4; var _local7; var _local2; var _local3 = 0; while (_local3 < _local6.keyList.length) { _local2 = _local6.keyList[_local3]; _local4 = getField(_local2); _local7 = __toProperties[_local6.keyList[_local3]].type; switch (typeof(values[_local2])) { case "string" : _local4.setAsString(values[_local2]); break; case "boolean" : _local4.setAsBoolean(values[_local2]); break; case "number" : _local4.setAsNumber(values[_local2]); break; case "object" : _local4.setTypedValue(new mx.data.binding.TypedValue(values[_local2], _local7.name, _local7)); } _local3++; } } finally { _trapProperties = false; } return(_propCage); } function decodeItem(item) { var _local2 = new Object(); var _local4 = __curItem; __curItem = item; try { for (var _local3 in __toProperties) { _local2[_local3] = getField(_local3).getTypedValue().value; } } finally { __curItem = _local4; } return(_local2); } function defaultSchema(obj) { var _local2; var _local3; var _local4 = ""; for (var _local6 in obj) { _local2 = typeof(obj[_local6]); if (_local2 != "function") { _local2 = String(_local2.charAt(0)).toUpperCase() + _local2.substring(1, _local2.length); if (_local2 == "Boolean") { _local3 = "Bool"; } else { _local3 = _local2.substring(0, 3); } _local4 = (((((("<property name=\"" + _local6) + "\"><type name=\"") + _local2) + "\" original=\"false\"><validation className=\"mx.data.types.") + _local3) + "\"/></type></property>") + _local4; } } schema = (new XML(("<properties>" + _local4) + "</properties>")); } function decodeValue(fieldName, value) { _fldValObj.__schema = __schema; _fldValObj[fieldName] = value; return(_fldValObj.getField(fieldName).getTypedValue().value); } function encodeValue(fieldName, value) { var _local2 = __toProperties[fieldName].type; _fldValObj.__schema = __schema; _fldValObj.getField(fieldName).setTypedValue(new mx.data.binding.TypedValue(value, _local2.name, _local2)); return(_fldValObj[fieldName]); } function findDelta(id) { var _local2 = 0; while (_local2 < _deltaItems.length) { if (_deltaItems[_local2]._id == id) { return(_deltaItems[_local2]); } _local2++; } return(null); } function internalDispatchEvent(type, params) { var _local3 = null; if (_enableEvents >= 0) { _local3 = {type:type, target:this}; if (params != undefined) { for (var _local4 in params) { _local3[_local4] = params[_local4]; } } _eventDispatcher.dispatchEvent(_local3); } else if ((_event != null) && (_event.type == "modelChanged")) { if (type == "modelChanged") { if ((_event.data.eventName != "sort") && (_event.data.eventName != "filter")) { _event.data = params; } } } else { _event = {data:params, type:type}; } return(_local3); } function getDataProviderItem(item, desiredTypes) { var _local5 = new Object(); var _local4; var _local8 = __curItem; var _local3; var _local2; try { __curItem = item; for (var _local7 in __toProperties) { _local3 = desiredTypes[_local7]; if (_local3 == null) { _local3 = "String"; } _local4 = getField(_local7); _local2 = _local4.getTypedValue(_local3); if (_local2 == null) { _local2 = _local4.getTypedValue(); } _local5[_local7] = _local2.value; } } finally { __curItem = _local8; } return(_local5); } function getEditingData(fieldName, item, desiredTypes) { var _local4; var _local5 = __curItem; var _local2; try { __curItem = item; _local2 = desiredTypes[fieldName]; if (_local2 == null) { _local2 = "String"; } var _local3 = getField(fieldName); val = _local3.getTypedValue(_local2); if (val == null) { val = _local3.getTypedValue(); } _local4 = val.value; } finally { __curItem = _local5; } return(_local4); } function getDisplayValue(propName, index) { var _local3 = __curItem; var _local2 = ""; try { __curItem = __items[index]; _local2 = getField(propName).getAsString(); } finally { __curItem = _local3; } return(_local2); } function getCurrentItem() { var _local2 = _iterator.getCurrentItem(); if (_local2 == null) { if (_iterator.hasNext()) { _local2 = _iterator.next(); _iterator.previous(); } else { _local2 = _iterator.previous(); _iterator.next(); } } return(_local2); } function getInternalIndex(index) { var _local2 = _iterator.getItemAt(index); if (_local2 == null) { return(-1); } return(_itemIndexById[_local2[ItemId]]); } function getKeyInfo() { var _local3; var _local2; for (var _local5 in _iterators) { _local3 = _iterators[_local5]; _local2 = _local3.getSortInfo(); if ((_local5 != DefaultIterator) && ((_local2.options & mx.data.components.datasetclasses.DataSetIterator.Unique) == mx.data.components.datasetclasses.DataSetIterator.Unique)) { return({options:_local2.options, keyList:_local2.keyList.slice(0)}); } } var _local4 = new Array(); for (var _local5 in __toProperties) { _local4.push(_local5); } return({options:mx.data.components.datasetclasses.DataSetIterator.Unique, keyList:_local4}); } function getModDeltaInfo(id) { var _local3 = null; var _local5 = null; var _local6 = _optDeltaItems[id]; if (_local6 == undefined) { _local3 = __curItem; if (_local3.clone == undefined) { var _local8 = _local3.getPropertyData(); if (_local8 != null) { _local5 = createItem(_local8); } else { _local5 = new Object(); } } else { _local5 = _local3.clone(); } var _local2; var _local4; for (var _local7 in _local3) { _local2 = _local3[_local7]; if (typeof(_local2) != "function") { _local4 = __toProperties[_local7]; _local5[_local7] = ((_local4 == undefined) ? (_local2) : (getField(_local7).getTypedValue().value)); } } _local6 = new mx.data.components.datasetclasses.DeltaImpl(id, _local5, mx.data.components.datasetclasses.DeltaPacketConsts.Modified); _optDeltaItems[id] = _local6; _hasDelta++; _deltaItems.push(_local6); } return(_local6); } function getPropertyValue(name) { return(__curItem[name]); } function getResolverFieldList() { var _local2 = new Object(); for (var _local3 in __toProperties) { if ((_calcFields[_local3] == null) && (__toProperties[_local3].type.path == null)) { _local2[_local3] = __toProperties[_local3]; } } return(_local2); } function getDPTransId() { return((internalGetId() + ":") + new Date().toString()); } function getSchemaObject(xmlInfo) { var _local3 = new Object(); var _local5; for (var _local2 in xmlInfo.attributes) { _local5 = xmlInfo.attributes[_local2]; if (_local2 == "original") { _local3[_local2] = ((_local5 == "false") ? false : true); } else { _local3[_local2] = _local5; } } var _local4 = xmlInfo.childNodes; var _local7; var _local2 = 0; while (_local2 < _local4.length) { _local3[_local4[_local2].nodeName] = getSchemaObject(_local4[_local2]); _local2++; } return(_local3); } function getSchemaXML(nodeName, info) { var _local5 = ""; var _local2; for (var _local6 in info) { _local2 = info[_local6]; if ((typeof(_local2) != "object") && (_local6 != "cls")) { _local5 = _local5 + ((((" " + _local6) + "=\"") + _local2) + "\""); } } var _local4 = (("<" + nodeName) + _local5) + ">"; for (var _local6 in info) { _local2 = info[_local6]; if (typeof(_local2) == "object") { _local4 = _local4 + getSchemaXML(_local6, _local2); } } _local4 = _local4 + (("</" + nodeName) + ">"); return(_local4); } function hasInvalidSchema() { if (_invalidSchema == undefined) { _invalidSchema = true; if (__schema.elements != null) { var _local2 = __schema.elements; for (var _local3 in _local2) { if (_local2[_local3].type.original == false) { _invalidSchema = false; return(_invalidSchema); } } } } return(_invalidSchema); } function initCollection() { __items = new Array(); _itemIndexById = new Array(); internalClearDeltaPacket(); } function internalAddItem(item, index, rebuildIndx, pipeData) { var _local7; if (item[ItemId] == null) { _local7 = internalGetId(); item[ItemId] = _local7; } else { _local7 = item[ItemId]; } if (index >= __items.length) { __items.push(item); } else { __items.splice(index, 0, item); } _enableEvents--; var _local8 = _event; _trapProperties = true; try { _propCage = item; var _local3; for (var _local6 in __toProperties) { _local3 = __toProperties[_local6]; if (rebuildIndx && ((item[_local6] == null) && (_calcFields[_local6] == null))) { getField(_local6).setAsString(__toProperties[_local6].type.value); } else if ((item[_local6] != null) && (pipeData)) { getField(_local6).setTypedValue(new mx.data.binding.TypedValue(item[_local6], _local3.type.name, _local3.type)); } } } finally { _enableEvents++; _event = _local8; _trapProperties = false; } if (_calcFields.__length__ > 0) { __curItem = item; _loading = true; try { internalDispatchEvent("calcFields"); } finally { _loading = false; } } _allowReslv = true; if (rebuildIndx) { rebuildItemIndexById(); } return(_local7); } function internalClearDeltaPacket(transId) { if ((transId == undefined) || (transId.length == 0)) { _optDeltaItems = new Array(); _deltaItems = new Array(); _dpIndexByTransId = new Array(); _lastTransId = ""; _dpTransIdCount = 0; _hasDelta = 0; } else { var _local2 = _dpIndexByTransId[transId]; if (_local2 != undefined) { var _local6 = _dpIndexByTransId[_local2.prevId].index; _local6 = ((_local6 == _local2.index) ? 0 : (_local6)); var _local5 = _local2.index - _local6; _deltaItems.splice(_local6, _local5); var _local3 = _lastTransId; while (_local3 != transId) { _local2 = _dpIndexByTransId[_local3]; _local3 = _local2.prevId; _local2.index = _local2.index - _local5; } delete _dpIndexByTransId[transId]; _dpTransIdCount--; if (_dpTransIdCount == 0) { _lastTransId = ""; } } } } function internalGetId() { return("IID" + String(Math.round(Math.random() * 100000000000))); } function internalFirst() { _iterator.first(); var _local2 = _iterator.next(); _iterator.previous(); return(_local2); } function internalRemoveItem(item) { checkReadOnly(); var _local2 = _itemIndexById[item[ItemId]]; var _local3 = _local2 != undefined; var _local4 = internalDispatchEvent("removeItem", {result:true, item:item}); _local3 = (_local4 == null) || (_local4.result); if (_local3) { __items.splice(_local2, 1); rebuildItemIndexById(); if (__logChanges) { logRemoveItem(item, false); } _local4 = {eventName:"removeItems", firstItem:_local2, lastItem:_local2, removedIDs:new Array(item[ItemId])}; resyncIterators(_local4); _allowReslv = __items.length > 0; __curItem = getCurrentItem(); internalDispatchEvent("modelChanged", _local4); if ((_enableEvents < 0) && (_event != null)) { _event.data.lastItem = _local2; } } return(_local3); } function initIterators() { var _local2 = null; if (_iterators != undefined) { _local2 = _iterators[DefaultIterator].getFilterFunc(); } _iterators = new Array(); _iterator = new mx.data.components.datasetclasses.DataSetIterator(DefaultIterator, this); _iterator.setFilterFunc(_local2); _iterators[DefaultIterator] = _iterator; _iterator.first(); __curItem = _iterator.next(); } function isValidElement(el) { return(el.type.original == false); } function logAddItem(item, piped, id) { if (id == undefined) { id = item[ItemId]; } var _local2 = new mx.data.components.datasetclasses.DeltaImpl(id, (piped ? (item) : (decodeItem(item))), mx.data.components.datasetclasses.DeltaPacketConsts.Added); _optDeltaItems[id] = _local2; _deltaItems.push(Object(_local2)); _hasDelta++; } function logRemoveItem(item, piped, id) { if (id == undefined) { id = item[ItemId]; } var _local3 = _optDeltaItems[id]; item = (piped ? (item) : (decodeItem(item))); var _local6 = ((_local3 == undefined) ? (item) : (_local3.getSource())); var _local5 = new mx.data.components.datasetclasses.DeltaImpl(id, _local6, mx.data.components.datasetclasses.DeltaPacketConsts.Removed); _deltaItems.push(Object(_local5)); if ((_local3 != undefined) && (_local3.getOperation() == mx.data.components.datasetclasses.DeltaPacketConsts.Added)) { delete _optDeltaItems[id]; _hasDelta--; } else { delete _optDeltaItems[id]; _optDeltaItems[id] = _local5; _hasDelta++; } } function rebuildItemIndexById() { _itemIndexById = new Array(); var _local3; var _local2 = 0; while (_local2 < __items.length) { _local3 = __items[_local2]; _itemIndexById[_local3[ItemId]] = _local2; _local2++; } } function removeProxy() { var _local2; for (var _local3 in __toProperties) { _local2 = __toProperties[_local3]; delete this[_local2]; delete this["get_" + _local2]; delete this["set_" + _local2]; } } function resyncIterators(info) { for (var _local3 in _iterators) { _iterators[_local3].modelChanged(info); } } function setPropertyValue(name, value) { if (_trapProperties) { _propCage[name] = value; } else { if (_calcFields[name] != undefined) { __curItem[name] = value; } else { checkReadOnly(); var _local7 = __curItem[name]; if (_local7 != value) { if (__logChanges) { var _local6 = getModDeltaInfo(__curItem[ItemId]); __curItem[name] = value; if (_local6.getOperation() == mx.data.components.datasetclasses.DeltaPacketConsts.Modified) { var _local9 = _local6.getItemByName(name); if (_local9 != null) { _local7 = encodeValue(name, _local9.__get__oldValue()); } if (_local7 != value) { new mx.data.components.datasetclasses.DeltaItem(mx.data.components.datasetclasses.DeltaItem.Property, name, {oldValue:decodeValue(name, _local7), newValue:decodeValue(name, value), message:""}, Object(_local6)); } else if (_local6.getChangeList().length == 1) { removeDelta(_local6); } } else { _local6.getSource()[name] = decodeValue(name, value); } } __curItem[name] = value; } if (_calcFields.__length__ > 0) { internalDispatchEvent("calcFields"); } } if (!_loading) { var _local10 = _itemIndexById[__curItem[ItemId]]; var _local4 = {eventName:"updateField", fieldName:name, firstItem:_local10, lastItem:_local10}; var _local2 = false; for (var _local8 in _iterators) { _local2 = _iterators[_local8].modelChanged(_local4) || (_local2); } if (_local2) { internalDispatchEvent("modelChanged", {eventName:"sort"}); } else { internalDispatchEvent("modelChanged", _local4); } } } } function removeSortInfo(fld, name) { if (fld.sortInfo != null) { delete fld.sortInfo[name]; } } function removeDelta(d) { var _local3 = false; var _local2 = 0; while ((!_local3) && (_local2 < _deltaItems.length)) { _local3 = _deltaItems[_local2] == d; _local2++; } if (_local3) { _local2--; _deltaItems.splice(_local2, 1); delete _optDeltaItems[d.getId()]; _hasDelta--; } return(_local3); } function __resolve(methodName) { var _local3 = null; if (_allowReslv) { var propName = methodName.substring(4); if (methodName.substr(0, 4) == "get_") { _local3 = function () { return(this.getPropertyValue(propName)); }; } else if (methodName.substr(0, 4) == "set_") { _local3 = function () { this.setPropertyValue(propName, arguments[0]); }; } else { arguments.shift(); _local3 = function () { this.__curItem[methodName].apply(this.__curItem, arguments); var _local3 = this.__curItem[mx.data.components.DataSet.ItemId]; if (this.__logChanges) { var _local5 = this.getModDeltaInfo(_local3); new mx.data.components.datasetclasses.DeltaItem(mx.data.components.datasetclasses.DeltaItem.Method, methodName, {argList:arguments, message:""}, Object(_local5)); } var _local4 = this._itemIndexById[_local3]; this.internalDispatchEvent("modelChanged", {eventName:"updateItems", firstItem:_local4, lastItem:_local4}); }; } } return(_local3); } function updateItem(d) { var _local8 = d.getId(); var _local10; var _local6 = null; var _local12 = __logChanges; __logChanges = false; try { if (_local8 == null) { _local10 = d.getSource(); } else { _local10 = {__ID__:_local8}; } _local6 = _iterator.find(_local10); if (_local6 != null) { var _local9 = _itemIndexById[_local6[ItemId]]; var _local5 = d.getChangeList(); var _local3; var _local11 = __curItem; try { __curItem = _local6; var _local4 = 0; while (_local4 < _local5.length) { _local3 = mx.data.components.datasetclasses.DeltaItem(_local5[_local4]); getField(_local3.name).setTypedValue(new mx.data.binding.TypedValue(_local3.curValue, __toProperties[_local3.name].type.name, __toProperties[_local3.name].type)); _local4++; } } finally { __curItem = _local11; } internalDispatchEvent("modelChanged", {eventName:"updateItems", firstIndex:_local9, lastIndex:_local9}); } else { _global.__dataLogger.logData(null, "Couldn't find the following item:", d.getSource()); } } finally { __logChanges = _local12; } } static var DefaultIterator = "__default__"; static var ItemId = "__ID__"; var _allowReslv = false; }
Symbol 339 MovieClip [__Packages.mx.data.components.datasetclasses.DataSetError] Frame 0
class mx.data.components.datasetclasses.DataSetError extends Error { var message; function DataSetError (msg) { super(msg); } function toString() { return(message); } }
Symbol 340 MovieClip [__Packages.mx.data.to.ValueListIterator] Frame 0
interface mx.data.to.ValueListIterator extends mx.utils.Iterator { }
Symbol 341 MovieClip [__Packages.mx.utils.ErrorStrings] Frame 0
class mx.utils.ErrorStrings { function ErrorStrings () { } static function getPlayerError(code) { var _local1 = ""; if (!(code === 0)) { } else { _local1 = "Index specified is not unique"; } return(_local1); } }
Symbol 342 MovieClip [__Packages.mx.data.components.datasetclasses.DataSetIterator] Frame 0
class mx.data.components.datasetclasses.DataSetIterator extends Object implements mx.data.to.ValueListIterator { var _id, _dataset, __filtered, __filterFunc, _options, _startBuff, _endBuff, _rangeOn, _curItemIndex, _hasPrev, _hasNext, _cloned, _bof, _eof, _index, _indexById, _keyList; function DataSetIterator (id, aDataSet, source) { super(); _id = id; _dataset = aDataSet; if (source == undefined) { reset(); } else { __filtered = source.__filtered; __filterFunc = source.__filterFunc; _options = source._options; _startBuff = source._startBuff; _endBuff = source._endBuff; _rangeOn = source._rangeOn; _curItemIndex = source._curItemIndex; _hasPrev = source._hasPrev; _hasNext = source._hasNext; _cloned = true; _bof = source._bof; _eof = source._eof; _index = source._index; _indexById = source._indexById; _keyList = source._keyList; } } function contains(item) { var _local2 = _indexById[item[ItemId]]; if (_rangeOn) { return((_local2 != undefined) && ((_local2 <= _eof) && (_local2 >= _bof))); } return(_local2 != undefined); } function first() { return(resync(_bof - 1)); } function find(propValues) { var _local2 = findObject(propValues, FindIndexId); if (_local2 < 0) { return(null); } _curItemIndex = _local2; return(_index[_local2]); } function findFirst(propValues) { var _local2 = findObject(propValues, FindFirstIndexId); if (_local2 < 0) { return(null); } _curItemIndex = _local2; return(_index[_local2]); } function findLast(propValues) { var _local2 = findObject(propValues, FindLastIndexId); if (_local2 < 0) { return(null); } _curItemIndex = _local2; return(_index[_local2]); } function getCurrentItem() { return(resync(_curItemIndex)); } function getCurrentItemIndex() { var _local2 = _curItemIndex; if (_local2 > _eof) { _local2 = _eof; } if (_local2 < _bof) { _local2 = _bof; } return(_local2); } function getFiltered() { return(__filtered); } function getFilterFunc() { return(__filterFunc); } function getId() { return(_id); } function getItemAt(index) { var _local2 = index + _bof; if (_local2 <= _eof) { return(_index[_local2]); } return(null); } function getItemId(index) { return(_index[_bof + index][ItemId]); } function getItemIndex(item) { return(_indexById[item[ItemId]] - _bof); } function getLength() { if (isEmpty()) { return(0); } return((_eof - _bof) + 1); } function getSortInfo() { return({options:_options, keyList:_keyList}); } function hasNext() { return(_hasNext); } function hasPrevious() { return(_hasPrev); } function isEmpty() { return(_eof < 0); } function last() { return(resync(_eof + 1)); } function modelChanged(eventObj) { var _local3 = false; if ((_options == Default) && (!__filtered)) { _index = _dataset.__items; _indexById = _dataset._itemIndexById; if ((eventObj.eventName == "removeItems") && (_curItemIndex > (_index.length - 1))) { _curItemIndex--; } _local3 = eventObj.eventName != "updateField"; } else if (!_cloned) { var _local9; if (eventObj.eventName == "removeItems") { var _local7; var _local6 = eventObj.removedIDs; var _local2 = 0; while (_local2 < _local6.length) { _local7 = _local6[_local2]; _index.splice(_indexById[_local7], 1); _local2++; } rebuildIndexById(); _local3 = true; } else if (eventObj.eventName == "addItems") { var _local8 = _dataset.__items; var _local2 = eventObj.firstItem; while (_local2 <= eventObj.lastItem) { _local9 = _local8[_local2]; var _local5 = _local2; if ((!__filtered) || (__filterFunc(_local9))) { if (_options != Default) { _local5 = findObject(_local9, FindInsertId); } _index.splice(_local5, 0, _local9); rebuildIndexById(); _local3 = true; } _local2++; } } else if (eventObj.eventName == "updateField") { var _local2 = 0; while ((_local2 < _keyList.length) && (!_local3)) { _local3 = _keyList[_local2] == eventObj.fieldName; _local2++; } if (_local3) { _local9 = _dataset.__items[eventObj.firstItem]; _index.splice(_indexById[_local9[ItemId]], 1); var _local10 = findObject(_local9, FindInsertId); _index.splice(_local10, 0, _local9); rebuildIndexById(); } } } if (_local3) { recalcEndPoints(); } return(_local3); } function setFiltered(value) { var _local2 = 0; if (__filtered != value) { _local2 = internalFilterItems(value); __filtered = value; } return(_local2); } function setFilterFunc(value) { var _local2 = 0; __filterFunc = value; if ((__filterFunc == null) && (__filtered)) { return(internalFilterItems(false)); } if (__filtered) { internalFilterItems(false); _local2 = internalFilterItems(true); } return(_local2); } function skip(offset) { return(resync(_curItemIndex + offset)); } function next() { return(skip(1)); } function previous() { return(skip(-1)); } function removeRange() { if (_rangeOn) { _rangeOn = false; recalcEndPoints(); } } function reset() { __filtered = false; __filterFunc = null; _options = Default; _startBuff = null; _endBuff = null; _rangeOn = false; _cloned = false; _index = _dataset.__items; _indexById = _dataset._itemIndexById; resetEndPoints(); _curItemIndex = _bof; _hasPrev = false; _hasNext = _curItemIndex < _eof; } function setRange(startValues, endValues) { checkSort(); resetEndPoints(); _rangeOn = true; _startBuff = startValues; _endBuff = endValues; recalcEndPoints(); } function setSortOptions(options) { if (_options != Default) { if (((options & Ascending) == Ascending) && ((_options & Descending) == Descending)) { _options = _options ^ Descending; } _options = _options | (hasNumericKey() ? (Array.NUMERIC) : 0); _options = _options | options; internalSort(); first(); recalcEndPoints(); } } function sortOn(propList, options) { _options = ((options == undefined) ? (Ascending) : (options)); _keyList = propList; _rangeOn = false; _options = _options | (hasNumericKey() ? (Array.NUMERIC) : 0); internalSort(); first(); recalcEndPoints(); } function checkSort() { if (_options == Default) { throw new mx.data.components.datasetclasses.DataSetError(("Operation not applicable when no sort has been defined. Error for iterator '" + _id) + "'."); } } function checkError(a) { if (typeof(a) == "number") { throw new mx.data.components.datasetclasses.DataSetError(("Sort failed with the following error '" + mx.utils.ErrorStrings.getPlayerError(a)) + "'"); } } function compareValues(a, b) { if ((a == null) && (b == null)) { return(0); } if (a == null) { return(1); } if (b == null) { return(-1); } if (a < b) { return(-1); } if (a > b) { return(1); } return(0); } function comparePropList(alist, blist, ci) { var _local5; var _local6 = 0; var _local4 = 0; var _local2; var _local3; while ((_local6 == 0) && (_local4 < _keyList.length)) { _local5 = _keyList[_local4]; _local2 = alist[_local5]; _local3 = blist[_local5]; if (ci && (typeof(_local2) == "string")) { _local2 = _local2.toLowerCase(); _local3 = _local3.toLowerCase(); } _local6 = compareValues(_local2, _local3); _local4++; } return(_local6); } function hasNumericKey() { var _local3 = _index[0]; var _local2 = 0; while (_local2 < _keyList.length) { if (typeof(_local3[_keyList[_local2]]) == "number") { return(true); } _local2++; } return(false); } function filterIndex() { var _local7 = new Array(); var _local3; var _local4 = false; var _local6 = 0; var _local8; var _local5 = 0; _indexById = new Array(); var _local2 = 0; while (_local2 < _index.length) { _local3 = _index[_local2]; try { _local4 = __filterFunc(_local3); } catch(_local8) { _local4 = true; } if (_local4) { _local7.push(_local3); _indexById[_local3[ItemId]] = _local5; _local5++; } else { _local6--; } _local2++; } _index = _local7; _cloned = false; return(_local6); } function findObject(propInfo, mode) { var _local19 = propInfo[ItemId]; if ((_local19 != undefined) && (mode != FindInsertId)) { var _local18 = _indexById[_local19]; if (_rangeOn && ((_local18 > _eof) || (_local18 < _bof))) { _local18 = -1; } return(_local18); } checkSort(); var _local3 = false; var _local17 = ((mode == FindIndexId) || (mode == FindFirstIndexId)) || (mode == FindLastIndexId); var _local15 = (_options & Unique) != Unique; var _local16 = false; var _local2 = 0; var _local6 = (_local17 ? (_bof) : 0); var _local7 = (_local17 ? (_eof) : (_index.length - 1)); var _local14 = null; var _local12 = 1; var _local13 = (_options & Descending) == Descending; var _local9 = (_options & CaseInsensitive) == CaseInsensitive; while ((!_local16) && (_local6 <= _local7)) { _local2 = Math.round((_local6 + _local7) / 2); _local14 = _index[_local2]; _local12 = comparePropList(propInfo, _local14, _local9); switch (_local12) { case -1 : if (_local13) { _local6 = _local2 + 1; } else { _local7 = _local2 - 1; } break; case 0 : _local16 = true; if ((!_local15) && (mode == FindInsertId)) { throw new mx.data.components.datasetclasses.DataSetError(((("Duplicate key specified. Error for index '" + _id) + "' on dataset '") + _dataset._name) + "'."); } if (_local15 && (_local17)) { switch (mode) { case FindIndexId : _local3 = true; break; case FindFirstIndexId : _local3 = _local2 == _local6; var _local8 = null; var _local5 = _local2 - 1; var _local4 = true; while ((_local4 && (!_local3)) && (_local5 >= _local6)) { _local8 = _index[_local5]; _local4 = comparePropList(propInfo, _local8, _local9) == 0; if ((!_local4) || (_local4 && (_local5 == _local6))) { _local3 = true; _local2 = _local5 + (_local4 ? 0 : 1); } _local5--; } break; case FindLastIndexId : _local3 = _local2 == _local7; _local8 = null; _local5 = _local2 + 1; _local4 = true; for(;;){ if (!((_local4 && (!_local3)) && (_local5 <= _local7))) { break; } _local8 = _index[_local5]; _local4 = comparePropList(propInfo, _local8, _local9) == 0; if ((!_local4) || (_local4 && (_local5 == _local7))) { _local3 = true; _local2 = _local5 - (_local4 ? 0 : 1); } _local5++; }; } } else { _local3 = true; } break; case 1 : if (_local13) { _local7 = _local2 - 1; } else { _local6 = _local2 + 1; } } } if ((!_local3) && (_local17)) { return(-1); } if (_local13) { return(((_local12 < 0) ? (_local2 + 1) : (_local2))); } return(((_local12 > 0) ? (_local2 + 1) : (_local2))); } function internalFilterItems(value) { var _local2 = 0; if (value && (__filterFunc != null)) { _local2 = filterIndex(); } else { unfilterIndex(); if (_options != Default) { internalSort(); } _local2 = _index.length; } recalcEndPoints(); return(_local2); } function internalSort() { var _local5 = (((_options & Ascending) == Ascending) ? (_options ^ Ascending) : (_options)); if (_cloned) { _cloned = false; var _local3 = _index.sortOn(Object(_keyList), _local5 | Array.RETURNINDEXEDARRAY); checkError(_local3); var _local4 = new Array(); var _local2 = 0; while (_local2 < _local3.length) { _local4.push(_index[_local3[_local2]]); _local2++; } _index = _local4; } else { checkError(_index.sortOn(Object(_keyList), _local5)); } rebuildIndexById(); } function recalcEndPoints() { resetEndPoints(); if (_rangeOn) { _bof = findObject(_startBuff, FindFirstIndexId); if (_bof >= 0) { _eof = findObject(_endBuff, FindLastIndexId); if (_eof < 0) { _bof = 0; } } else { _eof = _bof - 1; } _curItemIndex = _bof - 1; } resync(_curItemIndex); } function resetEndPoints() { _eof = _index.length - 1; _bof = 0; } function rebuildIndexById() { _indexById = new Array(); var _local2 = 0; while (_local2 < _index.length) { _indexById[_index[_local2][ItemId]] = _local2; _local2++; } } function resync(newPos) { if (_eof < _bof) { _hasNext = false; _hasPrev = false; _curItemIndex = _eof; return(null); } if (newPos >= _eof) { _hasNext = false; _hasPrev = true; if (newPos == _eof) { _curItemIndex = _eof; return(_index[_eof]); } _curItemIndex = _eof + 1; return(null); } if (newPos <= _bof) { _hasPrev = false; _hasNext = true; if (newPos == _bof) { _curItemIndex = _bof; return(_index[_bof]); } _curItemIndex = _bof - 1; return(null); } _curItemIndex = newPos; _hasNext = true; _hasPrev = true; return(_index[_curItemIndex]); } function unfilterIndex() { _index = _dataset.__items; _indexById = _dataset._itemIndexById; _cloned = true; } static var Ascending = 32; static var CaseInsensitive = Array.CASEINSENSITIVE; static var Descending = Array.DESCENDING; static var Unique = Array.UNIQUESORT; static var Default = 0; static var FindInsertId = 0; static var FindIndexId = 1; static var FindFirstIndexId = 2; static var FindLastIndexId = 3; static var ItemId = "__ID__"; }
Symbol 343 MovieClip [__Packages.mx.data.components.datasetclasses.DataSetDataProvider] Frame 0
class mx.data.components.datasetclasses.DataSetDataProvider extends Object { var _dataset, _dg, _dgInit, _desiredTypes; function DataSetDataProvider (aDataSet) { super(); _dataset = aDataSet; } function get length() { if ((_dg != null) && (_dgInit != true)) { _dgInit = true; var _local2; for (var _local3 in _dg.columns) { _local2 = _dg.columns[_local3]; _local2.editable = _local2.editable && (!isFieldReadOnly(_local2.columnName)); } } return(_dataset.length); } function addEventListener(eventName, handler) { _desiredTypes = handler.getBindingMetaData("acceptedTypes"); if (handler instanceof mx.controls.DataGrid) { if (_dataset.readOnly) { handler.editable = false; } else { _dg = handler; _dgInit = false; } } _dataset.addEventListener(eventName, handler); } function addItem(item) { _dataset.addItem(item); } function addItemAt(index, transferObj) { _dataset.addItemAt(index, transferObj); } function editField(index, fieldName, newData) { var _local3 = _dataset.__curItem; try { _dataset.__curItem = _dataset._iterator.getItemAt(index); var _local2 = _desiredTypes[fieldName]; if (_local2 == null) { _local2 = "String"; } _dataset.getField(fieldName).setTypedValue(new mx.data.binding.TypedValue(newData, _local2)); } finally { _dataset.__curItem = _local3; } } function getColumnNames() { var _local2 = new Array(); for (var _local3 in _dataset.properties) { _local2.push(_local3); } _local2.reverse(); return(_local2); } function getEditingData(index, fieldName) { return(_dataset.getEditingData(fieldName, _dataset._iterator.getItemAt(index), _desiredTypes)); } function getItemAt(index) { if (index >= _dataset.length) { return(null); } var _local2 = _dataset._iterator.getItemAt(index); if (_local2 != null) { return(_dataset.getDataProviderItem(_local2, _desiredTypes)); } return(null); } function getItemID(index) { return(_dataset.getItemId(index)); } function removeAll() { _dataset.removeAll(); } function removeItemAt(index) { _dataset.removeItemAt(index); } function replaceItemAt(index, item) { removeItemAt(index); addItemAt(index, item); } function sortItemsBy(fieldNames, options) { var _local4; var _local3 = 0; if (typeof(options) == "string") { _local3 = ((options.toUpperCase() == "DESC") ? (Array.DESCENDING) : (mx.data.components.datasetclasses.DataSetIterator.Ascending)); } else { _local3 = options; } if (typeof(fieldNames) == "array") { _local4 = fieldNames.join("_"); } else { _local4 = fieldNames; fieldNames = new Array(fieldNames); } for (var _local5 in fieldNames) { if (_dataset.properties[fieldNames[_local5]].type.name == "String") { _local3 = _local3 | Array.CASEINSENSITIVE; break; } } if (_dataset.hasSort(_local4)) { _dataset.useSort(_local4, _local3); } else { _dataset.addSort(_local4, fieldNames, _local3); } } function isFieldReadOnly(name) { return(_dataset.properties[name].type.readonly == true); } }
Symbol 344 MovieClip [__Packages.mx.data.encoders.DateToNumber] Frame 0
class mx.data.encoders.DateToNumber extends mx.data.binding.DataAccessor { var dataAccessor; function DateToNumber () { super(); } function getTypedValue(requestedType) { var _local4; if ((requestedType == "Date") || (requestedType == null)) { var _local3 = dataAccessor.getTypedValue("Number"); var _local2; if (_local3.value != null) { _local2 = new Date(_local3.value); } else { _local2 = null; } _local4 = new mx.data.binding.TypedValue(_local2, "Date"); } return(_local4); } function getGettableTypes() { return(["Date"]); } function setTypedValue(newValue) { if (newValue.typeName == "Date") { var _local2; if (newValue.value != null) { _local2 = newValue.value.getTime(); } else { _local2 = null; } return(dataAccessor.setTypedValue(new mx.data.binding.TypedValue(_local2, "Number"))); } return([mx.data.binding.DataAccessor.conversionFailed(newValue, "Date")]); } function getSettableTypes() { return(["Date"]); } }
Symbol 345 MovieClip [__Packages.mx.data.components.DataHolder] Frame 0
class mx.data.components.DataHolder extends MovieClip { var addedProperties, _visible, superAddBinding, addProperty, dispatchEvent; function DataHolder () { super(); addedProperties = new Object(); mx.events.EventDispatcher.initialize(this); _visible = false; for (var _local4 in Object(this).__schema.elements) { var _local3 = Object(this).__schema.elements[_local4].name; addProp(_local3); } superAddBinding = mx.data.binding.ComponentMixins.prototype.addBinding; } function addProp(property) { if (addedProperties[property] == 1) { return(undefined); } addedProperties[property] = 1; var _local2 = function () { return(this.getProp(property)); }; var _local3 = function (val) { this.setProp(property, val); }; addProperty(property, _local2, _local3); } function addBinding(binding) { if (binding.source.component == this) { addProp(binding.source.property); } if (binding.dest.component == this) { addProp(binding.dest.property); } superAddBinding(binding); } function getProp(property) { return(this["___" + property]); } function setProp(property, val) { this["___" + property] = val; signalChanged(property); } function propertyModified(property, directly) { if (!directly) { signalChanged(property); } } function signalChanged(property) { dispatchEvent({type:property}); } function onUpdate() { _visible = true; } }
Symbol 350 MovieClip [__Packages.mx.controls.Alert] Frame 0
class mx.controls.Alert extends mx.containers.Window { static var style, titleStyleDeclaration, messageStyleDeclaration; var __set__visible, styleName, __set__contentPath, initializing, parent, __get__width, __get__height, move, _child0, __width, width, __height, height, border_mc, back_mc; function Alert () { super(); } static function show(text, title, flags, parent, listener, icon, defButton) { var _local2 = new Object(); var _local6 = ((flags & NONMODAL) ? false : true); if (parent == undefined) { parent = (_local2.parent = _root); } else { _local2.parent = parent; } _local2.okButton = ((flags & OK) ? true : false); _local2.cancelButton = ((flags & CANCEL) ? true : false); _local2.yesButton = ((flags & YES) ? true : false); _local2.noButton = ((flags & NO) ? true : false); _local2.defButton = defButton; if ((((_local2.okButton == false) && (_local2.cancelButton == false)) && (_local2.yesButton == false)) && (_local2.noButton == false)) { _local2.okButton = true; _local2.defButton = OK; } _local2.title = title; _local2.text = text; _local2.icon = icon; _local2.style = style; _local2.skinTitleBackground = titleBackground; _local2.titleStyleDeclaration = titleStyleDeclaration; _local2.validateNow = true; var _local4 = mx.managers.PopUpManager.createPopUp(parent, mx.controls.Alert, _local6, _local2); if (_local4 == undefined) { trace("Failed to create a new alert, probably because there is no Alert in the Library"); } _local4.addEventListener("click", listener); return(_local4); } function init(Void) { super.init(); __set__visible(false); } function createChildren(Void) { if (messageStyleDeclaration != undefined) { styleName = messageStyleDeclaration; } var _local3 = mx.controls.alertClasses.AlertForm; __set__contentPath(_local3); super.createChildren(); } function getViewMetrics(Void) { var _local2 = super.getViewMetrics(); return(_local2); } function doLayout(Void) { super.doLayout(); } function draw(Void) { var _local9 = initializing; super.draw(); if (_local9) { var _local5 = new Object(); _local5.x = 0; _local5.y = 0; parent.localToGlobal(_local5); var _local7 = parent.width; var _local8 = parent.height; if (((parent == _root) && (parent._parent == undefined)) || (_local7 == undefined)) { var _local6 = mx.managers.SystemManager.__get__screen(); _local7 = _local6.width; _local8 = _local6.height; _local5.x = _local6.x; _local5.y = _local6.y; } if (_global.isLivePreview) { return(undefined); } _local5.x = _local5.x + ((_local7 - __get__width()) / 2); _local5.y = _local5.y + ((_local8 - __get__height()) / 2); parent.globalToLocal(_local5); move(_local5.x, _local5.y); if (_child0.defButtonName != undefined) { _child0[_child0.defButtonName].setFocus(); } else { _child0.buttons[0].setFocus(); } } } function size(Void) { if (_global.isLivePreview) { __width = width; __height = height; } else { var _local4 = _child0.getSize(); if (isNaN(_local4.width) || (_local4.width < 20)) { _local4.width = 96; } if (isNaN(_local4.height) || (_local4.height < 20)) { _local4.height = 66; } var _local5 = border_mc.__get__borderMetrics(); __width = _local4.width + (2 * _local5.left); __height = ((_local4.height + _local5.top) + _local5.bottom) + back_mc.height; } super.size(); } static var symbolOwner = mx.containers.Window; static var version = "2.0.1.78"; static var buttonWidth = 50; static var buttonHeight = 22; static var okLabel = "OK"; static var yesLabel = "Yes"; static var noLabel = "No"; static var cancelLabel = "Cancel"; static var buttonUp = "ButtonSkin"; static var buttonDown = "ButtonSkin"; static var buttonOver = "ButtonSkin"; static var titleBackground = "TitleBackground"; static var buttonUpEmphasized = "ButtonSkin"; static var buttonOverEmphasized = "ButtonSkin"; static var buttonDownEmphasized = "ButtonSkin"; var className = "Alert"; static var NONMODAL = 32768; static var YES = 1; static var NO = 2; static var OK = 4; static var CANCEL = 8; static var P = _root; }
Symbol 355 MovieClip [__Packages.mx.controls.TextArea] Frame 0
class mx.controls.TextArea extends mx.core.ScrollView { var label, invalidate, initText, dispatchValueChangedEvent, getHPosition, setHPosition, getVPosition, setVPosition, _color, focusTextField, tfx, tfy, tfw, tfh, doLater, _vpos, _hpos, hookedV, vScroller, hookedH, hScroller, getViewMetrics, __get__width, __get__height, hScrollPolicy, vScrollPolicy, getStyle, getFocusManager, addEventListener, removeEventListener, _getTextFormat; function TextArea () { super(); } function get maxChars() { return(label.maxChars); } function set maxChars(x) { label.maxChars = x; //return(maxChars); } function get length() { return(label.length); } function get restrict() { return(label.restrict); } function set restrict(s) { label.restrict = ((s == "") ? null : (s)); //return(restrict); } function get wordWrap() { return(label.wordWrap); } function set wordWrap(s) { label.wordWrap = s; invalidate(); //return(wordWrap); } function get editable() { return(__editable); } function set editable(x) { __editable = x; label.type = (x ? "input" : "dynamic"); //return(editable); } function get password() { return(label.password); } function set password(s) { label.password = s; //return(password); } function get html() { return(getHtml()); } function set html(value) { setHtml(value); //return(html); } function getHtml() { return(label.html); } function setHtml(value) { if (value != label.html) { label.html = value; } } function get text() { return(getText()); } function set text(t) { setText(t); //return(text); } function getText() { if (initializing) { return(initText); } var _local2 = label; if (_local2.html == true) { return(_local2.htmlText); } return(_local2.text); } function setText(t) { if (initializing) { initText = t; } else { var _local2 = label; if (_local2.html == true) { _local2.htmlText = t; } else { _local2.text = t; } invalidate(); } dispatchValueChangedEvent(t); } function get hPosition() { return(getHPosition()); } function set hPosition(pos) { setHPosition(pos); label.hscroll = pos; label.background = false; //return(hPosition); } function get vPosition() { return(getVPosition()); } function set vPosition(pos) { setVPosition(pos); label.scroll = pos + 1; label.background = false; //return(vPosition); } function get maxVPosition() { var _local2 = label.maxscroll - 1; return(((_local2 == undefined) ? 0 : (_local2))); } function get maxHPosition() { var _local2 = label.maxhscroll; return(((_local2 == undefined) ? 0 : (_local2))); } function init(Void) { super.init(); label.styleName = this; _color = mx.core.UIObject.textColorList; focusTextField = label; label.owner = this; label.onSetFocus = function (x) { this._parent.onSetFocus(x); }; label.onKillFocus = function (x) { this._parent.onKillFocus(x); }; label.drawFocus = function (b) { this._parent.drawFocus(b); }; label.onChanged = function () { this.owner.adjustScrollBars(); this.owner.dispatchEvent({type:"change"}); this.owner.dispatchValueChangedEvent(this.owner.text); }; label.onScroller = function () { this.owner.hPosition = this.hscroll; this.owner.vPosition = this.scroll - 1; }; if (text == undefined) { text = (""); } } function createChildren(Void) { super.createChildren(); label.autoSize = "none"; } function layoutContent(x, y, totalW, totalH, displayW, displayH) { var _local2 = label; if ((((tfx != x) || (tfy != y)) || (tfw != displayW)) || (tfh != displayH)) { tfx = x; tfy = y; tfw = displayW; tfh = displayH; _local2.move(tfx, tfy); _local2.setSize(tfw, tfh); doLater(this, "adjustScrollBars"); } } function scrollChanged(Void) { var _local2 = Selection; if (_local2.lastBeginIndex != undefined) { restoreSelection(); } label.background = false; } function onScroll(docObj) { var _local3 = label; super.onScroll(docObj); _local3.hscroll = hPosition + 0; _local3.scroll = vPosition + 1; _vpos = _local3.scroll; _hpos = _local3.hscroll; _local3.background = false; if (hookedV != true) { vScroller.addEventListener("scrollChanged", this); hookedV = true; } if (hookedH != true) { hScroller.addEventListener("scrollChanged", this); hookedH = true; } } function size(Void) { var _local3 = getViewMetrics(); var _local7 = _local3.left + _local3.right; var _local4 = _local3.top + _local3.bottom; var _local6 = _local3.left; var _local5 = _local3.top; tfx = _local6; tfy = _local5; tfw = __get__width() - _local7; tfh = __get__height() - _local4; super.size(); label.move(tfx, tfy); label.setSize(tfw, tfh); if (__get__height() <= 40) { hScrollPolicy = "off"; vScrollPolicy = "off"; } doLater(this, "adjustScrollBars"); } function setEnabled(enable) { vScroller.enabled = enable; hScroller.enabled = enable; label.type = (((editable == false) || (enable == false)) ? "dynamic" : "input"); label.selectable = enable; var _local3 = getStyle((enable ? "color" : "disabledColor")); if (_local3 == undefined) { _local3 = (enable ? 0 : 8947848); } setColor(_local3); } function setColor(col) { label.textColor = col; } function setFocus(Void) { Selection.setFocus(label); } function onSetFocus(x) { var f = Selection.getFocus(); var o = eval (f); if (o != label) { Selection.setFocus(label); return(undefined); } getFocusManager().defaultPushButtonEnabled = false; addEventListener("keyDown", this); super.onSetFocus(x); } function onKillFocus(x) { getFocusManager().defaultPushButtonEnabled = true; removeEventListener("keyDown", this); super.onKillFocus(x); } function restoreSelection(x) { var _local2 = Selection; Selection.setSelection(_local2.lastBeginIndex, _local2.lastEndIndex); label.scroll = _vpos; label.hscroll = _hpos; } function getLineOffsets(Void) { var _local16 = _getTextFormat(); var _local18 = _local16.getTextExtent2(label.text); var _local5 = _root._getTextExtent; _local5.setNewTextFormat(_local16); var _local14 = label.wordWrap; var _local9 = 0; var _local7 = (label._width - 2) - 2; var _local12 = new Array(); var _local17 = new String(label.text); var _local15 = _local17.split("\r"); var _local11 = 0; while (_local11 < _local15.length) { _local12.push(_local9); var _local4 = _local15[_local11]; _local5.text = _local4; var _local13 = Math.ceil(_local5.textWidth / _local7); var _local10 = Math.floor(_local4.length / _local13); var _local3; while (_local14 && (_local5.textWidth > _local7)) { _local3 = _local4.indexOf(" ", _local10); var _local6; if (_local3 == -1) { _local3 = _local4.lastIndexOf(" "); if (_local3 == -1) { _local3 = _local10; } } _local6 = _local4.substr(0, _local3); _local5.text = _local6; if (_local5.textWidth > _local7) { while (_local5.textWidth > _local7) { var _local8 = _local3; _local3 = _local4.lastIndexOf(" ", _local3 - 1); if (_local3 == -1) { _local3 = _local8 - 1; } _local6 = _local4.substr(0, _local3); _local5.text = _local6; } } else if (_local5.textWidth < _local7) { var _local8 = _local3; while (_local5.textWidth < _local7) { _local8 = _local3; _local3 = _local4.indexOf(" ", _local3 + 1); if (_local3 == -1) { if (_local4.indexOf(" ", 0) != -1) { break; } _local3 = _local8 + 1; } _local6 = _local4.substr(0, _local3); _local5.text = _local6; } _local3 = _local8; } _local9 = _local9 + _local3; _local12.push(_local9 + 1); _local4 = _local4.substr(_local3); if (_local4.charAt(0) == " ") { _local4 = _local4.substr(1, _local4.length - 1); _local9 = _local9 + 1; } _local5.text = _local4; } _local9 = _local9 + (_local4.length + 1); _local11++; } return(_local12); } function keyDown(e) { var _local5 = e.code; if (_local5 == 34) { var _local6 = (label.bottomScroll - label.scroll) + 1; var _local3 = getLineOffsets(); var _local2 = Math.min(label.bottomScroll + 1, label.maxscroll); if (_local2 == label.maxscroll) { var _local4 = label.length; Selection.setSelection(_local4, _local4); } else { label.scroll = _local2; Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]); } } else if (_local5 == 33) { var _local6 = (label.bottomScroll - label.scroll) + 1; var _local3 = getLineOffsets(); var _local2 = label.scroll - 1; if (_local2 < 1) { Selection.setSelection(0, 0); } else { Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]); label.scroll = Math.max(_local2 - _local6, 1); } } } function draw(Void) { var _local2 = label; var _local4 = getText(); if (initializing) { initializing = false; delete initText; } var _local3 = _getTextFormat(); _local2.embedFonts = _local3.embedFonts == true; if (_local3 != undefined) { _local2.setTextFormat(_local3); _local2.setNewTextFormat(_local3); } _local2.multiline = true; _local2.wordWrap = wordWrap == true; if (_local2.html == true) { _local2.setTextFormat(_local3); _local2.htmlText = _local4; } else { _local2.text = _local4; } _local2.type = ((editable == true) ? "input" : "dynamic"); size(); _local2.background = false; } function adjustScrollBars() { var _local2 = label; var _local4 = (_local2.bottomScroll - _local2.scroll) + 1; var _local3 = (_local4 + _local2.maxscroll) - 1; if (_local3 < 1) { _local3 = 1; } var _local5 = 0; if ((_local2.textWidth + 5) > _local2._width) { if (!_local2.wordWrap) { _local5 = _local2._width + _local2.maxhscroll; } } else { _local2.hscroll = 0; _local2.background = false; } if ((_local2.height / _local4) != Math.round(_local2.height / _local4)) { _local3--; } setScrollProperties(_local5, 1, _local3, _local2.height / _local4); } function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) { super.setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding); if (vScroller == undefined) { hookedV = false; } if (hScroller == undefined) { hookedH = false; } } function get tabIndex() { return(label.tabIndex); } function set tabIndex(w) { label.tabIndex = w; //return(tabIndex); } function set _accProps(val) { label._accProps = val; //return(_accProps); } function get _accProps() { return(label._accProps); } function get styleSheet() { return(label.styleSheet); } function set styleSheet(v) { label.styleSheet = v; //return(styleSheet); } static var symbolName = "TextArea"; static var symbolOwner = mx.controls.TextArea; static var version = "2.0.1.78"; var className = "TextArea"; var initializing = true; var clipParameters = {text:1, wordWrap:1, editable:1, maxChars:1, restrict:1, html:1, password:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextArea.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters); var __vScrollPolicy = "auto"; var __hScrollPolicy = "auto"; var __editable = true; }
Symbol 356 MovieClip [__Packages.mx.controls.alertClasses.AlertForm] Frame 0
class mx.controls.alertClasses.AlertForm extends mx.core.UIComponent { var _parent, tabChildren, tabEnabled, text_mc, createClassObject, textMeasure_mc, createTextField, icon_mc, setSkin, buttons, doLater, createClassChildAtDepth, extent, __get__height, __get__width, detail; function AlertForm () { super(); } function init(Void) { super.init(); } function setDefaultButton() { _parent.focusManager.defaultPushButton = this[defButtonName]; } function createChildren(Void) { tabChildren = true; tabEnabled = false; if (text_mc == undefined) { createClassObject(mx.controls.TextArea, "text_mc", 0, {styleName:this, borderStyle:"none", readOnly:true}); } text_mc.tabEnabled = false; text_mc.tabChildren = false; text_mc.hScrollPolicy = "off"; text_mc.vScrollPolicy = "off"; text_mc.label.selectable = false; if (textMeasure_mc == undefined) { createTextField("textMeasure_mc", -1, 0, 0, 0, 0); } textMeasure_mc._visible = false; textMeasure_mc.multiline = true; textMeasure_mc.wordWrap = true; textMeasure_mc.autoSize = "left"; if ((icon_mc == undefined) && (_parent.icon != undefined)) { setSkin(1, _parent.icon); } buttons = new Array(); var _local2 = _parent.defButton; if (_parent.okButton) { createButton("okButton", mx.controls.Alert.okLabel, mx.controls.Alert.OK); if (_local2 == mx.controls.Alert.OK) { defButtonName = "okButton"; } } if (_parent.yesButton) { createButton("yesButton", mx.controls.Alert.yesLabel, mx.controls.Alert.YES); if (_local2 == mx.controls.Alert.YES) { defButtonName = "yesButton"; } } if (_parent.noButton) { createButton("noButton", mx.controls.Alert.noLabel, mx.controls.Alert.NO); if (_local2 == mx.controls.Alert.NO) { defButtonName = "noButton"; } } if (_parent.cancelButton) { createButton("cancelButton", mx.controls.Alert.cancelLabel, mx.controls.Alert.CANCEL); if (_local2 == mx.controls.Alert.CANCEL) { defButtonName = "cancelButton"; } } if (defButtonName != undefined) { this[defButtonName].emphasized = true; this[defButtonName].redraw(true); doLater(this, "setDefaultButton"); } } function createButton(name, title, detail) { var _local3 = mx.controls.Alert.buttonStyleDeclaration; var _local2 = createClassChildAtDepth(mx.controls.Button, mx.managers.DepthManager.kTop, {falseUpSkin:mx.controls.Alert.buttonUp, falseDownSkin:mx.controls.Alert.buttonDown, falseOverSkin:mx.controls.Alert.buttonOver, falseOverSkinEmphasized:mx.controls.Alert.buttonOverEmphasized, falseUpSkinEmphasized:mx.controls.Alert.buttonUpEmphasized, falseDownSkinEmphasized:mx.controls.Alert.buttonDownEmphasized, styleName:((_local3 == undefined) ? this : (mx.controls.Alert.buttonStyleDeclaration)), validateNow:true}); _local2.setLabel(title); _local2.setSize(mx.controls.Alert.buttonWidth, mx.controls.Alert.buttonHeight); buttons.push(_local2); _local2.clickHandler = onClick; _local2.detail = detail; this[name] = _local2; } function getSize(Void) { var _local2 = new Object(); _local2.height = buttons[0].height + 24; var _local8 = _parent.back_mc.title_mc._getTextFormat(); extent = _local8.getTextExtent2(_parent.title); _local2.width = Math.max(Math.max(2, buttons.length) * (buttons[0].width + 8), (extent.width + 4) + 8); var _local7 = text_mc._getTextFormat(); extent = _local7.getTextExtent2(_parent.text); textMeasure_mc._width = 2 * _local2.width; textMeasure_mc.setNewTextFormat(text_mc._getTextFormat()); textMeasure_mc.text = _parent.text; _local2.height = _local2.height + (textMeasure_mc.textHeight + 8); var _local4 = Math.ceil(textMeasure_mc.textHeight / extent.height); if (_local4 > 1) { extent.width = 2 * _local2.width; text_mc.__set__wordWrap(true); } var _local3 = Math.min((extent.width + 4) + 8, 2 * _local2.width); var _local6 = _local2.width; _local2.width = Math.max(_local3, _local2.width) + 8; if (icon_mc != undefined) { extent.width = extent.width + (icon_mc.width + 8); _local3 = Math.min((extent.width + 4) + 8, 2 * _local6); _local2.width = Math.max(_local3, _local2.width) + 8; var _local5 = icon_mc.height - (_local4 * (extent.height + 4)); if (_local5 > 0) { _local2.height = _local2.height + _local5; } } return(_local2); } function draw(Void) { size(); _parent.visible = true; } function size(Void) { var _local4 = (__get__height() - buttons[0].height) - 8; var _local3 = (buttons.length * (buttons[0].width + 8)) - 8; _local3 = (__get__width() - _local3) / 2; var _local2 = 0; while (_local2 < buttons.length) { buttons[_local2].move(_local3, _local4); buttons[_local2].tabIndex = _local2 + 1; _local3 = _local3 + (buttons[_local2].width + 8); _local2++; } _local4 = _local4 - 8; _local3 = Math.max(((__get__width() - extent.width) - 4) / 2, 8); if (icon_mc != undefined) { icon_mc.move(_local3, ((__get__height() - buttons[0].height) - icon_mc.height) / 2); _local3 = _local3 + (icon_mc.width + 8); } text_mc.move(_local3, 8); text_mc.setSize((__get__width() - _local3) - 8, _local4 - 8); if (_parent.text == undefined) { text_mc.__set__text(""); } else { text_mc.__set__text(_parent.text); } } function onClick(evt) { var _local2 = _parent._parent; _local2.__set__visible(false); _local2.dispatchEvent({type:"click", detail:detail}); _local2.deletePopUp(); } static var symbolOwner = mx.core.UIComponent; var idNames = ["text_mc", "icon_mc"]; var defButtonName = undefined; }
Symbol 357 MovieClip [__Packages.mx.containers.accordionclasses.AccordionHeader] Frame 0
class mx.containers.accordionclasses.AccordionHeader extends mx.controls.Button { var swapDepths, focus_mc, createObject, __get__width, __get__height, getStyle; function AccordionHeader () { super(); } function onRollOver() { swapDepths(maxDepth); super.onRollOver(); } function drawFocus(isFocused) { if (isFocused) { if (focus_mc == undefined) { focus_mc = createObject("FocusRect", "focus_mc", 10); } focus_mc.move(1, 1); focus_mc.setSize(__get__width() - 2, __get__height() - 2, 0, 100, getStyle("themeColor")); focus_mc._visible = true; } else { focus_mc._visible = false; } } static var symbolName = "AccordionHeader"; var ignoreClassStyleDeclaration = {Button:1}; static var symbolOwner = mx.containers.accordionclasses.AccordionHeader; var className = "AccordionHeader"; var falseUpSkin = "AccordionHeaderSkin"; var falseDownSkin = "AccordionHeaderSkin"; var falseOverSkin = "AccordionHeaderSkin"; var falseDisabledSkin = "AccordionHeaderSkin"; var trueUpSkin = "AccordionHeaderSkin"; var trueDownSkin = "AccordionHeaderSkin"; var trueOverSkin = "AccordionHeaderSkin"; var trueDisabledSkin = "AccordionHeaderSkin"; var centerContent = false; var btnOffset = 0; var maxDepth = 1999; static var version = "2.0.1.78"; }
Symbol 358 MovieClip [__Packages.mx.containers.Accordion] Frame 0
class mx.containers.Accordion extends mx.core.View { var tabEnabled, boundingBox_mc, __get__numChildren, invalidate, destroyObject, childNames, childSymbols, childIcons, childLabels, getChildAt, border_mc, getStyle, getFocusManager, tween, falseUpSkin, falseDownSkin, falseOverSkin, falseDisabledSkin, trueUpSkin, trueDownSkin, trueOverSkin, trueDisabledSkin, createClassObject, createObject, __get__width, __get__height, tweenBorderMetrics, tweenMargins, tweenContentWidth, tweenContentHeight, tweenOldSelectedIndex, tweenNewSelectedIndex, dispatchEvent, dispatchValueChangedEvent; function Accordion () { super(); } function init() { super.init(); tabEnabled = true; boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function createChild(symbolName, instanceName, props) { var _local3 = super.createChild(symbolName, instanceName, props); _local3._visible = false; var _local4 = __get__numChildren() - 1; createHeaderAndMask(_local3, _local4); invalidate(); return(_local3); } function createSegment(symbolName, instanceName, labelStr, iconStr) { return(createChild(symbolName, instanceName, {label:labelStr, icon:iconStr})); } function destroyChildAt(index) { if (__get__numChildren() == 0) { return(undefined); } super.destroyChildAt(index); destroyObject(kHeaderNameBase + index); destroyObject(kMaskNameBase + index); var _local4 = __get__numChildren(); var _local3 = Number(index); while (_local3 < _local4) { this[kHeaderNameBase + _local3] = this[kHeaderNameBase + (_local3 + 1)]; this[kHeaderNameBase + _local3]._name = kHeaderNameBase + _local3; this[kMaskNameBase + _local3] = this[kMaskNameBase + (_local3 + 1)]; this[kMaskNameBase + _local3]._name = kMaskNameBase + _local3; this[kHeaderNameBase + _local3].setStateVar(this[kHeaderNameBase + _local3].getState()); _local3++; } delete this[kHeaderNameBase + _local4]; delete this[kMaskNameBase + _local4]; _local3 = 0; while (_local3 < _local4) { this[kHeaderNameBase + _local3].swapDepths(kBaseHeaderDepth + _local3); this[kMaskNameBase + _local3].swapDepths(kBaseMaskDepth + _local3); this[mx.core.View.childNameBase + _local3].swapDepths(_local3 + 1); _local3++; } if (_local4 == 0) { __selectedIndex = undefined; } else if (index < __selectedIndex) { __selectedIndex--; } else if (index == __selectedIndex) { if (index == _local4) { __selectedIndex--; } var _local6 = this[kHeaderNameBase + __selectedIndex]; _local6.setState(true); } invalidate(); } function createChildren() { var _local7 = childNames.length; var _local3 = 0; while (_local3 < _local7) { var _local4 = childSymbols[_local3]; if (_local4 == undefined) { _local4 = "View"; } createChild(_local4, childNames[_local3], {label:childLabels[_local3], icon:childIcons[_local3]}); _local3++; } super.createChildren(); } function initLayout() { var _local5 = __get__numChildren(); var _local3 = 0; while (_local3 < _local5) { var _local4 = getChildAt(_local3); _local4.swapDepths(_local3 + 1); createHeaderAndMask(_local4, _local3); _local3++; } super.initLayout(); } function doLayout() { var _local17 = border_mc.__get__borderMetrics(); var _local15 = -1; var _local16 = -1; var _local18 = getStyle("marginTop"); var _local9 = getStyle("verticalGap"); var _local12 = calcContentWidth(); var _local10 = calcContentHeight(); var _local13 = _local17.left + _local15; var _local3 = _local17.top + _local18; var _local7 = _local13; var _local11 = _local12; var _local8 = getStyle("headerHeight"); if (_local15 < 0) { _local7 = _local7 - _local15; _local11 = _local11 + _local15; } if (_local16 < 0) { _local11 = _local11 + _local16; } var _local14 = __get__numChildren(); var _local2 = 0; while (_local2 < _local14) { var _local6 = this[kHeaderNameBase + _local2]; var _local5 = getChildAt(_local2); var _local4 = this[kMaskNameBase + _local2]; _local6.move(_local13, _local3); _local6.setSize(_local12, _local8); _local6.__set__visible(true); _local3 = _local3 + _local8; _local4._x = _local7; _local4._y = _local3; _local4._width = _local11; _local4._height = _local10 + _local9; _local5._x = _local7; _local5._y = _local3; _local5._visible = _local2 == selectedIndex; if (_local2 == selectedIndex) { _local3 = _local3 + _local10; } _local3 = _local3 + _local9; _local2++; } } function onSetFocus() { super.onSetFocus(); getFocusManager().defaultPushButtonEnabled = false; } function onKillFocus() { super.onKillFocus(); getFocusManager().defaultPushButtonEnabled = true; } function keyDownHandler(evt) { if (tween != undefined) { return(undefined); } var _local2 = selectedIndex; switch (evt.code) { case 34 : if (selectedIndex < (__get__numChildren() - 1)) { selectedIndex = (selectedIndex + 1); } else { selectedIndex = (0); } dispatchChangeEvent(_local2, selectedIndex); break; case 33 : if (selectedIndex > 0) { selectedIndex = (selectedIndex - 1); } else { selectedIndex = (__get__numChildren() - 1); } dispatchChangeEvent(_local2, selectedIndex); break; case 36 : selectedIndex = (0); dispatchChangeEvent(_local2, selectedIndex); break; case 35 : selectedIndex = (__get__numChildren() - 1); dispatchChangeEvent(_local2, selectedIndex); break; case 40 : case 39 : drawHeaderFocus(__focusedIndex, false); if (__focusedIndex < (__get__numChildren() - 1)) { __focusedIndex++; } else { __focusedIndex = 0; } drawHeaderFocus(__focusedIndex, true); break; case 38 : case 37 : drawHeaderFocus(__focusedIndex, false); if (__focusedIndex > 0) { __focusedIndex--; } else { __focusedIndex = __get__numChildren() - 1; } drawHeaderFocus(__focusedIndex, true); break; case 32 : case 13 : if (__focusedIndex == selectedIndex) { break; } selectedIndex = (__focusedIndex); dispatchChangeEvent(_local2, selectedIndex); } } function drawFocus(isFocused) { __bDrawFocus = isFocused; drawHeaderFocus(__focusedIndex, isFocused); } function getSelectedChild() { return(getChildAt(selectedIndex)); } function get selectedChild() { return(getSelectedChild()); } function setSelectedChild(v) { var _local3 = __get__numChildren(); var _local2 = 0; while (_local2 < _local3) { if (getChildAt(_local2) == v) { setSelectedIndex(_local2); return(undefined); } _local2++; } } function set selectedChild(v) { setSelectedChild(v); //return(selectedChild); } function getSelectedIndex() { return(__selectedIndex); } function get selectedIndex() { return(getSelectedIndex()); } function setSelectedIndex(v) { var _local2 = v; if (_local2 == __selectedIndex) { return(undefined); } var _local4 = this[kHeaderNameBase + __selectedIndex]; _local4.setState(false); var _local5 = __selectedIndex; __selectedIndex = _local2; startTween(_local5, _local2); var _local3 = this[kHeaderNameBase + __selectedIndex]; _local3.setState(true); drawHeaderFocus(__focusedIndex, false); __focusedIndex = __selectedIndex; drawHeaderFocus(__focusedIndex, __bDrawFocus); } function set selectedIndex(v) { setSelectedIndex(v); //return(selectedIndex); } function createHeaderAndMask(content_mc, i) { if (__selectedIndex == undefined) { __selectedIndex = 0; } var _local3 = {}; if (falseUpSkin != undefined) { _local3.falseUpSkin = falseUpSkin; } if (falseDownSkin != undefined) { _local3.falseDownSkin = falseDownSkin; } if (falseOverSkin != undefined) { _local3.falseOverSkin = falseOverSkin; } if (falseDisabledSkin != undefined) { _local3.falseDisabledSkin = falseDisabledSkin; } if (trueUpSkin != undefined) { _local3.trueUpSkin = trueUpSkin; } if (trueDownSkin != undefined) { _local3.trueDownSkin = trueDownSkin; } if (trueOverSkin != undefined) { _local3.trueOverSkin = trueOverSkin; } if (trueDisabledSkin != undefined) { _local3.trueDisabledSkin = trueDisabledSkin; } var _local2 = createClassObject(headerClass, kHeaderNameBase + i, kBaseHeaderDepth + i, _local3); _local2.visible = false; _local2.label = content_mc.label; _local2.tabEnabled = false; _local2.clickHandler = function () { this._parent.headerPress(this); }; _local2.setSize(_local2.width, getStyle("headerHeight")); _local2.content_mc = content_mc; if (content_mc.icon != undefined) { _local2.icon = content_mc.icon; } if (i == __selectedIndex) { _local2.setState(true); } var _local6 = createObject("BoundingBox", kMaskNameBase + i, kBaseMaskDepth + i); content_mc.setMask(_local6); } function getHeaderAt(idx) { return(this[kHeaderNameBase + idx]); } function calcContentWidth() { var _local2 = __get__width(); var _local3 = border_mc.__get__borderMetrics(); _local2 = _local2 - (_local3.left + _local3.right); var _local5 = -1; var _local4 = -1; _local2 = _local2 - (_local5 + _local4); return(_local2); } function calcContentHeight() { var _local3 = __get__height(); var _local6 = border_mc.__get__borderMetrics(); _local3 = _local3 - (_local6.top + _local6.bottom); var _local8 = getStyle("marginTop"); var _local7 = getStyle("marginBottom"); _local3 = _local3 - (_local8 + _local7); var _local4 = __get__numChildren(); var _local5 = getStyle("verticalGap"); var _local2 = 0; while (_local2 < _local4) { _local3 = _local3 - this[kHeaderNameBase + _local2].height; if (_local2 > 0) { _local3 = _local3 - _local5; } _local2++; } return(_local3); } function drawHeaderFocus(headerIndex, isFocused) { this[kHeaderNameBase + headerIndex].drawFocus(isFocused); } function headerPress(header) { var _local2 = selectedIndex; selectedChild = (header.content_mc); dispatchChangeEvent(_local2, selectedIndex); } function startTween(oldSelectedIndex, newSelectedIndex) { tweenBorderMetrics = border_mc.borderMetrics; tweenMargins = new Object(); tweenMargins.left = -1; tweenMargins.top = getStyle("marginTop"); tweenMargins.right = -1; tweenMargins.bottom = getStyle("marginBottom"); tweenContentWidth = calcContentWidth(); tweenContentHeight = calcContentHeight(); tweenOldSelectedIndex = oldSelectedIndex; tweenNewSelectedIndex = newSelectedIndex; tween = new mx.effects.Tween(this, 1, tweenContentHeight - 1, getStyle("openDuration")); var _local2 = getStyle("openEasing"); if (_local2 != undefined) { tween.easingEquation = _local2; } } function onTweenUpdate(value) { var _local16 = tweenBorderMetrics; var _local17 = tweenMargins; var _local19 = tweenContentWidth; var _local15 = tweenContentHeight; var _local9 = tweenOldSelectedIndex; var _local10 = tweenNewSelectedIndex; var _local8 = value; var _local7 = _local15 - value; var _local11 = ((_local9 < _local10) ? (-_local8) : 0); var _local13 = ((_local10 > _local9) ? 0 : (-_local7)); var _local4 = _local16.top + _local17.top; var _local12 = __get__numChildren(); var _local14 = getStyle("verticalGap"); var _local2 = 0; while (_local2 < _local12) { var _local6 = this[kHeaderNameBase + _local2]; var _local5 = getChildAt(_local2); var _local3 = this[kMaskNameBase + _local2]; _local6._y = _local4; _local4 = _local4 + _local6.height; if (_local2 == _local9) { _local3._y = _local4; _local3._height = _local7; _local5._y = _local3._y + _local11; _local5._visible = true; _local4 = _local4 + _local7; } else if (_local2 == _local10) { _local3._y = _local4; _local3._height = _local8; _local5._y = _local3._y + _local13; _local5._visible = true; _local4 = _local4 + _local8; } _local4 = _local4 + _local14; _local2++; } } function onTweenEnd(value) { delete tweenBorderMetrics; delete tweenMargins; delete tweenContentWidth; delete tweenContentHeight; delete tweenOldSelectedIndex; delete tweenNewSelectedIndex; delete tween; doLayout(); } function dispatchChangeEvent(prevValue, newValue) { dispatchEvent({type:"change", prevValue:prevValue, newValue:newValue}); dispatchValueChangedEvent(selectedIndex); } static var symbolName = "Accordion"; static var symbolOwner = mx.containers.Accordion; var className = "Accordion"; static var version = "2.0.1.78"; var kBaseHeaderDepth = 1000; var kBaseMaskDepth = 2000; var kHeaderNameBase = "_header"; var kMaskNameBase = "_mask"; var headerClass = mx.containers.accordionclasses.AccordionHeader; var __selectedIndex = undefined; var __focusedIndex = 0; var __bDrawFocus = false; }
Symbol 362 MovieClip [__Packages.mx.skins.halo.AccordionHeaderSkin] Frame 0
class mx.skins.halo.AccordionHeaderSkin extends mx.skins.RectBorder { var __get__width, __get__height, getStyle, clear, drawRoundRect, beginGradientFill, drawRect, endFill; function AccordionHeaderSkin () { super(); } function init() { super.init(); } function size() { drawHaloRect(__get__width(), __get__height()); } function drawHaloRect(w, h) { var _local6 = getStyle("borderStyle"); var _local4 = getStyle("themeColor"); var _local5 = getStyle("textSelectedColor"); clear(); switch (_local6) { case "falseup" : drawRoundRect(0, 0, w, h, 0, 9081738, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]); break; case "falsedown" : drawRoundRect(0, 0, w, h, 0, _local5, 50); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, _local4, 100); drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100); drawRoundRect(2, 2, w - 4, h - 4, 0, _local4, 20); break; case "falserollover" : drawRoundRect(0, 0, w, h, 0, _local5, 50); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, _local4, 50); gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]); break; case "falsedisabled" : drawRoundRect(0, 0, w, h, 0, 9081738, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, 13159628, 60); gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]); break; case "trueup" : drawRoundRect(0, 0, w, h, 0, _local5, 50); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, _local4, 50); drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100); drawRoundRect(2, 2, w - 4, h - 4, 0, _local4, 20); break; case "truedown" : drawRoundRect(0, 0, w, h, 0, _local5, 50); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, _local4, 50); drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100); drawRoundRect(2, 2, w - 4, h - 4, 0, _local4, 20); break; case "truerollover" : drawRoundRect(0, 0, w, h, 0, _local5, 50); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, _local4, 50); drawRoundRect(2, 2, w - 4, h - 4, 0, 16777215, 100); drawRoundRect(2, 2, w - 4, h - 4, 0, _local4, 20); break; case "truedisabled" : drawRoundRect(0, 0, w, h, 0, 9081738, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, 16777215, 100); drawRoundRect(1, 1, w - 2, h - 2, 0, 13159628, 60); gradientFill(2, 2, w - 2, h - 2, [14342874, 16777215]); } } function gradientFill(x, y, w, h, c) { var _local2 = [100, 100]; var _local8 = [0, 255]; var _local3 = {matrixType:"box", x:x, y:y, w:w, h:h, r:(Math.PI/2)}; beginGradientFill("linear", c, _local2, _local8, _local3); drawRect(x, y, w, h); endFill(); } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.skinRegistry.AccordionHeaderSkin = true; return(true); } static var symbolName = "AccordionHeaderSkin"; static var symbolOwner = mx.skins.halo.AccordionHeaderSkin; var className = "AccordionHeaderSkin"; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 374 Button
on (press) { _global.woot = "lolwon"; _global.lives = 0; _global.skipper = "gilligan"; }
Symbol 380 Button
on (press) { _root.plot.nextFrame(); } on (press) { if (_global.neverforgiveneverforget == "whoa...") { _global.woot = "lolwon"; } }
Symbol 449 MovieClip Frame 68
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 2
stop(); _global.neverforgiveneverforget = "whoa...";
Symbol 453 Button
on (press) { _global.woot = "lolwon"; _global.skipper = "skip"; }
Symbol 458 MovieClip Frame 200
_global.ok = "already";
Symbol 458 MovieClip Frame 260
stop();
Symbol 459 MovieClip Frame 260
stop();
Symbol 460 Button
on (press) { if (_global.ok != "already") { _root.leftarm.gotoAndPlay(200); _root.rightarm.gotoAndPlay(200); gotoAndPlay (200); } }
Symbol 461 Button
on (press) { if (_global.ok != "already") { _root.leftarm.gotoAndPlay(200); _root.rightarm.gotoAndPlay(200); } }
Symbol 465 Button
on (press) { _global.woot = "lolwon"; }
Symbol 466 MovieClip Frame 250
_root.weird.text = "";
Symbol 466 MovieClip Frame 315
gotoAndPlay (285);
Symbol 476 MovieClip Frame 1
if (_global.woot == "lolwon") { gotoAndStop (65); } stop(); _global.winner = "frame1";
Symbol 476 MovieClip Frame 2
_global.winner = "frame2";
Symbol 476 MovieClip Frame 3
_global.winner = "frame2";
Symbol 476 MovieClip Frame 65
_global.woot = "lolwon"; _root.ballteh.gotoAndStop(2); stop();
Symbol 476 MovieClip Frame 68
_global.win = "true"; stop();
Symbol 491 Button
on (press) { _root.demo.play(); }
Symbol 501 Button
on (press) { if (_global.second == "try") { _global.wallz = "lolfoiled"; _global.drag = "drag"; } } on (release) { _global.drag = "notdrag"; _root.boundry._y = 8000; }
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 2
stop();
Symbol 505 Button
on (press) { _global.woot = "lolwon"; }
Symbol 508 Button
on (press) { _global.woot = "lolwon"; }
Symbol 510 MovieClip Frame 60
stop();
Symbol 510 MovieClip Frame 80
stop();
Symbol 510 MovieClip Frame 169
stop();
Symbol 510 MovieClip Frame 170
stop();
Instance of Symbol 503 MovieClip "ballteh" in Symbol 510 MovieClip Frame 170
onClipEvent (load) { _global.x1 = _xmouse; _global.y1 = _ymouse; speed = 1; _global.drag = "notdrag"; _global.wow = "outside"; _global.ydif = 4; _global.xdif = 4; } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _global.drag = "notdrag"; _global.wow = "outside"; } if (_global.drag == "drag") { endX = _root._xmouse; endY = _root._ymouse; _x = (_x + ((endX - _x) / speed)); _y = (_y + ((endY - _y) / speed)); } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == true) { if (_global.drag == "drag") { if (_global.wow == "inside") { _global.ypresent = _root.ballteh._y; _global.xpresent = _root.ballteh._x; _global.ydif = _global.ypresent - _global.ypast; _global.xdif = _global.xpresent - _global.xpast; _global.xpast = _global.xpresent; _global.ypast = _global.ypresent; _root.dery.text = speed; _root.derx.text = _global.xdiflolz; } } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (_global.wow != "inside") { _x = (_x + _global.xdif); _y = (_y + _global.ydif); _global.ydif = _global.ydif * 0.97; _global.xdif = _global.xdif * 0.97; _global.ydif = _global.ydif + 0.2; _rotation = (_rotation + (_global.xdif * 2)); } } } onClipEvent (enterFrame) { if (_global.drag == "notdrag") { if (hitTest(_root.ywall) == true) { _global.ydif = _global.ydif * -0.999; _global.ydif = _global.ydif * 1; } if (hitTest(_root.ywall2) == true) { _global.ydif = _global.ydif * -0.999; _global.ydif = _global.ydif * 1; } if (hitTest(_root.ywall3) == true) { _global.ydif = _global.ydif * -0.999; _global.ydif = _global.ydif * 1; } if (hitTest(_root.ywall4) == true) { _global.ydif = _global.ydif * -0.999; _global.ydif = _global.ydif * 1; } if (hitTest(_root.ywall5) == true) { _global.ydif = _global.ydif * -0.999; _global.ydif = _global.ydif * 1; } if (hitTest(_root.xwall) == true) { _global.xdif = _global.xdif * -0.999; _global.xdif = _global.xdif + 1; } if (hitTest(_root.xwall2) == true) { _global.xdif = _global.xdif * -0.999; _global.xdif = _global.xdif * 1; } if (hitTest(_root.xwall3) == true) { _global.xdif = _global.xdif * -0.999; _global.xdif = _global.xdif * 1; } if (hitTest(_root.xwall4) == true) { _global.xdif = _global.xdif * -0.999; _global.xdif = _global.xdif * 1; } } if (_global.win == "true") { _global.ydif = 0; _global.xdif = 0; } if (_global.win == "true") { gotoAndStop (2); } if (hitTest(_root.out1) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } if (hitTest(_root.out2) == true) { _x = 391; _y = 221; _global.ydif = 0; _global.xdif = 0; } } onClipEvent (enterFrame) { if (hitTest(_root.boundry) == false) { _root.boundry._y = 7000; } if (hitTest(_root.boundry) == false) { if (_global.boost != "go") { _global.ydif = _global.ydif * 1.2; _global.xdif = _global.xdif * 1.2; _global.boost = "go"; } } }
Symbol 510 MovieClip Frame 171
stop();
Symbol 515 Button
on (press) { _root.ballteh._x = 378; _root.ballteh._y = 201; _root.boundry._y = 230; _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Instance of Symbol 520 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (enterFrame) { if (hitTest(_root.ballteh) == true) { _root.ballteh._y = _root.ballteh._y - 10; _global.wallz = "none"; } }
Symbol 527 Button
on (press) { _root.ballteh._x = 378; _root.ballteh._y = 201; _root.boundry._y = 230; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 535 Button
on (press) { _global.up = "up"; }
Symbol 537 Button
on (press) { _root.gotoAndStop("title"); }
Symbol 546 Button
on (press) { _root.boundry._y = 204; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 550 Button
on (press) { _root.boundry._y = 107; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 557 Button
on (press) { _root.boundry._y = 89; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 563 Button
on (press) { _root.boundry._y = 155; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 570 Button
on (press) { _root.boundry._y = 305; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 578 Button
on (press) { _root.boundry._y = 313; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 589 Button
on (press) { _root.boundry._y = 213; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.wallz = "none"; }
Symbol 607 Button
on (press) { _root.boundry._y = 285.3; _root.boundry._x = 74; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _root.xwall5.gotoAndStop(1); _root.switchboard.gotoAndStop(1); _global.q = "ready"; _global.wallz = "none"; }
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 10
stop();
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 2
stop();
Symbol 638 MovieClip Frame 105
stop(); _root.chip1.gotoAndStop(35); _root.chip2.gotoAndStop(35); _root.chip3.gotoAndStop(35); _root.chip4.gotoAndStop(35); _root.chip5.gotoAndStop(35); _root.chip6.stop(); _global.woot = "lolwon";
Symbol 642 Button
on (press) { _root.demo2.play(); }
Symbol 647 Button
on (press) { _global.woot = "lolwon"; }
Symbol 649 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 60
stop();
Symbol 649 MovieClip Frame 80
stop();
Symbol 649 MovieClip Frame 95
stop();
Symbol 649 MovieClip Frame 96
stop();
Symbol 651 Button
on (press) { _root.ballteh._x = 378; _root.ballteh._y = 201; _root.boundry._y = 230; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _root.wallz = "lol"; }
Symbol 652 Button
on (press) { _root.boundry._y = 297; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none"; }
Symbol 669 Button
on (press) { _root.boundry._y = 297; _root.ballteh._x = _root.boundry._x; _root.ballteh._y = _root.boundry._y; _global.lives = _global.lives - Number(1); _global.wow = "inside"; _global.win = "nope"; _global.drag = "notdrag"; _root.endzone.gotoAndStop(1); _global.boost = "fool"; _root.ballteh.gotoAndStop(1); _global.hewwo = "hi"; _global.second = "try"; _global.wallz = "none"; _global.piggy = "glasses"; }
Symbol 681 Button
on (press) { gotoAndStop ("submit"); _global.finish = "true"; }
Symbol 684 Button
on (press) { gotoAndStop ("title"); _global.finish = "true"; }

Library Items

Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:4
Symbol 4 MovieClipUses:3Used by:5
Symbol 5 MovieClip [XUpdateResolver]Uses:4
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClip [BoundingBox]Uses:41Used by:61 65 69 128 129 130 131 149 206 208 232 261 282 289 290 309 317 331 333 354 360 361
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClip [BrdrShdw]Uses:43Used by:47 52 53
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClip [BrdrFace]Uses:45Used by:47 52 53
Symbol 47 MovieClip [SimpleButtonDown]Uses:44 46Used by:65
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClip [BrdrBlk]Uses:48Used by:52 53
Symbol 50 GraphicUsed by:51 132
Symbol 51 MovieClip [BrdrHilght]Uses:50Used by:52 53
Symbol 52 MovieClip [SimpleButtonIn]Uses:49 51 44 46Used by:65
Symbol 53 MovieClip [SimpleButtonUp]Uses:49 46 44 51Used by:65
Symbol 54 MovieClip [Defaults]Used by:56
Symbol 55 MovieClip [UIObjectExtensions]Used by:56
Symbol 56 MovieClip [UIObject]Uses:54 55Used by:62 64 66 261
Symbol 57 GraphicUsed by:59
Symbol 58 GraphicUsed by:59
Symbol 59 ButtonUses:57 58Used by:62
Symbol 60 MovieClipUsed by:62
Symbol 61 MovieClip [FocusRect]Uses:42Used by:62
Symbol 62 MovieClip [FocusManager]Uses:59 60 61 56Used by:64
Symbol 63 MovieClip [UIComponentExtensions]Used by:64
Symbol 64 MovieClip [UIComponent]Uses:56 62 63Used by:65 130 261 265 282 289
Symbol 65 MovieClip [SimpleButton]Uses:42 47 52 53 64Used by:69 128 129 149 282
Symbol 66 MovieClip [Border]Uses:56Used by:67 69
Symbol 67 MovieClip [RectBorder]Uses:66Used by:69 130 265
Symbol 68 MovieClip [ButtonSkin]Used by:69
Symbol 69 MovieClip [Button]Uses:42 65 66 67 68Used by:128 129 232 354 360
Symbol 70 MovieClip [CustomBorder]Used by:128 129
Symbol 71 GraphicUsed by:73 109 110 111 114 115 120 268 271 272 273 275 276 277 278
Symbol 72 GraphicUsed by:73 109 110 114 115 120
Symbol 73 MovieClip [ScrollTrack]Uses:71 72Used by:80 85 86 87 121 122 123 124 125 126
Symbol 74 GraphicUsed by:80 85 86 87 121 122 123 124
Symbol 75 GraphicUsed by:80 85 86 87 121 122 123 124
Symbol 76 GraphicUsed by:80 85 86 87 121 122 123 124
Symbol 77 GraphicUsed by:80 85 86 87 121 122 123 124
Symbol 78 GraphicUsed by:80 85 86 87 121 122 123 124 268 271 272 273 275 276 277 278
Symbol 79 GraphicUsed by:80 85 86 87
Symbol 80 MovieClip [ScrollDownArrowDisabled]Uses:73 74 75 76 77 78 79Used by:127
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClip [ScrollThemeColor1]Uses:81Used by:85 86 122 123
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClip [ScrollThemeColor2]Uses:83Used by:85 122
Symbol 85 MovieClip [ScrollDownArrowDown]Uses:73 74 82 75 76 77 78 84 79Used by:127
Symbol 86 MovieClip [ScrollDownArrowOver]Uses:73 74 82 75 76 77 78 79Used by:127
Symbol 87 MovieClip [ScrollDownArrowUp]Uses:73 74 75 76 77 78 79Used by:127
Symbol 88 GraphicUsed by:93 98 99 100 116 117 118 119
Symbol 89 GraphicUsed by:93 98 99 100 116 117 118 119
Symbol 90 GraphicUsed by:93 98 99 100 116 117 118 119
Symbol 91 GraphicUsed by:93 98 99 100 116 117 118 119
Symbol 92 GraphicUsed by:93 98 99 100 116 117 118 119
Symbol 93 MovieClip [ScrollThumbBottomDisabled]Uses:88 89 90 91 92Used by:127
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClip [ThumbThemeColor1]Uses:94Used by:98 99 117 118
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClip [ThumbThemeColor3]Uses:96Used by:98 117
Symbol 98 MovieClip [ScrollThumbBottomDown]Uses:88 95 89 90 91 97 92Used by:127
Symbol 99 MovieClip [ScrollThumbBottomOver]Uses:88 95 89 90 91 92Used by:127
Symbol 100 MovieClip [ScrollThumbBottomUp]Uses:88 89 90 91 92Used by:127
Symbol 101 GraphicUsed by:102 105 106 107
Symbol 102 MovieClip [ScrollThumbGripDisabled]Uses:101Used by:127
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClip [ThumbThemeColor2]Uses:103Used by:105 106 109 110 114
Symbol 105 MovieClip [ScrollThumbGripDown]Uses:104 101Used by:127
Symbol 106 MovieClip [ScrollThumbGripOver]Uses:104 101Used by:127
Symbol 107 MovieClip [ScrollThumbGripUp]Uses:101Used by:127
Symbol 108 GraphicUsed by:109 110 114 115
Symbol 109 MovieClip [ScrollThumbMiddleDisabled]Uses:71 108 104 72Used by:127
Symbol 110 MovieClip [ScrollThumbMiddleDown]Uses:71 104 108 72Used by:127
Symbol 111 MovieClipUses:71Used by:114
Symbol 112 GraphicUsed by:113 121 122 123 124
Symbol 113 MovieClipUses:112Used by:114
Symbol 114 MovieClip [ScrollThumbMiddleOver]Uses:71 104 108 111 113 72Used by:127
Symbol 115 MovieClip [ScrollThumbMiddleUp]Uses:71 108 72Used by:127
Symbol 116 MovieClip [ScrollThumbTopDisabled]Uses:88 89 90 91 92Used by:127
Symbol 117 MovieClip [ScrollThumbTopDown]Uses:88 95 89 90 91 97 92Used by:127
Symbol 118 MovieClip [ScrollThumbTopOver]Uses:88 95 89 90 91 92Used by:127
Symbol 119 MovieClip [ScrollThumbTopUp]Uses:88 89 90 91 92Used by:127
Symbol 120 MovieClip [ScrollTrackDisabled]Uses:71 72Used by:127
Symbol 121 MovieClip [ScrollUpArrowDisabled]Uses:73 74 75 76 77 78 112Used by:127
Symbol 122 MovieClip [ScrollUpArrowDown]Uses:73 74 82 75 76 77 78 84 112Used by:127
Symbol 123 MovieClip [ScrollUpArrowOver]Uses:73 74 82 75 76 112 77 78Used by:127
Symbol 124 MovieClip [ScrollUpArrowUp]Uses:73 74 75 76 77 78 112Used by:127
Symbol 125 MovieClip [BtnDownArrow]Uses:73Used by:127
Symbol 126 MovieClip [BtnUpArrow]Uses:73Used by:127
Symbol 127 MovieClip [ScrollBarAssets]Uses:80 85 86 87 93 98 99 100 102 105 106 107 109 110 114 115 116 117 118 119 120 121 122 123 124 125 126Used by:128 129
Symbol 128 MovieClip [HScrollBar]Uses:42 69 65 70 127Used by:131 206
Symbol 129 MovieClip [VScrollBar]Uses:42 69 65 70 127Used by:131 206
Symbol 130 MovieClip [View]Uses:42 64 67Used by:131 331 361
Symbol 131 MovieClip [ScrollView]Uses:42 128 129 130Used by:149 208 290 352
Symbol 132 MovieClip [Modal]Uses:50Used by:148
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClip [TitleLeft]Uses:133Used by:139
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip [TitleMiddle]Uses:135Used by:139
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClip [TitleRight]Uses:137Used by:139
Symbol 139 MovieClip [TitleBackground]Uses:134 136 138Used by:148
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClip [CloseButtonDisabled]Uses:140Used by:148
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClip [CloseButtonDown]Uses:142Used by:148
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClip [CloseButtonOver]Uses:144Used by:148
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClip [CloseButtonUp]Uses:146Used by:148
Symbol 148 MovieClip [WindowAssets]Uses:132 139 141 143 145 147Used by:149
Symbol 149 MovieClip [Window]Uses:42 131 65 148Used by:354
Symbol 178 BitmapUsed by:179
Symbol 179 GraphicUses:178Used by:180
Symbol 180 MovieClipUses:179Used by:181
Symbol 181 MovieClip [WebServiceConnector]Uses:180
Symbol 206 MovieClip [UIScrollBar]Uses:42 129 128
Symbol 208 MovieClip [ScrollPane]Uses:42 131
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:212
Symbol 212 MovieClipUses:211Used by:213
Symbol 213 MovieClip [RDBMSResolver]Uses:212
Symbol 217 GraphicUsed by:219 226 227 228 229 230
Symbol 218 GraphicUsed by:219 226 227 228 229 230
Symbol 219 MovieClip [RadioFalseDisabled]Uses:217 218Used by:231
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClip [RadioThemeColor1]Uses:220Used by:226 227 230
Symbol 222 GraphicUsed by:226 227 230
Symbol 223 GraphicUsed by:224 225
Symbol 224 MovieClipUses:223Used by:226 228
Symbol 225 MovieClip [RadioThemeColor2]Uses:223Used by:226 227
Symbol 226 MovieClip [RadioFalseDown]Uses:217 221 218 222 224 225Used by:231
Symbol 227 MovieClip [RadioFalseOver]Uses:217 221 218 222 225Used by:231
Symbol 228 MovieClip [RadioFalseUp]Uses:217 218 224Used by:231
Symbol 229 MovieClip [RadioTrueDisabled]Uses:217 218Used by:231
Symbol 230 MovieClip [RadioTrueUp]Uses:217 221 218 222Used by:231
Symbol 231 MovieClip [RadioButtonAssets]Uses:219 226 227 228 229 230Used by:232
Symbol 232 MovieClip [RadioButton]Uses:42 69 231
Symbol 235 GraphicUsed by:239
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClip [ProgBarCapThemeColor]Uses:236Used by:239 242
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClip [ProgBarRight]Uses:235 237 238Used by:260
Symbol 240 GraphicUsed by:242
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClip [ProgBarLeft]Uses:240 237 241Used by:260
Symbol 243 GraphicUsed by:247
Symbol 244 GraphicUsed by:245 251
Symbol 245 MovieClip [ProgBarMiddleThemeColor]Uses:244Used by:247
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClip [ProgBarMiddle]Uses:243 245 246Used by:260
Symbol 248 GraphicUsed by:253
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClip [ProgBarIndThemeColor]Uses:249Used by:253
Symbol 251 MovieClip [ProgBarIndMiddleThemeColor]Uses:244Used by:253
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClip [ProgIndBar]Uses:248 250 251 252Used by:260
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClip [ProgTrackLeft]Uses:254Used by:260
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClip [ProgTrackMiddle]Uses:256Used by:260
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClip [ProgTrackRight]Uses:258Used by:260
Symbol 260 MovieClip [ProgressBarAssets]Uses:239 242 247 253 255 257 259Used by:261
Symbol 261 MovieClip [ProgressBar]Uses:42 64 56 260
Symbol 263 FontUsed by:264 351
Symbol 264 EditableTextUses:263Used by:265
Symbol 265 MovieClip [TextInput]Uses:264 67 64Used by:282
Symbol 266 GraphicUsed by:268 271 272 273 275 276 277 278
Symbol 267 GraphicUsed by:268 271 272 273
Symbol 268 MovieClip [StepDownArrowDisabled]Uses:266 267 71 78Used by:281
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClip [StepThemeColor1]Uses:269Used by:271 272 276 277
Symbol 271 MovieClip [StepDownArrowDown]Uses:266 71 270 267 78Used by:281
Symbol 272 MovieClip [StepDownArrowOver]Uses:266 71 270 267 78Used by:281
Symbol 273 MovieClip [StepDownArrowUp]Uses:266 267 71 78Used by:281
Symbol 274 GraphicUsed by:275 276 277 278
Symbol 275 MovieClip [StepUpArrowDisabled]Uses:266 274 71 78Used by:281
Symbol 276 MovieClip [StepUpArrowDown]Uses:266 71 270 274 78Used by:281
Symbol 277 MovieClip [StepUpArrowOver]Uses:266 71 270 274 78Used by:281
Symbol 278 MovieClip [StepUpArrowUp]Uses:266 274 71 78Used by:281
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClip [StepTrack]Uses:279Used by:281
Symbol 281 MovieClip [NumericStepperAssets]Uses:268 271 272 273 275 276 277 278 280Used by:282
Symbol 282 MovieClip [NumericStepper]Uses:42 65 64 265 281
Symbol 285 MovieClip [MenuBarItem]Used by:317
Symbol 286 MovieClip [ActivatorSkin]Used by:317
Symbol 287 MovieClip [DataProvider]Used by:290
Symbol 288 MovieClip [DataSelector]Used by:290
Symbol 289 MovieClip [SelectableRow]Uses:64 42Used by:290
Symbol 290 MovieClip [ScrollSelectList]Uses:42 287 288 289 131Used by:309 333
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClip [MenuBranchDisabled]Uses:291Used by:305
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClip [MenuBranchEnabled]Uses:293Used by:305
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClip [MenuCheckDisabled]Uses:295Used by:305
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClip [MenuCheckEnabled]Uses:297Used by:305
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClip [MenuRadioDisabled]Uses:299Used by:305
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClip [MenuRadioEnabled]Uses:301Used by:305
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClip [MenuSeparator]Uses:303Used by:305
Symbol 305 MovieClip [MenuAssets]Uses:292 294 296 298 300 302 304Used by:306
Symbol 306 MovieClip [MenuRow]Uses:305Used by:309
Symbol 307 MovieClip [TreeDataProvider]Used by:308
Symbol 308 MovieClip [MenuDataProvider]Uses:307Used by:309
Symbol 309 MovieClip [Menu]Uses:42 290 306 308Used by:317
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClip [MenuBarBackLeft]Uses:310Used by:316
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClip [MenuBarBackMiddle]Uses:312Used by:316
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClip [MenuBarBackRight]Uses:314Used by:316
Symbol 316 MovieClip [MenuBarAssets]Uses:311 313 315Used by:317
Symbol 317 MovieClip [MenuBar]Uses:42 285 286 309 316
Symbol 331 MovieClip [Loader]Uses:42 130
Symbol 333 MovieClip [List]Uses:42 290
Symbol 335 BitmapUsed by:336
Symbol 336 GraphicUses:335Used by:337
Symbol 337 MovieClipUses:336Used by:338
Symbol 338 MovieClip [DataSet]Uses:337
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:348
Symbol 348 MovieClipUses:347Used by:349
Symbol 349 MovieClip [DataHolder]Uses:348
Symbol 351 EditableTextUses:263Used by:352
Symbol 352 MovieClip [TextArea]Uses:351 131Used by:354
Symbol 353 MovieClip [AlertAssets]Used by:354
Symbol 354 MovieClip [Alert]Uses:42 149 352 69 353
Symbol 359 MovieClip [AccordionHeaderSkin]Used by:360
Symbol 360 MovieClip [AccordionHeader]Uses:42 69 359Used by:361
Symbol 361 MovieClip [Accordion]Uses:42 130 360
Symbol 685 MovieClip [__Packages.mochi.MochiServices]
Symbol 686 MovieClip [__Packages.MochiAd]
Symbol 687 MovieClip [__Packages.mochi.MochiScores]
Symbol 1 MovieClip [__Packages.mx.data.components.XUpdateResolver]
Symbol 6 MovieClip [__Packages.mx.utils.Iterator]
Symbol 7 MovieClip [__Packages.mx.utils.Collection]
Symbol 8 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaPacket]
Symbol 9 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaPacketConsts]
Symbol 10 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 11 MovieClip [__Packages.mx.data.binding.ComponentMixins]
Symbol 12 MovieClip [__Packages.mx.data.binding.EndPoint]
Symbol 13 MovieClip [__Packages.mx.data.binding.ObjectDumper]
Symbol 14 MovieClip [__Packages.mx.data.binding.TypedValue]
Symbol 15 MovieClip [__Packages.mx.xpath.NodePathInfo]
Symbol 16 MovieClip [__Packages.mx.utils.StringTokenParser]
Symbol 17 MovieClip [__Packages.mx.xpath.FilterExpr]
Symbol 18 MovieClip [__Packages.mx.xpath.FilterStack]
Symbol 19 MovieClip [__Packages.mx.xpath.XPathAPI]
Symbol 20 MovieClip [__Packages.mx.data.binding.DataAccessor]
Symbol 21 MovieClip [__Packages.mx.data.binding.FieldAccessor]
Symbol 22 MovieClip [__Packages.mx.data.binding.Log]
Symbol 23 MovieClip [__Packages.mx.data.binding.Binding]
Symbol 24 MovieClip [__Packages.mx.data.kinds.Data]
Symbol 25 MovieClip [__Packages.mx.data.binding.Formatter]
Symbol 26 MovieClip [__Packages.mx.data.binding.DataType]
Symbol 27 MovieClip [__Packages.mx.utils.ClassFinder]
Symbol 28 MovieClip [__Packages.mx.utils.XMLString]
Symbol 29 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaItem]
Symbol 30 MovieClip [__Packages.mx.data.components.datasetclasses.Delta]
Symbol 31 MovieClip [__Packages.mx.utils.ObjectCopy]
Symbol 32 MovieClip [__Packages.mx.utils.IteratorImpl]
Symbol 33 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaPacketImpl]
Symbol 34 MovieClip [__Packages.mx.data.components.datasetclasses.DeltaImpl]
Symbol 35 MovieClip [__Packages.mx.data.encoders.DatasetDeltaToXUpdateDelta]
Symbol 36 MovieClip [__Packages.mx.core.UIObject]
Symbol 37 MovieClip [__Packages.mx.core.UIComponent]
Symbol 38 MovieClip [__Packages.mx.core.View]
Symbol 39 MovieClip [__Packages.mx.core.ScrollView]
Symbol 40 MovieClip [__Packages.mx.containers.Window]
Symbol 150 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 151 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 152 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 153 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 154 MovieClip [__Packages.mx.skins.Border]
Symbol 155 MovieClip [__Packages.mx.skins.RectBorder]
Symbol 156 MovieClip [__Packages.mx.managers.DepthManager]
Symbol 157 MovieClip [__Packages.mx.events.UIEventDispatcher]
Symbol 158 MovieClip [__Packages.mx.core.ExternalContent]
Symbol 159 MovieClip [__Packages.mx.skins.CustomBorder]
Symbol 160 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb]
Symbol 161 MovieClip [__Packages.mx.controls.SimpleButton]
Symbol 162 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar]
Symbol 163 MovieClip [__Packages.mx.managers.SystemManager]
Symbol 164 MovieClip [__Packages.mx.controls.HScrollBar]
Symbol 165 MovieClip [__Packages.mx.controls.Button]
Symbol 166 MovieClip [__Packages.mx.skins.ColoredSkinElement]
Symbol 167 MovieClip [__Packages.mx.core.ext.UIObjectExtensions]
Symbol 168 MovieClip [__Packages.mx.skins.halo.Defaults]
Symbol 169 MovieClip [__Packages.mx.managers.FocusManager]
Symbol 170 MovieClip [__Packages.mx.skins.halo.FocusRect]
Symbol 171 MovieClip [__Packages.mx.managers.OverlappedWindows]
Symbol 172 MovieClip [__Packages.mx.styles.CSSSetStyle]
Symbol 173 MovieClip [__Packages.mx.core.ext.UIComponentExtensions]
Symbol 174 MovieClip [__Packages.mx.skins.halo.RectBorder]
Symbol 175 MovieClip [__Packages.mx.skins.halo.ButtonSkin]
Symbol 176 MovieClip [__Packages.mx.controls.VScrollBar]
Symbol 177 MovieClip [__Packages.mx.data.components.WebServiceConnector]
Symbol 182 MovieClip [__Packages.mx.services.WebService]
Symbol 183 MovieClip [__Packages.mx.services.Log]
Symbol 184 MovieClip [__Packages.mx.services.WebServiceProxy]
Symbol 185 MovieClip [__Packages.mx.services.QName]
Symbol 186 MovieClip [__Packages.mx.services.WSDLConstants]
Symbol 187 MovieClip [__Packages.mx.services.SchemaVersion]
Symbol 188 MovieClip [__Packages.mx.services.DataType]
Symbol 189 MovieClip [__Packages.mx.services.SOAPFault]
Symbol 190 MovieClip [__Packages.mx.services.SOAPConstants]
Symbol 191 MovieClip [__Packages.mx.services.SchemaContext]
Symbol 192 MovieClip [__Packages.mx.services.ElementDecl]
Symbol 193 MovieClip [__Packages.mx.services.Schema]
Symbol 194 MovieClip [__Packages.mx.services.WSDL]
Symbol 195 MovieClip [__Packages.mx.services.WSDLDocument]
Symbol 196 MovieClip [__Packages.mx.services.WSDLOperation]
Symbol 197 MovieClip [__Packages.mx.services.SOAPParameter]
Symbol 198 MovieClip [__Packages.mx.services.PendingCall]
Symbol 199 MovieClip [__Packages.mx.services.SOAPCall]
Symbol 200 MovieClip [__Packages.mx.services.SOAPHeader]
Symbol 201 MovieClip [__Packages.mx.services.PrefixedQName]
Symbol 202 MovieClip [__Packages.mx.services.ArrayProxy]
Symbol 203 MovieClip [__Packages.mx.services.RowSetProxy]
Symbol 204 MovieClip [__Packages.mx.services.Namespace]
Symbol 205 MovieClip [__Packages.mx.controls.UIScrollBar]
Symbol 207 MovieClip [__Packages.mx.containers.ScrollPane]
Symbol 209 MovieClip [__Packages.mx.data.components.RDBMSResolver]
Symbol 214 MovieClip [__Packages.mx.data.components.resclasses.FieldInfoItem]
Symbol 215 MovieClip [__Packages.mx.utils.CollectionImpl]
Symbol 216 MovieClip [__Packages.mx.controls.RadioButton]
Symbol 233 MovieClip [__Packages.mx.controls.RadioButtonGroup]
Symbol 234 MovieClip [__Packages.mx.controls.ProgressBar]
Symbol 262 MovieClip [__Packages.mx.controls.NumericStepper]
Symbol 283 MovieClip [__Packages.mx.controls.TextInput]
Symbol 284 MovieClip [__Packages.mx.controls.MenuBar]
Symbol 318 MovieClip [__Packages.mx.controls.listclasses.DataSelector]
Symbol 319 MovieClip [__Packages.mx.controls.listclasses.DataProvider]
Symbol 320 MovieClip [__Packages.mx.controls.listclasses.ScrollSelectList]
Symbol 321 MovieClip [__Packages.mx.controls.treeclasses.TreeDataProvider]
Symbol 322 MovieClip [__Packages.mx.controls.menuclasses.MenuDataProvider]
Symbol 323 MovieClip [__Packages.mx.managers.PopUpManager]
Symbol 324 MovieClip [__Packages.mx.effects.Tween]
Symbol 325 MovieClip [__Packages.mx.controls.Menu]
Symbol 326 MovieClip [__Packages.mx.skins.halo.ActivatorSkin]
Symbol 327 MovieClip [__Packages.mx.controls.menuclasses.MenuBarItem]
Symbol 328 MovieClip [__Packages.mx.controls.listclasses.SelectableRow]
Symbol 329 MovieClip [__Packages.mx.controls.menuclasses.MenuRow]
Symbol 330 MovieClip [__Packages.mx.controls.Loader]
Symbol 332 MovieClip [__Packages.mx.controls.List]
Symbol 334 MovieClip [__Packages.mx.data.components.DataSet]
Symbol 339 MovieClip [__Packages.mx.data.components.datasetclasses.DataSetError]
Symbol 340 MovieClip [__Packages.mx.data.to.ValueListIterator]
Symbol 341 MovieClip [__Packages.mx.utils.ErrorStrings]
Symbol 342 MovieClip [__Packages.mx.data.components.datasetclasses.DataSetIterator]
Symbol 343 MovieClip [__Packages.mx.data.components.datasetclasses.DataSetDataProvider]
Symbol 344 MovieClip [__Packages.mx.data.encoders.DateToNumber]
Symbol 345 MovieClip [__Packages.mx.data.components.DataHolder]
Symbol 350 MovieClip [__Packages.mx.controls.Alert]
Symbol 355 MovieClip [__Packages.mx.controls.TextArea]
Symbol 356 MovieClip [__Packages.mx.controls.alertClasses.AlertForm]
Symbol 357 MovieClip [__Packages.mx.containers.accordionclasses.AccordionHeader]
Symbol 358 MovieClip [__Packages.mx.containers.Accordion]
Symbol 362 MovieClip [__Packages.mx.skins.halo.AccordionHeaderSkin]
Symbol 363 FontUsed by:364 371 375 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 452 455 463 467 469 471 472 474 475 490 494 499 500 507 509 512 514 518 534 536 539 540 543 551 559 560 565 567 571 573 579 585 595 596 597 615 618 620 640 643 644 645 648 650 653 659 671 672 673 676 677 678 680 683
Symbol 364 TextUses:363Used by:Timeline
Symbol 365 GraphicUsed by:366
Symbol 366 MovieClipUses:365Used by:367
Symbol 367 MovieClipUses:366Used by:Timeline
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:638  Timeline
Symbol 370 GraphicUsed by:374
Symbol 371 TextUses:363Used by:374
Symbol 372 GraphicUsed by:374
Symbol 373 GraphicUsed by:374
Symbol 374 ButtonUses:370 371 372 373Used by:Timeline
Symbol 375 TextUses:363Used by:Timeline
Symbol 376 GraphicUsed by:377 532
Symbol 377 MovieClipUses:376Used by:Timeline
Symbol 378 GraphicUsed by:Timeline
Symbol 379 GraphicUsed by:380 460 461 465
Symbol 380 ButtonUses:379Used by:Timeline
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClipUses:381Used by:Timeline
Symbol 383 FontUsed by:384
Symbol 384 TextUses:363 383Used by:450
Symbol 385 TextUses:363Used by:449
Symbol 386 TextUses:363Used by:449
Symbol 387 TextUses:363Used by:449
Symbol 388 TextUses:363Used by:449
Symbol 389 TextUses:363Used by:449
Symbol 390 TextUses:363Used by:449
Symbol 391 TextUses:363Used by:449
Symbol 392 TextUses:363Used by:449
Symbol 393 TextUses:363Used by:449
Symbol 394 TextUses:363Used by:449
Symbol 395 TextUses:363Used by:449
Symbol 396 TextUses:363Used by:449
Symbol 397 TextUses:363Used by:449
Symbol 398 TextUses:363Used by:449
Symbol 399 TextUses:363Used by:449
Symbol 400 TextUses:363Used by:449
Symbol 401 TextUses:363Used by:449
Symbol 402 TextUses:363Used by:449
Symbol 403 TextUses:363Used by:449
Symbol 404 TextUses:363Used by:449
Symbol 405 TextUses:363Used by:449
Symbol 406 TextUses:363Used by:449
Symbol 407 TextUses:363Used by:449
Symbol 408 TextUses:363Used by:449
Symbol 409 TextUses:363Used by:449
Symbol 410 TextUses:363Used by:449
Symbol 411 TextUses:363Used by:449
Symbol 412 TextUses:363Used by:449
Symbol 413 TextUses:363Used by:449
Symbol 414 TextUses:363Used by:449
Symbol 415 TextUses:363Used by:449
Symbol 416 TextUses:363Used by:449
Symbol 417 TextUses:363Used by:449
Symbol 418 TextUses:363Used by:449
Symbol 419 TextUses:363Used by:449
Symbol 420 TextUses:363Used by:449
Symbol 421 TextUses:363Used by:449
Symbol 422 TextUses:363Used by:449
Symbol 423 TextUses:363Used by:449
Symbol 424 TextUses:363Used by:449
Symbol 425 TextUses:363Used by:449
Symbol 426 TextUses:363Used by:449
Symbol 427 TextUses:363Used by:449
Symbol 428 TextUses:363Used by:449
Symbol 429 TextUses:363Used by:449
Symbol 430 TextUses:363Used by:449
Symbol 431 TextUses:363Used by:449
Symbol 432 TextUses:363Used by:449
Symbol 433 TextUses:363Used by:449
Symbol 434 TextUses:363Used by:449
Symbol 435 TextUses:363Used by:449
Symbol 436 TextUses:363Used by:449
Symbol 437 TextUses:363Used by:449
Symbol 438 TextUses:363Used by:449
Symbol 439 TextUses:363Used by:449
Symbol 440 TextUses:363Used by:449
Symbol 441 TextUses:363Used by:449
Symbol 442 TextUses:363Used by:449
Symbol 443 TextUses:363Used by:449
Symbol 444 TextUses:363Used by:449
Symbol 445 TextUses:363Used by:449
Symbol 446 TextUses:363Used by:449
Symbol 447 TextUses:363Used by:449
Symbol 448 TextUses:363Used by:449
Symbol 449 MovieClipUses:385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448Used by:450
Symbol 450 MovieClipUses:384 449Used by:Timeline
Symbol 451 GraphicUsed by:453 491 515 527 546 550 557 563 570 578 589 607 642 651 652 669
Symbol 452 TextUses:363Used by:453
Symbol 453 ButtonUses:451 452Used by:Timeline
Symbol 454 GraphicUsed by:Timeline
Symbol 455 EditableTextUses:363Used by:Timeline
Symbol 456 GraphicUsed by:458 459
Symbol 457 GraphicUsed by:458 459
Symbol 458 MovieClipUses:456 457Used by:Timeline
Symbol 459 MovieClipUses:456 457Used by:Timeline
Symbol 460 ButtonUses:379Used by:466
Symbol 461 ButtonUses:379Used by:466
Symbol 462 GraphicUsed by:466
Symbol 463 TextUses:363Used by:466
Symbol 464 GraphicUsed by:466
Symbol 465 ButtonUses:379Used by:466
Symbol 466 MovieClipUses:460 461 462 463 464 465Used by:Timeline
Symbol 467 TextUses:363Used by:Timeline
Symbol 468 GraphicUsed by:476
Symbol 469 TextUses:363Used by:476
Symbol 470 GraphicUsed by:476
Symbol 471 EditableTextUses:363Used by:476
Symbol 472 EditableTextUses:363Used by:476
Symbol 473 GraphicUsed by:476
Symbol 474 EditableTextUses:363Used by:476
Symbol 475 EditableTextUses:363Used by:476
Symbol 476 MovieClipUses:468 469 470 471 472 473 474 475Used by:Timeline
Symbol 477 GraphicUsed by:513  Timeline
Symbol 478 GraphicUsed by:513  Timeline
Symbol 479 GraphicUsed by:480 483
Symbol 480 MovieClipUses:479Used by:Timeline
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:Timeline
Symbol 483 MovieClipUses:479Used by:Timeline
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:Timeline
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:Timeline
Symbol 488 GraphicUsed by:489
Symbol 489 MovieClipUses:488Used by:Timeline
Symbol 490 TextUses:363Used by:491 642
Symbol 491 ButtonUses:451 490Used by:Timeline
Symbol 492 GraphicUsed by:493 501 621
Symbol 493 ButtonUses:492Used by:510 649
Symbol 494 TextUses:363Used by:510 649
Symbol 495 GraphicUsed by:510 649
Symbol 496 GraphicUsed by:510
Symbol 497 FontUsed by:498
Symbol 498 TextUses:497Used by:510
Symbol 499 TextUses:363Used by:510
Symbol 500 TextUses:363Used by:510
Symbol 501 ButtonUses:492Used by:503
Symbol 502 GraphicUsed by:503
Symbol 503 MovieClipUses:501 502Used by:510  Timeline
Symbol 504 GraphicUsed by:505
Symbol 505 ButtonUses:504Used by:510
Symbol 506 GraphicUsed by:508
Symbol 507 TextUses:363Used by:508 647
Symbol 508 ButtonUses:506 507Used by:510  Timeline
Symbol 509 TextUses:363Used by:510
Symbol 510 MovieClipUses:493 494 495 496 498 499 500 503 505 508 509Used by:Timeline
Symbol 511 GraphicUsed by:Timeline
Symbol 512 TextUses:363Used by:Timeline
Symbol 513 MovieClipUses:477 478Used by:Timeline
Symbol 514 TextUses:363Used by:515 527 546 550 557 563 570 578 589 607 651 652 669
Symbol 515 ButtonUses:451 514Used by:Timeline
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:516Used by:Timeline
Symbol 518 TextUses:363Used by:Timeline
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:521
Symbol 521 MovieClipUses:520Used by:Timeline
Symbol 522 FontUsed by:523 524 544 545 555 556
Symbol 523 EditableTextUses:522Used by:Timeline
Symbol 524 EditableTextUses:522Used by:Timeline
Symbol 525 GraphicUsed by:526
Symbol 526 MovieClipUses:525Used by:Timeline
Symbol 527 ButtonUses:451 514Used by:Timeline
Symbol 528 GraphicUsed by:Timeline
Symbol 529 FontUsed by:530 601
Symbol 530 TextUses:529Used by:531
Symbol 531 MovieClipUses:530Used by:Timeline
Symbol 532 MovieClipUses:376Used by:538
Symbol 533 GraphicUsed by:535 537
Symbol 534 TextUses:363Used by:535
Symbol 535 ButtonUses:533 534Used by:538
Symbol 536 TextUses:363Used by:537
Symbol 537 ButtonUses:533 536Used by:538
Symbol 538 MovieClipUses:532 535 537Used by:Timeline
Symbol 539 EditableTextUses:363Used by:Timeline
Symbol 540 TextUses:363Used by:Timeline
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClipUses:541Used by:Timeline
Symbol 543 TextUses:363Used by:Timeline
Symbol 544 EditableTextUses:522Used by:Timeline
Symbol 545 EditableTextUses:522Used by:Timeline
Symbol 546 ButtonUses:451 514Used by:Timeline
Symbol 547 GraphicUsed by:Timeline
Symbol 548 GraphicUsed by:549
Symbol 549 MovieClipUses:548Used by:Timeline
Symbol 550 ButtonUses:451 514Used by:Timeline
Symbol 551 TextUses:363Used by:Timeline
Symbol 552 GraphicUsed by:Timeline
Symbol 553 GraphicUsed by:554
Symbol 554 MovieClipUses:553Used by:Timeline
Symbol 555 EditableTextUses:522Used by:Timeline
Symbol 556 EditableTextUses:522Used by:Timeline
Symbol 557 ButtonUses:451 514Used by:Timeline
Symbol 558 GraphicUsed by:Timeline
Symbol 559 TextUses:363Used by:Timeline
Symbol 560 EditableTextUses:363Used by:Timeline
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClipUses:561Used by:Timeline
Symbol 563 ButtonUses:451 514Used by:Timeline
Symbol 564 GraphicUsed by:Timeline
Symbol 565 TextUses:363Used by:Timeline
Symbol 566 GraphicUsed by:Timeline
Symbol 567 EditableTextUses:363Used by:Timeline
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:568Used by:Timeline
Symbol 570 ButtonUses:451 514Used by:Timeline
Symbol 571 TextUses:363Used by:Timeline
Symbol 572 GraphicUsed by:Timeline
Symbol 573 EditableTextUses:363Used by:Timeline
Symbol 574 GraphicUsed by:575
Symbol 575 MovieClipUses:574Used by:Timeline
Symbol 576 GraphicUsed by:577
Symbol 577 MovieClipUses:576Used by:Timeline
Symbol 578 ButtonUses:451 514Used by:Timeline
Symbol 579 TextUses:363Used by:Timeline
Symbol 580 GraphicUsed by:Timeline
Symbol 581 GraphicUsed by:582
Symbol 582 MovieClipUses:581Used by:Timeline
Symbol 583 GraphicUsed by:584
Symbol 584 MovieClipUses:583Used by:Timeline
Symbol 585 TextUses:363Used by:Timeline
Symbol 586 GraphicUsed by:Timeline
Symbol 587 GraphicUsed by:588
Symbol 588 MovieClipUses:587Used by:Timeline
Symbol 589 ButtonUses:451 514Used by:Timeline
Symbol 590 GraphicUsed by:Timeline
Symbol 591 GraphicUsed by:592
Symbol 592 MovieClipUses:591Used by:Timeline
Symbol 593 GraphicUsed by:594
Symbol 594 MovieClipUses:593Used by:Timeline
Symbol 595 TextUses:363Used by:Timeline
Symbol 596 EditableTextUses:363Used by:Timeline
Symbol 597 TextUses:363Used by:Timeline
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:598Used by:Timeline
Symbol 600 GraphicUsed by:604
Symbol 601 TextUses:529Used by:604
Symbol 602 GraphicUsed by:603
Symbol 603 MovieClipUses:602Used by:604
Symbol 604 MovieClipUses:600 601 603Used by:Timeline
Symbol 605 GraphicUsed by:606
Symbol 606 MovieClipUses:605Used by:Timeline
Symbol 607 ButtonUses:451 514Used by:Timeline
Symbol 608 GraphicUsed by:609
Symbol 609 MovieClipUses:608Used by:Timeline
Symbol 610 GraphicUsed by:614
Symbol 611 GraphicUsed by:614
Symbol 612 GraphicUsed by:613
Symbol 613 MovieClipUses:612Used by:614
Symbol 614 MovieClipUses:610 611 613Used by:Timeline
Symbol 615 TextUses:363Used by:616
Symbol 616 MovieClipUses:615Used by:Timeline
Symbol 617 GraphicUsed by:Timeline
Symbol 618 EditableTextUses:363Used by:Timeline
Symbol 619 GraphicUsed by:Timeline
Symbol 620 TextUses:363Used by:Timeline
Symbol 621 MovieClipUses:492Used by:622
Symbol 622 MovieClipUses:621Used by:Timeline
Symbol 623 GraphicUsed by:627
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:624Used by:627
Symbol 626 GraphicUsed by:627
Symbol 627 MovieClipUses:623 625 626Used by:628
Symbol 628 MovieClipUses:627Used by:Timeline
Symbol 629 GraphicUsed by:630
Symbol 630 MovieClipUses:629Used by:Timeline
Symbol 631 GraphicUsed by:632
Symbol 632 MovieClipUses:631Used by:Timeline
Symbol 633 GraphicUsed by:634
Symbol 634 MovieClipUses:633Used by:638
Symbol 635 GraphicUsed by:636
Symbol 636 MovieClipUses:635Used by:638
Symbol 637 GraphicUsed by:638
Symbol 638 MovieClipUses:369 634 636 637Used by:Timeline
Symbol 639 GraphicUsed by:Timeline
Symbol 640 TextUses:363Used by:Timeline
Symbol 641 GraphicUsed by:Timeline
Symbol 642 ButtonUses:451 490Used by:Timeline
Symbol 643 TextUses:363Used by:649
Symbol 644 TextUses:363Used by:649
Symbol 645 TextUses:363Used by:649
Symbol 646 GraphicUsed by:647
Symbol 647 ButtonUses:646 507Used by:649
Symbol 648 TextUses:363Used by:649
Symbol 649 MovieClipUses:493 495 494 643 644 645 647 648Used by:Timeline
Symbol 650 TextUses:363Used by:Timeline
Symbol 651 ButtonUses:451 514Used by:Timeline
Symbol 652 ButtonUses:451 514Used by:Timeline
Symbol 653 TextUses:363Used by:Timeline
Symbol 654 GraphicUsed by:Timeline
Symbol 655 GraphicUsed by:656
Symbol 656 MovieClipUses:655Used by:Timeline
Symbol 657 GraphicUsed by:Timeline
Symbol 658 GraphicUsed by:Timeline
Symbol 659 TextUses:363Used by:Timeline
Symbol 660 BitmapUsed by:661
Symbol 661 GraphicUses:660Used by:662
Symbol 662 MovieClipUses:661Used by:Timeline
Symbol 663 GraphicUsed by:664
Symbol 664 MovieClipUses:663Used by:Timeline
Symbol 665 GraphicUsed by:666
Symbol 666 MovieClipUses:665Used by:Timeline
Symbol 667 GraphicUsed by:668
Symbol 668 MovieClipUses:667Used by:Timeline
Symbol 669 ButtonUses:451 514Used by:Timeline
Symbol 670 GraphicUsed by:Timeline
Symbol 671 TextUses:363Used by:Timeline
Symbol 672 TextUses:363Used by:Timeline
Symbol 673 EditableTextUses:363Used by:Timeline
Symbol 674 GraphicUsed by:675
Symbol 675 MovieClipUses:674Used by:Timeline
Symbol 676 TextUses:363Used by:Timeline
Symbol 677 EditableTextUses:363Used by:Timeline
Symbol 678 TextUses:363Used by:Timeline
Symbol 679 GraphicUsed by:681
Symbol 680 TextUses:363Used by:681
Symbol 681 ButtonUses:679 680Used by:Timeline
Symbol 682 GraphicUsed by:684
Symbol 683 TextUses:363Used by:684
Symbol 684 ButtonUses:682 683Used by:Timeline

Instance Names

"plot"Frame 5Symbol 450 MovieClip
"weird"Frame 6Symbol 455 EditableText
"leftarm"Frame 6Symbol 458 MovieClip
"rightarm"Frame 6Symbol 459 MovieClip
"endzone"Frame 7Symbol 476 MovieClip
"endzone"Frame 8Symbol 476 MovieClip
"xwall3"Frame 8Symbol 480 MovieClip
"ywall4"Frame 8Symbol 482 MovieClip
"xwall4"Frame 8Symbol 483 MovieClip
"ywall"Frame 8Symbol 485 MovieClip
"xwall"Frame 8Symbol 487 MovieClip
"xwall2"Frame 8Symbol 489 MovieClip
"demo"Frame 8Symbol 510 MovieClip
"ywall"Frame 9Symbol 485 MovieClip
"xwall2"Frame 9Symbol 489 MovieClip
"xwall"Frame 9Symbol 487 MovieClip
"boundry"Frame 9Symbol 513 MovieClip
"ballteh"Frame 9Symbol 503 MovieClip
"endzone"Frame 10Symbol 476 MovieClip
"boundry"Frame 10Symbol 513 MovieClip
"dery"Frame 10Symbol 523 EditableText
"derx"Frame 10Symbol 524 EditableText
"ywall3"Frame 10Symbol 526 MovieClip
"xwall3"Frame 10Symbol 480 MovieClip
"ywall4"Frame 10Symbol 482 MovieClip
"xwall4"Frame 10Symbol 483 MovieClip
"deaths"Frame 10Symbol 539 EditableText
"placer"Frame 11Symbol 513 MovieClip
"dery"Frame 11Symbol 544 EditableText
"derx"Frame 11Symbol 545 EditableText
"ywall3"Frame 11Symbol 526 MovieClip
"xwall3"Frame 11Symbol 480 MovieClip
"ywall4"Frame 11Symbol 482 MovieClip
"xwall4"Frame 11Symbol 483 MovieClip
"ywall3"Frame 12Symbol 480 MovieClip
"xwall4"Frame 12Symbol 482 MovieClip
"ywall4"Frame 12Symbol 483 MovieClip
"ballteh"Frame 12Symbol 503 MovieClip
"dery"Frame 13Symbol 555 EditableText
"derx"Frame 13Symbol 556 EditableText
"xwall3"Frame 13Symbol 480 MovieClip
"ywall4"Frame 13Symbol 482 MovieClip
"xwall4"Frame 13Symbol 483 MovieClip
"xwall5"Frame 13Symbol 480 MovieClip
"ywall5"Frame 13Symbol 482 MovieClip
"xwall6"Frame 13Symbol 483 MovieClip
"ywall3"Frame 13Symbol 485 MovieClip
"deaths"Frame 13Symbol 560 EditableText
"ywall"Frame 14Symbol 485 MovieClip
"xwall2"Frame 14Symbol 489 MovieClip
"xwall"Frame 14Symbol 487 MovieClip
"ywall2"Frame 14Symbol 482 MovieClip
"ywall4"Frame 14Symbol 485 MovieClip
"ballteh"Frame 14Symbol 503 MovieClip
"deaths"Frame 14Symbol 567 EditableText
"ywall2"Frame 15Symbol 485 MovieClip
"ywall3"Frame 15Symbol 485 MovieClip
"deaths"Frame 15Symbol 573 EditableText
"xwall7"Frame 16Symbol 577 MovieClip
"ywall2"Frame 16Symbol 485 MovieClip
"xwall3"Frame 16Symbol 485 MovieClip
"xwall4"Frame 16Symbol 485 MovieClip
"ywall3"Frame 16Symbol 485 MovieClip
"xwall5"Frame 16Symbol 485 MovieClip
"ywall7"Frame 16Symbol 485 MovieClip
"placer"Frame 17Symbol 513 MovieClip
"boundry"Frame 17Symbol 513 MovieClip
"ywall4"Frame 17Symbol 485 MovieClip
"ywall7"Frame 17Symbol 485 MovieClip
"xwall4"Frame 17Symbol 485 MovieClip
"ywall5"Frame 17Symbol 480 MovieClip
"xwall6"Frame 17Symbol 482 MovieClip
"ywall3"Frame 17Symbol 483 MovieClip
"ywall2"Frame 18Symbol 485 MovieClip
"ywall3"Frame 18Symbol 485 MovieClip
"xwall3"Frame 18Symbol 485 MovieClip
"xwall6"Frame 18Symbol 485 MovieClip
"xwall2"Frame 18Symbol 485 MovieClip
"deaths"Frame 18Symbol 596 EditableText
"endzone"Frame 19Symbol 476 MovieClip
"xwall2"Frame 19Symbol 489 MovieClip
"xwall4"Frame 19Symbol 485 MovieClip
"ywall6"Frame 19Symbol 485 MovieClip
"ywall7"Frame 19Symbol 485 MovieClip
"xwall5"Frame 19Symbol 609 MovieClip
"switchboard"Frame 19Symbol 614 MovieClip
"tehlevel"Frame 19Symbol 616 MovieClip
"deaths"Frame 19Symbol 618 EditableText
"chip6"Frame 21Symbol 628 MovieClip
"chip1"Frame 21Symbol 630 MovieClip
"chip4"Frame 21Symbol 630 MovieClip
"chip5"Frame 21Symbol 630 MovieClip
"chip2"Frame 21Symbol 630 MovieClip
"chip3"Frame 21Symbol 630 MovieClip
"ballteh"Frame 21Symbol 503 MovieClip
"demo2"Frame 23Symbol 649 MovieClip
"ywall"Frame 24Symbol 485 MovieClip
"xwall2"Frame 24Symbol 489 MovieClip
"xwall"Frame 24Symbol 487 MovieClip
"ywall7"Frame 24Symbol 485 MovieClip
"boundry2"Frame 24Symbol 513 MovieClip
"boundry"Frame 24Symbol 513 MovieClip
"ballteh"Frame 24Symbol 503 MovieClip
"endzone"Frame 25Symbol 476 MovieClip
"ywall4"Frame 25Symbol 485 MovieClip
"xwall4"Frame 25Symbol 485 MovieClip
"ywall2"Frame 25Symbol 485 MovieClip
"xwall5"Frame 25Symbol 485 MovieClip
"boundry2"Frame 25Symbol 513 MovieClip
"boundry"Frame 25Symbol 513 MovieClip
"ballteh"Frame 25Symbol 503 MovieClip
"ywall3"Frame 26Symbol 485 MovieClip
"xwall4"Frame 26Symbol 485 MovieClip
"ywall2"Frame 26Symbol 485 MovieClip
"xwall5"Frame 26Symbol 485 MovieClip
"ywall2"Frame 27Symbol 485 MovieClip
"xwall3"Frame 27Symbol 485 MovieClip
"ywall4"Frame 27Symbol 485 MovieClip
"ywall5"Frame 27Symbol 485 MovieClip
"ywall6"Frame 27Symbol 485 MovieClip
"totem1"Frame 27Symbol 666 MovieClip
"totem2"Frame 27Symbol 666 MovieClip
"ballteh"Frame 28Symbol 503 MovieClip
"rank"Frame 29Symbol 673 EditableText
"lives"Frame 29Symbol 677 EditableText
"preview"Symbol 5 MovieClip [XUpdateResolver] Frame 1Symbol 4 MovieClip
"b"Symbol 47 MovieClip [SimpleButtonDown] Frame 1Symbol 44 MovieClip [BrdrShdw]
"face"Symbol 47 MovieClip [SimpleButtonDown] Frame 1Symbol 46 MovieClip [BrdrFace]
"b"Symbol 52 MovieClip [SimpleButtonIn] Frame 1Symbol 49 MovieClip [BrdrBlk]
"it"Symbol 52 MovieClip [SimpleButtonIn] Frame 1Symbol 51 MovieClip [BrdrHilght]
"g"Symbol 52 MovieClip [SimpleButtonIn] Frame 1Symbol 44 MovieClip [BrdrShdw]
"face"Symbol 52 MovieClip [SimpleButtonIn] Frame 1Symbol 46 MovieClip [BrdrFace]
"ob"Symbol 53 MovieClip [SimpleButtonUp] Frame 1Symbol 49 MovieClip [BrdrBlk]
"ol"Symbol 53 MovieClip [SimpleButtonUp] Frame 1Symbol 46 MovieClip [BrdrFace]
"ib"Symbol 53 MovieClip [SimpleButtonUp] Frame 1Symbol 44 MovieClip [BrdrShdw]
"il"Symbol 53 MovieClip [SimpleButtonUp] Frame 1Symbol 51 MovieClip [BrdrHilght]
"face"Symbol 53 MovieClip [SimpleButtonUp] Frame 1Symbol 46 MovieClip [BrdrFace]
"boundingBox_mc"Symbol 61 MovieClip [FocusRect] Frame 1Symbol 42 MovieClip [BoundingBox]
"tabCapture"Symbol 62 MovieClip [FocusManager] Frame 1Symbol 59 Button
"boundingBox_mc"Symbol 65 MovieClip [SimpleButton] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 69 MovieClip [Button] Frame 1Symbol 42 MovieClip [BoundingBox]
"dfs"Symbol 125 MovieClip [BtnDownArrow] Frame 1Symbol 73 MovieClip [ScrollTrack]
"dfs"Symbol 126 MovieClip [BtnUpArrow] Frame 1Symbol 73 MovieClip [ScrollTrack]
"boundingBox_mc"Symbol 128 MovieClip [HScrollBar] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 129 MovieClip [VScrollBar] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 130 MovieClip [View] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 131 MovieClip [ScrollView] Frame 1Symbol 42 MovieClip [BoundingBox]
"l_mc"Symbol 139 MovieClip [TitleBackground] Frame 1Symbol 134 MovieClip [TitleLeft]
"m_mc"Symbol 139 MovieClip [TitleBackground] Frame 1Symbol 136 MovieClip [TitleMiddle]
"r_mc"Symbol 139 MovieClip [TitleBackground] Frame 1Symbol 138 MovieClip [TitleRight]
"boundingBox_mc"Symbol 149 MovieClip [Window] Frame 1Symbol 42 MovieClip [BoundingBox]
"preview"Symbol 181 MovieClip [WebServiceConnector] Frame 1Symbol 180 MovieClip
"boundingBox_mc"Symbol 206 MovieClip [UIScrollBar] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 208 MovieClip [ScrollPane] Frame 1Symbol 42 MovieClip [BoundingBox]
"preview"Symbol 213 MovieClip [RDBMSResolver] Frame 1Symbol 212 MovieClip
"boundingBox_mc"Symbol 232 MovieClip [RadioButton] Frame 1Symbol 42 MovieClip [BoundingBox]
"foo"Symbol 232 MovieClip [RadioButton] Frame 2Symbol 69 MovieClip [Button]
"boundingBox_mc"Symbol 261 MovieClip [ProgressBar] Frame 1Symbol 42 MovieClip [BoundingBox]
"label"Symbol 265 MovieClip [TextInput] Frame 1Symbol 264 EditableText
"boundingBox_mc"Symbol 282 MovieClip [NumericStepper] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 309 MovieClip [Menu] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 317 MovieClip [MenuBar] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 331 MovieClip [Loader] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 333 MovieClip [List] Frame 1Symbol 42 MovieClip [BoundingBox]
"preview"Symbol 338 MovieClip [DataSet] Frame 1Symbol 337 MovieClip
"preview"Symbol 349 MovieClip [DataHolder] Frame 1Symbol 348 MovieClip
"label"Symbol 352 MovieClip [TextArea] Frame 1Symbol 351 EditableText
"boundingBox_mc"Symbol 354 MovieClip [Alert] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 360 MovieClip [AccordionHeader] Frame 1Symbol 42 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 361 MovieClip [Accordion] Frame 1Symbol 42 MovieClip [BoundingBox]
"ball"Symbol 503 MovieClip Frame 1Symbol 501 Button
"ball"Symbol 510 MovieClip Frame 1Symbol 493 Button
"ballteh"Symbol 510 MovieClip Frame 170Symbol 503 MovieClip
"ball"Symbol 649 MovieClip Frame 1Symbol 493 Button

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 5 as "XUpdateResolver"
ExportAssets (56)Timeline Frame 1Symbol 5 as "XUpdateResolver"
ExportAssets (56)Timeline Frame 1Symbol 42 as "BoundingBox"
ExportAssets (56)Timeline Frame 1Symbol 44 as "BrdrShdw"
ExportAssets (56)Timeline Frame 1Symbol 46 as "BrdrFace"
ExportAssets (56)Timeline Frame 1Symbol 47 as "SimpleButtonDown"
ExportAssets (56)Timeline Frame 1Symbol 49 as "BrdrBlk"
ExportAssets (56)Timeline Frame 1Symbol 51 as "BrdrHilght"
ExportAssets (56)Timeline Frame 1Symbol 52 as "SimpleButtonIn"
ExportAssets (56)Timeline Frame 1Symbol 53 as "SimpleButtonUp"
ExportAssets (56)Timeline Frame 1Symbol 54 as "Defaults"
ExportAssets (56)Timeline Frame 1Symbol 55 as "UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 56 as "UIObject"
ExportAssets (56)Timeline Frame 1Symbol 61 as "FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 62 as "FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 63 as "UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 64 as "UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 65 as "SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 66 as "Border"
ExportAssets (56)Timeline Frame 1Symbol 67 as "RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 68 as "ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 69 as "Button"
ExportAssets (56)Timeline Frame 1Symbol 70 as "CustomBorder"
ExportAssets (56)Timeline Frame 1Symbol 73 as "ScrollTrack"
ExportAssets (56)Timeline Frame 1Symbol 80 as "ScrollDownArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 82 as "ScrollThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 84 as "ScrollThemeColor2"
ExportAssets (56)Timeline Frame 1Symbol 85 as "ScrollDownArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 86 as "ScrollDownArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 87 as "ScrollDownArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 93 as "ScrollThumbBottomDisabled"
ExportAssets (56)Timeline Frame 1Symbol 95 as "ThumbThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 97 as "ThumbThemeColor3"
ExportAssets (56)Timeline Frame 1Symbol 98 as "ScrollThumbBottomDown"
ExportAssets (56)Timeline Frame 1Symbol 99 as "ScrollThumbBottomOver"
ExportAssets (56)Timeline Frame 1Symbol 100 as "ScrollThumbBottomUp"
ExportAssets (56)Timeline Frame 1Symbol 102 as "ScrollThumbGripDisabled"
ExportAssets (56)Timeline Frame 1Symbol 104 as "ThumbThemeColor2"
ExportAssets (56)Timeline Frame 1Symbol 105 as "ScrollThumbGripDown"
ExportAssets (56)Timeline Frame 1Symbol 106 as "ScrollThumbGripOver"
ExportAssets (56)Timeline Frame 1Symbol 107 as "ScrollThumbGripUp"
ExportAssets (56)Timeline Frame 1Symbol 109 as "ScrollThumbMiddleDisabled"
ExportAssets (56)Timeline Frame 1Symbol 110 as "ScrollThumbMiddleDown"
ExportAssets (56)Timeline Frame 1Symbol 114 as "ScrollThumbMiddleOver"
ExportAssets (56)Timeline Frame 1Symbol 115 as "ScrollThumbMiddleUp"
ExportAssets (56)Timeline Frame 1Symbol 116 as "ScrollThumbTopDisabled"
ExportAssets (56)Timeline Frame 1Symbol 117 as "ScrollThumbTopDown"
ExportAssets (56)Timeline Frame 1Symbol 118 as "ScrollThumbTopOver"
ExportAssets (56)Timeline Frame 1Symbol 119 as "ScrollThumbTopUp"
ExportAssets (56)Timeline Frame 1Symbol 120 as "ScrollTrackDisabled"
ExportAssets (56)Timeline Frame 1Symbol 121 as "ScrollUpArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 122 as "ScrollUpArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 123 as "ScrollUpArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 124 as "ScrollUpArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 125 as "BtnDownArrow"
ExportAssets (56)Timeline Frame 1Symbol 126 as "BtnUpArrow"
ExportAssets (56)Timeline Frame 1Symbol 127 as "ScrollBarAssets"
ExportAssets (56)Timeline Frame 1Symbol 128 as "HScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 129 as "VScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 130 as "View"
ExportAssets (56)Timeline Frame 1Symbol 131 as "ScrollView"
ExportAssets (56)Timeline Frame 1Symbol 132 as "Modal"
ExportAssets (56)Timeline Frame 1Symbol 134 as "TitleLeft"
ExportAssets (56)Timeline Frame 1Symbol 136 as "TitleMiddle"
ExportAssets (56)Timeline Frame 1Symbol 138 as "TitleRight"
ExportAssets (56)Timeline Frame 1Symbol 139 as "TitleBackground"
ExportAssets (56)Timeline Frame 1Symbol 141 as "CloseButtonDisabled"
ExportAssets (56)Timeline Frame 1Symbol 143 as "CloseButtonDown"
ExportAssets (56)Timeline Frame 1Symbol 145 as "CloseButtonOver"
ExportAssets (56)Timeline Frame 1Symbol 147 as "CloseButtonUp"
ExportAssets (56)Timeline Frame 1Symbol 148 as "WindowAssets"
ExportAssets (56)Timeline Frame 1Symbol 149 as "Window"
ExportAssets (56)Timeline Frame 1Symbol 149 as "Window"
ExportAssets (56)Timeline Frame 1Symbol 181 as "WebServiceConnector"
ExportAssets (56)Timeline Frame 1Symbol 181 as "WebServiceConnector"
ExportAssets (56)Timeline Frame 1Symbol 206 as "UIScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 206 as "UIScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 208 as "ScrollPane"
ExportAssets (56)Timeline Frame 1Symbol 208 as "ScrollPane"
ExportAssets (56)Timeline Frame 1Symbol 213 as "RDBMSResolver"
ExportAssets (56)Timeline Frame 1Symbol 213 as "RDBMSResolver"
ExportAssets (56)Timeline Frame 1Symbol 219 as "RadioFalseDisabled"
ExportAssets (56)Timeline Frame 1Symbol 221 as "RadioThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 225 as "RadioThemeColor2"
ExportAssets (56)Timeline Frame 1Symbol 226 as "RadioFalseDown"
ExportAssets (56)Timeline Frame 1Symbol 227 as "RadioFalseOver"
ExportAssets (56)Timeline Frame 1Symbol 228 as "RadioFalseUp"
ExportAssets (56)Timeline Frame 1Symbol 229 as "RadioTrueDisabled"
ExportAssets (56)Timeline Frame 1Symbol 230 as "RadioTrueUp"
ExportAssets (56)Timeline Frame 1Symbol 231 as "RadioButtonAssets"
ExportAssets (56)Timeline Frame 1Symbol 232 as "RadioButton"
ExportAssets (56)Timeline Frame 1Symbol 232 as "RadioButton"
ExportAssets (56)Timeline Frame 1Symbol 237 as "ProgBarCapThemeColor"
ExportAssets (56)Timeline Frame 1Symbol 239 as "ProgBarRight"
ExportAssets (56)Timeline Frame 1Symbol 242 as "ProgBarLeft"
ExportAssets (56)Timeline Frame 1Symbol 245 as "ProgBarMiddleThemeColor"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ProgBarMiddle"
ExportAssets (56)Timeline Frame 1Symbol 250 as "ProgBarIndThemeColor"
ExportAssets (56)Timeline Frame 1Symbol 251 as "ProgBarIndMiddleThemeColor"
ExportAssets (56)Timeline Frame 1Symbol 253 as "ProgIndBar"
ExportAssets (56)Timeline Frame 1Symbol 255 as "ProgTrackLeft"
ExportAssets (56)Timeline Frame 1Symbol 257 as "ProgTrackMiddle"
ExportAssets (56)Timeline Frame 1Symbol 259 as "ProgTrackRight"
ExportAssets (56)Timeline Frame 1Symbol 260 as "ProgressBarAssets"
ExportAssets (56)Timeline Frame 1Symbol 261 as "ProgressBar"
ExportAssets (56)Timeline Frame 1Symbol 261 as "ProgressBar"
ExportAssets (56)Timeline Frame 1Symbol 265 as "TextInput"
ExportAssets (56)Timeline Frame 1Symbol 268 as "StepDownArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 270 as "StepThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 271 as "StepDownArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 272 as "StepDownArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 273 as "StepDownArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 275 as "StepUpArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 276 as "StepUpArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 277 as "StepUpArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 278 as "StepUpArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 280 as "StepTrack"
ExportAssets (56)Timeline Frame 1Symbol 281 as "NumericStepperAssets"
ExportAssets (56)Timeline Frame 1Symbol 282 as "NumericStepper"
ExportAssets (56)Timeline Frame 1Symbol 282 as "NumericStepper"
ExportAssets (56)Timeline Frame 1Symbol 285 as "MenuBarItem"
ExportAssets (56)Timeline Frame 1Symbol 286 as "ActivatorSkin"
ExportAssets (56)Timeline Frame 1Symbol 287 as "DataProvider"
ExportAssets (56)Timeline Frame 1Symbol 288 as "DataSelector"
ExportAssets (56)Timeline Frame 1Symbol 289 as "SelectableRow"
ExportAssets (56)Timeline Frame 1Symbol 290 as "ScrollSelectList"
ExportAssets (56)Timeline Frame 1Symbol 292 as "MenuBranchDisabled"
ExportAssets (56)Timeline Frame 1Symbol 294 as "MenuBranchEnabled"
ExportAssets (56)Timeline Frame 1Symbol 296 as "MenuCheckDisabled"
ExportAssets (56)Timeline Frame 1Symbol 298 as "MenuCheckEnabled"
ExportAssets (56)Timeline Frame 1Symbol 300 as "MenuRadioDisabled"
ExportAssets (56)Timeline Frame 1Symbol 302 as "MenuRadioEnabled"
ExportAssets (56)Timeline Frame 1Symbol 304 as "MenuSeparator"
ExportAssets (56)Timeline Frame 1Symbol 305 as "MenuAssets"
ExportAssets (56)Timeline Frame 1Symbol 306 as "MenuRow"
ExportAssets (56)Timeline Frame 1Symbol 307 as "TreeDataProvider"
ExportAssets (56)Timeline Frame 1Symbol 308 as "MenuDataProvider"
ExportAssets (56)Timeline Frame 1Symbol 309 as "Menu"
ExportAssets (56)Timeline Frame 1Symbol 311 as "MenuBarBackLeft"
ExportAssets (56)Timeline Frame 1Symbol 313 as "MenuBarBackMiddle"
ExportAssets (56)Timeline Frame 1Symbol 315 as "MenuBarBackRight"
ExportAssets (56)Timeline Frame 1Symbol 316 as "MenuBarAssets"
ExportAssets (56)Timeline Frame 1Symbol 317 as "MenuBar"
ExportAssets (56)Timeline Frame 1Symbol 317 as "MenuBar"
ExportAssets (56)Timeline Frame 1Symbol 309 as "Menu"
ExportAssets (56)Timeline Frame 1Symbol 331 as "Loader"
ExportAssets (56)Timeline Frame 1Symbol 331 as "Loader"
ExportAssets (56)Timeline Frame 1Symbol 333 as "List"
ExportAssets (56)Timeline Frame 1Symbol 333 as "List"
ExportAssets (56)Timeline Frame 1Symbol 338 as "DataSet"
ExportAssets (56)Timeline Frame 1Symbol 338 as "DataSet"
ExportAssets (56)Timeline Frame 1Symbol 349 as "DataHolder"
ExportAssets (56)Timeline Frame 1Symbol 349 as "DataHolder"
ExportAssets (56)Timeline Frame 1Symbol 352 as "TextArea"
ExportAssets (56)Timeline Frame 1Symbol 353 as "AlertAssets"
ExportAssets (56)Timeline Frame 1Symbol 354 as "Alert"
ExportAssets (56)Timeline Frame 1Symbol 354 as "Alert"
ExportAssets (56)Timeline Frame 1Symbol 359 as "AccordionHeaderSkin"
ExportAssets (56)Timeline Frame 1Symbol 360 as "AccordionHeader"
ExportAssets (56)Timeline Frame 1Symbol 361 as "Accordion"
ExportAssets (56)Timeline Frame 1Symbol 361 as "Accordion"
ExportAssets (56)Timeline Frame 1Symbol 685 as "__Packages.mochi.MochiServices"
ExportAssets (56)Timeline Frame 1Symbol 686 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 687 as "__Packages.mochi.MochiScores"
ExportAssets (56)Timeline Frame 1Symbol 1 as "__Packages.mx.data.components.XUpdateResolver"
ExportAssets (56)Timeline Frame 1Symbol 6 as "__Packages.mx.utils.Iterator"
ExportAssets (56)Timeline Frame 1Symbol 7 as "__Packages.mx.utils.Collection"
ExportAssets (56)Timeline Frame 1Symbol 8 as "__Packages.mx.data.components.datasetclasses.DeltaPacket"
ExportAssets (56)Timeline Frame 1Symbol 9 as "__Packages.mx.data.components.datasetclasses.DeltaPacketConsts"
ExportAssets (56)Timeline Frame 1Symbol 10 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 11 as "__Packages.mx.data.binding.ComponentMixins"
ExportAssets (56)Timeline Frame 1Symbol 12 as "__Packages.mx.data.binding.EndPoint"
ExportAssets (56)Timeline Frame 1Symbol 13 as "__Packages.mx.data.binding.ObjectDumper"
ExportAssets (56)Timeline Frame 1Symbol 14 as "__Packages.mx.data.binding.TypedValue"
ExportAssets (56)Timeline Frame 1Symbol 15 as "__Packages.mx.xpath.NodePathInfo"
ExportAssets (56)Timeline Frame 1Symbol 16 as "__Packages.mx.utils.StringTokenParser"
ExportAssets (56)Timeline Frame 1Symbol 17 as "__Packages.mx.xpath.FilterExpr"
ExportAssets (56)Timeline Frame 1Symbol 18 as "__Packages.mx.xpath.FilterStack"
ExportAssets (56)Timeline Frame 1Symbol 19 as "__Packages.mx.xpath.XPathAPI"
ExportAssets (56)Timeline Frame 1Symbol 20 as "__Packages.mx.data.binding.DataAccessor"
ExportAssets (56)Timeline Frame 1Symbol 21 as "__Packages.mx.data.binding.FieldAccessor"
ExportAssets (56)Timeline Frame 1Symbol 22 as "__Packages.mx.data.binding.Log"
ExportAssets (56)Timeline Frame 1Symbol 23 as "__Packages.mx.data.binding.Binding"
ExportAssets (56)Timeline Frame 1Symbol 24 as "__Packages.mx.data.kinds.Data"
ExportAssets (56)Timeline Frame 1Symbol 25 as "__Packages.mx.data.binding.Formatter"
ExportAssets (56)Timeline Frame 1Symbol 26 as "__Packages.mx.data.binding.DataType"
ExportAssets (56)Timeline Frame 1Symbol 27 as "__Packages.mx.utils.ClassFinder"
ExportAssets (56)Timeline Frame 1Symbol 28 as "__Packages.mx.utils.XMLString"
ExportAssets (56)Timeline Frame 1Symbol 29 as "__Packages.mx.data.components.datasetclasses.DeltaItem"
ExportAssets (56)Timeline Frame 1Symbol 30 as "__Packages.mx.data.components.datasetclasses.Delta"
ExportAssets (56)Timeline Frame 1Symbol 31 as "__Packages.mx.utils.ObjectCopy"
ExportAssets (56)Timeline Frame 1Symbol 32 as "__Packages.mx.utils.IteratorImpl"
ExportAssets (56)Timeline Frame 1Symbol 33 as "__Packages.mx.data.components.datasetclasses.DeltaPacketImpl"
ExportAssets (56)Timeline Frame 1Symbol 34 as "__Packages.mx.data.components.datasetclasses.DeltaImpl"
ExportAssets (56)Timeline Frame 1Symbol 35 as "__Packages.mx.data.encoders.DatasetDeltaToXUpdateDelta"
ExportAssets (56)Timeline Frame 1Symbol 36 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 37 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 38 as "__Packages.mx.core.View"
ExportAssets (56)Timeline Frame 1Symbol 39 as "__Packages.mx.core.ScrollView"
ExportAssets (56)Timeline Frame 1Symbol 40 as "__Packages.mx.containers.Window"
ExportAssets (56)Timeline Frame 1Symbol 150 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 151 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 152 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 153 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 154 as "__Packages.mx.skins.Border"
ExportAssets (56)Timeline Frame 1Symbol 155 as "__Packages.mx.skins.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 156 as "__Packages.mx.managers.DepthManager"
ExportAssets (56)Timeline Frame 1Symbol 157 as "__Packages.mx.events.UIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 158 as "__Packages.mx.core.ExternalContent"
ExportAssets (56)Timeline Frame 1Symbol 159 as "__Packages.mx.skins.CustomBorder"
ExportAssets (56)Timeline Frame 1Symbol 160 as "__Packages.mx.controls.scrollClasses.ScrollThumb"
ExportAssets (56)Timeline Frame 1Symbol 161 as "__Packages.mx.controls.SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 162 as "__Packages.mx.controls.scrollClasses.ScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 163 as "__Packages.mx.managers.SystemManager"
ExportAssets (56)Timeline Frame 1Symbol 164 as "__Packages.mx.controls.HScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 165 as "__Packages.mx.controls.Button"
ExportAssets (56)Timeline Frame 1Symbol 166 as "__Packages.mx.skins.ColoredSkinElement"
ExportAssets (56)Timeline Frame 1Symbol 167 as "__Packages.mx.core.ext.UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 168 as "__Packages.mx.skins.halo.Defaults"
ExportAssets (56)Timeline Frame 1Symbol 169 as "__Packages.mx.managers.FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 170 as "__Packages.mx.skins.halo.FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 171 as "__Packages.mx.managers.OverlappedWindows"
ExportAssets (56)Timeline Frame 1Symbol 172 as "__Packages.mx.styles.CSSSetStyle"
ExportAssets (56)Timeline Frame 1Symbol 173 as "__Packages.mx.core.ext.UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 174 as "__Packages.mx.skins.halo.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 175 as "__Packages.mx.skins.halo.ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 176 as "__Packages.mx.controls.VScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 177 as "__Packages.mx.data.components.WebServiceConnector"
ExportAssets (56)Timeline Frame 1Symbol 182 as "__Packages.mx.services.WebService"
ExportAssets (56)Timeline Frame 1Symbol 183 as "__Packages.mx.services.Log"
ExportAssets (56)Timeline Frame 1Symbol 184 as "__Packages.mx.services.WebServiceProxy"
ExportAssets (56)Timeline Frame 1Symbol 185 as "__Packages.mx.services.QName"
ExportAssets (56)Timeline Frame 1Symbol 186 as "__Packages.mx.services.WSDLConstants"
ExportAssets (56)Timeline Frame 1Symbol 187 as "__Packages.mx.services.SchemaVersion"
ExportAssets (56)Timeline Frame 1Symbol 188 as "__Packages.mx.services.DataType"
ExportAssets (56)Timeline Frame 1Symbol 189 as "__Packages.mx.services.SOAPFault"
ExportAssets (56)Timeline Frame 1Symbol 190 as "__Packages.mx.services.SOAPConstants"
ExportAssets (56)Timeline Frame 1Symbol 191 as "__Packages.mx.services.SchemaContext"
ExportAssets (56)Timeline Frame 1Symbol 192 as "__Packages.mx.services.ElementDecl"
ExportAssets (56)Timeline Frame 1Symbol 193 as "__Packages.mx.services.Schema"
ExportAssets (56)Timeline Frame 1Symbol 194 as "__Packages.mx.services.WSDL"
ExportAssets (56)Timeline Frame 1Symbol 195 as "__Packages.mx.services.WSDLDocument"
ExportAssets (56)Timeline Frame 1Symbol 196 as "__Packages.mx.services.WSDLOperation"
ExportAssets (56)Timeline Frame 1Symbol 197 as "__Packages.mx.services.SOAPParameter"
ExportAssets (56)Timeline Frame 1Symbol 198 as "__Packages.mx.services.PendingCall"
ExportAssets (56)Timeline Frame 1Symbol 199 as "__Packages.mx.services.SOAPCall"
ExportAssets (56)Timeline Frame 1Symbol 200 as "__Packages.mx.services.SOAPHeader"
ExportAssets (56)Timeline Frame 1Symbol 201 as "__Packages.mx.services.PrefixedQName"
ExportAssets (56)Timeline Frame 1Symbol 202 as "__Packages.mx.services.ArrayProxy"
ExportAssets (56)Timeline Frame 1Symbol 203 as "__Packages.mx.services.RowSetProxy"
ExportAssets (56)Timeline Frame 1Symbol 204 as "__Packages.mx.services.Namespace"
ExportAssets (56)Timeline Frame 1Symbol 205 as "__Packages.mx.controls.UIScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 207 as "__Packages.mx.containers.ScrollPane"
ExportAssets (56)Timeline Frame 1Symbol 209 as "__Packages.mx.data.components.RDBMSResolver"
ExportAssets (56)Timeline Frame 1Symbol 214 as "__Packages.mx.data.components.resclasses.FieldInfoItem"
ExportAssets (56)Timeline Frame 1Symbol 215 as "__Packages.mx.utils.CollectionImpl"
ExportAssets (56)Timeline Frame 1Symbol 216 as "__Packages.mx.controls.RadioButton"
ExportAssets (56)Timeline Frame 1Symbol 233 as "__Packages.mx.controls.RadioButtonGroup"
ExportAssets (56)Timeline Frame 1Symbol 234 as "__Packages.mx.controls.ProgressBar"
ExportAssets (56)Timeline Frame 1Symbol 262 as "__Packages.mx.controls.NumericStepper"
ExportAssets (56)Timeline Frame 1Symbol 283 as "__Packages.mx.controls.TextInput"
ExportAssets (56)Timeline Frame 1Symbol 284 as "__Packages.mx.controls.MenuBar"
ExportAssets (56)Timeline Frame 1Symbol 318 as "__Packages.mx.controls.listclasses.DataSelector"
ExportAssets (56)Timeline Frame 1Symbol 319 as "__Packages.mx.controls.listclasses.DataProvider"
ExportAssets (56)Timeline Frame 1Symbol 320 as "__Packages.mx.controls.listclasses.ScrollSelectList"
ExportAssets (56)Timeline Frame 1Symbol 321 as "__Packages.mx.controls.treeclasses.TreeDataProvider"
ExportAssets (56)Timeline Frame 1Symbol 322 as "__Packages.mx.controls.menuclasses.MenuDataProvider"
ExportAssets (56)Timeline Frame 1Symbol 323 as "__Packages.mx.managers.PopUpManager"
ExportAssets (56)Timeline Frame 1Symbol 324 as "__Packages.mx.effects.Tween"
ExportAssets (56)Timeline Frame 1Symbol 325 as "__Packages.mx.controls.Menu"
ExportAssets (56)Timeline Frame 1Symbol 326 as "__Packages.mx.skins.halo.ActivatorSkin"
ExportAssets (56)Timeline Frame 1Symbol 327 as "__Packages.mx.controls.menuclasses.MenuBarItem"
ExportAssets (56)Timeline Frame 1Symbol 328 as "__Packages.mx.controls.listclasses.SelectableRow"
ExportAssets (56)Timeline Frame 1Symbol 329 as "__Packages.mx.controls.menuclasses.MenuRow"
ExportAssets (56)Timeline Frame 1Symbol 330 as "__Packages.mx.controls.Loader"
ExportAssets (56)Timeline Frame 1Symbol 332 as "__Packages.mx.controls.List"
ExportAssets (56)Timeline Frame 1Symbol 334 as "__Packages.mx.data.components.DataSet"
ExportAssets (56)Timeline Frame 1Symbol 339 as "__Packages.mx.data.components.datasetclasses.DataSetError"
ExportAssets (56)Timeline Frame 1Symbol 340 as "__Packages.mx.data.to.ValueListIterator"
ExportAssets (56)Timeline Frame 1Symbol 341 as "__Packages.mx.utils.ErrorStrings"
ExportAssets (56)Timeline Frame 1Symbol 342 as "__Packages.mx.data.components.datasetclasses.DataSetIterator"
ExportAssets (56)Timeline Frame 1Symbol 343 as "__Packages.mx.data.components.datasetclasses.DataSetDataProvider"
ExportAssets (56)Timeline Frame 1Symbol 344 as "__Packages.mx.data.encoders.DateToNumber"
ExportAssets (56)Timeline Frame 1Symbol 345 as "__Packages.mx.data.components.DataHolder"
ExportAssets (56)Timeline Frame 1Symbol 350 as "__Packages.mx.controls.Alert"
ExportAssets (56)Timeline Frame 1Symbol 355 as "__Packages.mx.controls.TextArea"
ExportAssets (56)Timeline Frame 1Symbol 356 as "__Packages.mx.controls.alertClasses.AlertForm"
ExportAssets (56)Timeline Frame 1Symbol 357 as "__Packages.mx.containers.accordionclasses.AccordionHeader"
ExportAssets (56)Timeline Frame 1Symbol 358 as "__Packages.mx.containers.Accordion"
ExportAssets (56)Timeline Frame 1Symbol 362 as "__Packages.mx.skins.halo.AccordionHeaderSkin"

Labels

"mochiads"Frame 1
"intro"Frame 2
"extras"Frame 3
"title"Frame 4
"instructions1"Frame 5
"practice"Frame 9
"level1"Frame 10
"level2"Frame 11
"level3"Frame 12
"level4"Frame 13
"level5"Frame 14
"level6"Frame 15
"level7"Frame 16
"level8"Frame 17
"level9"Frame 18
"level10"Frame 19
"feast1"Frame 20
"feast2"Frame 21
"feast3"Frame 22
"feast4"Frame 23
"feast5"Frame 24
"level11"Frame 25
"level12"Frame 26
"level13"Frame 27
"final"Frame 29
"submit"Frame 30




http://swfchan.com/15/72107/info.shtml
Created: 8/4 -2019 22:40:33 Last modified: 8/4 -2019 22:40:33 Server time: 13/05 -2024 13:57:35