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

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

Paper Golf 2- EX.swf

This is the info page for
Flash #40818

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


Text
This is not an
authorized
version of
Paper Golf 2

1

2

3

m

o

c

.

e

a

G

A

k

M

s

t

L

m

o

c

.

e

a

G

A

k

M

s

t

L

COMMUNITY

GAME

DEVELOPMENT

Y

T

I

N

U

M

O

C

E

A

G

P

L

V

D

2

: EX

Visit LetsMakeAGame.com

Sound:

<p align="left"></p>

Which Course?

1

2

3

4

5

6

Music By:

Cheez-r-us

© 2008 Ben Weitzman and Rowland Rose

COURSE 1

( easy )

COURSE 2

COURSE 3

( medium )

COURSE 6

( very hard )

COURSE 5

( hard )

COURSE 4

(opens a new window)

You must be playing on
www.LetsMakeAGame.com
to play and make custom
courses.

SUBMIT

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="center"><font face="Husky Stash" size="28" color="#003300" letterSpacing="0.000000" kerning="1">Good Luck!</font></p>

<p align="center"><font face="Husky Stash" size="28" color="#003300" letterSpacing="0.000000" kerning="1">Good Luck!</font></p>

<p align="center"><font face="Husky Stash" size="28" color="#003300" letterSpacing="0.000000" kerning="1">Good Luck!</font></p>

QUIT

RATE THIS COURSE

Loading.

Loading..

Loading...

RATE THIS COURSE:

<p align="center"><font face="Husky Stash" size="36" color="#003300" letterSpacing="0.000000" kerning="1">TEXT</font></p>

<p align="center"><font face="Husky Stash" size="36" color="#003300" letterSpacing="0.000000" kerning="1">TEXT</font></p>

<p align="center"><font face="Husky Stash" size="36" color="#003300" letterSpacing="0.000000" kerning="1">TEXT</font></p>

PLAY

SUBMIT

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">AUTHOR </font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">PAR</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">COURSE NAME</font></p>

SUBMIT

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">AUTHOR </font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">PAR</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">COURSE NAME</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">AUTHOR</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">PAR</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">COURSE NAME</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">AUTHOR </font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">PAR</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">COURSE NAME</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">AUTHOR </font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">PAR</font></p>

<p align="left"><font face="Husky Stash" size="31" color="#003300" letterSpacing="0.000000" kerning="1">COURSE NAME</font></p>

Welcome To Paper Golf II! In this game
the object is to draw a line from the tee to
the hole in as a few strokes as possible.
Careful, because when you start to draw,
the screen will be blanked out. If you stop
your stroke in the sand, you will get an
extra point (thats bad!) If you stop your
stroke in the water, you will get an extra
point and be moved back to dry land. If
you hit the trees, you will get an extra
point and will be stopped.

Welcome To Paper Golf II! In this game
the object is to draw a line from the tee to
the hole in as a few strokes as possible.
Careful, because when you start to draw,
the screen will be blanked out. If you stop
your stroke in the sand, you will get an
extra point (thats bad!) If you stop your
stroke in the water, you will get 2 extra
points and be moved back to dry land. If
you hit the trees, you will get an extra
point and will be stopped.

COMPLETE!

Your score was:

<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>

<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>

Menu

Submit

<p align="center"><font face="Husky Stash" size="30" color="#003300" letterSpacing="0.000000" kerning="1">ENTER NAME HERE</font></p>

<p align="center"><font face="Husky Stash" size="30" color="#003300" letterSpacing="0.000000" kerning="1">ENTER NAME HERE</font></p>

<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>

<p align="center"></p>

<p align="center"></p>

<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>

<p align="center"></p>

<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>

ActionScript [AS1/AS2]

