Học Actionscript 3 0 - p 5 pptx

Học Actionscript 3.0 - p 5 pptx

Học Actionscript 3.0 - p 5 pptx

... Data Types Chapter 2: Core Language Fundamentals 23 Typing the following into a script, for example, will display “Learning ActionScript 3. 0 Shupe Rosser” in Flash Professional’s Output panel: trace("Learning ... <www.wowebook.com> Part I: Getting Started 28 Operators Table 2-2 . A partial list of ActionScript 3. 0 operators Type as as Casts data to left of operator...

Ngày tải lên: 06/07/2014, 18:20

10 307 0
Học Actionscript 3.0 - p 11 pptx

Học Actionscript 3.0 - p 11 pptx

... clip to the display list using ActionScript, you must first prepare the library symbol for ActionScript use. In prior versions of ActionScript, there were two ways of doing this. The first approach ... Children Chapter 4: The Display List 83 also right-click (Windows) or Ctrl-click (Mac) on the symbol and choose Properties from the pop-up menu. In the resulting dialog, seen in Figur...

Ngày tải lên: 06/07/2014, 18:20

10 247 0
Học Actionscript 3.0 - p 13 pptx

Học Actionscript 3.0 - p 13 pptx

... and currentScene property. Line 3 stops the movie clip as in the prior example, and line 5 cre- ates a mouse click listener for the button. 1 stop(); 2 3 pages.stop(); 4 5 output.addEventListener(MouseEvent.CLICK, ... frLabel) { 32 return mc.currentLabels[i].frame; 33 } 34 } 35 return -1 ; 36 } The aforementioned getFrame() function appears in lines 27 through 34 . The fun...

Ngày tải lên: 06/07/2014, 18:20

10 295 0
Học Actionscript 3.0 - p 29 pptx

Học Actionscript 3.0 - p 29 pptx

... RoundRectButton(1 10, 20, 10, 2, 0x 000 099, 29 labl, 0xFFFFFF); 30 } The new functionality is introduced in the pair of functions shown below. The first function, onSelectWord() in lines 31 through 34 , defines ... createButton("Replace"); 21 repBtn.x = 30 0; 22 repBtn.y = 60; 23 repBtn.addEventListener(MouseEvent.CLICK, onReplaceWord, 24 false, 0, true); 25 addChi...

Ngày tải lên: 06/07/2014, 18:20

10 227 0
Học Actionscript 3.0 - p 40 pptx

Học Actionscript 3.0 - p 40 pptx

... new Sprite(); 29 var g:Graphics = sp.graphics; 30 g.beginFill(0x00FF 00) ; 31 g.drawRect (0, 0, 100 , 10) ; 32 g.endFill(); 33 sp.x = sp.y = 10; 34 return sp; 35 } Loading Data While the Loader class ... false, 0, true); 50 } 51 52 public function removeListeners():void { 53 this.removeEventListener(Event.OPEN, onOpen); 54 this.removeEventListener(ProgressEvent.PROGRESS, 55...

Ngày tải lên: 06/07/2014, 18:20

10 250 1
Học Actionscript 3.0 - p 44 pptx

Học Actionscript 3.0 - p 44 pptx

... line.graphics; 32 g.beginFill(0x 000 000 ); 33 g.drawRect (0, 0, _app.stage.stageWidth, 4); 34 g.endFill(); 35 line.y = 100 ; 36 line.mouseEnabled = false; 37 this.addChild(line); 38 39 TweenPlugin.activate([VisiblePlugin]); 40 ... this.addChild(_loader); 39 40 var loaderMask:MovieClip = new MovieClip(); 41 var g:Graphics = loaderMask.graphics; 42 g.beginFill(0x 000 000 , 1);...

Ngày tải lên: 06/07/2014, 18:20

10 203 0
Học Actionscript 3.0 - p 46 pptx

Học Actionscript 3.0 - p 46 pptx

... objects, 44 private, 134 Properties panel, 13, 16, 1 93 public, 134 – 1 35 public properties, 134 – 1 35 Publish command (Flash Professional), 3 Publish Settings (File menu), 26 push() method, 37 , 39 3 Q quadratic ... in ActionScript, 30 2 play() method, 99– 100 , 109 , 1 43 playSound() method, 33 0 playVideo() method, 35 5 plotWaveform() method, 32 0 plug-ins, TweenLite,...

Ngày tải lên: 06/07/2014, 18:20

6 312 0
Học Actionscript 3.0 - p 1 ppsx

Học Actionscript 3.0 - p 1 ppsx

... ActionScript 3. 0, Second Edition by Rich Shupe with Zevan Rosser Copyright © 201 1 Rich Shupe and Zevan Rosser. All rights reserved. Printed in Canada. Published by O’Reilly Media, Inc., 100 5 ... eBook <www.wowebook.com>

Ngày tải lên: 06/07/2014, 18:20

10 354 0
Học Actionscript 3.0 - p 2 doc

Học Actionscript 3.0 - p 2 doc

... experienced—embrace the power and perfor- mance of ActionScript 3. 0. We hope these pages will ease the transition from whatever prior version of ActionScript you may have used (if any) to 3. 0 the ... for you. Migration from ActionScript 2 . 0- to -ActionScript 3. 0 is not our primary focus, so we want you to be happy with the tone and straightforward approach we’ve adopted...

Ngày tải lên: 06/07/2014, 18:20

10 338 0
Học Actionscript 3.0 - p 3 pot

Học Actionscript 3.0 - p 3 pot

... focused on the object-oriented programming (OOP) capa- bilities of ActionScript 3. 0, and the language’s power really shines in this area. However, embracing ActionScript 3. 0 doesn’t mean that ... ActionScript 3. 0? Chapter 1: What Is ActionScript? 5 • The Document Class. Object-oriented programming is not for every- one, but for those starting on the OOP journey, Flash off...

Ngày tải lên: 06/07/2014, 18:20

10 321 0
w