8-2
FLASH8
8-1
Flash
( < \ ch08 \ \ .swf> )
8-1-1 [ ] \ [ ] < \
ch08 \ \ .fla>
1. [Ctrl]+[L]
8-3
8
2. 10 [F9]
[ ] [+] \ [ ] \ [ ] \ [stop]
10
3. 1 [ ] [ ] [
] 1 [Ctrl]
+ [C]
8-1-2 1. [ ] \ [ ] button [ ]
2.
8-4
FLASH8
3. [ ] \ [ ] [ ]
[ / ] [ ] [ ]
4. [F6]
5. [ ]
[ ]
8-5
8
6.
7.
3.
[ ] \ [ ] [ ]
8. sound
[ ]
8-6
FLASH8
1.
2. ( )
3.
4 .
( )
9.
[ ]
[ ] [ ]
[Ctrl] + [B] [ ]
[ ] [ ]
(
)
8-1-3 1. [ 1] button
< .fla>
2. [Ctrl] + [Enter]
( < \ ch08 \ \ .fla>
)
8-7
8
8-2
ActionScript
( < \ ch08 \ \ .swf > )
8-2-1 ActionScript [ ] \ [ ] < \ ch08 \ \
.fla> 1
Actions
8-8
FLASH8
1. actions 1 [F9] [ ]
stop
[+] \ [ ] \ [ ] \[stop]
a
1
2
3
s top s top ( ) ; s top F lash
Act ionScr ip t Act ionScr ipt
8-9
8
2. stop < .fla> [Ctrl]
+ [Enter]
3.
stop
Action stop
stop( )
S W F
Action play
play( )
8-10
FLASH8
8-2-2 ActionScript
1. 1 [Ctrl] + [L]
2. [F9] [ ] Actions
on(release){
play();
}
ActionScript ( )
1.
2.
3.
8-11
8
3. [ ] Actions
on(release){
stop();
}
ActionScript ( )
1.
2. SWF
3.
4. ActionScript [Ctrl] + [Enter]
( < \ ch08 \ \ .
fla > )
8-12
FLASH8
press
release
releaseOutside
rollOver
rollOut
dragOver
keyPress
dragOut
8-13
8
8-3
Flash
( < \ ch08 \ \ .swf> )
8-3-1 1. < \ ch08 \ \ .
txt>
2. readme= readme
( HTML )
8-14
FLASH8
<br> [Shift] + [Enter]
HTML ( / ) <font> </font>
<br> <hr>
= readme
3. < .txt> ( [
] unicode Flash
)
8-3-2 Flash [ ] \ [ ] < \ ch08 \ \
.fla>
1. [ ] 1 [ ] [ ]
[ ] [ ]
8-15
8
[ HTML ] HTML readme ( 7-3-1
)
1 2
3
4 5
2.
3. 1 [F9] [ ]
ActionScript
loadVariablesNum(" .txt", 0);
stop();
ActionScript ( )
1. < .txt>
2.
8-16
FLASH8
4. < .fla> [Ctrl] + [Enter]
< .txt> ( < .fla> < .txt>
)
loadVariables
loadVariables (url, location [, variables]);
CGI scr ipt Act iveServer Pages (ASP) PHP
8-3-3 1.
Recommended