Frame 1
function gotoMySite() { getURL ("http://www.letsmakeagame.com", "_blank"); } function deadClick() { } MochiAd.showPreGameAd({id:"dcadbcbed78a2140", res:"550x450"}); mochi.MochiServices.connect("dcadbcbed78a2140"); _root.kongregateServices.connect(); var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); var copyrightNotice = new ContextMenuItem("\u00A9 2008 LetsMakeAGame.com", gotoMySite); var mySiteLink = new ContextMenuItem("Edit levels for this Game", gotoMySite); myMenu.customItems.push(mySiteLink, copyrightNotice); _root.menu = myMenu; var globalSound = new Sound(); var musicToggle = true; _global.rootPath = this;
Frame 2
stop();
Instance of Symbol 12 MovieClip "white" in Frame 2
onClipEvent (load) { this.swapDepths(100000); this.gotoAndStop(16); }
Frame 3
stop(); trace("loading... not supposed to be here.");
Instance of Symbol 224 MovieClip [DataGrid] in Frame 3
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Frame 4
stop(); intro_id.onRelease = function () { getURL ("http://www.letsmakeagame.com", "_blank"); };
Frame 5
function stringToArray(string) { stringHold = string; var _local1 = stringHold.split("-"); i = 0; while (i < _local1.length) { _local1[i] = _local1[i].split(""); b = 0; while (b < _local1[i].length) { _local1[i][b] = Number(_local1[i][b]); b++; } i++; } return(_local1); } function buildMap(map) { score = 0; tileDepth = 75; z = 0; while (z < map.length) { j = 0; while (j < map[0].length) { attachMovie("Tile", (("t_" + z) + "_") + j, tileDepth); _root[(("t_" + z) + "_") + j].gotoAndStop(map[z][j] + 1); if (map[z][j] == 5) { var _local4 = flash.display.BitmapData.loadBitmap("Paper"); var _local5 = this.createEmptyMovieClip("Blinder", -100); this.Blinder.attachBitmap(_local4, -100); this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; lines.clear(); lines._alpha = 100; tee._x = (j * tw) + (tw / 2); tee._y = (z * th) + (th / 2); } _root[(("t_" + z) + "_") + j]._x = j * tw; _root[(("t_" + z) + "_") + j]._y = z * th; _root[(("t_" + z) + "_") + j]._alpha = 0; _root[(("t_" + z) + "_") + j].onEnterFrame = tileFrame; _root[(("t_" + z) + "_") + j].activeTile = false; tileDepth++; j++; } z++; } _root.greeting = "Good Luck!"; _root.clearTiles = false; } function tileFrame() { if (!_root.clearTiles) { if (this._alpha < 100) { this._alpha = this._alpha + 6; } else { this._alpha = 100; } if (_root.mousedown && (this.hit_id.hitTest(_root._xmouse, _root._ymouse))) { this.activeTile = true; _root.tileActive = this; } else if (this.activeTile) { this.activeTile = false; if (this._currentframe != 3) { _root.oldTile = this; } } } else if (this._alpha > 0) { this._alpha = this._alpha - 6; } else { this.removeMovieClip(); } } stop(); var scores = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var course = undefined; var course1 = new Array("0000000000011100000000-0000000000011100000000-0000000000011000000000-0000040000000002220000-0110000000000022220003-1111000000002222220033-1111100000222222000033-1111100022222220000033-0111000222222000000003-0000002222200000000000-0000002222200000000000-0000002222000000000000-3000000020000000050000-3330000000000000000000-3333000000000000000000-3333000000000000000000", "0000222000000000000000-0002222000000000110000-0022222000000001111000-0022200000000033331000-0022200000000330033100-0022200500000300003100-0000000000033304003300-0000000003333300003300-0000000033333300033100-0000000003333333331100-0000000000033333311000-0002222000011111110000-0022222200001111100022-0022222200000000000022-0022222222000000000222-0002222220000000000222", "0000000000000011000000-0040000000000110000000-0000100000000100000000-1000100000000222000000-1101100000022222111110-3110000222222200111111-3311122222200000000001-3331122220000000022200-3333220000000000022220-3332220000000002222222-3333200000000002221110-3333300000050000011110-3333110000000000011110-3333111000000000111100-3331111000000000110000-3311000000000000000000", "3000022222222200000000-3300000002222200000000-1333000000002000005000-1133331110000000000000-1133333111000000000000-1113333311100000000000-1111333311111110000333-1111133333333331103300-0111111113111113333000-0110000113331111110002-0110040011031110000022-0010110010033311110022-0011111110000333000000-0000000100220003330000-0000022202222000033300-0000222222222000000333", "2222000000002220000111-2222200000022220000111-2222200000022220000011-2222200000022220000001-1220000000000000000000-1100000000000010000000-1111000022200111000400-1110000222220111100000-1100000222220011110000-0000000022220001100000-0000000022200000000000-0005000000000000000000-0000000000000022222000-0000000011100022222000-0000001111100022220000-0011001111100022220000", "1111111111111113333333-1111000000111113333333-1100000000111113313333-1100040000111333111333-1110000011133311111133-1110011111331111111113-3331111133311111111111-3331113331111111100111-3333333111100000000011-3333331110000000000011-1333331110000000000001-1133311100000000000000-1111111000000000000000-0111110000050000022220-0011000000000000222222-0000000000000002222222", "0000000000000013100000-0022220000000013100000-0000222000000013100400-0002222222000013100000-0000222222220013100000-0000022222222223100022-1111002222222233100220-3333111111223331000220-1113333333333111112220-0001111131111111112220-0000000131111111111110-0000000133333110111100-0005000011113310111100-0000000000001310100000-0000000000001310000000-0000000000001310000000", "2222222000000000001333-2222222000000000113333-2222222000040001333331-2222222000000001333310-0022222220000011333100-0000222220000133311000-0000222222001333100000-0000222222221331000000-0000000222223331000000-0050000133333331000000-0000000013333310000000-0000000133333100000000-0000000133331000000000-0000001333331000000000-0000013333110000000000-0000133331000000000000", "1111111111111111113333-0000111111111111333333-0000000111111333333311-0004000111133333333310-2000000111333333333110-2200001113330033331102-2200011133300033311022-2200011333300333110222-2200113333333331100222-2001333333333310000022-0003333333333110000022-0033333333311100000002-0333033331110000005002-3330033111100000000002-3300333111110000000022-3333311111110100000222"); var course2 = new Array("0000011111111111111111-0000000111111111111112-2220000002221111111112-2222220022111000111122-2222222220010000011222-2222220000110000011222-3222200000110000011122-3220000000011111111122-3330000000022111111112-3330000000222100000112-3330040000222000000010-3333000022222005000000-3333300222220000000000-3333333332000000000000-3333333333333300000000-3333333333333333333300", "3333000000330111111300-3330000000033001133000-3330000000033300030000-3300040000033330000000-3001000000033333003333-3001100000333333333333-3011111000333333333333-3011110003333322200000-3300000333333222200000-3333333333322222000000-3333333333322200000000-0000000033220000500000-0011110003000000000000-1111111003300000000000-1111100003333000000033-0110000003333333333333", "2222000002202000000000-2222000000220000000000-2000000000000000005000-0000033333000000000000-0000003333330000000000-0033000011333300000000-3333330001113300000000-3333333300011330000000-3000133300000033000001-0000111330000033000001-0000011130022233000211-0000001300022033002211-0004003000000333002111-0000000000033333001111-0000000003333330001111-0000003333333000011111", "2222222222222222222222-2222222211112222222222-2222222111111122222222-2222222100001112222222-2222220000400222222222-2222222220002222222222-2222333333333333333322-2223333333333333333332-3333333333333222333333-3332222220000022233333-3322222000500002223333-2222222000000000222222-2222220000000011222222-2222221111111112222222-2222222211122222222222-2222222222222222222222", "3333000000000222222200-3333300000500022222200-3333300000000011222000-3333330000000011200003-3333330000000001200033-3333330000330001000333-3333330003330000000333-3333330033333000003333-3333300003330000003333-3333000000000000003333-3330000100000000033333-0300001100000000333333-0000002100000000333333-0000022110400000333333-0002222211000000333333-0222222221110000333333", "3333222222220000000000-3333022222220010000000-3333000222200110000000-3330000000001110000500-2200001110001110000000-2200011100001110000000-2220111000001111030000-2220111000000011130000-3220011110000001130000-3200011111111000033000-3300001111111000003022-3300000011111330223222-3304000001110033223222-3300022000000003333222-3333222220000002223222-3332222220000022223222", "1111311111111111100001-1100333333111110000001-1100000113111100040001-1100000113111110000011-1111100113311110000111-3333111111311111000111-1113333333311111111111-1111111223111111111111-1111111223333331111111-1111111122222233333111-1111001112222231313111-1111000111222233313113-1110050011112221313333-1110000011111111333333-1111111111111111333333-1111111111111111333333", "2222222220000333000000-2222222211003330000000-2222222111333000005000-2222220013310000000000-2222220003110000000000-2222000033110000000000-2222003330111333333330-2220033000113333333333-2220333000033311000333-2200330000033311102220-2200300000003300102220-0000300000003330022222-0003310000003330022222-0003311040000330002222-0033331000000333000222-0033331111000333000222", "0000000000111110033333-0000000000211000033333-0050000201220000333333-0000200011200002333333-0000200011000022333333-0000002200000220333333-0020002200000200333333-0220011000040000333333-0000111100000003333333-0011110000001103333333-0002200020011033333330-0002200220111333333330-3300000200033333333330-3300000003333333333300-3333333333333333333300-3333333333333333300000"); var course3 = new Array("0000000000011333111111-0000000000001133111111-0300000000001121111111-3330000000002220011112-3330000000022000011122-3330005000220000001222-3330000002200002222222-3330000022000022222222-3333000020000122000022-3333000222001122040022-3333000222111122000022-3333000222111111000022-3330002222233311002222-3000222222233311222222-0002222222222222222222-0022222222222222222222", "0000000000000000000001-0000000000003300000111-0000220000033330041111-0111220000333330011112-1111222000333330111122-1111122222222220112222-1111122222222222222222-0111122222222222222222-0111022222111122222222-0000022200011111111002-0000022200011110000000-0000022200000100000000-0003332230000000000000-0003332233000000005000-0033333333300000000000-1333333333300000000000", "1111110000000300000000-1111111000000300000000-1111112220000300000000-1111122220000333000000-0111222222220003050001-0111122222222203000021-0000002222222223000221-0000000002223333222211-0000000000223222222211-0033333300223222222211-3330000333333222222111-0000000300003022222111-0000003304033001111111-0000003000330000111111-0033333000300000000111-0030000000300000000111", "3333000022000000222000-3330000002220222222220-3300000000020222220000-3000000000020002000000-3005022000220000000000-0000002200222000000000-0000022200002220000000-0000220220000022000000-0000000022200011100000-0000000000222011104000-0000020000002211000000-0000220000000000000000-0002200000002200000003-0002222222222000000003-0002222222200000000333-0000022200000000033333", "1111110000000003300111-1111110000000033000111-1110000000003330000011-0000000033333100000022-0003333331111100002220-0033333333111000022200-0333333333311040220001-0333333333311002200001-0333333333302022050011-0033333333222220000011-0003333333222220000001-0000011111122000000001-0000001111111100000001-0000011111111111000000-0001111111111111110000-0011111111111111110000", "0000111100000000333333-0000011110040023333333-0000001110000003333333-1100002222020233333300-1111122333333333333300-1111123333333333333330-1111223333333333333333-1112223333333333333333-1111223333333333333333-1111222222333333333333-1100000222202022033333-0000011122200050020033-0200111000000000000003-2201110000000000000002-2221110000011111100022-2222000000111111110222", "0000000001000000000000-0000000011000111000000-0050000111122111111100-0000000011222122221000-0000000012211112221000-0000000122111001121000-0001111111000000111000-0111222100000200010000-0011221000002200010000-0001110000002200000000-0000110000112100000000-0000010000111100000000-0000000001121100000000-0000000011221100040000-0000000111221110000000-0000111122222111000000", "0000000222220000222222-0000002222000000022222-0002202220000000002222-0222222220000000000000-2222222222200000000000-2222222222000000022222-2222000000000000002222-2220000000500000000022-0020000000000000000012-0220000000000000000111-0220322222222222221111-0023322222222222222111-0033333220002222221111-0003333000000000011111-2000000000040000011111-2222000000000000001122", "0011112222222000000000-0000111022200000000000-3333010000000000400000-1003000000112000000001-1103300000111120000011-1100333300001111111113-2111110333300011113333-2111110000333333333333-2221111100300000113333-2220001100300000013331-2220000000301000011111-2200000003301110001110-2200050033001110000110-2100000030001111000112-1111000330111331000222-1111110301113331112222"); var course4 = new Array("0000033300000000000111-0000003300220000000011-0005003330222002200001-2000003333222222220000-2200000333302222222000-2200000223300000222000-2220002200330000220033-2220002000033000223333-2222002200033000033330-2222002200003000333000-2222002200003003300000-2222000220003003300001-2222000020003033000001-2222000000003330040011-2222220000033300000111-2222200000333000000111", "0000000200000000000111-0002000220000004000001-0000001111022000000200-2011000011112000110020-1100000000012200011020-1100022200011200001120-0000000200001000001122-2220000000001100001120-0000000000200000201100-0000000001000000200100-0000000001020000000100-0005000111020000001100-0000001112000000001000-2000001022000000002000-2200000020000001102000-0220000000001111002000", "0000000000222222222000-0000000000022221110000-0005000000222221000033-0000000000002210003333-0000000000222100033333-0000000002211100033330-0000000222111100033000-0000002211110000000000-0000022111120002200000-0000011111220000224001-0000011112200010000001-0000111122000011000011-0000111220000011110111-2000022220000001111111-2200222222000000011111-2222222222222000000000", "0033333322003300203333-0333333300033333000333-0333333300333333000033-0333330000333333040033-0033302000033330000000-2000000030003300033000-2033003333000000333300-3333303333302033333300-3333303333000333333302-3333003333003333333302-3330000330003333333002-0000000000003333330000-2005000003000000000030-3300000333330020033033-3300000333333000333333-3333220333333003333333", "2222222000000111222000-2222212000001111200000-2222112200011122200100-2111111200011120001100-0111111110011111111033-0100011111111211110333-0104011111211111110333-0000011122200111100333-0022111122000111000033-0022111120011110000000-0022111111111110005000-3022222111111100000000-3322222221111100000000-3302222222111100000002-3330022222111111022222-3333222221111111222222", "2222222222233222222222-2222222222233322222222-2222222222233322222233-2222222222223322222333-2220033322223333333332-2200033302223333333322-2200222002223332222222-2202222002223322222222-2232200002223322222222-2232204022223322222222-2232200022113311000022-2202222220113311105022-2200222220023322200022-2200002220023322222222-2220003330223332222222-2222203332222332222222", "3333333300000022222222-3333330000002022222223-3333000002222022222233-3333000022222002222333-3333005222222202220033-3333002222222000000003-3330002222222300000003-3330002220403300000000-3330022220003331110000-3300022230013331110000-0000222233333331110000-0000000233333311110000-0002220200001111110000-0222220000000111100003-2222222300000000000333-2222222333300000003333", "2222222222222222222222-2211000000222220000022-2111000001222200040222-2111122201122210200222-2113223311122111222222-2333222331122111122233-3333222333322111333333-3333222133322333333233-2111222111122233112222-2111222111122221112222-2110022221100221112222-2110022220000020022222-2000002222000000022222-2200502222220000222222-2200002222222200222222-2222222222222222222222", "0000011110222220022222-0001111111022000002222-0111111111022000000222-0111100111000000033323-0111000011000033333333-0111040011000033323333-0011000011113222233333-2001111111133222333333-2220111111332233333333-2222111113333333333000-2222222222333333330000-0222222223333333000000-0200333333333333000000-0033333333333222000500-0333333333333222200000-3333333333332222220000"); var course5 = new Array("0000000000000333333333-0000000000020033330333-0000222002220000000033-0000222222222220000003-0000222222200000040003-2220222222002222000033-2222222200022223333333-2222222202222033333333-2222222002222033333333-2222222022222003333333-2222000022222200111333-2200022222222200011111-2205000022222222000000-2200022000000000000000-2220222222222222222200-2222222222222222222220", "3333333333333333333333-3333333333333333330003-3333222333333333330503-3332200033333333330003-3332000333333333333333-3330003333333333333333-3333333333333333333333-3333333333333333333333-3333333333333333333333-3333333333333333333333-3333333333333333223033-3333333333333332220033-3000333333333332200033-3040333333333330000033-3000333333333333303333-3333333333333333333333", "2222222200033333333333-2222222200033333333333-2222222000003333333333-2200000000000333333333-2202220000000033333333-3002222000000033333333-3332000000500003333333-3330022220000000033333-3332222222200000003333-3300022222000000000033-0000002220022200000000-0000001120222200000000-1104011100020002200000-1100011111000222000000-1110001110000020022220-1100000000000000222222", "0000000000113333322222-0000000001133223332222-0004000001333332332222-0000001111323332231022-0000111333322333231002-0011133322332223331000-0113333332333323311000-0111323333223323110000-2221332233322333100000-2222133223322331100000-2222223222333311000000-2222223332233110000000-2222222233233100000000-2222222233333110005000-2222222333333110000000-2222222333331111100000", "2222233222222222200000-2222233332222110000033-0222233332221110040330-0022223333331122000320-0033333333331222233322-0003333322332222232222-2001112222233222332222-2000112222233322322222-2000111222232332322222-2200011022232233333222-2220000002232211123322-2220000000232000122333-2222050000131000022222-2222000001131111002222-2222000022332211000022-2222002222322222000022", "0000000111311110000000-0000001111311111000000-0000022222322222200000-1111222233332222220000-1112223331133322220020-2112223211111332221122-3333323220011133221122-2112333322501113333333-2112222332211133321122-1111222233333333321110-1211122222322112222100-2221112222322111220000-0000111222322211000000-0040011122322000000000-0000111112332220000000-0001111112232220000000", "0000000020000033333000-0050000000200333223300-2000000000033332200300-2200020020333322000300-3222003333333320003300-3333333333333300033200-3333333333333303330000-2333333333333333020000-0003333333322220000000-0023333333322000000000-0003333333322000000002-0003333333222000000002-0033333333200000400002-2333302333300000000022-3333000000333330002222-3320000000033330022222", "1333333333332000003000-1233333330200050003000-1133333320000000033000-1333333300000000330002-3333333332000333300022-3333333222000300302233-3333222222000322322230-1121122222002322322230-1111100222222333333330-1111000222222332222200-1400000233333322222000-1100000232000002220000-1110000332000000220000-1112203330000000220000-1222333220000000220000-2222322220000000200000", "2222222002222221110222-2222221110222221000022-2222233310222220005000-2223333110012210000000-2233333100011110000000-2333332221111110000000-2333322221111100000000-3333322221211200000022-3333322221222223000222-3311112211222223303222-1111100212222223333222-1100000112222233332222-0004000111033333332222-2000001110000333222222-2200011122210002222222-2222111222222102222222"); var course6 = new Array("2222222222220022200222-2210002222111020002222-2104000111111100022223-2100000011122200222333-1111221222222200222322-1113333222222100333322-1021333333321110300022-0221332222311112300000-2201132221321122322000-2200131111333333300002-2220330001111230000002-2200300022211133305012-2201312222211122300113-2111322222001102331133-1133322222200000131333-1333222222222011133333", "3110000002200011331000-3311000022200013311000-1331111222000113115000-1133331112001133100000-0111133311101331100000-0001113333111311002200-2001333113333312220222-2221311111111312222222-2111312222221311111111-1133312222221333333333-3331311202221111133111-3111331100222221331122-1121133104222211311222-2222113110022213312220-2200013311222113112200-2000011331000133100000", "2220000002220002222111-2220500122220022221111-2000001122200022211111-0000011002200022111112-2220000000000221111122-2222200000001211112221-1222211002221111112221-1121111112222111112211-1111111111222111112111-1111111111111111111111-1111111112211112210111-1122211112221122100011-1222211112111121040011-1222111122111121100011-1111111222122110000111-1111112211111111111111", "2222222222222222222222-2222001111101111110002-3333011122112222220402-2223312222211102220002-2221333322222212222222-2221122333332212222222-2220122222233212222222-2220012222223333322222-2222001111222212333333-2222222221011112222222-0022222222112201111022-0000000222122222222022-1000500000112222221122-1000000000012222201222-1111000000011111112222-1111100000111022222222", "0000111111133333322222-0000000011113333322222-0000000011113333222200-0000400011122233222200-0000000111222233222000-0000000122222333220000-2000000222223332220000-2200002222333322200000-2222222223333222000000-2222222233331111000000-3222222333311100000000-3333233333111000000000-3333333333110000050000-3333333333110000000000-3333333333111000000000-3333333333331100000000", "0000222222223221111111-0000002222223321100111-0000000222222330040110-3000050022222233000110-3300000222222223321200-3330000222222221333302-3330000222222221212333-3300000222222221101023-3300000022222211000000-3300000022221112000000-3300001222211122000000-3300011111111222200000-3000011111122222200000-0000022222222222220000-0000022222222222220000-0002222222222222220000", "1111111111111111111111-2211111111111111000111-2221112221111111040111-1122112222211111100111-1111110022221122211111-1111110002221122221111-1111111100221100222111-1111111111111100022111-1122222211111111002111-1112222221111122211111-1111100022111122221111-1111110002211100022111-1111110001221110002211-1111111111221111002211-1511111111111111111111-1111111111111111111111", "1113300222211003333333-1100330022111333333333-2040033000133333333330-2000003333333333333300-2200203332003333332200-2201003330033333222001-2002003233332233220010-0000033103322103201111-0020332033322003111100-0210333331330003111100-2203333300033333111000-2033333310003333110000-2033333333333333005000-0333320333333333300000-3332220333220333333000-3222103332201003333333", "3333222222222222220033-3332222222222222000003-3322222223332222200503-3022222333333222200000-0022220033333332200000-0002210000003332211100-0002211100000332211110-0000221210400332221121-0000221111000032221111-3000221121100002211211-3000011111112222211113-3300011122222222212113-3300002222222222211113-3330000222222221111213-3333000000001111111133-3333330000000211213333"); var course1Pars = new Array(3, 2, 3, 3, 3, 2, 3, 3, 3); var course2Pars = new Array(3, 3, 3, 1, 3, 3, 3, 2, 3); var course3Pars = new Array(4, 5, 4, 4, 4, 4, 3, 3, 3); var course4Pars = new Array(4, 3, 4, 4, 4, 5, 4, 6, 3); var course5Pars = new Array(4, 2, 4, 4, 5, 5, 3, 3, 4); var course6Pars = new Array(4, 5, 4, 7, 3, 5, 4, 5, 6); var scoreNames = new Array("Condor", "Albatross", "Eagle", "Birdie", "Par", "Bogey"); var par = undefined; var hole = 0; var th = 25; var tw = 25; var Lines = this.createEmptyMovieClip("lines", 600); var Paper = flash.display.BitmapData.loadBitmap("Paper"); var Blinder = this.createEmptyMovieClip("Blinder", -100); this.attachMovie("Tee", "tee", 599); tee._visible = false; this.Blinder.attachBitmap(Paper, -100); this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; var mousedown = false; var onscreen = true; var oldXY = new Array(_xmouse, _ymouse); var XYcounter = 0; var counterMax = 1; var score = 0; var treehit = false; var waterx = 0; var watery = 0; var waterhit = false; var tileDepth = 75; var tileActive = null; var oldTile = null; var drawing = false; var greetingsArray = new Array("Great Shot!", "Nice!", "Wow!", "Awesome!", "You Rock!"); var greeting = new String("Good Luck!"); var clearTiles = false; var customHole = ""; var playedCustom = false; var customMenu = false; var courseID = undefined; var rateCourse = false; if (song == undefined) { var song = new Sound(); song.attachSound("theWire"); song.start(0, 1000); }
Frame 6
stop();
Instance of Symbol 388 MovieClip "play1_id" in Frame 6
onClipEvent (load) { if (_root.customMenu) { this.gotoAndPlay(22); _root.customMenu = false; } }
Frame 7
stop();
Frame 8
stop();
Instance of Symbol 404 MovieClip "customFrame" in Frame 8
onClipEvent (load) { if (_root.playedCustom) { this.gotoAndPlay(28); _root.playedCustom = false; } }
Frame 9
stop(); var score1 = scores[0]; var score2 = scores[1]; var score3 = scores[2]; var score4 = scores[3]; var score5 = scores[4]; var score6 = scores[5]; var score7 = scores[6]; var score8 = scores[7]; var score9 = scores[8]; var scoreOut = ((((((((score1 + score2) + score3) + score4) + score5) + score6) + score7) + score8) + score9); var par1 = _root[course.toLowerCase() + "Pars"][0]; var par2 = _root[course.toLowerCase() + "Pars"][1]; var par3 = _root[course.toLowerCase() + "Pars"][2]; var par4 = _root[course.toLowerCase() + "Pars"][3]; var par5 = _root[course.toLowerCase() + "Pars"][4]; var par6 = _root[course.toLowerCase() + "Pars"][5]; var par7 = _root[course.toLowerCase() + "Pars"][6]; var par8 = _root[course.toLowerCase() + "Pars"][7]; var par9 = _root[course.toLowerCase() + "Pars"][8]; par = _root[course.toLowerCase() + "Pars"][hole]; trace(par); var parOut = ((((((((par1 + par2) + par3) + par4) + par5) + par6) + par7) + par8) + par9);
Frame 10
stop(); trace("course: " + course); if (course == "COURSE1") { var hole2 = stringToArray(course1[hole - 1]); } else if (course == "COURSE2") { var hole2 = stringToArray(course2[hole - 1]); } else if (course == "COURSE3") { var hole2 = stringToArray(course3[hole - 1]); } else if (course == "COURSE4") { var hole2 = stringToArray(course4[hole - 1]); } else if (course == "COURSE5") { var hole2 = stringToArray(course5[hole - 1]); } else if (course == "COURSE6") { var hole2 = stringToArray(course6[hole - 1]); } buildMap(hole2); this.onEnterFrame = function () { if (XYcounter >= counterMax) { XYcounter = 0; if ((tileActive._currentframe != 3) && (tileActive._currentframe != 4)) { oldXY[1] = tileActive._x + (tw / 2); oldXY[2] = tileActive._y + (th / 2); } } if (onscreen == false) { if (mousedown == true) { mousedown = false; trace("4score++"); score++; greeting = "Off The Screen"; } this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; Mouse.show(); } if (treehit == true) { if (mousedown == true) { mousedown = false; trace("5score++"); score++; if (score > 18) { greeting = "+" + Number(score - par).toString(); this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; } else { greeting = "In The Trees - 1 stroke pen."; } } mousedown = false; this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; Mouse.show(); } if ((((_xmouse < 550) && (_xmouse > 0)) && (_ymouse > 0)) && (_ymouse < 400)) { onscreen = true; } else { onscreen = false; } XYcounter++; this.lines.lineStyle(3, 99, 100); if (mousedown == true) { this.lines.lineTo(_xmouse, _ymouse); with (tee) { _x = oldXY[1]; _y = oldXY[2]; } } for (i in _root) { if (_root[i]._name.indexOf("t_") == 0) { if (_root[i].activeTile) { switch (_root[i]._currentframe) { case 4 : if (waterhit == false) { waterx = oldXY[1]; watery = oldXY[2]; waterhit = true; } break; case 3 : if (oldTile._currentframe != 4) { tee._x = _root.oldTile._x + (th / 2); tee._y = _root.oldTile._y + (th / 2); } else { tee._x = waterx; tee._y = watery; } treehit = true; break; default : treehit = false; waterhit = false; } } } } greeting = greeting; }; onMouseDown = function () { oldXY[1] = tileActive._x + (tw / 2); oldXY[2] = tileActive._y + (th / 2); waterhit = false; treehit = false; if (_root.tee.hitTest(_xmouse, _ymouse, true)) { this.lines.moveTo(tee._x, tee._y); if (score == 0) { var _local3 = new Sound(); _local3.attachSound("whack"); _local3.start(); } trace("1score++"); score++; mousedown = true; tee._visible = true; Blinder.swapDepths(this.getNextHighestDepth()); Blinder._alpha = 100; Mouse.hide(); } }; onMouseUp = function () { var _local4 = false; if (mousedown) { lines.lineTo(oldXY[1], oldXY[2]); } for (i in _root) { if (_root[i].activeTile && (!_local4)) { _local4 = true; switch (_root[i]._currentframe) { case 1 : if (score > 18) { greeting = "+" + Number(score - par).toString(); this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; } else { greeting = greetingsArray[random(greetingsArray.length)]; } break; case 2 : if (score > 18) { greeting = "+" + Number(score - par).toString(); this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; } else { trace("2score++"); score++; greeting = "In The Sand - 1 stroke pen."; } break; case 3 : break; case 4 : if (score > 18) { greeting = "+" + Number(score - par).toString(); this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; } else { trace("3score++"); score++; _root.tee._x = waterx; _root.tee._y = watery; greeting = "In The Water - 1 stroke pen."; } break; case 5 : var _local3 = new Sound(); _local3.attachSound("inCup"); _local3.start(); if ((score - par) < -4) { greeting = Math.abs(score - par) + " under Par"; } else if ((score - par) < 2) { greeting = scoreNames[(score - par) + 4]; } else { greeting = "+" + Number(score - par).toString(); } this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; break; case 6 : } } } mousedown = false; waterhit = false; treehit = false; this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; Mouse.show(); };
Frame 11
buildMap(stringToArray(customHole)); this.onEnterFrame = function () { if (XYcounter >= counterMax) { XYcounter = 0; if ((tileActive._currentframe != 3) && (tileActive._currentframe != 4)) { oldXY[1] = tileActive._x + (tw / 2); oldXY[2] = tileActive._y + (th / 2); } } if (onscreen == false) { if (mousedown == true) { mousedown = false; score++; greeting = "Off The Screen"; } this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; Mouse.show(); } if (treehit == true) { if (mousedown == true) { mousedown = false; score++; greeting = "In The Trees"; } mousedown = false; this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; Mouse.show(); } if ((((_xmouse < 550) && (_xmouse > 0)) && (_ymouse > 0)) && (_ymouse < 400)) { onscreen = true; } else { onscreen = false; } XYcounter++; this.lines.lineStyle(3, 99, 100); if (mousedown == true) { this.lines.lineTo(_xmouse, _ymouse); with (tee) { _x = oldXY[1]; _y = oldXY[2]; } } for (i in _root) { if (_root[i]._name.indexOf("t_") == 0) { if (_root[i].activeTile) { switch (_root[i]._currentframe) { case 4 : if (waterhit == false) { waterx = oldXY[1]; watery = oldXY[2]; waterhit = true; } break; case 3 : if (oldTile._currentframe != 4) { tee._x = _root.oldTile._x + (th / 2); tee._y = _root.oldTile._y + (th / 2); } else { tee._x = waterx; tee._y = watery; } treehit = true; break; default : treehit = false; waterhit = false; } } } } greeting = greeting; }; onMouseDown = function () { _root.scorebox.text = "Score: " + score; oldXY[1] = tileActive._x + (tw / 2); oldXY[2] = tileActive._y + (th / 2); waterhit = false; treehit = false; if (_root.tee.hitTest(_xmouse, _ymouse, true)) { this.lines.moveTo(tee._x, tee._y); score++; mousedown = true; tee._visible = true; Blinder.swapDepths(this.getNextHighestDepth()); Blinder._alpha = 100; Mouse.hide(); } }; onMouseUp = function () { this.lines.lineTo(oldXY[1], oldXY[2]); for (i in _root) { if (_root[i].activeTile) { switch (_root[i]._currentframe) { case 1 : if (score > 18) { greeting = "Your Score Was " + score; this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; } else { greeting = greetingsArray[random(greetingsArray.length)]; } break; case 2 : if (score > 18) { greeting = "Your Score Was " + score; this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; } else { score++; greeting = "In The Sand"; } break; case 3 : break; case 4 : if (score > 18) { greeting = "Your Score Was " + score; this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; } else { score++; _root.tee._x = waterx; _root.tee._y = watery; greeting = "In The Water"; } break; case 5 : greeting = "Your Score Was " + score; this.continueButton.play(); scores[hole - 1] = score; delete this.enterFrame; delete this.onMouseDown; delete this.onMouseUp; break; case 6 : } } } mousedown = false; waterhit = false; treehit = false; this.Blinder.swapDepths(-100); this.Blinder._alpha = 0; Mouse.show(); };
Frame 12
stop(); selectedTile = 0; map = new Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); createEmptyMovieClip("TileHold", 2); TileHold.fadeOut = false; TileHold.onEnterFrame = function () { if (this.fadeOut) { this._alpha = this._alpha - 7; if (this._alpha < 0) { this.removeMovieClip(); } } }; var alert = false; var numHoles = 0; var numTees = 0; var mousedown = false; onMouseDown = function () { mousedown = true; }; onMouseUp = function () { mousedown = false; }; z = 0; while (z < map.length) { j = 0; while (j < map[0].length) { TileHold.attachMovie("Tile2", (("t_" + z) + "_") + j, (z * 1000) + (j * 2)); TileHold[(("t_" + z) + "_") + j].gotoAndStop(map[z][j] + 1); TileHold[(("t_" + z) + "_") + j]._x = (j * (tw - 5)) + 25; TileHold[(("t_" + z) + "_") + j]._y = (z * (th - 5)) + 25; TileHold[(("t_" + z) + "_") + j]._width = tw - 5; TileHold[(("t_" + z) + "_") + j]._height = th - 5; TileHold[(("t_" + z) + "_") + j]._alpha = 0; j++; } z++; } _root.mapString = "";
Frame 13
stop();
Frame 14
stop(); var score1 = scores[0]; var score2 = scores[1]; var score3 = scores[2]; var score4 = scores[3]; var score5 = scores[4]; var score6 = scores[5]; var score7 = scores[6]; var score8 = scores[7]; var score9 = scores[8]; var scoreOut = ((((((((score1 + score2) + score3) + score4) + score5) + score6) + score7) + score8) + score9);
Symbol 539 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.32"); } 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 ((args.options != null) && (args.options.onError != null)) { args.options.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 540 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.5"); } static function showPreGameAd(options) { var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }, ad_progress:function (percent) { }}; options = _parseOptions(options, _local26); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local22 = 11000; var _local25 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4); if (options.no_progress_bar) { _local6._visible = false; delete options.no_progress_bar; } else { _local6._x = 10; _local6._y = _local13 - 20; } var _local21 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local23 = options.outline; delete options.outline; var _local5 = _local6.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _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 = _local6.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local21); _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 = _local6.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local23, 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 = _local22; chk.ad_timeout = _local25; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; 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; } }; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; var sendHostProgress = false; mc.lc.sendHostLoadProgress = function (lc_name) { sendHostProgress = true; }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local11 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local2 = (100 * _local8) / _local4; var _local10 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local13 = Math.min(100, Math.min(_local2 || 0, _local10)); _local13 = Math.max(this.last_pcnt, _local13); this.last_pcnt = _local13; _local9._xscale = _local13; options.ad_progress(_local13); if (sendHostProgress) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2}); if (_local2 == 100) { sendHostProgress = false; } } if (!chk.showing) { var _local7 = _local11.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) { options.ad_failed(); _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 showClickAwayAd(options) { var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () { }, ad_finished:function () { }, ad_loaded:function (width, height) { }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function () { }}; options = _parseOptions(options, _local9); var clip = options.clip; var _local8 = options.ad_timeout; delete options.ad_timeout; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local4 = _getRes(options); var _local10 = _local4[0]; var _local7 = _local4[1]; mc._x = _local10 * 0.5; mc._y = _local7 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_timeout = _local8; chk.started = getTimer(); chk.showing = false; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; var _local20 = false; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; 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")) { _local2 = true; chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local2) { delete this.onEnterFrame; } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; 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; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; 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) { options.ad_failed(); _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 showPreloaderAd(options) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); showPreGameAd(options); } static function showTimedAd(options) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); showInterLevelAd(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 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); } if (clip._mochiad._containerLCName != undefined) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"}); } 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); } static function rpc(clip, callbackID, arg) { switch (arg.id) { case "setValue" : setValue(clip, arg.objectName, arg.value); break; case "getValue" : var _local4 = getValue(clip, arg.objectName); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4); break; case "runMethod" : var _local3 = runMethod(clip, arg.method, arg.args); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3); break; default : trace("[mochiads rpc] unknown rpc id: " + arg.id); } } static function setValue(base, objectName, value) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } base[_local2[_local1]] = value; } static function getValue(base, objectName) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } return(base[_local2[_local1]]); } static function runMethod(base, methodName, argsArray) { var _local2 = methodName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } if (typeof(base[_local2[_local1]]) == "function") { return(base[_local2[_local1]].apply(base, argsArray)); } return(undefined); } }
Symbol 541 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.__get__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.__get__clip().stop(); } if (options.onClose != null) { onClose = options.onClose; } else { onClose = function () { mochi.MochiServices.__get__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 542 MovieClip [__Packages.mx.accessibility.AccImpl] Frame 0
class mx.accessibility.AccImpl extends Object { var master, stub, ROLE; function AccImpl (m) { super(); master = m; stub = false; } function get_accRole(childId) { return(ROLE); } var STATE_SYSTEM_NORMAL = 0; }
Symbol 46 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 _local3 = __width; var _local2 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2}); } } 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 = mx.core.UIObject(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.2.126"; 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 166 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 167 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 169 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 168 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 47 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.2.126"; 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 48 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 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.2.126"; var className = "View"; static var childNameBase = "_child"; var hasBeenLayedOut = false; var _loadExternalClass = "UIComponent"; }
Symbol 170 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 171 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.2.126"; var className = "RectBorder"; var borderStyleName = "borderStyle"; var borderColorName = "borderColor"; var shadowColorName = "shadowColor"; var highlightColorName = "highlightColor"; var buttonColorName = "buttonColor"; var backgroundColorName = "backgroundColor"; }
Symbol 172 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 _local5 = "down"; if (depthFlag == kBottom) { _local5 = "up"; } var _local6; if (_local3[_local2] != undefined) { _local6 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local5); } var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj); if (_local6 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local6, _local3, _local5); } 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 _local5 = "down"; if (depthFlag == kBottom) { _local5 = "up"; } var _local6; if (_local3[_local2] != undefined) { _local6 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local5); } var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj); if (_local6 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local6, _local3, _local5); } 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(MovieClip(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 _local1 = targetDepth; var _local2 = targetDepth; if (direction == "down") { while (depthTable[_local2] != undefined) { _local2--; } return(_local2); } while (depthTable[_local1] != undefined) { _local1++; } return(_local1); } 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 175 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 _local8 = false; 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; } } _local8 = true; } if (_local8) { 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 173 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, load:1}; }
Symbol 174 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 49 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 _local4 = Math.ceil((((__width - _local3.left) - _local3.right) - widthPadding) / colWidth); if ((__hScrollPolicy == "on") || ((_local4 < colCount) && (__hScrollPolicy == "auto"))) { if ((hScroller == undefined) || (specialHScrollCase)) { delete specialHScrollCase; hScroller = mx.controls.scrollClasses.ScrollBar(createObject("HScrollBar", "hSB", 1001)); hScroller.__set__lineScrollSize(20); hScroller.scrollHandler = scrollProxy; hScroller.__set__scrollPosition(__hPosition); scrollAreaChanged = true; } if ((((numberOfCols != colCount) || (columnWidth != colWidth)) || (viewableColumns != _local4)) || (scrollAreaChanged)) { hScroller.setScrollProperties(_local4, 0, colCount - _local4); viewableColumns = _local4; numberOfCols = colCount; columnWidth = colWidth; } } else if (((__hScrollPolicy == "auto") || (__hScrollPolicy == "off")) && (hScroller != undefined)) { hScroller.removeMovieClip(); delete hScroller; scrollAreaChanged = true; } if (heightPadding == undefined) { heightPadding = 0; } var _local5 = Math.ceil((((__height - _local3.top) - _local3.bottom) - heightPadding) / rwHeight); var _local8 = (((__height - _local3.top) - _local3.bottom) % rwHeight) != 0; if ((__vScrollPolicy == "on") || ((_local5 < (rwCount + _local8)) && (__vScrollPolicy == "auto"))) { if (vScroller == undefined) { vScroller = mx.controls.scrollClasses.ScrollBar(createObject("VScrollBar", "vSB", 1002)); vScroller.scrollHandler = scrollProxy; vScroller.__set__scrollPosition(__vPosition); scrollAreaChanged = true; rowH = 0; } if ((((rowC != rwCount) || (rowH != rwHeight)) || ((viewableRows + _local8) != (_local5 + oldRndUp))) || (scrollAreaChanged)) { vScroller.setScrollProperties(_local5, 0, (rwCount - _local5) + _local8); viewableRows = _local5; 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 = mx.controls.scrollClasses.ScrollBar(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"; } this[_local5] = _local2; dispatchEvent({type:"scroll", direction:_local4, position:_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.2.126"; 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 179 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 176 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.2.126"; 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 177 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 178 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.2.126"; 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 197 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 _local3 = function (Void) { return(this["get" + p]()); }; if (setter) { _local2 = function (val) { this["set" + p](val); }; } obj.addProperty(propName, _local3, _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 198 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 199 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 200 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(MovieClip(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(MovieClip(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.2.126"; var clipParameters = {rowHeight:1, enabled:1, visible:1, labels:1}; var scrollDepth = 1; var __vScrollPolicy = "on"; var autoHScrollAble = false; }
Symbol 201 MovieClip [__Packages.mx.controls.DataGrid] Frame 0
class mx.controls.DataGrid extends mx.controls.List { var invInitHeaders, columns, __rowCount, invDrawCols, invalidate, getViewMetrics, setSize, __width, __rowHeight, invCheckCols, enabled, cellEditor, __dataProvider, __vPosition, rows, getStateAt, __hScrollPolicy, __maxHPosition, roundUp, getRowCount, setScrollProperties, oldVWidth, invLayoutContent, border_mc, __height, setMaxHPosition, setHPosition, getMaxHPosition, getHPosition, oldWidth, displayWidth, numberOfCols, invRowHeight, invSpaceColsEqually, invColChange, updateControl, totalWidth, lines_mc, listContent, __get__height, getStyle, headerCells, header_mc, dispatchEvent, __viewMetrics, sortArrow, sortIndex, layoutX, sortDirection, owner, column, _alpha, cell, asc, col, oldX, onRollOut, __focusedCell, __hPosition, editorMask, editTween, getFocusManager, __tabHandlerCache, vScroller, hScroller, dontEdit, listOwner, activeGrid, getLength, releaseFocus; function DataGrid () { super(); } function init() { super.init(); invInitHeaders = true; columns = new Array(); } function layoutContent(x, y, tW, tH, dW, dH) { var _local3 = __rowCount; if (__showHeaders) { y = y + __headerHeight; dH = dH - __headerHeight; } super.layoutContent(x, y, tW, tH, dW, dH); if (tW != totColW) { drawHeaderBG(); } if (__rowCount > _local3) { invDrawCols = true; invalidate(); } } function setRowCount(rC) { if (isNaN(rC)) { return(undefined); } var _local2 = getViewMetrics(); setSize(__width, (((__rowHeight * rC) + _local2.top) + _local2.bottom) + (__headerHeight * __showHeaders)); } function setRowHeight(rH) { __rowHeight = rH; if (hasDrawn) { super.setRowHeight(rH); } } function setHScrollPolicy(policy) { super.setHScrollPolicy(policy); invCheckCols = true; invalidate(); } function setEnabled(v) { if (v == enabled) { return(undefined); } super.setEnabled(v); if (__showHeaders) { enableHeader(v); } if (cellEditor._visible == true) { disposeEditor(); } invDrawCols = true; invalidate(); } function modelChanged(eventObj) { if (eventObj.eventName == "updateField") { var _local3 = eventObj.firstItem; var _local5 = __dataProvider.getItemAt(_local3); rows[_local3 - __vPosition].drawRow(_local5, getStateAt(_local3)); return(undefined); } if (eventObj.eventName == "schemaLoaded") { removeAllColumns(); } if (columns.length == 0) { generateCols(); } super.modelChanged(eventObj); } function configureScrolling(Void) { var _local3 = getViewMetrics(); var _local4 = ((__hScrollPolicy != "off") ? (((__maxHPosition + __width) - _local3.left) - _local3.right) : ((__width - _local3.left) - _local3.right)); var _local2 = __dataProvider.length; if (_local2 == undefined) { _local2 = 0; } if (__vPosition > Math.max(0, (_local2 - getRowCount()) + roundUp)) { setVPosition(Math.max(0, Math.min((_local2 - getRowCount()) + roundUp, __vPosition))); } setScrollProperties(_local4, 1, _local2, __rowHeight, __headerHeight * __showHeaders); if (oldVWidth != _local4) { invLayoutContent = true; } oldVWidth = _local4; } function setVPosition(pos) { if (cellEditor != undefined) { disposeEditor(); } super.setVPosition(pos); } function size(Void) { if (hasDrawn != true) { border_mc.setSize(__width, __height); return(undefined); } if (cellEditor != undefined) { disposeEditor(); } if (__hScrollPolicy != "off") { var _local5 = 0; var _local6 = columns.length; var _local3 = 0; while (_local3 < _local6) { _local5 = _local5 + columns[_local3].__width; _local3++; } var _local8 = getViewMetrics(); var _local9 = (__width - _local8.left) - _local8.right; setMaxHPosition(Math.max(_local5 - _local9, 0)); var _local7 = _local9 - _local5; if (_local7 > 0) { columns[_local6 - 1].__width = columns[_local6 - 1].__width + _local7; } setHPosition(Math.min(getMaxHPosition(), getHPosition())); } super.size(); if (__hScrollPolicy == "off") { var _local10 = new Array(); var _local6 = columns.length; if (oldWidth == undefined) { oldWidth = displayWidth; } var _local4 = 0; var _local3 = 0; while (_local3 < _local6) { _local4 = _local4 + ((columns[_local3].__width = (displayWidth * columns[_local3].__width) / oldWidth)); _local3++; } if (_local4 != displayWidth) { columns[columns.length - 1].__width = columns[columns.length - 1].__width + (displayWidth - _local4); } totColW = (numberOfCols = displayWidth); } oldWidth = displayWidth; drawColumns(); drawHeaderBG(); invalidate(); } function draw() { if (invRowHeight) { super.draw(); invInitHeaders = true; invDrawCols = true; delete cellEditor; } if (invInitHeaders) { initHeaders(); invLayoutContent = true; } super.draw(); if (invSpaceColsEqually) { delete invSpaceColsEqually; spaceColumnsEqually(); } if (invColChange) { delete invColChange; if (hasDrawn) { initHeaders(); initRows(); invDrawCols = true; updateControl(); invCheckCols = true; } } if (invCheckCols) { if (totColW != displayWidth) { resizeColumn(columns.length - 1, columns[columns.length - 1].__width); } delete invCheckCols; } if (invDrawCols) { drawColumns(); } hasDrawn = true; } function editField(index, colName, data) { __dataProvider.editField(index, colName, data); } function get columnNames() { return(getColumnNames()); } function set columnNames(w) { setColumnNames(w); //return(columnNames); } function setColumnNames(tmpArray) { var _local2 = 0; while (_local2 < tmpArray.length) { addColumn(tmpArray[_local2]); _local2++; } } function getColumnNames(Void) { var _local3 = new Array(); var _local2 = 0; while (_local2 < columns.length) { _local3[_local2] = columns[_local2].columnName; _local2++; } return(_local3); } function addColumnAt(index, newCol) { if (index < columns.length) { columns.splice(index, 0, "tmp"); } var _local4 = newCol; if (!(_local4 instanceof mx.controls.gridclasses.DataGridColumn)) { _local4 = new mx.controls.gridclasses.DataGridColumn(_local4); } columns[index] = _local4; _local4.colNum = index; var _local2 = index + 1; while (_local2 < columns.length) { columns[_local2].colNum++; _local2++; } _local4.parentGrid = this; totColW = totColW + _local4.width; invColChange = true; invalidate(); return(newCol); } function addColumn(newCol) { return(addColumnAt(columns.length, newCol)); } function removeColumnAt(index) { var _local4 = columns[index]; columns.splice(index, 1); totColW = totColW - _local4.width; var _local2 = index; while (_local2 < columns.length) { columns[_local2].colNum--; _local2++; } invColChange = true; invalidate(); return(_local4); } function removeAllColumns(Void) { totColW = 0; columns = new Array(); invColChange = true; invalidate(); } function getColumnAt(index) { return(columns[index]); } function getColumnIndex(name) { var _local2 = 0; while (_local2 < columns.length) { if (columns[_local2].columnName == name) { return(_local2); } _local2++; } } function get columnCount() { return(columns.length); } function spaceColumnsEqually(Void) { if (displayWidth == undefined) { var _local4 = getViewMetrics(); displayWidth = (__width - _local4.left) - _local4.right; } var _local3 = Math.ceil(totalWidth / columns.length); var _local2 = 0; while (_local2 < columns.length) { columns[_local2].__width = _local3; _local2++; } totColW = totalWidth; invDrawCols = true; invalidate(); } function generateCols(Void) { if (columns.length == 0) { var _local3 = __dataProvider.getColumnNames(); if (_local3 == undefined) { var _local4 = __dataProvider.getItemAt(0); for (var _local2 in _local4) { if (_local2 != "__ID__") { addColumn(_local2); } } } else { var _local2 = 0; while (_local2 < _local3.length) { addColumn(_local3[_local2]); _local2++; } } invSpaceColsEqually = true; invColChange = true; invCheckCols = true; invalidate(); } } function resizeColumn(col, w) { if ((__hScrollPolicy == "on") || (__hScrollPolicy == "auto")) { columns[col].__width = w; var _local11 = 0; var _local5 = columns.length; var _local2 = 0; while (_local2 < _local5) { _local11 = _local11 + columns[_local2].__width; _local2++; } setMaxHPosition(Math.max(_local11 - displayWidth, 0)); var _local12 = displayWidth - _local11; if (_local12 > 0) { columns[_local5 - 1].__width = columns[_local5 - 1].__width + _local12; } setHPosition(Math.min(getMaxHPosition(), getHPosition())); invDrawCols = true; invalidate(); return(undefined); } var _local10 = 0; var _local2 = 0; while (_local2 < col) { _local10 = _local10 + columns[_local2].__width; _local2++; } var _local8 = ((displayWidth + 2) - _local10) - columns[col].__width; var _local6 = ((displayWidth + 2) - _local10) - w; columns[col].__width = w; var _local5 = columns.length; _local2 = col + 1; while (_local2 < _local5) { if (!columns[_local2].resizable) { _local6 = _local6 - columns[_local2].__width; _local8 = _local8 - columns[_local2].__width; } _local2++; } var _local9 = 0; _local2 = col + 1; while (_local2 < _local5) { if (columns[_local2].resizable) { columns[_local2].__width = (columns[_local2].width * _local6) / _local8; _local9 = _local9 + columns[_local2].__width; } _local2++; } var _local3 = 0; var _local7 = false; _local2 = _local5 - 1; while (_local2 >= 0) { if (columns[_local2].resizable) { if (!_local7) { columns[_local2].__width = columns[_local2].__width + (_local6 - _local9); _local7 = true; } if (_local3 > 0) { columns[_local2].__width = columns[_local2].__width - _local3; _local3 = 0; } if (columns[_local2].__width < minColWidth) { _local3 = _local3 + (minColWidth - columns[_local2].__width); columns[_local2].__width = minColWidth; } } _local2--; } invDrawCols = true; invalidate(); } function drawColumns(Void) { delete invDrawCols; var _local4 = (lines_mc = listContent.createEmptyMovieClip("lines_mc", LINEDEPTH)); var _local9 = 0.75; var _local5 = 1; var _local15 = __get__height() - 1; var _local12 = getStyle("vGridLineColor"); var _local14 = columns.length; placeSortArrow(); var _local7 = 0; while (_local7 < _local14) { var _local6 = columns[_local7]; var _local13 = (enabled ? "backgroundColor" : "backgroundDisabledColor"); var _local10 = _local6.getStyle(_local13); _local9 = _local9 + _local6.__width; _local4.moveTo(_local5, 1); _local4.lineStyle(0, _local12, 0); var _local11 = Math.floor(_local9); _local4.lineTo(_local11, 1); if ((_local7 < (columns.length - 1)) && (getStyle("vGridLines"))) { _local4.lineStyle(0, _local12, 100); } _local4.lineTo(_local11, __get__height()); _local4.lineStyle(0, _local12, 0); _local4.lineTo(_local5, __get__height()); _local4.lineTo(_local5, 1); if (__showHeaders) { var _local3 = headerCells[_local7]; _local3._x = _local5 + 2; _local3.hO._x = _local5; _local3.setSize(_local6.__width - 5, Math.min(__headerHeight, _local3.getPreferredHeight())); _local3.hO._width = _local6.__width - 2; _local3.hO._height = __headerHeight; _local3._y = (__headerHeight - _local3._height) / 2; header_mc["sep" + _local7]._x = _local9 - 2; listContent.disableHeader._width = totalWidth; } var _local2 = 0; while (_local2 < __rowCount) { if (_local7 == 0) { rows[_local2].colBG.clear(); } var _local8 = _local6.__width; rows[_local2].drawCell(_local7, _local5, _local8, _local10); _local2++; } _local5 = _local9; _local7++; } if (getStyle("hGridLines")) { lines_mc.lineStyle(0, getStyle("hGridLineColor")); _local7 = 1; while (_local7 < __rowCount) { lines_mc.moveTo(4, rows[_local7]._y); lines_mc.lineTo(totalWidth, rows[_local7]._y); _local7++; } } } function initRows(Void) { var _local2 = 0; while (_local2 < __rowCount) { rows[_local2].createCells(); _local2++; } } function onRowPress(rowIndex) { super.onRowPress(rowIndex); if (!enabled) { return(undefined); } var _local11 = columns.length; var _local6 = rows[rowIndex]; var _local3 = 0; while (_local3 < _local11) { var _local5 = columns[_local3]; var _local4 = _local6._xmouse - _local6.cells[_local3]._x; if ((_local4 >= 0) && (_local4 < _local5.__width)) { dispatchEvent({type:"cellPress", columnIndex:_local3, view:this, itemIndex:rowIndex + __vPosition}); return(undefined); } _local3++; } } function get showHeaders() { return(getShowHeaders()); } function set showHeaders(w) { setShowHeaders(w); //return(showHeaders); } function setShowHeaders(b) { __showHeaders = b; invInitHeaders = true; invDrawCols = true; invalidate(); } function getShowHeaders() { return(__showHeaders); } function get headerHeight() { return(getHeaderHeight()); } function set headerHeight(w) { setHeaderHeight(w); //return(headerHeight); } function setHeaderHeight(h) { __headerHeight = h; invInitHeaders = true; invDrawCols = true; invalidate(); } function getHeaderHeight(Void) { return(__headerHeight); } function initHeaders(Void) { delete invInitHeaders; if (__showHeaders) { header_mc = listContent.createClassObject(mx.core.UIObject, "header_mc", HEADERDEPTH, {styleName:this}); headerCells = new Array(); var _local2 = 0; while (_local2 < columns.length) { var _local6 = columns[_local2]; var _local4; var _local7 = _local6.__headerRenderer; if (_local7 == undefined) { _local4 = (headerCells[_local2] = header_mc.createLabel("fHeaderCell" + _local2, HEADERCELLDEPTH + _local2)); _local4.selectable = false; _local4.setStyle("styleName", _local6); } else if (typeof(_local7) == "string") { _local4 = (headerCells[_local2] = header_mc.createObject(_local7, "fHeaderCell" + _local2, HEADERCELLDEPTH + _local2, {styleName:_local6})); } else { _local4 = (headerCells[_local2] = header_mc.createClassObject(_local7, "fHeaderCell" + _local2, HEADERCELLDEPTH + _local2, {styleName:_local6})); } _local4.setValue(_local6.__get__headerText()); _local6.headerCell = _local4; var _local3 = header_mc.attachMovie("DataHeaderOverlay", "hO" + _local2, HEADEROVERLAYDEPTH + _local2); _local4.hO = _local3; _local3.cell = _local4; _local4.column = (_local3.column = _local6); _local4.asc = (_local3.asc = false); _local4.owner = (_local3.owner = this); _local3._alpha = 0; if (_local3.column.sortable && (_local3.onPress == undefined)) { _local3.useHandCursor = false; _local3.onRollOver = headerRollOver; _local3.onRollOut = headerRollOut; _local3.onPress = headerPress; _local3.onRelease = headerRelease; _local3.onReleaseOutside = headerUp; _local3.headerUp = headerUp; } if (_local2 < (columns.length - 1)) { var _local5 = header_mc.attachMovie("DataHeaderSeperator", "sep" + _local2, SEPARATORDEPTH + _local2); _local5._height = __headerHeight; if (_local6.resizable && (resizableColumns)) { _local5.useHandCursor = false; _local5.col = _local2; _local5.owner = this; _local5.onRollOver = showStretcher; _local5.onPress = startSizing; _local5.onRelease = (_local5.onReleaseOutside = stopSizing); _local5.onRollOut = hideStretcher; } } _local2++; } drawHeaderBG(); } else { header_mc.removeMovieClip(); } } function invalidateHeaderStyle(Void) { var _local4 = columns.length; var _local3 = 0; while (_local3 < _local4) { var _local2 = headerCells[_local3]; if (_local2.stylecache != undefined) { delete _local2.stylecache.tf; } delete _local2.enabledColor; _local2.invalidateStyle(); _local2.draw(); _local3++; } } function drawHeaderBG(Void) { var _local2 = header_mc; _local2.clear(); var _local5 = getStyle("headerColor"); var _local3 = __viewMetrics; var _local4 = Math.max(totalWidth, displayWidth + 3); _local2.moveTo(_local3.left, _local3.top); var _local7 = {matrixType:"box", x:0, y:0, w:_local4, h:__headerHeight + 1, r:(Math.PI/2)}; var _local8 = [_local5, _local5, 16777215]; var _local9 = [0, 60, 255]; var _local6 = [100, 100, 100]; _local2.beginGradientFill("linear", _local8, _local6, _local9, _local7); _local2.lineStyle(0, 0, 0); _local2.lineTo(_local4, _local3.top); _local2.lineTo(_local4, __headerHeight + 1); _local2.lineStyle(0, 0, 100); _local2.lineTo(_local3.left, __headerHeight + 1); _local2.lineStyle(0, 0, 0); _local2.endFill(); } function enableHeader(v) { if (v) { listContent.disableHeader.removeMovieClip(); } else { var _local2 = listContent.attachMovie("DataHeaderOverlay", "disableHeader", DISABLEDHEADERDEPTH); _local2._width = totalWidth; _local2._height = __headerHeight; var _local3 = new Color(_local2); _local3.setRGB(getStyle("backgroundDisabledColor")); _local2._alpha = 60; } } function placeSortArrow(Void) { sortArrow.removeMovieClip(); if (sortIndex == undefined) { return(undefined); } if ((columns[sortIndex].__width - headerCells[sortIndex].getPreferredWidth()) <= 20) { return(undefined); } sortArrow = header_mc.createObject("DataSortArrow", "sortArrow", SORTARROWDEPTH); var _local3 = layoutX; var _local2 = 0; while (_local2 <= sortIndex) { _local3 = _local3 + columns[_local2].__width; _local2++; } var _local4 = sortDirection == "ASC"; sortArrow._yscale = (_local4 ? -100 : 100); sortArrow._x = (_local3 - sortArrow._width) - 8; sortArrow._y = ((__headerHeight - sortArrow._height) / 2) + (_local4 * sortArrow._height); } function headerRollOver(Void) { var _local2 = owner; if ((((!_local2.enabled) || (_local2.cellEditor != undefined)) || (!_local2.sortableColumns)) || (!column.sortable)) { return(undefined); } var _local3 = new Color(this); _local3.setRGB(_local2.getStyle("rollOverColor")); _alpha = 50; } function headerRollOut(Void) { _alpha = 0; } function headerPress(Void) { var _local2 = owner; if (((!column.sortable) || (!_local2.sortableColumns)) || (!_local2.enabled)) { return(undefined); } cell._x = cell._x + 1; cell._y = cell._y + 1; var _local3 = new Color(this); _local3.setRGB(_local2.getStyle("selectionColor")); _alpha = 100; } function headerUp(Void) { if (((!column.sortable) || (!owner.sortableColumns)) || (!owner.enabled)) { return(undefined); } _alpha = 0; cell._x = cell._x - 1; cell._y = cell._y - 1; } function headerRelease(Void) { var _local2 = owner; var _local3 = column; if (((!_local3.sortable) || (!_local2.sortableColumns)) || (!_local2.enabled)) { return(undefined); } headerUp(); asc = !asc; var _local4 = (asc ? "ASC" : "DESC"); _local2.sortIndex = _local2.getColumnIndex(_local3.columnName); _local2.sortDirection = _local4; _local2.placeSortArrow(); if (_local3.sortOnHeaderRelease) { _local2.sortItemsBy(_local3.columnName, _local4); } _local2.dispatchEvent({type:"headerRelease", view:_local2, columnIndex:_local2.getColumnIndex(_local3.columnName)}); _local2.dontEdit = true; } function isStretchable(col) { var _local2 = true; if (!resizableColumns) { _local2 = false; } else if (!columns[col].resizable) { _local2 = false; } else if ((col == (columns.length - 2)) && (!columns[col + 1].resizable)) { _local2 = false; } return(_local2); } function showStretcher(Void) { var _local2 = owner; if (((!_local2.isStretchable(col)) || (!_local2.enabled)) || (_local2.cellEditor != undefined)) { return(undefined); } Mouse.hide(); if (_local2.stretcher == undefined) { _local2.attachMovie("cursorStretch", "stretcher", _local2.STRETCHERDEPTH); } _local2.stretcher._x = _local2._xmouse; _local2.stretcher._y = _local2._ymouse; _local2.stretcher._visible = true; _local2.onMouseMove = function () { this.stretcher._x = this._xmouse; this.stretcher._y = this._ymouse; updateAfterEvent(); }; } function startSizing(Void) { var _local2 = owner; if ((!_local2.isStretchable(col)) || (!_local2.enabled)) { return(undefined); } _local2.pressFocus(); _local2.attachMovie("DataStretchBar", "stretchBar", 999); _local2.stretchBar._height = _local2.height; _local2.stretchBar._x = _local2._xmouse; oldX = _local2.stretchBar._x; _local2.colX = oldX - _local2.columns[col].width; _local2.onMouseMove = function () { this.stretcher._x = this._xmouse; this.stretcher._y = this._ymouse; this.stretchBar._x = Math.max(this._xmouse, this.colX + this.minColWidth); if (this.__hScrollPolicy == "off") { this.stretchBar._x = Math.min(this.stretchBar._x, this.displayWidth - this.minColWidth); } updateAfterEvent(); }; } function stopSizing(Void) { var _local2 = owner; var _local3 = col; if ((!_local2.isStretchable(_local3)) || (!_local2.enabled)) { return(undefined); } _local2.stretchBar._visible = false; onRollOut(); var _local4 = _local2.stretchBar._x - oldX; _local2.resizeColumn(_local3, _local2.columns[_local3].width + _local4); _local2.dispatchEvent({type:"columnStretch", columnIndex:_local3}); } function hideStretcher(Void) { owner.stretcher._visible = false; delete owner.onMouseMove; Mouse.show(); } function set focusedCell(obj) { setFocusedCell(obj); //return(focusedCell); } function get focusedCell() { return(__focusedCell); } function setFocusedCell(coord, broadCast) { if ((!enabled) || (!editable)) { return(undefined); } if ((coord == undefined) && (cellEditor != undefined)) { disposeEditor(); return(undefined); } var _local2 = coord.itemIndex; var _local5 = coord.columnIndex; if (_local2 == undefined) { _local2 = 0; } if (_local5 == undefined) { _local5 = 0; } var _local9 = columns[_local5].columnName; if (__vPosition > _local2) { setVPosition(_local2); } else { var _local11 = (((_local2 - __vPosition) - __rowCount) + roundUp) + 1; if (_local11 > 0) { setVPosition(__vPosition + _local11); } } var _local10 = columns[_local5]; var _local8 = rows[_local2 - __vPosition]; var _local3 = _local8.cells[_local5]; if ((_local3._x > (__hPosition + displayWidth)) || (_local3._x < __hPosition)) { setHPosition(_local3._x); } var _local4 = __dataProvider.getEditingData(_local2, _local9); if (_local4 == undefined) { _local4 = __dataProvider.getItemAt(_local2)[_local9]; } if (_local4 == undefined) { _local4 = " "; } if (_local3.isCellEditor != true) { if (cellEditor == undefined) { cellEditor = listContent.createClassObject(mx.controls.TextInput, "editor_mc", EDITORDEPTH, {styleName:_local10, listOwner:this}); } cellEditor.backgroundColor = 16777215 /* 0xFFFFFF */; cellEditor._visible = true; cellEditor.setSize(_local10.__width, __rowHeight + 2); cellEditor._x = _local3._x - 1; cellEditor.text = _local4; editorMask = listContent.attachMovie("BoundingBox", "editorMask", 60001, {_alpha:0}); cellEditor.setMask(editorMask); editorMask._width = cellEditor.width; editorMask._height = cellEditor.height; editorMask._y = (cellEditor._y = _local8._y - 1); editorMask._x = cellEditor._x - editorMask._width; editTween = new mx.effects.Tween(this, cellEditor._x - editorMask._width, cellEditor._x, 150); } else { cellEditor = _local3; cellEditor.setValue(_local4, __dataProvider.getItemAt(_local2)); } var _local6 = getFocusManager(); _local6.setFocus(cellEditor); _local6.defaultPushButtonEnabled = false; if (_local3.isCellEditor != true) { cellEditor.hPosition = 0; cellEditor.redraw(); Selection.setSelection(0, cellEditor.length); } __focusedCell = coord; if (__tabHandlerCache == undefined) { __tabHandlerCache = _local6.tabHandler; _local6.tabHandler = tabHandler; } _local6.activeGrid = this; cellEditor.addEventListener("keyDown", editorKeyDown); if (broadCast) { dispatchEvent({type:"cellFocusIn", itemIndex:_local2, columnIndex:_local5}); } } function onMouseDown(Void) { if (cellEditor._visible && (!cellEditor.hitTest(_root._xmouse, _root._ymouse))) { editCell(); } if ((vScroller.hitTest(_root._xmouse, _root._ymouse) || (hScroller.hitTest(_root._xmouse, _root._ymouse))) || (header_mc.hitTest(_root._xmouse, _root._ymouse))) { dontEdit = true; } } function editorKeyDown(Void) { if (Key.isDown(27)) { listOwner.disposeEditor(); } else if (Key.isDown(13) && (Key.getCode() != 229)) { listOwner.editCell(); listOwner.findNextEnterCell(); } } function tabHandler(Void) { var _local3 = -1; var _local4 = -1; var _local2 = activeGrid; if (_local2.__focusedCell != undefined) { _local3 = _local2.__focusedCell.itemIndex; _local4 = _local2.__focusedCell.columnIndex; } _local2.editCell(); _local2.findNextCell(_local3, _local4); } function findNextEnterCell(Void) { var _local3 = (Key.isDown(16) ? -1 : 1); var _local2 = __focusedCell.itemIndex + _local3; if ((_local2 < getLength()) && (_local2 >= 0)) { __focusedCell.itemIndex = _local2; } setFocusedCell(__focusedCell, true); } function findNextCell(index, colIndex) { if (index == undefined) { colIndex = -1; index = colIndex; } var _local5 = false; var _local4 = (Key.isDown(16) ? -1 : 1); while (!_local5) { colIndex = colIndex + _local4; if ((colIndex >= columns.length) || (colIndex < 0)) { colIndex = ((colIndex < 0) ? (columns.length) : 0); index = index + _local4; if ((index >= getLength()) || (index < 0)) { if (getFocusManager().activeGrid != undefined) { disposeEditor(); } dontEdit = true; Selection.setFocus(this); delete dontEdit; getFocusManager().tabHandler(); return(undefined); } } if (columns[colIndex].editable) { _local5 = true; if (__tabHandlerCache != undefined) { disposeEditor(); } setFocusedCell({itemIndex:index, columnIndex:colIndex}, true); } } } function onSetFocus(Void) { super.onSetFocus(); if (editable && (dontEdit != true)) { if (__focusedCell == undefined) { __focusedCell = {itemIndex:0, columnIndex:0}; } if (columns[__focusedCell.columnIndex].editable == true) { setFocusedCell(__focusedCell, true); } else { findNextCell(__focusedCell.itemIndex, __focusedCell.columnIndex); } } delete dontEdit; } function onTweenUpdate(val) { editorMask._x = val; } function onTweenEnd(val) { editorMask._x = val; cellEditor.setMask(undefined); editorMask.removeMovieClip(); } function disposeEditor(Void) { cellEditor.removeEventListener("keyDown", editorKeyDown); dispatchEvent({type:"cellFocusOut", itemIndex:__focusedCell.itemIndex, columnIndex:__focusedCell.columnIndex}); if (cellEditor.isCellEditor != true) { cellEditor._visible = false; } var _local3 = getFocusManager(); if (__tabHandlerCache != undefined) { _local3.tabHandler = __tabHandlerCache; delete __tabHandlerCache; } _local3.defaultPushButtonEnabled = true; if ((border_mc.hitTest(_root._xmouse, _root._ymouse) && (!vScroller.hitTest(_root._xmouse, _root._ymouse))) && (!hScroller.hitTest(_root._xmouse, _root._ymouse))) { dontEdit = true; releaseFocus(); delete dontEdit; } delete cellEditor; delete _local3.activeGrid; } function editCell() { var _local3 = __focusedCell.itemIndex; var _local4 = columns[__focusedCell.columnIndex].columnName; var _local2 = __dataProvider.getEditingData(_local3, _local4); if (_local2 == undefined) { _local2 = __dataProvider.getItemAt(_local3)[_local4]; } var _local5 = (cellEditor.isCellEditor ? (cellEditor.getValue()) : (cellEditor.text)); if (_local2 != _local5) { editField(_local3, _local4, _local5); dispatchEvent({type:"cellEdit", itemIndex:_local3, columnIndex:__focusedCell.columnIndex, oldValue:_local2}); } disposeEditor(); } function invalidateStyle(propName) { if ((propName == "headerColor") || (propName == "styleName")) { drawHeaderBG(); } if ((((((propName == "hGridLines") || (propName == "hGridLineColor")) || (propName == "vGridLines")) || (propName == "vGridLineColor")) || (propName == "styleName")) || (propName == "backgroundColor")) { invDrawCols = true; invalidate(); } if (mx.styles.StyleManager.TextStyleMap[propName] != undefined) { super.changeTextStyleInChildren(propName); } if ((propName == "styleName") || (propName == "headerStyle")) { invalidateHeaderStyle(); } super.invalidateStyle(propName); } function notifyStyleChangeInChildren(sheetName, styleProp, newValue) { if (styleProp == "headerStyle") { invalidateHeaderStyle(); } if (sheetName != undefined) { var _local4 = 0; while (_local4 < columns.length) { if (sheetName == columns[_local4].styleName) { invalidateStyle(styleProp); var _local3 = 0; while (_local3 < rows.length) { rows[_local3].notifyStyleChangeInChildren(sheetName, styleProp, newValue); _local3++; } } _local4++; } } super.notifyStyleChangeInChildren(sheetName, styleProp, newValue); } static var symbolOwner = mx.controls.DataGrid; static var symbolName = "DataGrid"; static var version = "2.0.2.126"; var className = "DataGrid"; var selectable = true; var resizableColumns = true; var __showHeaders = true; var sortableColumns = true; var autoHScrollAble = true; var editable = false; var minColWidth = 20; var totColW = 0; var __rowRenderer = "DataGridRow"; var __headerHeight = 20; var hasDrawn = false; var minScrollInterval = 60; var HEADERDEPTH = 5001; var LINEDEPTH = 5000; var SORTARROWDEPTH = 5500; var EDITORDEPTH = 5002; var DISABLEDHEADERDEPTH = 5003; var HEADERCELLDEPTH = 4500; var HEADEROVERLAYDEPTH = 4000; var SEPARATORDEPTH = 5000; var STRETCHERDEPTH = 1000; }
Symbol 225 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 226 MovieClip [__Packages.mx.controls.gridclasses.DataGridColumn] Frame 0
class mx.controls.gridclasses.DataGridColumn extends mx.styles.CSSStyleDeclaration { var columnName, parentGrid, colNum, __header, headerCell, __cellRenderer, __headerRenderer, __labelFunction, styleName; function DataGridColumn (colName) { super(); columnName = colName; headerText = (colName); } function get width() { return(__width); } function set width(w) { delete parentGrid.invSpaceColsEqually; if ((parentGrid != undefined) && (parentGrid.hasDrawn)) { var _local2 = resizable; resizable = false; parentGrid.resizeColumn(colNum, w); resizable = _local2; } else { __width = w; } //return(width); } function set headerText(h) { __header = h; headerCell.setValue(h); //return(headerText); } function get headerText() { return(((__header == undefined) ? (columnName) : (__header))); } function set cellRenderer(cR) { __cellRenderer = cR; parentGrid.invColChange = true; parentGrid.invalidate(); //return(cellRenderer); } function get cellRenderer() { return(__cellRenderer); } function set headerRenderer(hS) { __headerRenderer = hS; parentGrid.invInitHeaders = true; parentGrid.invalidate(); //return(headerRenderer); } function get headerRenderer() { return(__headerRenderer); } function set labelFunction(f) { __labelFunction = f; parentGrid.invUpdateControl = true; parentGrid.invalidate(); //return(labelFunction); } function get labelFunction() { return(__labelFunction); } function getStyle(prop) { var _local3 = this[prop]; if (_local3 == undefined) { if (styleName != undefined) { if (styleName instanceof mx.styles.CSSStyleDeclaration) { _local3 = styleName.getStyle(prop); } else { _local3 = _global.styles[styleName].getStyle(prop); } } if ((((_local3 == undefined) || (_local3 == _global.style[prop])) || (_local3 == _global.styles[parentGrid.className][prop])) && (prop != "backgroundColor")) { _local3 = parentGrid.getStyle(prop); } } return(_local3); } function __getTextFormat(tf, bAll, fieldInst) { var _local4; if (parentGrid.header_mc[fieldInst._name] != undefined) { _local4 = getStyle("headerStyle").__getTextFormat(tf, bAll, fieldInst); if (_local4 != false) { _local4 = parentGrid.getStyle("headerStyle").__getTextFormat(tf, bAll, fieldInst); } if (_local4 == false) { return(_local4); } } if (styleName != undefined) { var _local8 = ((typeof(styleName) == "string") ? (_global.styles[styleName]) : (styleName)); _local4 = _local8.__getTextFormat(tf, bAll); if (!_local4) { return(_local4); } } _local4 = super.__getTextFormat(tf, bAll, fieldInst); if (_local4) { return(parentGrid.__getTextFormat(tf, bAll)); } return(_local4); } var editable = true; var sortable = true; var resizable = true; var sortOnHeaderRelease = true; var __width = 50; }
Symbol 227 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 _local6 = __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 = (_local6 - _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(_local6, _local2.getPreferredHeight())); _local2._y = (_local6 - _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 _local9 = 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(_local9, 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 _local8 = transition && (_local6 != 0); if (newState == "normal") { _local7 = _local3.getStyle("color"); normalColor = getNormalColor(); drawRowFill(_local9, normalColor); if (_local8) { _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 (_local8) { _local2._height = _local4 * 0.5; _local2._y = (_local4 - _local2._height) / 2; bGTween = new mx.effects.Tween(this, _local2._height, _local4 + 2, _local6, 5); var _local10 = _local3.getStyle("selectionEasing"); if (_local10 != undefined) { bGTween.easingEquation = _local10; } } 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 228 MovieClip [__Packages.mx.controls.gridclasses.DataGridRow] Frame 0
class mx.controls.gridclasses.DataGridRow extends mx.controls.listclasses.SelectableRow { var setupBG, colBG, createEmptyMovieClip, cells, owner, backGround, createObject, createClassObject, createLabel, text, draw, textHeight, listOwner, columnIndex, __height, grandOwner, wasPressed, onPress; function DataGridRow () { super(); } function createChildren(Void) { setupBG(); colBG = createEmptyMovieClip("colbG_mc", mx.controls.listclasses.SelectableRow.LOWEST_DEPTH + 1); } function init(Void) { super.init(); cells = new Array(); } function size(Void) { if (cells.length != owner.columns.length) { createCells(); } super.size(); } function createCells(Void) { clearCells(); backGround.onRelease = startEditCell; var _local7 = owner.columns.length; var _local2 = 0; while (_local2 < _local7) { var _local4 = owner.columns[_local2]; var _local5 = _local4.__cellRenderer; if (_local5 != undefined) { if (typeof(_local5) == "string") { var _local3 = (cells[_local2] = createObject(_local5, "fCell" + _local2, 2 + _local2, {styleName:_local4})); } else { var _local3 = (cells[_local2] = createClassObject(_local5, "fCell" + _local2, 2 + _local2, {styleName:_local4})); } } else { var _local3 = (cells[_local2] = createLabel("fCell" + _local2, 2 + _local2)); _local3.styleName = _local4; _local3.selectable = false; _local3.backGround = false; _local3.border = false; _local3._visible = false; _local3.getPreferredHeight = cellGetPreferredHeight; } _local3.listOwner = owner; _local3.columnIndex = _local2; _local3.owner = this; _local3.getCellIndex = getCellIndex; _local3.getDataLabel = getDataLabel; _local2++; } } function cellGetPreferredHeight() { var _local3 = text; text = "^g_p"; draw(); var _local2 = textHeight + 4; text = _local3; return(_local2); } function getCellIndex(Void) { return({columnIndex:columnIndex, itemIndex:owner.rowIndex + listOwner.__vPosition}); } function getDataLabel() { return(listOwner.columns[columnIndex].columnName); } function clearCells() { var _local2 = 0; while (_local2 < cells.length) { cells[_local2].removeTextField(); cells[_local2].removeMovieClip(); _local2++; } cells.splice(0); } function setValue(itmObj, state, transition) { var _local7 = owner.columns; var _local8 = _local7.length; var _local3 = 0; while (_local3 < _local8) { var _local6 = cells[_local3]; var _local4 = _local7[_local3]; var _local2 = _local4.__labelFunction(itmObj); if (_local2 == undefined) { _local2 = ((itmObj instanceof XMLNode) ? (itmObj.attributes[_local4.columnName]) : (itmObj[_local4.columnName])); } if (_local2 == undefined) { _local2 = " "; } _local6.setValue(_local2, itmObj, state); _local3++; } } function drawCell(cellNum, xPos, w, bgCol) { var _local2 = cells[cellNum]; _local2._x = xPos; _local2._visible = true; _local2.setSize(w - 2, Math.min(__height, _local2.getPreferredHeight())); _local2._y = (__height - _local2.height) / 2; if (bgCol != undefined) { var _local3 = Math.floor(xPos - 2); var _local4 = Math.floor(_local3 + w); colBG.moveTo(_local3, 0); colBG.beginFill(bgCol); colBG.lineStyle(0, 0, 0); colBG.lineTo(_local4, 0); colBG.lineTo(_local4, __height); colBG.lineTo(_local3, __height); colBG.endFill(); } } function setState(newState, transition) { var _local6 = owner.columns; var _local4 = _local6.length; if ((newState != "normal") || (!owner.enabled)) { var _local5; if (!owner.enabled) { _local5 = owner.getStyle("disabledColor"); } else if (newState == "highlighted") { _local5 = owner.getStyle("textRollOverColor"); } else if (newState == "selected") { _local5 = owner.getStyle("textSelectedColor"); } var _local3 = 0; while (_local3 < _local4) { cells[_local3].setColor(_local5); cells[_local3].__enabled = owner.enabled; _local3++; } } else { var _local3 = 0; while (_local3 < _local4) { cells[_local3].setColor(_local6[_local3].getStyle("color")); cells[_local3].__enabled = owner.enabled; _local3++; } } super.setState(newState, transition); } function startEditCell() { var _local2 = grandOwner; _local2.dontEdit = true; _local2.releaseFocus(); delete _local2.dontEdit; if ((_local2.enabled && (_local2.editable)) && (owner.item != undefined)) { var _local9 = owner.cells.length; var _local3 = 0; while (_local3 < _local9) { var _local5 = _local2.columns[_local3]; if (_local5.editable) { var _local4 = owner._xmouse - owner.cells[_local3]._x; if ((_local4 >= 0) && (_local4 < _local5.__width)) { var _local6 = owner.rowIndex + _local2.__vPosition; _local2.setFocusedCell({itemIndex:_local6, columnIndex:_local3}, true); if (wasPressed != true) { onPress(); _local2.onMouseUp(); } delete wasPressed; clearInterval(_local2.dragScrolling); delete _local2.onMouseUp; return(undefined); } } _local3++; } } } function bGOnPress(Void) { wasPressed = true; grandOwner.pressFocus(); grandOwner.onRowPress(owner.rowIndex); } function notifyStyleChangeInChildren(sheetName, styleProp, newValue) { var _local6 = owner.columns; var _local4 = cells.length; var _local3 = 0; while (_local3 < _local4) { var _local2 = cells[_local3]; if (_local2.stylecache != undefined) { delete _local2.stylecache.tf; } delete _local2.enabledColor; _local2.invalidateStyle(styleProp); _local3++; } } }
Symbol 229 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.2.126"; 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 543 MovieClip [__Packages.mx.accessibility.DataGridAccImpl] Frame 0
class mx.accessibility.DataGridAccImpl extends mx.accessibility.AccImpl { var _accImpl, master, children, STATE_SYSTEM_NORMAL, _selectRow, editable, __vPosition, columns, multipleSelection, isSelected, _setFocusedCell, _editField, getColumnIndex; function DataGridAccImpl (master) { super(master); master._selectRow = master.selectRow; master.selectRow = selectRow; master._setFocusedCell = master.setFocusedCell; master.setFocusedCell = setFocusedCell; master._editField = master.editField; master.editField = editField; } static function enableAccessibility() { } function createAccessibilityImplementation() { _accImpl = new mx.accessibility.DataGridAccImpl(this); } function getChildIdArray() { var _local5 = new Array(); var _local4 = 0; if (master.editable == false) { _local4 = master.columns.length + master.getLength(); } else { _local4 = master.columns.length * (1 + master.getLength()); } var _local2 = 0; while (_local2 < _local4) { var _local3 = _local2 + 1; children[_local3] = _local2; _local5[_local2] = _local3; _local2++; } return(_local5); } function get_accRole(childId) { var _local2 = ROLE; _local2 = ((childId == 0) ? (ROLE) : (ROLE_SYSTEM_LISTITEM)); return(_local2); } function get_accName(childId) { var _local2; if (childId == 0) { return(undefined); } if (childId < (master.columns.length + 1)) { var _local5 = childId - 1; var _local9 = master.getColumnNames(); _local2 = _local9[_local5] + " Column Header"; } else if (childId > master.columns.length) { var _local5 = (childId - master.columns.length) - 1; if (master.editable == false) { var _local7 = _local5; var _local4 = master.getItemAt(_local5); if (typeof(_local4) == "string") { _local2 = (("Row " + _local7) + " ") + _local4; } else { _local2 = "Row " + _local7; var _local8; for (_local8 in _local4) { _local2 = _local2 + (((" " + _local8) + " ") + _local4[_local8]); } } } else { var _local7 = Math.floor(_local5 / master.columns.length); var _local10 = _local5 % master.columns.length; var _local4 = master.getItemAt(_local7); if (typeof(_local4) == "string") { _local2 = (("Row " + _local7) + " ") + _local4; } else { var _local9 = master.getColumnNames(); var _local8 = _local9[_local10]; var _local11 = _local4[_local8]; _local2 = "Row " + _local7; if (master.selectable == true) { var _local3; for (_local3 in _local4) { _local2 = _local2 + (((" " + _local3) + " ") + _local4[_local3]); } } _local2 = _local2 + ((((", Editing " + _local8) + " ") + _local11) + " Cell"); } } } return(_local2); } function get_accState(childId) { var _local2 = (master.enabled ? (STATE_SYSTEM_NORMAL) : (STATE_SYSTEM_UNAVAILABLE)); if ((childId == 0) || (childId < (master.columns.length + 1))) { return(_local2); } if (childId > master.columns.length) { var _local3 = (childId - master.columns.length) - 1; if (master.editable == false) { var _local4 = _local3; if ((_local4 < master.__vPosition) || (_local4 >= (master.__vPosition + master.__rowCount))) { _local2 = (_local2 | STATE_SYSTEM_OFFSCREEN) | STATE_SYSTEM_INVISIBLE; } _local2 = (master.isSelected(_local4) ? ((STATE_SYSTEM_SELECTED | STATE_SYSTEM_SELECTABLE) | _local2) : (STATE_SYSTEM_SELECTABLE | _local2)); } else { var _local4 = Math.floor(_local3 / master.columns.length); var _local6 = _local3 % master.columns.length; if ((_local4 < master.__vPosition) || (_local4 >= (master.__vPosition + master.__rowCount))) { _local2 = (_local2 | STATE_SYSTEM_OFFSCREEN) | STATE_SYSTEM_INVISIBLE; } _local2 = (master.isSelected(_local4) ? ((STATE_SYSTEM_SELECTED | STATE_SYSTEM_SELECTABLE) | _local2) : (STATE_SYSTEM_SELECTABLE | _local2)); } return(_local2); } } function accLocation(childId) { if (childId < (master.columns.length + 1)) { return(master.headerCells[childId - 1]); } var _local2 = (childId - master.columns.length) - 1; if (master.editable == false) { var _local3 = _local2; if ((_local3 < master.__vPosition) || (_local3 >= (master.__vPosition + master.__rowCount))) { // unexpected jump } var _local4 = master.listContent["listRow" + (master.baseRowZ + (_local3 - master.__vPosition))]; return(_local4); } var _local3 = Math.floor(_local2 / master.columns.length); var _local6 = _local2 % master.columns.length; if ((_local3 < master.__vPosition) || (_local3 >= (master.__vPosition + master.__rowCount))) { } else { var _local4 = master.rows[_local3 - master.__vPosition].cells[_local6]; return(_local4); } } function get_accFocus() { if (master.editable == false) { var _local3 = master.getSelectedIndex(); if (_local3 != undefined) { return((master.columns.length + _local3) + 1); } } else { var _local2 = master.getFocusedCell(); if (_local2 != undefined) { return((1 + ((_local2.itemIndex + 1) * master.columns.length)) + _local2.columnIndex); } } return(0); } function get_accSelection() { var _local4 = new Array(); if (master.editable == false) { var _local3 = master.getSelectedIndices(); if (_local3 != undefined) { var _local2 = 0; while (_local2 < _local3.length) { _local4.push((master.columns.length + _local3[_local2]) + 1); _local2++; } } } else { var _local5 = master.getFocusedCell(); if (_local5 != undefined) { _local4.push((1 + ((_local5.itemIndex + 1) * master.columns.length)) + _local5.columnIndex); } } return(_local4); } function selectRow(rowIndex) { var _local5 = _selectRow(rowIndex); if (editable == false) { var _local3 = __vPosition + rowIndex; var _local2 = (columns.length + _local3) + 1; if (((!multipleSelection) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) { Accessibility.sendEvent(MovieClip(this), _local2, _accImpl.EVENT_OBJECT_SELECTION); } else if (Key.isDown(16) && (multipleSelection)) { Accessibility.sendEvent(MovieClip(this), 0, _accImpl.EVENT_OBJECT_SELECTIONWITHIN); } else if (Key.isDown(17) && (multipleSelection)) { var _local4 = isSelected(_local3); if (_local4) { Accessibility.sendEvent(MovieClip(this), _local2, _accImpl.EVENT_OBJECT_SELECTIONADD); } else { Accessibility.sendEvent(MovieClip(this), _local2, _accImpl.EVENT_OBJECT_SELECTIONREMOVE); } } } return(_local5); } function setFocusedCell(coord, broadCast) { _setFocusedCell(coord, broadCast); if (editable == true) { var _local3 = coord.itemIndex; var _local4 = coord.columnIndex; Accessibility.sendEvent(MovieClip(this), (1 + _local4) + (columns.length * (_local3 + 1)), _accImpl.EVENT_OBJECT_SELECTION); } } function editField(index, colName, data) { _editField(index, colName, data); if (editable == true) { var _local2 = getColumnIndex(colName); Accessibility.sendEvent(MovieClip(this), (1 + _local2) + (columns.length * (index + 1)), _accImpl.EVENT_OBJECT_SELECTION); } } static function hookAccessibility() { mx.controls.DataGrid.prototype.createAccessibilityImplementation = mx.accessibility.DataGridAccImpl.prototype.createAccessibilityImplementation; return(true); } var ROLE = 33; var ROLE_SYSTEM_ROW = 28; var ROLE_SYSTEM_COLUMNHEADER = 25; var ROLE_SYSTEM_CELL = 29; var ROLE_SYSTEM_LISTITEM = 34; var EVENT_OBJECT_SELECTION = 32774; var EVENT_OBJECT_SELECTIONADD = 32775; var EVENT_OBJECT_SELECTIONREMOVE = 32776; var EVENT_OBJECT_SELECTIONWITHIN = 32777; var STATE_SYSTEM_UNAVAILABLE = 1; var STATE_SYSTEM_SELECTED = 2; var STATE_SYSTEM_INVISIBLE = 32768; var STATE_SYSTEM_OFFSCREEN = 65536; var STATE_SYSTEM_SELECTABLE = 2097152; var owner = mx.controls.DataGrid; static var accessibilityHooked = hookAccessibility(); }
Symbol 50 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(); }))); 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.2.126"; 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 180 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 51 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, invalidate; 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 = parent._x; _local5.y = parent._y; 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(); if (!allowSize) { __width = _local4.width + (2 * _local5.left); __height = ((_local4.height + _local5.top) + _local5.bottom) + back_mc.height; allowSize = false; } } super.size(); } function setSize(w, h) { __width = w; __height = h; initializing = (allowSize = true); invalidate(); } static var symbolOwner = mx.containers.Window; static var version = "2.0.2.126"; 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"; var allowSize = false; 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 181 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.2.126"; static var mixins = undefined; }
Symbol 184 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 = mx.controls.Button(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 _local6 = text_mc._getTextFormat(); extent = _local6.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 _local7 = _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 * _local7); _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 = mx.controls.Alert(_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 182 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(TextFormat(_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.2.126"; 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 183 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 _local11 = 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 _local9 = (__width - borderW) - borderW; var _local10 = (__height - borderW) - borderW; if (_local2 != undefined) { _local7 = _local2._width; _local6 = _local2._height; } if ((_local12 == "left") || (_local12 == "right")) { if (_local3 != undefined) { _local11 = Math.min(_local9 - _local7, _local15 + 5); _local3._width = _local11; _local8 = Math.min(_local10, _local14 + 5); _local3._height = _local8; } if (_local12 == "right") { _local5 = _local7; if (centerContent) { _local5 = _local5 + (((_local9 - _local11) - _local7) / 2); } _local2._x = _local5 - _local7; } else { _local5 = (_local9 - _local11) - _local7; if (centerContent) { _local5 = _local5 / 2; } _local2._x = _local5 + _local11; } _local4 = 0; _local2._y = _local4; if (centerContent) { _local2._y = (_local10 - _local6) / 2; _local4 = (_local10 - _local8) / 2; } if (!centerContent) { _local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2); } } else { if (_local3 != undefined) { _local11 = Math.min(_local9, _local15 + 5); _local3._width = _local11; _local8 = Math.min(_local10 - _local6, _local14 + 5); _local3._height = _local8; } _local5 = (_local9 - _local11) / 2; _local2._x = (_local9 - _local7) / 2; if (_local12 == "top") { _local4 = (_local10 - _local8) - _local6; if (centerContent) { _local4 = _local4 / 2; } _local2._y = _local4 + _local8; } else { _local4 = _local6; if (centerContent) { _local4 = _local4 + (((_local10 - _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.2.126"; 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 185 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.2.126"; var className = "HScrollBar"; var minusMode = "Left"; var plusMode = "Right"; var minMode = "AtLeft"; var maxMode = "AtRight"; }
Symbol 186 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 187 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 188 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 189 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.2.126"; 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 190 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 191 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 192 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 193 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 194 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.2.126"; 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 195 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 196 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.2.126"; var className = "VScrollBar"; var minusMode = "Up"; var plusMode = "Down"; var minMode = "AtTop"; var maxMode = "AtBottom"; }
Symbol 9 MovieClip Frame 1
stop(); var bt = _root.getBytesTotal(); onEnterFrame = function () { var _local4 = _root.getBytesLoaded(); var _local3 = (_local4 / bt) * 100; this.loadBar._xscale = _local3; trace("percent: " + _local3); if (_local3 >= 100) { _root.gotoAndStop("intro"); } };
Symbol 9 MovieClip Frame 2
stop();
Symbol 12 MovieClip Frame 16
stop();
Symbol 20 MovieClip Frame 1
stop();
Symbol 45 MovieClip [Tile2] Frame 1
this.onEnterFrame = function () { if (this._alpha < 100) { this._alpha = this._alpha + 3; } else { this._alpha = 100; delete this.onEnterFrame; } };
Instance of Symbol 35 MovieClip in Symbol 45 MovieClip [Tile2] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if ((_root.mousedown && (this.hitTest(_root._xmouse, _root._ymouse, true))) && (!_root.alert)) { if ((_root.selectedTile == 4) && (_parent._currentframe != 5)) { _root.numHoles++; } if ((_root.selectedTile == 5) && (_parent._currentframe != 6)) { _root.numTees++; } if ((_parent._currentframe == 5) && (_root.selectedTile != 4)) { _root.numHoles--; } if ((_parent._currentframe == 6) && (_root.selectedTile != 5)) { _root.numTees--; } _parent.gotoAndStop(_root.selectedTile + 1); } }
Symbol 55 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 57 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 60 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 62 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 65 MovieClip [Defaults] Frame 1
#initclip 53 Object.registerClass("Defaults", mx.skins.halo.Defaults); #endinitclip
Symbol 66 MovieClip [UIObjectExtensions] Frame 1
#initclip 54 Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions); #endinitclip
Symbol 67 MovieClip [UIObject] Frame 1
#initclip 55 Object.registerClass("UIObject", mx.core.UIObject); #endinitclip stop();
Symbol 70 Button
on (keyPress "<Tab>") { this.tabHandler(); }
Symbol 71 MovieClip Frame 1
#initclip 56 Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } #endinitclip
Symbol 72 MovieClip [FocusRect] Frame 1
#initclip 57 Object.registerClass("FocusRect", mx.skins.halo.FocusRect); #endinitclip
Symbol 73 MovieClip [FocusManager] Frame 1
#initclip 58 Object.registerClass("FocusManager", mx.managers.FocusManager); #endinitclip stop();
Symbol 74 MovieClip [UIComponentExtensions] Frame 1
#initclip 59 Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions); #endinitclip
Symbol 75 MovieClip [UIComponent] Frame 1
#initclip 60 Object.registerClass("UIComponent", mx.core.UIComponent); #endinitclip stop();
Symbol 76 MovieClip [SimpleButton] Frame 1
#initclip 61 Object.registerClass("SimpleButton", mx.controls.SimpleButton); #endinitclip stop();
Symbol 77 MovieClip [Border] Frame 1
#initclip 62 Object.registerClass("Border", mx.skins.Border); #endinitclip stop();
Symbol 78 MovieClip [RectBorder] Frame 1
#initclip 63 mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder)); Object.registerClass("RectBorder", mx.skins.halo.RectBorder); #endinitclip stop();
Symbol 79 MovieClip [ButtonSkin] Frame 1
#initclip 64 Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin); #endinitclip
Symbol 80 MovieClip [Button] Frame 1
#initclip 65 Object.registerClass("Button", mx.controls.Button); #endinitclip stop();
Instance of Symbol 76 MovieClip [SimpleButton] in Symbol 80 MovieClip [Button] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 81 MovieClip [CustomBorder] Frame 1
#initclip 66 Object.registerClass("CustomBorder", mx.skins.CustomBorder); mx.skins.SkinElement.registerElement("CustomBorder", mx.skins.CustomBorder); #endinitclip
Symbol 93 MovieClip [ScrollThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 95 MovieClip [ScrollThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 106 MovieClip [ThumbThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 108 MovieClip [ThumbThemeColor3] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 115 MovieClip [ThumbThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 136 MovieClip [BtnDownArrow] Frame 1
#initclip 67 Object.registerClass("BtnDownArrow", mx.controls.SimpleButton); #endinitclip
Symbol 137 MovieClip [BtnUpArrow] Frame 1
#initclip 68 Object.registerClass("BtnUpArrow", mx.controls.SimpleButton); #endinitclip
Symbol 139 MovieClip [HScrollBar] Frame 1
#initclip 69 Object.registerClass("HScrollBar", mx.controls.HScrollBar); #endinitclip stop();
Instance of Symbol 80 MovieClip [Button] in Symbol 139 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 76 MovieClip [SimpleButton] in Symbol 139 MovieClip [HScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 140 MovieClip [VScrollBar] Frame 1
#initclip 70 Object.registerClass("VScrollBar", mx.controls.VScrollBar); #endinitclip stop();
Instance of Symbol 80 MovieClip [Button] in Symbol 140 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 76 MovieClip [SimpleButton] in Symbol 140 MovieClip [VScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 141 MovieClip [View] Frame 1
#initclip 71 Object.registerClass("View", mx.core.View); #endinitclip stop();
Symbol 142 MovieClip [ScrollView] Frame 1
#initclip 72 Object.registerClass("ScrollView", mx.core.ScrollView); #endinitclip stop();
Instance of Symbol 139 MovieClip [HScrollBar] in Symbol 142 MovieClip [ScrollView] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 140 MovieClip [VScrollBar] in Symbol 142 MovieClip [ScrollView] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 143 MovieClip [Modal] Frame 1
#initclip 73 mx.skins.SkinElement.registerElement("Modal"); #endinitclip
Symbol 150 MovieClip [TitleBackground] Frame 1
#initclip 74 _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 159 MovieClip [WindowAssets] Frame 1
#initclip 75 mx.containers.Window.prototype.titleStyleDeclaration = "windowStyles"; #endinitclip
Symbol 160 MovieClip [Window] Frame 1
#initclip 76 Object.registerClass("Window", mx.containers.Window); #endinitclip stop();
Instance of Symbol 53 MovieClip [BoundingBox] "boundingBox_mc" in Symbol 160 MovieClip [Window] Frame 1
/* no clip actions */
Instance of Symbol 76 MovieClip [SimpleButton] in Symbol 160 MovieClip [Window] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 163 MovieClip [TextArea] Frame 1
#initclip 77 Object.registerClass("TextArea", mx.controls.TextArea); #endinitclip stop();
Symbol 164 MovieClip [AlertAssets] Frame 1
#initclip 78 mx.controls.Alert.titleStyleDeclaration = "windowStyles"; #endinitclip
Symbol 165 MovieClip [Alert] Frame 1
#initclip 79 Object.registerClass("Alert", mx.controls.Alert); #endinitclip stop();
Instance of Symbol 160 MovieClip [Window] in Symbol 165 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 163 MovieClip [TextArea] in Symbol 165 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 80 MovieClip [Button] in Symbol 165 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 214 MovieClip [DataGridAssets] Frame 1
#initclip 80 mx.controls.DataGrid.prototype.headerStyle = _global.styles.dataGridStyles; #endinitclip
Symbol 215 MovieClip [DataGridColumn] Frame 1
#initclip 81 Object.registerClass("DataGridColumn", mx.controls.gridclasses.DataGridColumn); #endinitclip stop();
Symbol 216 MovieClip [SelectableRow] Frame 1
#initclip 82 Object.registerClass("SelectableRow", mx.controls.listclasses.SelectableRow); #endinitclip stop();
Symbol 217 MovieClip [DataGridRow] Frame 1
#initclip 83 Object.registerClass("DataGridRow", mx.controls.gridclasses.DataGridRow); #endinitclip stop();
Symbol 218 MovieClip [DataProvider] Frame 1
#initclip 84 Object.registerClass("DataProvider", mx.controls.listclasses.DataProvider); #endinitclip stop();
Symbol 219 MovieClip [DataSelector] Frame 1
#initclip 85 Object.registerClass("DataSelector", mx.controls.listclasses.DataSelector); #endinitclip stop();
Symbol 220 MovieClip [ScrollSelectList] Frame 1
#initclip 86 Object.registerClass("ScrollSelectList", mx.controls.listclasses.ScrollSelectList); #endinitclip stop();
Symbol 221 MovieClip [List] Frame 1
#initclip 87 Object.registerClass("List", mx.controls.List); #endinitclip stop();
Symbol 223 MovieClip [TextInput] Frame 1
#initclip 88 Object.registerClass("TextInput", mx.controls.TextInput); #endinitclip stop();
Symbol 224 MovieClip [DataGrid] Frame 1
#initclip 89 Object.registerClass("DataGrid", mx.controls.DataGrid); #endinitclip stop();
Instance of Symbol 221 MovieClip [List] in Symbol 224 MovieClip [DataGrid] Frame 2
//component parameters onClipEvent (initialize) { multipleSelection = false; rowHeight = 20; }
Instance of Symbol 223 MovieClip [TextInput] in Symbol 224 MovieClip [DataGrid] Frame 2
//component parameters onClipEvent (initialize) { editable = true; password = false; text = ""; maxChars = null; restrict = ""; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 289 MovieClip Frame 93
onEnterFrame = function () { this._alpha = this._alpha - 4; if (this._alpha <= 0) { _parent.gotoAndStop("main"); delete onEnterFrame; } };
Symbol 289 MovieClip Frame 126
stop();
Symbol 319 MovieClip Frame 1
function displayToggle() { if (rootPath.musicToggle) { inner_id.toggle_txt.text = "On"; } else { inner_id.toggle_txt.text = "Off"; } } stop(); displayToggle(); hit_id.onRelease = function () { if (rootPath.musicToggle) { rootPath.musicToggle = false; rootPath.globalSound.setVolume(0); displayToggle(); } else { rootPath.musicToggle = true; rootPath.globalSound.setVolume(100); displayToggle(); } };
Symbol 344 MovieClip Frame 1
function boardClose() { trace("here"); _root.main_id.window_id._y = 999; } stop(); blocker_id.onRelease = function () { }; blocker_id.useHandCursor = false; course1_id.onRelease = function () { mochi.MochiScores.showLeaderboard({boardID:"52ab5f631c1b9824", onClose:boardClose}); }; course2_id.onRelease = function () { mochi.MochiScores.showLeaderboard({boardID:"8067df64d1f0d2cc", onClose:boardClose}); }; course3_id.onRelease = function () { mochi.MochiScores.showLeaderboard({boardID:"66f023e8231e63b5", onClose:boardClose}); }; course4_id.onRelease = function () { mochi.MochiScores.showLeaderboard({boardID:"539acbc2743e1d47", onClose:boardClose}); }; course5_id.onRelease = function () { mochi.MochiScores.showLeaderboard({boardID:"2015efe18cf475a9", onClose:boardClose}); }; course6_id.onRelease = function () { mochi.MochiScores.showLeaderboard({boardID:"f3bcca0df4944693", onClose:boardClose}); };
Symbol 349 MovieClip Frame 1
credits_id.onRelease = function () { getURL ("http://cheez-r-us.newgrounds.com/", "_blank"); };
Symbol 352 MovieClip Frame 35
_root.white.play();
Symbol 352 MovieClip Frame 85
stop(); leaderboards_id.onRelease = function () { window_id._x = -277; window_id._y = -88; };
Instance of Symbol 305 MovieClip in Symbol 352 MovieClip Frame 85
on (release) { _root.gotoAndStop("play1"); }
Instance of Symbol 308 MovieClip in Symbol 352 MovieClip Frame 85
on (release) { _root.gotoAndStop("help"); }
Instance of Symbol 314 MovieClip in Symbol 352 MovieClip Frame 85
on (release) { getURL ("http://www.letsmakeagame.com", "_blank"); }
Instance of Symbol 305 MovieClip in Symbol 388 MovieClip Frame 1
on (release) { _root.gotoAndStop("play1"); }
Instance of Symbol 308 MovieClip in Symbol 388 MovieClip Frame 1
on (release) { trace("HELP"); }
Instance of Symbol 311 MovieClip in Symbol 388 MovieClip Frame 1
on (release) { trace("HIGHSCORES"); }
Instance of Symbol 314 MovieClip in Symbol 388 MovieClip Frame 1
on (release) { trace("PLAYMORE"); }
Instance of Symbol 356 MovieClip in Symbol 388 MovieClip Frame 22
on (release) { _root.course = "COURSE1"; _root.gotoAndStop("play"); }
Instance of Symbol 359 MovieClip in Symbol 388 MovieClip Frame 22
on (release) { _root.course = "COURSE2"; _root.gotoAndStop("play"); }
Instance of Symbol 363 MovieClip in Symbol 388 MovieClip Frame 22
on (release) { _root.course = "COURSE3"; _root.gotoAndStop("play"); }
Instance of Symbol 367 MovieClip in Symbol 388 MovieClip Frame 22
on (release) { _root.course = "COURSE6"; _root.gotoAndStop("play"); }
Instance of Symbol 371 MovieClip in Symbol 388 MovieClip Frame 22
on (release) { _root.course = "COURSE5"; _root.gotoAndStop("play"); }
Instance of Symbol 374 MovieClip in Symbol 388 MovieClip Frame 22
on (release) { _root.course = "COURSE4"; _root.gotoAndStop("play"); }
Symbol 388 MovieClip Frame 30
stop();
Instance of Symbol 378 MovieClip in Symbol 388 MovieClip Frame 30
on (release) { getURL ("http://www.letsmakeagame.com", "_blank"); }
Instance of Symbol 381 MovieClip in Symbol 388 MovieClip Frame 30
on (release) { _parent.play(); }
Symbol 388 MovieClip Frame 38
stop(); _root.gotoAndStop("main");
Instance of Symbol 378 MovieClip in Symbol 388 MovieClip Frame 39
on (release) { if (_root._url.toUpperCase().indexOf("WWW.PAPERGOLF2.COM") != -1) { _root.gotoAndStop("custom"); } else { _parent.gotoAndPlay("wrongURL"); } }
Instance of Symbol 381 MovieClip in Symbol 388 MovieClip Frame 39
on (release) { _parent.play(); }
Symbol 388 MovieClip Frame 55
stop();
Instance of Symbol 385 MovieClip in Symbol 388 MovieClip Frame 55
on (release) { getURL ("http://www.letsmakeagame.com", "_blank"); }
Symbol 388 MovieClip Frame 62
gotoAndPlay (22);
Instance of Symbol 385 MovieClip in Symbol 388 MovieClip Frame 62
on (release) { getURL ("http://www.papergolf2.com", "_blank"); }
Instance of Symbol 356 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _root.course = "COURSE1"; _root.gotoAndStop("play"); }
Instance of Symbol 359 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _root.course = "COURSE2"; _root.gotoAndStop("play"); }
Instance of Symbol 363 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _root.course = "COURSE3"; _root.gotoAndStop("play"); }
Instance of Symbol 367 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _root.course = "COURSE6"; _root.gotoAndStop("play"); }
Instance of Symbol 371 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _root.course = "COURSE5"; _root.gotoAndStop("play"); }
Instance of Symbol 374 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _root.course = "COURSE4"; _root.gotoAndStop("play"); }
Instance of Symbol 378 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _root.gotoAndStop("custom"); }
Instance of Symbol 381 MovieClip in Symbol 389 MovieClip Frame 1
on (release) { _parent.play(); }
Symbol 389 MovieClip Frame 23
_root.gotoAndStop("scorecard"); _root.hole = 0;
Instance of Symbol 356 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _root.course = "COURSE1"; _root.gotoAndStop("play"); }
Instance of Symbol 359 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _root.course = "COURSE2"; _root.gotoAndStop("play"); }
Instance of Symbol 363 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _root.course = "COURSE3"; _root.gotoAndStop("play"); }
Instance of Symbol 367 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _root.course = "COURSE6"; _root.gotoAndStop("play"); }
Instance of Symbol 371 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _root.course = "COURSE5"; _root.gotoAndStop("play"); }
Instance of Symbol 374 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _root.course = "COURSE4"; _root.gotoAndStop("play"); }
Instance of Symbol 378 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _root.gotoAndStop("custom"); }
Instance of Symbol 381 MovieClip in Symbol 404 MovieClip Frame 1
on (release) { _parent.play(); }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 29
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 30
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 31
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 32
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 33
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 34
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 35
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 36
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 37
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 38
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 39
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 40
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Symbol 404 MovieClip Frame 45
function checkParamsLoaded() { if (target_mc.done == undefined) { count++; if (count > 25) { clearInterval(param_interval); gotoAndPlay ("error"); } } else { i = 0; while (i < target_mc.n) { myDP_array.push({id:target_mc["id" + i], name:target_mc["title" + i], author:target_mc["author" + i], data:target_mc["data" + i], score:target_mc["score" + i], votes:target_mc["votes" + i], views:target_mc["views" + i], par:target_mc["par" + i]}); i++; } myDataGrid.dataProvider = myDP_array; myDataGrid.selectedIndex = 0; clearInterval(param_interval); } } stop(); mx.accessibility.DataGridAccImpl.enableAccessibility(); this.createEmptyMovieClip("target_mc", 100); loadVariables ("http://www.inaflashstudios.net/getCourses.php", target_mc); var myDP_array = new Array(); var count = 0; var param_interval = setInterval(checkParamsLoaded, 100); var myDataGrid; myDataGrid.addColumn("name"); myDataGrid.addColumn("author"); myDataGrid.addColumn("score"); myDataGrid.addColumn("votes"); myDataGrid.addColumn("views"); myDataGrid.addColumn("par"); myDataGrid.spaceColumnsEqually(); myDataGrid.dataProvider = myDP_array; var listener_obj = new Object(); listener_obj.headerRelease = function (evt_obj) { switch (evt_obj.target.columns[evt_obj.columnIndex].columnName) { case "name" : break; case "author" : } }; var change_obj = new Object(); change_obj.change = function (evt_obj) { }; myDataGrid.addEventListener("headerRelease", listener_obj); myDataGrid.addEventListener("change", change_obj);
Instance of Symbol 394 MovieClip in Symbol 404 MovieClip Frame 45
on (release) { _parent.clearInterval(_parent.param_interval); _parent.gotoAndPlay(56); }
Instance of Symbol 305 MovieClip in Symbol 404 MovieClip Frame 45
on (release) { _root.rateCourse = true; _parent.clearInterval(_parent.param_interval); var result_lv = new LoadVars(); result_lv.onLoad = function (success) { if (success) { _root.courseID = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].id; _root.customHole = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].data; _parent.play(); } }; var send_lv = new LoadVars(); send_lv.id = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].id; send_lv.sendAndLoad("http://www.inaflashstudios.net/viewCourse.php", result_lv, "GET"); }
Instance of Symbol 398 MovieClip in Symbol 404 MovieClip Frame 45
on (release) { _parent.gotoAndPlay(75); }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 46
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 47
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 48
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 49
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 50
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 51
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 52
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 53
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 54
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Symbol 404 MovieClip Frame 55
_root.gotoAndStop("customPlay");
Instance of Symbol 305 MovieClip in Symbol 404 MovieClip Frame 55
on (release) { _root.customHole = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].data; _parent.play(); }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 55
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 394 MovieClip in Symbol 404 MovieClip Frame 56
on (release) { _parent.gotoAndPlay(55); }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 56
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 57
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 58
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 59
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 60
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 61
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 62
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 63
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 64
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 65
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 66
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Symbol 404 MovieClip Frame 74
_root.customMenu = true; _root.gotoAndStop("play1");
Instance of Symbol 394 MovieClip in Symbol 404 MovieClip Frame 75
on (release) { _parent.gotoAndPlay(55); }
Instance of Symbol 305 MovieClip in Symbol 404 MovieClip Frame 75
on (release) { _root.customHole = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].data; _parent.play(); }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 75
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 76
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 77
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 78
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 79
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 80
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 81
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 82
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 83
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 84
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Symbol 404 MovieClip Frame 85
_root.gotoAndStop("editor");
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 85
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 394 MovieClip in Symbol 404 MovieClip Frame 86
on (release) { _parent.gotoAndPlay("errorBack"); }
Instance of Symbol 305 MovieClip in Symbol 404 MovieClip Frame 86
on (release) { _root.rateCourse = true; _parent.clearInterval(_parent.param_interval); var result_lv = new LoadVars(); result_lv.onLoad = function (success) { if (success) { _root.courseID = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].id; _root.customHole = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].data; _parent.play(); } }; var send_lv = new LoadVars(); send_lv.id = _parent.myDataGrid.dataProvider[_parent.myDataGrid.selectedIndex].id; send_lv.sendAndLoad("http://www.inaflashstudios.net/viewCourse.php", result_lv, "GET"); }
Instance of Symbol 398 MovieClip in Symbol 404 MovieClip Frame 86
on (release) { _parent.gotoAndPlay(75); }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 86
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 87
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 88
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 89
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 90
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 91
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 92
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 93
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Symbol 404 MovieClip Frame 94
stop();
Instance of Symbol 401 MovieClip in Symbol 404 MovieClip Frame 94
on (release) { _parent.play(); }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 94
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 95
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 96
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 97
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 98
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 99
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Symbol 404 MovieClip Frame 100
gotoAndStop (45);
Instance of Symbol 224 MovieClip [DataGrid] "myDataGrid" in Symbol 404 MovieClip Frame 100
//component parameters onClipEvent (construct) { editable = false; multipleSelection = false; rowHeight = 20; }
Symbol 404 MovieClip Frame 114
_root.customMenu = true; _root.gotoAndStop("play1");
Symbol 408 MovieClip Frame 1
if (_root.hole == 9) { gotoAndStop (2); } else { stop(); }
Instance of Symbol 408 MovieClip in Symbol 435 MovieClip Frame 1
onClipEvent (load) { if (_root.hole == 9) { } }
Symbol 458 MovieClip Frame 1
var action = "go";
Symbol 458 MovieClip Frame 13
stop();
Instance of Symbol 408 MovieClip in Symbol 458 MovieClip Frame 13
on (release) { if (this._currentframe == 1) { _parent.action = "go"; } else { _parent.action = "submit"; } _parent.play(); }
Symbol 458 MovieClip Frame 25
if (action == "go") { _root.hole++; _root.gotoAndStop("hole"); } else if (action == "submit") { _root.gotoAndStop("submit"); }
Symbol 464 MovieClip Frame 25
stop(); onEnterFrame = function () { this.textBox.text = _root.greeting; };
Symbol 464 MovieClip Frame 50
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 20
stop();
Instance of Symbol 408 MovieClip in Symbol 465 MovieClip Frame 20
on (release) { _root.clearTiles = true; _root.lines._alpha = 0; _root.tee._visible = false; _root.greetingArea.play(); _root.fail.play(); _parent.play(); }
Instance of Symbol 408 MovieClip in Symbol 465 MovieClip Frame 60
on (release) { _root.clearTiles = true; _parent.play(); }
Symbol 465 MovieClip Frame 61
_root.gotoAndStop("scorecard");
Symbol 468 MovieClip Frame 25
stop();
Instance of Symbol 467 MovieClip in Symbol 468 MovieClip Frame 25
on (release) { trace("here"); _root.scores[_root.hole - 1] = _root.score + 7; _root.clearTiles = true; _root.lines._alpha = 0; _root.tee._visible = false; _root.greetingArea.play(); _parent.play(); }
Symbol 468 MovieClip Frame 51
_root.gotoAndStop("scorecard");
Symbol 472 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 1
var score = 0; star1.useHandCursor = true; star2.useHandCursor = true; star3.useHandCursor = true; star4.useHandCursor = true; star5.useHandCursor = true; onEnterFrame = function () { if (this.star1.hitTest(_root._xmouse, _root._ymouse, true)) { score = 1; } else if (this.star2.hitTest(_root._xmouse, _root._ymouse, true)) { score = 2; } else if (this.star3.hitTest(_root._xmouse, _root._ymouse, true)) { score = 3; } else if (this.star4.hitTest(_root._xmouse, _root._ymouse, true)) { score = 4; } else if (this.star5.hitTest(_root._xmouse, _root._ymouse, true)) { score = 5; } else { score = 0; } if (score > 0) { star1.gotoAndStop(2); } else { star1.gotoAndStop(1); } if (score > 1) { star2.gotoAndStop(2); } else { star2.gotoAndStop(1); } if (score > 2) { star3.gotoAndStop(2); } else { star3.gotoAndStop(1); } if (score > 3) { star4.gotoAndStop(2); } else { star4.gotoAndStop(1); } if (score > 4) { star5.gotoAndStop(2); } else { star5.gotoAndStop(1); } }; onMouseUp = function () { if (score > 0) { this.loading._visible = true; star1._visible = false; star2._visible = false; star3._visible = false; star4._visible = false; star5._visible = false; var _local5 = new LoadVars(); _local5.onLoad = function (success) { if (success) { if (this.voted == "true") { _parent.message = "Sorry, you have already voted once this hourHAHA"; } else { _parent.message = "Thank You. The new score is " + this.score; } _parent.play(); } else { _parent.message = "Sorry, you have already voted once this hour"; _parent.play(); } }; var _local4 = new LoadVars(); _local4.id = _root.courseID; _local4.vote = score; _local4.sendAndLoad("http://www.inaflashstudios.net/vote.php", _local5, "GET"); } };
Instance of Symbol 476 MovieClip "loading" in Symbol 477 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 484 MovieClip Frame 1
var message = ""; var skipping = false; stop();
Symbol 484 MovieClip Frame 20
stop();
Instance of Symbol 408 MovieClip in Symbol 484 MovieClip Frame 20
on (release) { _root.clearTiles = true; _root.lines._alpha = 0; _root.tee._visible = false; _root.greetingArea.play(); _parent.play(); }
Symbol 484 MovieClip Frame 60
if (_root.rateCourse) { play(); } else { _root.playedCustom = true; _root.gotoAndStop("custom"); }
Instance of Symbol 408 MovieClip in Symbol 484 MovieClip Frame 60
on (release) { _root.clearTiles = true; _parent.play(); }
Symbol 484 MovieClip Frame 70
stop();
Instance of Symbol 479 MovieClip in Symbol 484 MovieClip Frame 70
on (release) { _parent.skipping = true; play(); }
Symbol 484 MovieClip Frame 80
if (skipping) { gotoAndStop (96); } onEnterFrame = function () { this.messageArea.text = message; };
Symbol 484 MovieClip Frame 88
stop();
Instance of Symbol 408 MovieClip in Symbol 484 MovieClip Frame 88
on (release) { _parent.play(); }
Symbol 484 MovieClip Frame 96
_root.playedCustom = true; _root.gotoAndStop("custom");
Symbol 488 Button
on (release) { _root.selectedTile = 3; }
Symbol 489 Button
on (release) { _root.selectedTile = 2; }
Symbol 490 Button
on (release) { _root.selectedTile = 5; }
Symbol 491 Button
on (release) { _root.selectedTile = 4; }
Instance of Symbol 486 MovieClip in Symbol 492 MovieClip Frame 1
on (release) { _root.selectedTile = 0; }
Instance of Symbol 487 MovieClip in Symbol 492 MovieClip Frame 1
on (release) { _root.selectedTile = 1; }
Symbol 492 MovieClip Frame 15
stop();
Symbol 492 MovieClip Frame 30
stop();
Symbol 516 MovieClip Frame 15
stop(); _global.styles.Alert.setStyle("textAlign", "center"); mx.controls.Alert.yesLabel = "Yes"; mx.controls.Alert.noLabel = "No"; mx.controls.Alert.buttonWidth = 110; var deleteHandler = function (evt_obj) { if (evt_obj.detail == mx.controls.Alert.YES) { mapWdth = _root.map[0].length; mapHght = _root.map.length; _root.mapString = ""; r = 0; while (r < mapHght) { if (!(r === 0)) { _root.mapString = _root.mapString + "-"; } n = 0; while (n < mapWdth) { _root.mapString = _root.mapString + (_root.TileHold[(("t_" + r) + "_") + n]._currentframe - 1); n++; } r++; } trace(_root.mapString); gotoAndPlay (47); _root.rateCourse = false; } else if (evt_obj.detail == mx.controls.Alert.NO) { _root.alert = false; } }; backBttn.onRelease = function () { _root.alert = true; mx.controls.Alert.show("Are you sure you want to continue without saving your course? \n Press Yes to play the course without saving it or \n press No to return to the map editor screen.", "Continue Without Saving?", mx.controls.Alert.YES | mx.controls.Alert.NO, this, deleteHandler, null, mx.controls.Alert.NO); };
Instance of Symbol 496 MovieClip in Symbol 516 MovieClip Frame 15
on (release) { _parent.play(); }
Symbol 516 MovieClip Frame 46
stop(); _global.styles.Alert.setStyle("textAlign", "center"); mx.controls.Alert.yesLabel = "OK"; mx.controls.Alert.noLabel = "Try Again"; mx.controls.Alert.buttonWidth = 110; var failHandler = function (evt_obj) { if (evt_obj.detail == mx.controls.Alert.YES) { _root.alert = false; mapWdth = _root.map[0].length; mapHght = _root.map.length; _root.mapString = ""; r = 0; while (r < mapHght) { if (!(r === 0)) { _root.mapString = _root.mapString + "-"; } n = 0; while (n < mapWdth) { _root.mapString = _root.mapString + (_root.TileHold[(("t_" + r) + "_") + n]._currentframe - 1); n++; } r++; } _root.TileHold.fadeOut = true; gotoAndPlay (63); } else { _root.alert = false; } }; var deleteHandler = function (evt_obj) { if (evt_obj.detail == mx.controls.Alert.YES) { _root.alert = false; } }; submit.onRelease = function () { if (inputname.text == "COURSE NAME") { _root.alert = true; mx.controls.Alert.show("Please name the course", "Error!", mx.controls.Alert.YES, this, deleteHandler, null, mx.controls.Alert.YES); } else if (author.text == "AUTHOR") { _root.alert = true; mx.controls.Alert.show("Please enter your name", "Error!", mx.controls.Alert.YES, this, deleteHandler, null, mx.controls.Alert.YES); } else if (par.text == "PAR") { _root.alert = true; mx.controls.Alert.show("Please enter a par for the course", "Error!", mx.controls.Alert.YES, this, deleteHandler, null, mx.controls.Alert.YES); } else if (par.text == "0") { _root.alert = true; mx.controls.Alert.show("Please enter a possible par", "Error!", mx.controls.Alert.YES, this, deleteHandler, null, mx.controls.Alert.YES); } else if (Number(par.text) > 9) { _root.alert = true; mx.controls.Alert.show("Please enter a lower par", "Error!", mx.controls.Alert.YES, this, deleteHandler, null, mx.controls.Alert.YES); } else if (_root.numHoles != 1) { _root.alert = true; mx.controls.Alert.show("Wrong amount of holes", "Error!", mx.controls.Alert.YES, this, deleteHandler, null, mx.controls.Alert.YES); } else if (_root.numTees != 1) { _root.alert = true; mx.controls.Alert.show("Wrong amount of tees", "Error!", mx.controls.Alert.YES, this, deleteHandler, null, mx.controls.Alert.YES); } else { mapWdth = _root.map[0].length; mapHght = _root.map.length; _root.mapString = ""; r = 0; while (r < mapHght) { if (!(r === 0)) { _root.mapString = _root.mapString + "-"; } n = 0; while (n < mapWdth) { _root.mapString = _root.mapString + (_root.TileHold[(("t_" + r) + "_") + n]._currentframe - 1); n++; } r++; } var _local4 = new LoadVars(); _local4.onLoad = function (success) { if (success) { _root.TileHold.fadeOut = true; gotoAndPlay (63); } else { _root.alert = true; } }; var _local3 = new LoadVars(); _local3.name = inputname.text; _local3.author = author.text; _local3.par = Number(par.text); _local3.data = _root.mapString; _local3.sendAndLoad("http://www.inaflashstudios.net/insertCourse.php", _local4, "GET"); } };
Symbol 516 MovieClip Frame 47
_root.toolBar.play(); mapWdth = _root.map[0].length; mapHght = _root.map.length; _root.mapString = ""; r = 0; while (r < mapHght) { if (!(r === 0)) { _root.mapString = _root.mapString + "-"; } n = 0; while (n < mapWdth) { _root.mapString = _root.mapString + (_root.TileHold[(("t_" + r) + "_") + n]._currentframe - 1); n++; } _root.TileHold.fadeOut = true; r++; }
Instance of Symbol 496 MovieClip in Symbol 516 MovieClip Frame 47
on (release) { _parent.play(); }
Symbol 516 MovieClip Frame 62
_root.customHole = _root.mapString; _root.gotoAndStop("customPlay");
Symbol 516 MovieClip Frame 84
_root.customHole = _root.mapString; _root.playedCustom = true; _root.gotoAndStop("custom");
Instance of Symbol 305 MovieClip in Symbol 519 MovieClip Frame 1
on (release) { _root.gotoAndStop("play1"); }
Instance of Symbol 308 MovieClip in Symbol 519 MovieClip Frame 1
on (release) { _root.gotoAndStop("help"); }
Instance of Symbol 311 MovieClip in Symbol 519 MovieClip Frame 1
on (release) { trace("HIGHSCORES"); }
Instance of Symbol 314 MovieClip in Symbol 519 MovieClip Frame 1
on (release) { trace("PLAYMORE"); }
Symbol 519 MovieClip Frame 47
stop();
Instance of Symbol 394 MovieClip in Symbol 519 MovieClip Frame 47
on (release) { _parent.play(); }
Symbol 519 MovieClip Frame 56
_root.gotoAndStop("main");
Symbol 538 MovieClip Frame 40
stop(); _root.kongregateStats.submit(_root.course + "_Score", _root.scoreOut);
Instance of Symbol 526 MovieClip in Symbol 538 MovieClip Frame 40
on (release) { _root.gotoAndStop("main"); }
Instance of Symbol 527 MovieClip in Symbol 538 MovieClip Frame 40
on (release) { _parent.play(); }
Symbol 538 MovieClip Frame 54
stop(); var tempName;
Instance of Symbol 527 MovieClip in Symbol 538 MovieClip Frame 54
on (release) { _parent.tempName = _parent.nameText.text; _parent.play(); }
Symbol 538 MovieClip Frame 91
function boardClose() { trace("here"); _root.gotoAndStop("main"); } stop(); if (_root.course == "COURSE1") { mochi.MochiScores.showLeaderboard({boardID:"52ab5f631c1b9824", score:_root.scoreOut, name:tempName, onClose:boardClose}); } else if (_root.course == "COURSE2") { mochi.MochiScores.showLeaderboard({boardID:"8067df64d1f0d2cc", score:_root.scoreOut, name:tempName, onClose:boardClose}); } else if (_root.course == "COURSE3") { mochi.MochiScores.showLeaderboard({boardID:"66f023e8231e63b5", score:_root.scoreOut, name:tempName, onClose:boardClose}); } else if (_root.course == "COURSE4") { mochi.MochiScores.showLeaderboard({boardID:"539acbc2743e1d47", score:_root.scoreOut, name:tempName, onClose:boardClose}); } else if (_root.course == "COURSE5") { mochi.MochiScores.showLeaderboard({boardID:"2015efe18cf475a9", score:_root.scoreOut, name:tempName, onClose:boardClose}); } else if (_root.course == "COURSE6") { mochi.MochiScores.showLeaderboard({boardID:"f3bcca0df4944693", score:_root.scoreOut, name:tempName, onClose:boardClose}); } else { trace("error with highscores"); _root.gotoAndStop("main"); }

Library Items

Symbol 1 GraphicUsed by:13 237 320  Timeline
Symbol 539 MovieClip [__Packages.mochi.MochiServices]
Symbol 540 MovieClip [__Packages.MochiAd]
Symbol 541 MovieClip [__Packages.mochi.MochiScores]
Symbol 542 MovieClip [__Packages.mx.accessibility.AccImpl]
Symbol 46 MovieClip [__Packages.mx.core.UIObject]
Symbol 166 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 167 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 169 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 168 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 47 MovieClip [__Packages.mx.core.UIComponent]
Symbol 48 MovieClip [__Packages.mx.core.View]
Symbol 170 MovieClip [__Packages.mx.skins.Border]
Symbol 171 MovieClip [__Packages.mx.skins.RectBorder]
Symbol 172 MovieClip [__Packages.mx.managers.DepthManager]
Symbol 175 MovieClip [__Packages.mx.core.ExternalContent]
Symbol 173 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 174 MovieClip [__Packages.mx.events.UIEventDispatcher]
Symbol 49 MovieClip [__Packages.mx.core.ScrollView]
Symbol 179 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar]
Symbol 176 MovieClip [__Packages.mx.skins.CustomBorder]
Symbol 177 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb]
Symbol 178 MovieClip [__Packages.mx.controls.SimpleButton]
Symbol 197 MovieClip [__Packages.mx.controls.listclasses.DataSelector]
Symbol 198 MovieClip [__Packages.mx.controls.listclasses.DataProvider]
Symbol 199 MovieClip [__Packages.mx.controls.listclasses.ScrollSelectList]
Symbol 200 MovieClip [__Packages.mx.controls.List]
Symbol 201 MovieClip [__Packages.mx.controls.DataGrid]
Symbol 225 MovieClip [__Packages.mx.effects.Tween]
Symbol 226 MovieClip [__Packages.mx.controls.gridclasses.DataGridColumn]
Symbol 227 MovieClip [__Packages.mx.controls.listclasses.SelectableRow]
Symbol 228 MovieClip [__Packages.mx.controls.gridclasses.DataGridRow]
Symbol 229 MovieClip [__Packages.mx.controls.TextInput]
Symbol 543 MovieClip [__Packages.mx.accessibility.DataGridAccImpl]
Symbol 50 MovieClip [__Packages.mx.containers.Window]
Symbol 180 MovieClip [__Packages.mx.managers.SystemManager]
Symbol 51 MovieClip [__Packages.mx.controls.Alert]
Symbol 181 MovieClip [__Packages.mx.managers.PopUpManager]
Symbol 184 MovieClip [__Packages.mx.controls.alertClasses.AlertForm]
Symbol 182 MovieClip [__Packages.mx.controls.TextArea]
Symbol 183 MovieClip [__Packages.mx.controls.Button]
Symbol 185 MovieClip [__Packages.mx.controls.HScrollBar]
Symbol 186 MovieClip [__Packages.mx.skins.ColoredSkinElement]
Symbol 187 MovieClip [__Packages.mx.core.ext.UIObjectExtensions]
Symbol 188 MovieClip [__Packages.mx.skins.halo.Defaults]
Symbol 189 MovieClip [__Packages.mx.managers.FocusManager]
Symbol 190 MovieClip [__Packages.mx.skins.halo.FocusRect]
Symbol 191 MovieClip [__Packages.mx.managers.OverlappedWindows]
Symbol 192 MovieClip [__Packages.mx.styles.CSSSetStyle]
Symbol 193 MovieClip [__Packages.mx.core.ext.UIComponentExtensions]
Symbol 194 MovieClip [__Packages.mx.skins.halo.RectBorder]
Symbol 195 MovieClip [__Packages.mx.skins.halo.ButtonSkin]
Symbol 196 MovieClip [__Packages.mx.controls.VScrollBar]
Symbol 2 GraphicUsed by:Timeline
Symbol 3 GraphicUsed by:9
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:9
Symbol 6 GraphicUsed by:9
Symbol 7 FontUsed by:8 296 299 312 316 317 322 326 329 332 335 338 341 345 346 353 354 357 360 361 364 365 368 369 372 386 407 413 414 415 416 417 418 419 420 421 422 425 426 427 428 429 430 431 432 433 434 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 459 462 463 466 469 473 474 475 480 481 482 483 493 495 498 499 500 501 503 504 505 506 507 508 510 511 512 513 514 515 520 521 522 523 524 525 530 531 532 533 534 535 536 537
Symbol 8 TextUses:7Used by:9
Symbol 9 MovieClipUses:3 5 6 8Used by:Timeline
Symbol 10 ShapeTweeningUsed by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:10 11Used by:Timeline
Symbol 13 MovieClipUses:1Used by:Timeline
Symbol 14 Bitmap [Paper]Used by:15 230
Symbol 15 GraphicUses:14Used by:16
Symbol 16 MovieClipUses:15Used by:Timeline
Symbol 17 Sound [inCup]Used by:20
Symbol 18 Sound [whack]Used by:20
Symbol 19 Sound [theWire]Used by:20
Symbol 20 MovieClipUses:17 18 19Used by:Timeline
Symbol 21 GraphicUsed by:32
Symbol 22 GraphicUsed by:23 233
Symbol 23 MovieClipUses:22Used by:32
Symbol 24 GraphicUsed by:32
Symbol 25 GraphicUsed by:32
Symbol 26 GraphicUsed by:29
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:26 27 28Used by:32
Symbol 30 GraphicUsed by:32
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClip [Tile]Uses:21 23 24 25 29 30 31Used by:Timeline
Symbol 33 GraphicUsed by:45
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:45
Symbol 36 GraphicUsed by:45 487
Symbol 37 FontUsed by:38 40 42
Symbol 38 TextUses:37Used by:45 487
Symbol 39 GraphicUsed by:45 489
Symbol 40 TextUses:37Used by:45 489
Symbol 41 GraphicUsed by:45 488
Symbol 42 TextUses:37Used by:45 488
Symbol 43 GraphicUsed by:45 491
Symbol 44 GraphicUsed by:45 490
Symbol 45 MovieClip [Tile2]Uses:33 35 36 38 39 40 41 42 43 44Used by:Timeline
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClip [BoundingBox]Uses:52Used by:72 76 80 139 140 141 142 160 165 216 220 221 224
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClip [BrdrShdw]Uses:54Used by:58 63 64
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip [BrdrFace]Uses:56Used by:58 63 64
Symbol 58 MovieClip [SimpleButtonDown]Uses:55 57Used by:76
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClip [BrdrBlk]Uses:59Used by:63 64
Symbol 61 GraphicUsed by:62 143
Symbol 62 MovieClip [BrdrHilght]Uses:61Used by:63 64
Symbol 63 MovieClip [SimpleButtonIn]Uses:60 62 55 57Used by:76
Symbol 64 MovieClip [SimpleButtonUp]Uses:60 57 55 62Used by:76
Symbol 65 MovieClip [Defaults]Used by:67
Symbol 66 MovieClip [UIObjectExtensions]Used by:67
Symbol 67 MovieClip [UIObject]Uses:65 66Used by:73 75 77
Symbol 68 GraphicUsed by:70
Symbol 69 GraphicUsed by:70
Symbol 70 ButtonUses:68 69Used by:73
Symbol 71 MovieClipUsed by:73
Symbol 72 MovieClip [FocusRect]Uses:53Used by:73
Symbol 73 MovieClip [FocusManager]Uses:70 71 72 67Used by:75
Symbol 74 MovieClip [UIComponentExtensions]Used by:75
Symbol 75 MovieClip [UIComponent]Uses:67 73 74Used by:76 141 216 223
Symbol 76 MovieClip [SimpleButton]Uses:53 58 63 64 75Used by:80 139 140 160
Symbol 77 MovieClip [Border]Uses:67Used by:78 80
Symbol 78 MovieClip [RectBorder]Uses:77Used by:80 141 223
Symbol 79 MovieClip [ButtonSkin]Used by:80
Symbol 80 MovieClip [Button]Uses:53 76 77 78 79Used by:139 140 165
Symbol 81 MovieClip [CustomBorder]Used by:139 140
Symbol 82 GraphicUsed by:84 120 121 122 125 126 131
Symbol 83 GraphicUsed by:84 120 121 125 126 131
Symbol 84 MovieClip [ScrollTrack]Uses:82 83Used by:91 96 97 98 132 133 134 135 136 137
Symbol 85 GraphicUsed by:91 96 97 98 132 133 134 135
Symbol 86 GraphicUsed by:91 96 97 98 132 133 134 135
Symbol 87 GraphicUsed by:91 96 97 98 132 133 134 135
Symbol 88 GraphicUsed by:91 96 97 98 132 133 134 135
Symbol 89 GraphicUsed by:91 96 97 98 132 133 134 135
Symbol 90 GraphicUsed by:91 96 97 98
Symbol 91 MovieClip [ScrollDownArrowDisabled]Uses:84 85 86 87 88 89 90Used by:138
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClip [ScrollThemeColor1]Uses:92Used by:96 97 133 134
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClip [ScrollThemeColor2]Uses:94Used by:96 133
Symbol 96 MovieClip [ScrollDownArrowDown]Uses:84 85 93 86 87 88 89 95 90Used by:138
Symbol 97 MovieClip [ScrollDownArrowOver]Uses:84 85 93 86 87 88 89 90Used by:138
Symbol 98 MovieClip [ScrollDownArrowUp]Uses:84 85 86 87 88 89 90Used by:138
Symbol 99 GraphicUsed by:104 109 110 111 127 128 129 130
Symbol 100 GraphicUsed by:104 109 110 111 127 128 129 130
Symbol 101 GraphicUsed by:104 109 110 111 127 128 129 130
Symbol 102 GraphicUsed by:104 109 110 111 127 128 129 130
Symbol 103 GraphicUsed by:104 109 110 111 127 128 129 130
Symbol 104 MovieClip [ScrollThumbBottomDisabled]Uses:99 100 101 102 103Used by:138
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClip [ThumbThemeColor1]Uses:105Used by:109 110 128 129
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClip [ThumbThemeColor3]Uses:107Used by:109 128
Symbol 109 MovieClip [ScrollThumbBottomDown]Uses:99 106 100 101 102 108 103Used by:138
Symbol 110 MovieClip [ScrollThumbBottomOver]Uses:99 106 100 101 102 103Used by:138
Symbol 111 MovieClip [ScrollThumbBottomUp]Uses:99 100 101 102 103Used by:138
Symbol 112 GraphicUsed by:113 116 117 118
Symbol 113 MovieClip [ScrollThumbGripDisabled]Uses:112Used by:138
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClip [ThumbThemeColor2]Uses:114Used by:116 117 120 121 125
Symbol 116 MovieClip [ScrollThumbGripDown]Uses:115 112Used by:138
Symbol 117 MovieClip [ScrollThumbGripOver]Uses:115 112Used by:138
Symbol 118 MovieClip [ScrollThumbGripUp]Uses:112Used by:138
Symbol 119 GraphicUsed by:120 121 125 126
Symbol 120 MovieClip [ScrollThumbMiddleDisabled]Uses:82 119 115 83Used by:138
Symbol 121 MovieClip [ScrollThumbMiddleDown]Uses:82 115 119 83Used by:138
Symbol 122 MovieClipUses:82Used by:125
Symbol 123 GraphicUsed by:124 132 133 134 135
Symbol 124 MovieClipUses:123Used by:125
Symbol 125 MovieClip [ScrollThumbMiddleOver]Uses:82 115 119 122 124 83Used by:138
Symbol 126 MovieClip [ScrollThumbMiddleUp]Uses:82 119 83Used by:138
Symbol 127 MovieClip [ScrollThumbTopDisabled]Uses:99 100 101 102 103Used by:138
Symbol 128 MovieClip [ScrollThumbTopDown]Uses:99 106 100 101 102 108 103Used by:138
Symbol 129 MovieClip [ScrollThumbTopOver]Uses:99 106 100 101 102 103Used by:138
Symbol 130 MovieClip [ScrollThumbTopUp]Uses:99 100 101 102 103Used by:138
Symbol 131 MovieClip [ScrollTrackDisabled]Uses:82 83Used by:138
Symbol 132 MovieClip [ScrollUpArrowDisabled]Uses:84 85 86 87 88 89 123Used by:138
Symbol 133 MovieClip [ScrollUpArrowDown]Uses:84 85 93 86 87 88 89 95 123Used by:138
Symbol 134 MovieClip [ScrollUpArrowOver]Uses:84 85 93 86 87 123 88 89Used by:138
Symbol 135 MovieClip [ScrollUpArrowUp]Uses:84 85 86 87 88 89 123Used by:138
Symbol 136 MovieClip [BtnDownArrow]Uses:84Used by:138
Symbol 137 MovieClip [BtnUpArrow]Uses:84Used by:138
Symbol 138 MovieClip [ScrollBarAssets]Uses:91 96 97 98 104 109 110 111 113 116 117 118 120 121 125 126 127 128 129 130 131 132 133 134 135 136 137Used by:139 140
Symbol 139 MovieClip [HScrollBar]Uses:53 80 76 81 138Used by:142
Symbol 140 MovieClip [VScrollBar]Uses:53 80 76 81 138Used by:142
Symbol 141 MovieClip [View]Uses:53 75 78Used by:142
Symbol 142 MovieClip [ScrollView]Uses:53 139 140 141Used by:160 163 220
Symbol 143 MovieClip [Modal]Uses:61Used by:159
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClip [TitleLeft]Uses:144Used by:150
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClip [TitleMiddle]Uses:146Used by:150
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClip [TitleRight]Uses:148Used by:150
Symbol 150 MovieClip [TitleBackground]Uses:145 147 149Used by:159
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClip [CloseButtonDisabled]Uses:151Used by:159
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClip [CloseButtonDown]Uses:153Used by:159
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClip [CloseButtonOver]Uses:155Used by:159
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClip [CloseButtonUp]Uses:157Used by:159
Symbol 159 MovieClip [WindowAssets]Uses:143 150 152 154 156 158Used by:160
Symbol 160 MovieClip [Window]Uses:53 142 76 159Used by:165
Symbol 161 FontUsed by:162 222
Symbol 162 EditableTextUses:161Used by:163
Symbol 163 MovieClip [TextArea]Uses:162 142Used by:165
Symbol 164 MovieClip [AlertAssets]Used by:165
Symbol 165 MovieClip [Alert]Uses:53 160 163 80 164Used by:Timeline
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClip [DataHeaderBackGnd]Uses:202Used by:214
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClip [DataHeaderOverlay]Uses:204Used by:214
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClip [DataHeaderSeperator]Uses:206Used by:214
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClip [DataSortArrow]Uses:208Used by:214
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClip [DataStretchBar]Uses:210Used by:214
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClip [cursorStretch]Uses:212Used by:214
Symbol 214 MovieClip [DataGridAssets]Uses:203 205 207 209 211 213Used by:224
Symbol 215 MovieClip [DataGridColumn]Used by:224
Symbol 216 MovieClip [SelectableRow]Uses:75 53Used by:217 220
Symbol 217 MovieClip [DataGridRow]Uses:216Used by:224
Symbol 218 MovieClip [DataProvider]Used by:220
Symbol 219 MovieClip [DataSelector]Used by:220
Symbol 220 MovieClip [ScrollSelectList]Uses:53 218 219 216 142Used by:221
Symbol 221 MovieClip [List]Uses:53 220Used by:224
Symbol 222 EditableTextUses:161Used by:223
Symbol 223 MovieClip [TextInput]Uses:222 78 75Used by:224
Symbol 224 MovieClip [DataGrid]Uses:53 214 215 217 221 223Used by:404  Timeline
Symbol 230 GraphicUses:14Used by:Timeline
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClip [Tee]Uses:231Used by:Timeline
Symbol 233 MovieClipUses:22Used by:289
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:289
Symbol 236 GraphicUsed by:289
Symbol 237 MovieClipUses:1Used by:289
Symbol 238 GraphicUsed by:270
Symbol 239 FontUsed by:240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
Symbol 240 TextUses:239Used by:270
Symbol 241 TextUses:239Used by:270
Symbol 242 TextUses:239Used by:270
Symbol 243 TextUses:239Used by:270
Symbol 244 TextUses:239Used by:270
Symbol 245 TextUses:239Used by:270
Symbol 246 TextUses:239Used by:270
Symbol 247 TextUses:239Used by:270
Symbol 248 TextUses:239Used by:270
Symbol 249 TextUses:239Used by:270
Symbol 250 TextUses:239Used by:270
Symbol 251 TextUses:239Used by:270
Symbol 252 TextUses:239Used by:270
Symbol 253 TextUses:239Used by:270
Symbol 254 TextUses:239Used by:270
Symbol 255 TextUses:239Used by:270
Symbol 256 TextUses:239Used by:270
Symbol 257 TextUses:239Used by:270
Symbol 258 TextUses:239Used by:270
Symbol 259 TextUses:239Used by:270
Symbol 260 TextUses:239Used by:270
Symbol 261 TextUses:239Used by:270
Symbol 262 TextUses:239Used by:270
Symbol 263 TextUses:239Used by:270
Symbol 264 TextUses:239Used by:270
Symbol 265 TextUses:239Used by:270
Symbol 266 FontUsed by:267 268 269 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
Symbol 267 TextUses:266Used by:270
Symbol 268 TextUses:266Used by:270
Symbol 269 TextUses:266Used by:270
Symbol 270 MovieClipUses:238 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 267 268 269Used by:289
Symbol 271 GraphicUsed by:272
Symbol 272 MovieClipUses:271Used by:289
Symbol 273 GraphicUsed by:289
Symbol 274 TextUses:266Used by:289
Symbol 275 TextUses:266Used by:289
Symbol 276 TextUses:266Used by:289
Symbol 277 TextUses:266Used by:289
Symbol 278 TextUses:266Used by:289
Symbol 279 TextUses:266Used by:289
Symbol 280 TextUses:266Used by:289
Symbol 281 TextUses:266Used by:289
Symbol 282 TextUses:266Used by:289
Symbol 283 TextUses:266Used by:289
Symbol 284 TextUses:266Used by:289
Symbol 285 TextUses:266Used by:289
Symbol 286 TextUses:266Used by:289
Symbol 287 TextUses:266Used by:289
Symbol 288 TextUses:266Used by:289
Symbol 289 MovieClipUses:233 235 236 237 270 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 SS1Used by:Timeline
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClipUses:290Used by:292
Symbol 292 MovieClipUses:291Used by:352 388 389 404 519
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:295
Symbol 295 MovieClipUses:294Used by:352 388 389 404 519
Symbol 296 TextUses:7Used by:297
Symbol 297 MovieClipUses:296Used by:298
Symbol 298 MovieClipUses:297Used by:352 388 389 404 519
Symbol 299 TextUses:7Used by:300
Symbol 300 MovieClipUses:299Used by:301
Symbol 301 MovieClipUses:300Used by:352 388 389 404 519
Symbol 302 GraphicUsed by:305 308 311 314 315 324
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:303Used by:305
Symbol 305 MovieClipUses:302 304Used by:352 388 404 519
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClipUses:306Used by:308
Symbol 308 MovieClipUses:302 307Used by:352 388 519
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClipUses:309Used by:311
Symbol 311 MovieClipUses:302 310Used by:352 388 519
Symbol 312 TextUses:7Used by:313
Symbol 313 MovieClipUses:312Used by:314
Symbol 314 MovieClipUses:302 313Used by:352 388 519
Symbol 315 MovieClipUses:302Used by:319
Symbol 316 TextUses:7Used by:318
Symbol 317 EditableTextUses:7Used by:318
Symbol 318 MovieClipUses:316 317Used by:319
Symbol 319 MovieClipUses:315 318Used by:352 388 458 538
Symbol 320 MovieClipUses:1Used by:344
Symbol 321 GraphicUsed by:344
Symbol 322 TextUses:7Used by:323
Symbol 323 MovieClipUses:322Used by:324
Symbol 324 MovieClipUses:302 323Used by:344
Symbol 325 GraphicUsed by:328 331 334 337 340 343
Symbol 326 TextUses:7Used by:327
Symbol 327 MovieClipUses:326Used by:328
Symbol 328 MovieClipUses:325 327Used by:344
Symbol 329 TextUses:7Used by:330
Symbol 330 MovieClipUses:329Used by:331
Symbol 331 MovieClipUses:325 330Used by:344
Symbol 332 TextUses:7Used by:333
Symbol 333 MovieClipUses:332Used by:334
Symbol 334 MovieClipUses:325 333Used by:344
Symbol 335 TextUses:7Used by:336
Symbol 336 MovieClipUses:335Used by:337
Symbol 337 MovieClipUses:325 336Used by:344
Symbol 338 TextUses:7Used by:339
Symbol 339 MovieClipUses:338Used by:340
Symbol 340 MovieClipUses:325 339Used by:344
Symbol 341 TextUses:7Used by:342
Symbol 342 MovieClipUses:341Used by:343
Symbol 343 MovieClipUses:325 342Used by:344
Symbol 344 MovieClipUses:320 321 324 328 331 334 337 340 343Used by:352
Symbol 345 TextUses:7Used by:347
Symbol 346 TextUses:7Used by:347
Symbol 347 MovieClipUses:345 346Used by:349
Symbol 348 GraphicUsed by:349 356 359 363 367 371 374 378 381 394
Symbol 349 MovieClipUses:347 348Used by:352
Symbol 350 FontUsed by:351 377 517 518
Symbol 351 TextUses:350Used by:352
Symbol 352 MovieClipUses:292 295 298 301 305 308 311 314 319 344 349 351Used by:Timeline
Symbol 353 TextUses:7Used by:355
Symbol 354 TextUses:7Used by:355 358
Symbol 355 MovieClipUses:353 354Used by:356
Symbol 356 MovieClipUses:355 348Used by:388 389 404
Symbol 357 TextUses:7Used by:358
Symbol 358 MovieClipUses:357 354Used by:359
Symbol 359 MovieClipUses:358 348Used by:388 389 404
Symbol 360 TextUses:7Used by:362
Symbol 361 TextUses:7Used by:362 373
Symbol 362 MovieClipUses:360 361Used by:363
Symbol 363 MovieClipUses:362 348Used by:388 389 404
Symbol 364 TextUses:7Used by:366
Symbol 365 TextUses:7Used by:366
Symbol 366 MovieClipUses:364 365Used by:367
Symbol 367 MovieClipUses:366 348Used by:388 389 404
Symbol 368 TextUses:7Used by:370
Symbol 369 TextUses:7Used by:370
Symbol 370 MovieClipUses:368 369Used by:371
Symbol 371 MovieClipUses:370 348Used by:388 389 404
Symbol 372 TextUses:7Used by:373
Symbol 373 MovieClipUses:372 361Used by:374
Symbol 374 MovieClipUses:373 348Used by:388 389 404
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClipUses:375Used by:378
Symbol 377 TextUses:350Used by:378
Symbol 378 MovieClipUses:348 376 377Used by:388 389 404
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClipUses:379Used by:381
Symbol 381 MovieClipUses:380 348Used by:388 389 404
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClipUses:382Used by:385
Symbol 384 GraphicUsed by:385 401 408 467 472 526 527
Symbol 385 MovieClipUses:383 384Used by:388
Symbol 386 TextUses:7Used by:387
Symbol 387 MovieClipUses:386Used by:388
Symbol 388 MovieClipUses:292 295 298 301 305 308 311 314 319 356 359 363 367 371 374 378 381 385 387Used by:Timeline
Symbol 389 MovieClipUses:292 295 298 301 356 359 363 367 371 374 378 381Used by:Timeline
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:390Used by:404
Symbol 392 GraphicUsed by:393
Symbol 393 MovieClipUses:392Used by:394
Symbol 394 MovieClipUses:393 348Used by:404 519
Symbol 395 GraphicUsed by:398
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:398
Symbol 398 MovieClipUses:395 397Used by:404
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:401
Symbol 401 MovieClipUses:400 384Used by:404
Symbol 402 GraphicUsed by:403
Symbol 403 MovieClipUses:402Used by:404
Symbol 404 MovieClipUses:292 295 298 301 356 359 363 367 371 374 378 381 391 224 394 305 398 401 403Used by:Timeline
Symbol 405 GraphicUsed by:435
Symbol 406 GraphicUsed by:408
Symbol 407 TextUses:7Used by:408
Symbol 408 MovieClipUses:406 407 384Used by:435 458 465 484
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:409Used by:435 458
Symbol 411 GraphicUsed by:412
Symbol 412 MovieClipUses:411Used by:435 458
Symbol 413 EditableTextUses:7Used by:435
Symbol 414 EditableTextUses:7Used by:435
Symbol 415 EditableTextUses:7Used by:435
Symbol 416 EditableTextUses:7Used by:435
Symbol 417 EditableTextUses:7Used by:435
Symbol 418 EditableTextUses:7Used by:435
Symbol 419 EditableTextUses:7Used by:435
Symbol 420 EditableTextUses:7Used by:435
Symbol 421 EditableTextUses:7Used by:435
Symbol 422 EditableTextUses:7Used by:435
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClipUses:423Used by:435 458
Symbol 425 EditableTextUses:7Used by:435
Symbol 426 EditableTextUses:7Used by:435
Symbol 427 EditableTextUses:7Used by:435
Symbol 428 EditableTextUses:7Used by:435
Symbol 429 EditableTextUses:7Used by:435
Symbol 430 EditableTextUses:7Used by:435
Symbol 431 EditableTextUses:7Used by:435
Symbol 432 EditableTextUses:7Used by:435
Symbol 433 EditableTextUses:7Used by:435
Symbol 434 EditableTextUses:7Used by:435
Symbol 435 MovieClipUses:405 408 410 412 413 414 415 416 417 418 419 420 421 422 424 425 426 427 428 429 430 431 432 433 434Used by:458
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:436Used by:458
Symbol 438 EditableTextUses:7Used by:458
Symbol 439 EditableTextUses:7Used by:458
Symbol 440 EditableTextUses:7Used by:458
Symbol 441 EditableTextUses:7Used by:458
Symbol 442 EditableTextUses:7Used by:458
Symbol 443 EditableTextUses:7Used by:458
Symbol 444 EditableTextUses:7Used by:458
Symbol 445 EditableTextUses:7Used by:458
Symbol 446 EditableTextUses:7Used by:458
Symbol 447 EditableTextUses:7Used by:458
Symbol 448 EditableTextUses:7Used by:458
Symbol 449 EditableTextUses:7Used by:458
Symbol 450 EditableTextUses:7Used by:458
Symbol 451 EditableTextUses:7Used by:458
Symbol 452 EditableTextUses:7Used by:458
Symbol 453 EditableTextUses:7Used by:458
Symbol 454 EditableTextUses:7Used by:458
Symbol 455 EditableTextUses:7Used by:458
Symbol 456 EditableTextUses:7Used by:458
Symbol 457 EditableTextUses:7Used by:458
Symbol 458 MovieClipUses:435 437 408 410 412 438 439 440 441 442 443 444 445 446 447 424 448 449 450 451 452 453 454 455 456 457 319Used by:Timeline
Symbol 459 EditableTextUses:7Used by:464
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:460Used by:464
Symbol 462 EditableTextUses:7Used by:464
Symbol 463 EditableTextUses:7Used by:464
Symbol 464 MovieClipUses:459 461 462 463Used by:Timeline
Symbol 465 MovieClipUses:408Used by:Timeline
Symbol 466 TextUses:7Used by:468
Symbol 467 MovieClipUses:384Used by:468
Symbol 468 MovieClipUses:466 467Used by:Timeline
Symbol 469 TextUses:7Used by:484
Symbol 470 GraphicUsed by:472
Symbol 471 GraphicUsed by:472
Symbol 472 MovieClipUses:384 470 471Used by:477
Symbol 473 TextUses:7Used by:476
Symbol 474 TextUses:7Used by:476
Symbol 475 TextUses:7Used by:476
Symbol 476 MovieClipUses:473 474 475Used by:477
Symbol 477 MovieClipUses:472 476Used by:484
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClipUses:478Used by:484
Symbol 480 TextUses:7Used by:484
Symbol 481 EditableTextUses:7Used by:484
Symbol 482 EditableTextUses:7Used by:484
Symbol 483 EditableTextUses:7Used by:484
Symbol 484 MovieClipUses:408 469 477 479 480 481 482 483Used by:Timeline
Symbol 485 GraphicUsed by:486
Symbol 486 MovieClipUses:485Used by:492
Symbol 487 MovieClipUses:36 38Used by:492
Symbol 488 ButtonUses:41 42Used by:492
Symbol 489 ButtonUses:39 40Used by:492
Symbol 490 ButtonUses:44Used by:492
Symbol 491 ButtonUses:43Used by:492
Symbol 492 MovieClipUses:486 487 488 489 490 491Used by:Timeline
Symbol 493 TextUses:7Used by:494 497
Symbol 494 MovieClipUses:493Used by:516
Symbol 495 TextUses:7Used by:496
Symbol 496 MovieClipUses:495Used by:516
Symbol 497 ButtonUses:493Used by:516
Symbol 498 EditableTextUses:7Used by:516
Symbol 499 EditableTextUses:7Used by:516
Symbol 500 EditableTextUses:7Used by:516
Symbol 501 TextUses:7Used by:502 509
Symbol 502 MovieClipUses:501Used by:516
Symbol 503 EditableTextUses:7Used by:516
Symbol 504 EditableTextUses:7Used by:516
Symbol 505 EditableTextUses:7Used by:516
Symbol 506 EditableTextUses:7Used by:516
Symbol 507 EditableTextUses:7Used by:516
Symbol 508 EditableTextUses:7Used by:516
Symbol 509 ButtonUses:501Used by:516
Symbol 510 EditableTextUses:7Used by:516
Symbol 511 EditableTextUses:7Used by:516
Symbol 512 EditableTextUses:7Used by:516
Symbol 513 EditableTextUses:7Used by:516
Symbol 514 EditableTextUses:7Used by:516
Symbol 515 EditableTextUses:7Used by:516
Symbol 516 MovieClipUses:494 496 497 498 499 500 502 503 504 505 506 507 508 509 510 511 512 513 514 515Used by:Timeline
Symbol 517 TextUses:350Used by:519
Symbol 518 TextUses:350Used by:519
Symbol 519 MovieClipUses:292 295 298 301 305 308 311 314 517 394 518Used by:Timeline
Symbol 520 TextUses:7Used by:538
Symbol 521 TextUses:7Used by:538
Symbol 522 EditableTextUses:7Used by:538
Symbol 523 EditableTextUses:7Used by:538
Symbol 524 TextUses:7Used by:538
Symbol 525 TextUses:7Used by:538
Symbol 526 MovieClipUses:384Used by:538
Symbol 527 MovieClipUses:384Used by:538
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:528Used by:538
Symbol 530 EditableTextUses:7Used by:538
Symbol 531 EditableTextUses:7Used by:538
Symbol 532 EditableTextUses:7Used by:538
Symbol 533 EditableTextUses:7Used by:538
Symbol 534 EditableTextUses:7Used by:538
Symbol 535 EditableTextUses:7Used by:538
Symbol 536 EditableTextUses:7Used by:538
Symbol 537 EditableTextUses:7Used by:538
Symbol 538 MovieClipUses:520 521 522 523 524 525 526 527 319 529 530 531 532 533 534 535 536 537Used by:Timeline
Streaming Sound 1Used by:Symbol 289 MovieClip

Instance Names

"loading_id"Frame 2Symbol 9 MovieClip
"white"Frame 2Symbol 12 MovieClip
"intro_id"Frame 4Symbol 289 MovieClip
"main_id"Frame 5Symbol 352 MovieClip
"play1_id"Frame 6Symbol 388 MovieClip
"play_id"Frame 7Symbol 389 MovieClip
"customFrame"Frame 8Symbol 404 MovieClip
"score_id"Frame 9Symbol 458 MovieClip
"greetingArea"Frame 10Symbol 464 MovieClip
"continueButton"Frame 10Symbol 465 MovieClip
"fail"Frame 10Symbol 468 MovieClip
"continueButton"Frame 11Symbol 484 MovieClip
"toolBar"Frame 12Symbol 492 MovieClip
"submit_id"Frame 14Symbol 538 MovieClip
"loadBar"Symbol 9 MovieClip Frame 1Symbol 5 MovieClip
"hit_id"Symbol 32 MovieClip [Tile] Frame 1Symbol 23 MovieClip
"b"Symbol 58 MovieClip [SimpleButtonDown] Frame 1Symbol 55 MovieClip [BrdrShdw]
"face"Symbol 58 MovieClip [SimpleButtonDown] Frame 1Symbol 57 MovieClip [BrdrFace]
"b"Symbol 63 MovieClip [SimpleButtonIn] Frame 1Symbol 60 MovieClip [BrdrBlk]
"it"Symbol 63 MovieClip [SimpleButtonIn] Frame 1Symbol 62 MovieClip [BrdrHilght]
"g"Symbol 63 MovieClip [SimpleButtonIn] Frame 1Symbol 55 MovieClip [BrdrShdw]
"face"Symbol 63 MovieClip [SimpleButtonIn] Frame 1Symbol 57 MovieClip [BrdrFace]
"ob"Symbol 64 MovieClip [SimpleButtonUp] Frame 1Symbol 60 MovieClip [BrdrBlk]
"ol"Symbol 64 MovieClip [SimpleButtonUp] Frame 1Symbol 57 MovieClip [BrdrFace]
"ib"Symbol 64 MovieClip [SimpleButtonUp] Frame 1Symbol 55 MovieClip [BrdrShdw]
"il"Symbol 64 MovieClip [SimpleButtonUp] Frame 1Symbol 62 MovieClip [BrdrHilght]
"face"Symbol 64 MovieClip [SimpleButtonUp] Frame 1Symbol 57 MovieClip [BrdrFace]
"boundingBox_mc"Symbol 72 MovieClip [FocusRect] Frame 1Symbol 53 MovieClip [BoundingBox]
"tabCapture"Symbol 73 MovieClip [FocusManager] Frame 1Symbol 70 Button
"boundingBox_mc"Symbol 76 MovieClip [SimpleButton] Frame 1Symbol 53 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 80 MovieClip [Button] Frame 1Symbol 53 MovieClip [BoundingBox]
"dfs"Symbol 136 MovieClip [BtnDownArrow] Frame 1Symbol 84 MovieClip [ScrollTrack]
"dfs"Symbol 137 MovieClip [BtnUpArrow] Frame 1Symbol 84 MovieClip [ScrollTrack]
"boundingBox_mc"Symbol 139 MovieClip [HScrollBar] Frame 1Symbol 53 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 140 MovieClip [VScrollBar] Frame 1Symbol 53 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 141 MovieClip [View] Frame 1Symbol 53 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 142 MovieClip [ScrollView] Frame 1Symbol 53 MovieClip [BoundingBox]
"l_mc"Symbol 150 MovieClip [TitleBackground] Frame 1Symbol 145 MovieClip [TitleLeft]
"m_mc"Symbol 150 MovieClip [TitleBackground] Frame 1Symbol 147 MovieClip [TitleMiddle]
"r_mc"Symbol 150 MovieClip [TitleBackground] Frame 1Symbol 149 MovieClip [TitleRight]
"boundingBox_mc"Symbol 160 MovieClip [Window] Frame 1Symbol 53 MovieClip [BoundingBox]
"label"Symbol 163 MovieClip [TextArea] Frame 1Symbol 162 EditableText
"boundingBox_mc"Symbol 165 MovieClip [Alert] Frame 1Symbol 53 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 221 MovieClip [List] Frame 1Symbol 53 MovieClip [BoundingBox]
"label"Symbol 223 MovieClip [TextInput] Frame 1Symbol 222 EditableText
"boundingBox_mc"Symbol 224 MovieClip [DataGrid] Frame 1Symbol 53 MovieClip [BoundingBox]
"toggle_txt"Symbol 318 MovieClip Frame 1Symbol 317 EditableText
"hit_id"Symbol 319 MovieClip Frame 1Symbol 315 MovieClip
"inner_id"Symbol 319 MovieClip Frame 1Symbol 318 MovieClip
"blocker_id"Symbol 344 MovieClip Frame 1Symbol 320 MovieClip
"course1_id"Symbol 344 MovieClip Frame 1Symbol 328 MovieClip
"course2_id"Symbol 344 MovieClip Frame 1Symbol 331 MovieClip
"course3_id"Symbol 344 MovieClip Frame 1Symbol 334 MovieClip
"course4_id"Symbol 344 MovieClip Frame 1Symbol 337 MovieClip
"course5_id"Symbol 344 MovieClip Frame 1Symbol 340 MovieClip
"course6_id"Symbol 344 MovieClip Frame 1Symbol 343 MovieClip
"credits_id"Symbol 349 MovieClip Frame 1Symbol 347 MovieClip
"leaderboards_id"Symbol 352 MovieClip Frame 62Symbol 311 MovieClip
"music_id"Symbol 352 MovieClip Frame 85Symbol 319 MovieClip
"window_id"Symbol 352 MovieClip Frame 85Symbol 344 MovieClip
"music_id"Symbol 388 MovieClip Frame 1Symbol 319 MovieClip
"myDataGrid"Symbol 404 MovieClip Frame 29Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 30Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 31Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 32Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 33Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 34Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 35Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 36Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 37Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 38Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 39Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 40Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 46Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 47Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 48Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 49Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 50Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 51Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 52Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 53Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 54Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 55Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 56Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 57Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 58Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 59Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 60Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 61Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 62Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 63Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 64Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 65Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 66Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 75Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 76Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 77Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 78Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 79Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 80Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 81Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 82Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 83Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 84Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 85Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 86Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 87Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 88Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 89Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 90Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 91Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 92Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 93Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 94Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 95Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 96Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 97Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 98Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 99Symbol 224 MovieClip [DataGrid]
"myDataGrid"Symbol 404 MovieClip Frame 100Symbol 224 MovieClip [DataGrid]
"music_id"Symbol 458 MovieClip Frame 13Symbol 319 MovieClip
"textBox"Symbol 464 MovieClip Frame 25Symbol 462 EditableText
"star1"Symbol 477 MovieClip Frame 1Symbol 472 MovieClip
"star2"Symbol 477 MovieClip Frame 1Symbol 472 MovieClip
"star3"Symbol 477 MovieClip Frame 1Symbol 472 MovieClip
"star4"Symbol 477 MovieClip Frame 1Symbol 472 MovieClip
"star5"Symbol 477 MovieClip Frame 1Symbol 472 MovieClip
"loading"Symbol 477 MovieClip Frame 1Symbol 476 MovieClip
"messageArea"Symbol 484 MovieClip Frame 80Symbol 481 EditableText
"messageArea"Symbol 484 MovieClip Frame 88Symbol 482 EditableText
"messageArea"Symbol 484 MovieClip Frame 96Symbol 483 EditableText
"backBttn"Symbol 516 MovieClip Frame 15Symbol 497 Button
"author"Symbol 516 MovieClip Frame 46Symbol 506 EditableText
"par"Symbol 516 MovieClip Frame 46Symbol 507 EditableText
"inputname"Symbol 516 MovieClip Frame 46Symbol 508 EditableText
"submit"Symbol 516 MovieClip Frame 46Symbol 509 Button
"backBttn"Symbol 516 MovieClip Frame 47Symbol 497 Button
"nameText"Symbol 538 MovieClip Frame 47Symbol 530 EditableText
"nameText"Symbol 538 MovieClip Frame 53Symbol 531 EditableText
"nameText"Symbol 538 MovieClip Frame 55Symbol 533 EditableText
"nameText"Symbol 538 MovieClip Frame 61Symbol 534 EditableText
"nameText"Symbol 538 MovieClip Frame 68Symbol 536 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 539 as "__Packages.mochi.MochiServices"
ExportAssets (56)Timeline Frame 1Symbol 540 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 541 as "__Packages.mochi.MochiScores"
ExportAssets (56)Timeline Frame 1Symbol 542 as "__Packages.mx.accessibility.AccImpl"
ExportAssets (56)Timeline Frame 1Symbol 46 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 166 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 167 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 169 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 168 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 47 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 48 as "__Packages.mx.core.View"
ExportAssets (56)Timeline Frame 1Symbol 170 as "__Packages.mx.skins.Border"
ExportAssets (56)Timeline Frame 1Symbol 171 as "__Packages.mx.skins.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 172 as "__Packages.mx.managers.DepthManager"
ExportAssets (56)Timeline Frame 1Symbol 175 as "__Packages.mx.core.ExternalContent"
ExportAssets (56)Timeline Frame 1Symbol 173 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 174 as "__Packages.mx.events.UIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 49 as "__Packages.mx.core.ScrollView"
ExportAssets (56)Timeline Frame 1Symbol 179 as "__Packages.mx.controls.scrollClasses.ScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 176 as "__Packages.mx.skins.CustomBorder"
ExportAssets (56)Timeline Frame 1Symbol 177 as "__Packages.mx.controls.scrollClasses.ScrollThumb"
ExportAssets (56)Timeline Frame 1Symbol 178 as "__Packages.mx.controls.SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 197 as "__Packages.mx.controls.listclasses.DataSelector"
ExportAssets (56)Timeline Frame 1Symbol 198 as "__Packages.mx.controls.listclasses.DataProvider"
ExportAssets (56)Timeline Frame 1Symbol 199 as "__Packages.mx.controls.listclasses.ScrollSelectList"
ExportAssets (56)Timeline Frame 1Symbol 200 as "__Packages.mx.controls.List"
ExportAssets (56)Timeline Frame 1Symbol 201 as "__Packages.mx.controls.DataGrid"
ExportAssets (56)Timeline Frame 1Symbol 225 as "__Packages.mx.effects.Tween"
ExportAssets (56)Timeline Frame 1Symbol 226 as "__Packages.mx.controls.gridclasses.DataGridColumn"
ExportAssets (56)Timeline Frame 1Symbol 227 as "__Packages.mx.controls.listclasses.SelectableRow"
ExportAssets (56)Timeline Frame 1Symbol 228 as "__Packages.mx.controls.gridclasses.DataGridRow"
ExportAssets (56)Timeline Frame 1Symbol 229 as "__Packages.mx.controls.TextInput"
ExportAssets (56)Timeline Frame 1Symbol 543 as "__Packages.mx.accessibility.DataGridAccImpl"
ExportAssets (56)Timeline Frame 1Symbol 50 as "__Packages.mx.containers.Window"
ExportAssets (56)Timeline Frame 1Symbol 180 as "__Packages.mx.managers.SystemManager"
ExportAssets (56)Timeline Frame 1Symbol 51 as "__Packages.mx.controls.Alert"
ExportAssets (56)Timeline Frame 1Symbol 181 as "__Packages.mx.managers.PopUpManager"
ExportAssets (56)Timeline Frame 1Symbol 184 as "__Packages.mx.controls.alertClasses.AlertForm"
ExportAssets (56)Timeline Frame 1Symbol 182 as "__Packages.mx.controls.TextArea"
ExportAssets (56)Timeline Frame 1Symbol 183 as "__Packages.mx.controls.Button"
ExportAssets (56)Timeline Frame 1Symbol 185 as "__Packages.mx.controls.HScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 186 as "__Packages.mx.skins.ColoredSkinElement"
ExportAssets (56)Timeline Frame 1Symbol 187 as "__Packages.mx.core.ext.UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 188 as "__Packages.mx.skins.halo.Defaults"
ExportAssets (56)Timeline Frame 1Symbol 189 as "__Packages.mx.managers.FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 190 as "__Packages.mx.skins.halo.FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 191 as "__Packages.mx.managers.OverlappedWindows"
ExportAssets (56)Timeline Frame 1Symbol 192 as "__Packages.mx.styles.CSSSetStyle"
ExportAssets (56)Timeline Frame 1Symbol 193 as "__Packages.mx.core.ext.UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 194 as "__Packages.mx.skins.halo.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 195 as "__Packages.mx.skins.halo.ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 196 as "__Packages.mx.controls.VScrollBar"
ExportAssets (56)Timeline Frame 3Symbol 14 as "Paper"
ExportAssets (56)Timeline Frame 3Symbol 17 as "inCup"
ExportAssets (56)Timeline Frame 3Symbol 18 as "whack"
ExportAssets (56)Timeline Frame 3Symbol 19 as "theWire"
ExportAssets (56)Timeline Frame 3Symbol 32 as "Tile"
ExportAssets (56)Timeline Frame 3Symbol 45 as "Tile2"
ExportAssets (56)Timeline Frame 3Symbol 53 as "BoundingBox"
ExportAssets (56)Timeline Frame 3Symbol 55 as "BrdrShdw"
ExportAssets (56)Timeline Frame 3Symbol 57 as "BrdrFace"
ExportAssets (56)Timeline Frame 3Symbol 58 as "SimpleButtonDown"
ExportAssets (56)Timeline Frame 3Symbol 60 as "BrdrBlk"
ExportAssets (56)Timeline Frame 3Symbol 62 as "BrdrHilght"
ExportAssets (56)Timeline Frame 3Symbol 63 as "SimpleButtonIn"
ExportAssets (56)Timeline Frame 3Symbol 64 as "SimpleButtonUp"
ExportAssets (56)Timeline Frame 3Symbol 65 as "Defaults"
ExportAssets (56)Timeline Frame 3Symbol 66 as "UIObjectExtensions"
ExportAssets (56)Timeline Frame 3Symbol 67 as "UIObject"
ExportAssets (56)Timeline Frame 3Symbol 72 as "FocusRect"
ExportAssets (56)Timeline Frame 3Symbol 73 as "FocusManager"
ExportAssets (56)Timeline Frame 3Symbol 74 as "UIComponentExtensions"
ExportAssets (56)Timeline Frame 3Symbol 75 as "UIComponent"
ExportAssets (56)Timeline Frame 3Symbol 76 as "SimpleButton"
ExportAssets (56)Timeline Frame 3Symbol 77 as "Border"
ExportAssets (56)Timeline Frame 3Symbol 78 as "RectBorder"
ExportAssets (56)Timeline Frame 3Symbol 79 as "ButtonSkin"
ExportAssets (56)Timeline Frame 3Symbol 80 as "Button"
ExportAssets (56)Timeline Frame 3Symbol 81 as "CustomBorder"
ExportAssets (56)Timeline Frame 3Symbol 84 as "ScrollTrack"
ExportAssets (56)Timeline Frame 3Symbol 91 as "ScrollDownArrowDisabled"
ExportAssets (56)Timeline Frame 3Symbol 93 as "ScrollThemeColor1"
ExportAssets (56)Timeline Frame 3Symbol 95 as "ScrollThemeColor2"
ExportAssets (56)Timeline Frame 3Symbol 96 as "ScrollDownArrowDown"
ExportAssets (56)Timeline Frame 3Symbol 97 as "ScrollDownArrowOver"
ExportAssets (56)Timeline Frame 3Symbol 98 as "ScrollDownArrowUp"
ExportAssets (56)Timeline Frame 3Symbol 104 as "ScrollThumbBottomDisabled"
ExportAssets (56)Timeline Frame 3Symbol 106 as "ThumbThemeColor1"
ExportAssets (56)Timeline Frame 3Symbol 108 as "ThumbThemeColor3"
ExportAssets (56)Timeline Frame 3Symbol 109 as "ScrollThumbBottomDown"
ExportAssets (56)Timeline Frame 3Symbol 110 as "ScrollThumbBottomOver"
ExportAssets (56)Timeline Frame 3Symbol 111 as "ScrollThumbBottomUp"
ExportAssets (56)Timeline Frame 3Symbol 113 as "ScrollThumbGripDisabled"
ExportAssets (56)Timeline Frame 3Symbol 115 as "ThumbThemeColor2"
ExportAssets (56)Timeline Frame 3Symbol 116 as "ScrollThumbGripDown"
ExportAssets (56)Timeline Frame 3Symbol 117 as "ScrollThumbGripOver"
ExportAssets (56)Timeline Frame 3Symbol 118 as "ScrollThumbGripUp"
ExportAssets (56)Timeline Frame 3Symbol 120 as "ScrollThumbMiddleDisabled"
ExportAssets (56)Timeline Frame 3Symbol 121 as "ScrollThumbMiddleDown"
ExportAssets (56)Timeline Frame 3Symbol 125 as "ScrollThumbMiddleOver"
ExportAssets (56)Timeline Frame 3Symbol 126 as "ScrollThumbMiddleUp"
ExportAssets (56)Timeline Frame 3Symbol 127 as "ScrollThumbTopDisabled"
ExportAssets (56)Timeline Frame 3Symbol 128 as "ScrollThumbTopDown"
ExportAssets (56)Timeline Frame 3Symbol 129 as "ScrollThumbTopOver"
ExportAssets (56)Timeline Frame 3Symbol 130 as "ScrollThumbTopUp"
ExportAssets (56)Timeline Frame 3Symbol 131 as "ScrollTrackDisabled"
ExportAssets (56)Timeline Frame 3Symbol 132 as "ScrollUpArrowDisabled"
ExportAssets (56)Timeline Frame 3Symbol 133 as "ScrollUpArrowDown"
ExportAssets (56)Timeline Frame 3Symbol 134 as "ScrollUpArrowOver"
ExportAssets (56)Timeline Frame 3Symbol 135 as "ScrollUpArrowUp"
ExportAssets (56)Timeline Frame 3Symbol 136 as "BtnDownArrow"
ExportAssets (56)Timeline Frame 3Symbol 137 as "BtnUpArrow"
ExportAssets (56)Timeline Frame 3Symbol 138 as "ScrollBarAssets"
ExportAssets (56)Timeline Frame 3Symbol 139 as "HScrollBar"
ExportAssets (56)Timeline Frame 3Symbol 140 as "VScrollBar"
ExportAssets (56)Timeline Frame 3Symbol 141 as "View"
ExportAssets (56)Timeline Frame 3Symbol 142 as "ScrollView"
ExportAssets (56)Timeline Frame 3Symbol 143 as "Modal"
ExportAssets (56)Timeline Frame 3Symbol 145 as "TitleLeft"
ExportAssets (56)Timeline Frame 3Symbol 147 as "TitleMiddle"
ExportAssets (56)Timeline Frame 3Symbol 149 as "TitleRight"
ExportAssets (56)Timeline Frame 3Symbol 150 as "TitleBackground"
ExportAssets (56)Timeline Frame 3Symbol 152 as "CloseButtonDisabled"
ExportAssets (56)Timeline Frame 3Symbol 154 as "CloseButtonDown"
ExportAssets (56)Timeline Frame 3Symbol 156 as "CloseButtonOver"
ExportAssets (56)Timeline Frame 3Symbol 158 as "CloseButtonUp"
ExportAssets (56)Timeline Frame 3Symbol 159 as "WindowAssets"
ExportAssets (56)Timeline Frame 3Symbol 160 as "Window"
ExportAssets (56)Timeline Frame 3Symbol 163 as "TextArea"
ExportAssets (56)Timeline Frame 3Symbol 164 as "AlertAssets"
ExportAssets (56)Timeline Frame 3Symbol 165 as "Alert"
ExportAssets (56)Timeline Frame 3Symbol 203 as "DataHeaderBackGnd"
ExportAssets (56)Timeline Frame 3Symbol 205 as "DataHeaderOverlay"
ExportAssets (56)Timeline Frame 3Symbol 207 as "DataHeaderSeperator"
ExportAssets (56)Timeline Frame 3Symbol 209 as "DataSortArrow"
ExportAssets (56)Timeline Frame 3Symbol 211 as "DataStretchBar"
ExportAssets (56)Timeline Frame 3Symbol 213 as "cursorStretch"
ExportAssets (56)Timeline Frame 3Symbol 214 as "DataGridAssets"
ExportAssets (56)Timeline Frame 3Symbol 215 as "DataGridColumn"
ExportAssets (56)Timeline Frame 3Symbol 216 as "SelectableRow"
ExportAssets (56)Timeline Frame 3Symbol 217 as "DataGridRow"
ExportAssets (56)Timeline Frame 3Symbol 218 as "DataProvider"
ExportAssets (56)Timeline Frame 3Symbol 219 as "DataSelector"
ExportAssets (56)Timeline Frame 3Symbol 220 as "ScrollSelectList"
ExportAssets (56)Timeline Frame 3Symbol 221 as "List"
ExportAssets (56)Timeline Frame 3Symbol 223 as "TextInput"
ExportAssets (56)Timeline Frame 3Symbol 224 as "DataGrid"
ExportAssets (56)Timeline Frame 3Symbol 232 as "Tee"

Labels

"loading"Frame 2
"junk"Frame 3
"intro"Frame 4
"main"Frame 5
"play1"Frame 6
"play"Frame 7
"custom"Frame 8
"scorecard"Frame 9
"hole"Frame 10
"customPlay"Frame 11
"editor"Frame 12
"help"Frame 13
"submit"Frame 14
"wrongURL"Symbol 388 MovieClip Frame 39
"error"Symbol 404 MovieClip Frame 86
"errorBack"Symbol 404 MovieClip Frame 101

Dynamic Text Variables

_root.score1Symbol 413 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score2Symbol 414 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score3Symbol 415 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score4Symbol 416 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score5Symbol 417 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score6Symbol 418 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score7Symbol 419 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score8Symbol 420 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score9Symbol 421 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.scoreOutSymbol 422 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par1Symbol 425 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par2Symbol 426 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par3Symbol 427 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par4Symbol 428 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par5Symbol 429 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par6Symbol 430 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par7Symbol 431 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par8Symbol 432 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par9Symbol 433 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.parOutSymbol 434 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score1Symbol 438 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score2Symbol 439 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score3Symbol 440 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score4Symbol 441 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score5Symbol 442 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score6Symbol 443 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score7Symbol 444 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score8Symbol 445 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.score9Symbol 446 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.scoreOutSymbol 447 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par1Symbol 448 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par2Symbol 449 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par3Symbol 450 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par4Symbol 451 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par5Symbol 452 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par6Symbol 453 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par7Symbol 454 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par8Symbol 455 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.par9Symbol 456 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.parOutSymbol 457 EditableText"<p align="center"><font face="Husky Stash" size="27" color="#003300" letterSpacing="0.000000" kerning="1">1</font></p>"
_root.greetingSymbol 459 EditableText"<p align="center"><font face="Husky Stash" size="28" color="#003300" letterSpacing="0.000000" kerning="1">Good Luck!</font></p>"
_root.greetingSymbol 463 EditableText"<p align="center"><font face="Husky Stash" size="28" color="#003300" letterSpacing="0.000000" kerning="1">Good Luck!</font></p>"
_root.scoreOutSymbol 522 EditableText"<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>"
_root.scoreOutSymbol 523 EditableText"<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>"
_root.scoreOutSymbol 532 EditableText"<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>"
_root.scoreOutSymbol 535 EditableText"<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>"
_root.scoreOutSymbol 537 EditableText"<p align="center"><font face="Husky Stash" size="39" color="#003300" letterSpacing="0.000000" kerning="1">542</font></p>"




http://swfchan.com/9/40818/info.shtml
Created: 11/8 -2019 11:44:14 Last modified: 11/8 -2019 11:44:14 Server time: 28/04 -2024 04:53:11