ActionScript , . . , , SWF-. , .as, - .
( , ) - . , , 10 , www.sound.ru. Flash , , . . , 10- , , 10- .
ActionScript : .
ActionScript. , , .
, () (), . . , , , , - . - . .
, . , , Button_l onPress(),
Button_1. onPress().
Button_1 li_2, :
Clip_2. Button_1.
, ActionScript, . , ActionScript Flash-, HTML-, .
, , , : _root. Clip_l.
_ root . ,
, , _parent, :
_parent. Clip_1.
|
|
ActionScript . ActionScript. , , , Flash-. : Movie ( ); Core ( ); Client/Server ( - ); Authoring ( ).
Movie , . :
Button () - , . , , ;
MovieClip () - , . , , ;
Mouse () - , . ;
Key () - , , ;
Color () - , , , ;
Sound () - , , ;
Stage () - , ;
TextField ( ) - , ;
TextFormat ( ) - , .
Button MovieClip ActionScript . . , , - , Movie ( , , TextField) Button MovieClip, , .
Core . , ( ) . Core , , :
Math () - , . ActionScript, Math , Math. , cos, : Math.cos(3);
Number () - , ; , ;
String () - , ;
Date () - , .
Client/Server (Web- ), XML. , XML-, - . ActionScript XML- , Flash-.
|
|
Authoring Flash-. : install uninstall.
. (), . , . , framePS , ( ) , , .
ActionScript. , . , 10- , , , , , . , .
- ( _ level), , Flash-. . , (. 1).
. 1. , Flash-
, Flash- : , , , .
, , , , .
ActionScript - target path. , Flash-.
, ActionScript . , , 10- , : level0.gotoAndPlay(l 0).
: . , , ( ). , , Flash- , , , .
, . , . , , , :
_parent._parent.muClip.
, , , .
, ActionScript , :
(Global variables), ;
(Timeline variables), , (target path);
|
|
(Local variables), , .
Actions
, Actions . (Normal Mode) . (Expert Mode) , . Normal Mode.
Actions. Actions. , , . Actions , Actions. , , , , . .
Actions , , :
1. .
2. .
3. Edit the action script ( ), . , , .
Actions .
, , , . .
. View Options ( ), .
, :
, , ;
Script Pin ( ) , . , ;
ActionScript;
Action Toolbox ( ), ActionScript; ;
, .
Expert Mode ;
. ;
, , .
|
|
Action Toolbox
ActionScript, :
Actions () - ActionScript, , ( , ). ( , . .);
Operators () -
(, , . .);
Functions () - () (, Flash-);
Properties () - , (,
);
Objects () - , (, ), ;
Deprecated () - , ( );
Flash UI Components ( ).
, Action Toolbox
Index, .
Normal Mode. , , . , () . . .
:
Add new item ( ), +, , ActionScript. ;
, -, , ;
Find () , ;
Replace () ( );
Insert a target path ( ) , . , , , ;
Debug Options ( ) , , ( Breakpoints). , ( );
, , ( , , , ).
Normal Mode , Actions, . :
Go To ;
Play Stop ;
Toggle High Quality ;
Stop All Sounds ;
Q Get URL URL;
FSCommand Flash- ;
Load Movie Unload Movie ;
Tell Target Flash- .
Normal Mode , :
1. ( ), .
2. Action Toolbox , .
3. , , . ActionScript.
|
|
4. .
, Flash (handler), - ( ). , , , . ActionScript - () , .
on, - onlipEvent. , . , on(release, KeyPress:A) , : release ( ) KeyPress:A ( ).
ActionScript :
Press - , ();
Release - ( );
Release Outside - , ;
Key Press - ;
Roll Over - ;
Roll Out - ;
Drag Over - , , , ;
Drag Out - , , .
, , , . , , . .
, , .
Insert a target path . :
, , . (, , ), . : - _root ( ), - this;
Target (), ; , Target , ;
Mode (), ( - Relative - Absolute);
Notation (), :
Dotes () ;
Slashes () (
,
ActionScript).
Expert Mode. : ActionScript Actions Toolbox. . . , ActionScript. , , ActionScript. , , Flash, . :
, ;
Check Syntax.
, .
Check Syntax . . , , Check Syntax. .
- Debugger. . , . , , .
, Control Debug Movie ( ). , , .
ActionScript, Normal Mode.