.


:




:

































 

 

 

 





- () .. .., , () .. .., , , :

a. () 1:1 000 000, :

ü - () ;

ü () ;

ü - () .

b. , - :

ü () 1:1 000 000 , , (, ) ;

ü - .

- . Flash, , html- (. 1), Flash- (. 2).

1. Opera 10.0

 

2. Adobe Flash Player 10

Adobe Flash CS4. Adobe Flash .

Flash web-. , . Flash , , -, , , - ..

 

 

:

ü , , . Flash , , ;

ü . HTML, Flash IE, Mozilla Firefox Opera. Flash , ;

ü - . Adobe Flash , falsh-. Action Script , , , , ;

ü . Flash . , , , , Flash .

Flash- (Symbols). :

- (Movie Clip);

- (Button);

- (Graphic).

, - . (, , , ) / .

:

play() ;

stop() ;

gotoAndPlay(n) n ;

gotoAndStop(n) n , .

. , ( 3). stop(), ( 3).

, Action Script , . Reverse_MovieClip, , ( 1).

1. Revers_MovieClip.

function Reverse_MovieClip(mc:MovieClip) { //mc , // k = _root[mc]._totalframes; // _root[mc].onEnterFrame = function() { // if (k >= 1) { // // _root[mc].gotoAndStop(k); k--; // 1 } if (k == 0) { // () // delete _root[mc].onEnterFrame; // unloadMovie(_root[mc]); } }; }

3. .

3. .

(button). , ( 4):

1. Up , ;

2. Over , ;

3. Down , , ;

4. Hit , , .

. , .. Adobe Flash . - , , -, . , , Adobe Flash .

4.

Up; Down.

, . . ( ) , -, (graphic).

Action Script - , Flash. , , .

Action Script , . , - .

(Actions) , flash- . Action Script (. ).

(Events) , , (, ). On.

(Expressions) , .

(Functions) (, ), . , , . , , .

(Classes) , . , , . , , . . , , , .

(Instances) , . , , () . , , .

(Handlers) , .

(Operators) ; . .

(Variables) , , ( ).

XML. XML (. eXtensible Markup Language ; [--́]) , . XML , ( ), , (, XHTML), . XML SGML.

XML , . , XML (, RDF, RSS, MathML, XHTML, SVG), , , , . XML .

XML , , . , (. root element) ( (. document element)). , .

, XML UTF-8 UTF-16 (UTF-32 ). , ( ) , ISO/IEC 8859, , , Windows-1251, KOI-8.

2, XML . , .

2. map.xml ()

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <meta_info> <title> </title> <description> </description> <layer_count>5</layer_count> <hint_count>2</hint_count> <animation_count>2</animation_count> <information>. </information> <dir>res</dir> </meta_info> <layers> <layer1 name="" url="Terrain.png" z-index="1"/> <layer2 name="" url="Horizontals.png" z-index="2"/> <layer3 name="" url="Rivers.png" z-index="3"/> <layer4 name="" url="Roads.png" z-index="4"/> <layer5 name=". " url="NP.png" z-index="5" /> </layers> <map> <maxzoom>500</maxzoom> <minzoom>10</minzoom> <zoom_step>3</zoom_step> </map>  

2. map.xml ()

<hints> <hint name="" x="105" y="680" dx="60" dy="50" str1=": " str2=": 2 ." str3=": 10 . ." info=" " url="info/Tralala.htm"/> <hint name="" x="525" y="195" dx="110" dy="110" str1=": " str2=": 1 ." str3=": 20 . ." info=" " url=""/> </hints> <animations> <animation name="vulcan" x="160" y="384" parent="2" url="vulcan.swf" /> <animation name="lake" x="523" y="234" parent="3" url="lake.swf" /> </animations>

xml , , xml, . .

- <title></title> ;

- <description> </description> ;

- <layer_count> </layer_count> ;

- <hint_count> </hint_count> ;

- <animation_count> </animation_count> ;

- <information> </information> .

<layers> </layers>. , .

- name ;

- url , dir;

- z-index , .

<map> </map>, .

- maxzoom ;

- minzoom ;

- zoom_step .

<hints> </hints> . .

- name ;

- x, y x , ;

- dx, dy , ;

- str1, str2, str3 ;

- info ;

- url .

, <animations> </animations>:

- name ;

- x, y , , ;

- parent (. layers). 3, layer3;

- url dir (. meta_info);

-

, : , . , . , .. - () .

.

1

. , . . :

)

)

)

, . ( ) . . 5 .

 

5. . 1-5

2 .

. , , . , : , , .

3

, , : , , . , . , , .

, , , (. 6), , , .

6.

Color Schemer Studio + Color Pix, 7.

7. Color Schemer Studio + Color Pix

, : Adobe Flash CS4 . , Action Script, , . , , - , , , .

: . .


, . , , , , , .. .

 






:


: 2017-01-21; !; : 253 |


:

:

,
==> ...

1912 - | 1676 -


© 2015-2024 lektsii.org - -

: 0.068 .