diff --git a/9781590596180.jpg b/9781590596180.jpg
new file mode 100644
index 0000000..cd9df58
Binary files /dev/null and b/9781590596180.jpg differ
diff --git a/FdnASforFlash8.zip b/FdnASforFlash8.zip
new file mode 100644
index 0000000..b31d978
Binary files /dev/null and b/FdnASforFlash8.zip differ
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..243e9a2
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,27 @@
+Freeware License, some rights reserved
+
+Copyright (c) 2006 Kristian Besley, Sham Bhangal, Eric Dolecki, and David Powers
+
+Permission is hereby granted, free of charge, to anyone obtaining a copy
+of this software and associated documentation files (the "Software"),
+to work with the Software within the limits of freeware distribution and fair use.
+This includes the rights to use, copy, and modify the Software for personal use.
+Users are also allowed and encouraged to submit corrections and modifications
+to the Software for the benefit of other users.
+
+It is not allowed to reuse, modify, or redistribute the Software for
+commercial use in any way, or for a user’s educational materials such as books
+or blog articles without prior permission from the copyright holder.
+
+The above copyright notice and this permission notice need to be included
+in all copies or substantial portions of the software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS OR APRESS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5b6be9d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+#Apress Source Code
+
+This repository accompanies [*Foundation ActionScript for Flash 8*](http://www.apress.com/9781590596180) by Kristian Besley, Sham Bhangal, Eric Dolecki, and David Powers (Apress, 2006).
+
+![Cover image](9781590596180.jpg)
+
+Download the files as a zip using the green button, or clone the repository to your machine using Git.
+
+##Releases
+
+Release v1.0 corresponds to the code in the published book, without corrections or updates.
+
+##Contributions
+
+See the file Contributing.md for more information on how you can contribute to this repository.
diff --git a/ch01/car.fla b/ch01/car.fla
new file mode 100644
index 0000000..e94fec1
Binary files /dev/null and b/ch01/car.fla differ
diff --git a/ch01/moving_ball.fla b/ch01/moving_ball.fla
new file mode 100644
index 0000000..068275e
Binary files /dev/null and b/ch01/moving_ball.fla differ
diff --git a/ch01/moving_ball.swf b/ch01/moving_ball.swf
new file mode 100644
index 0000000..214b7f5
Binary files /dev/null and b/ch01/moving_ball.swf differ
diff --git a/ch01/pong.fla b/ch01/pong.fla
new file mode 100644
index 0000000..f8bbfca
Binary files /dev/null and b/ch01/pong.fla differ
diff --git a/ch01/pong.swf b/ch01/pong.swf
new file mode 100644
index 0000000..9da56aa
Binary files /dev/null and b/ch01/pong.swf differ
diff --git a/ch01/spaceinvaders.fla b/ch01/spaceinvaders.fla
new file mode 100644
index 0000000..451151c
Binary files /dev/null and b/ch01/spaceinvaders.fla differ
diff --git a/ch01/spaceinvaders.swf b/ch01/spaceinvaders.swf
new file mode 100644
index 0000000..9e5621a
Binary files /dev/null and b/ch01/spaceinvaders.swf differ
diff --git a/ch01/the_race.fla b/ch01/the_race.fla
new file mode 100644
index 0000000..9dede37
Binary files /dev/null and b/ch01/the_race.fla differ
diff --git a/ch01/the_race.swf b/ch01/the_race.swf
new file mode 100644
index 0000000..3358ce3
Binary files /dev/null and b/ch01/the_race.swf differ
diff --git a/ch01/the_race_controls1.fla b/ch01/the_race_controls1.fla
new file mode 100644
index 0000000..7ff375e
Binary files /dev/null and b/ch01/the_race_controls1.fla differ
diff --git a/ch01/the_race_controls1.swf b/ch01/the_race_controls1.swf
new file mode 100644
index 0000000..798184f
Binary files /dev/null and b/ch01/the_race_controls1.swf differ
diff --git a/ch01/the_race_controls2.fla b/ch01/the_race_controls2.fla
new file mode 100644
index 0000000..5c5884d
Binary files /dev/null and b/ch01/the_race_controls2.fla differ
diff --git a/ch01/the_race_controls2.swf b/ch01/the_race_controls2.swf
new file mode 100644
index 0000000..2f26edf
Binary files /dev/null and b/ch01/the_race_controls2.swf differ
diff --git a/ch02/IMPORTANT_README.txt b/ch02/IMPORTANT_README.txt
new file mode 100644
index 0000000..327176d
--- /dev/null
+++ b/ch02/IMPORTANT_README.txt
@@ -0,0 +1,12 @@
+#######################
+IMPORTANT - PLEASE READ
+#######################
+
+This folder contains only FOUR files (in addition to this one), as follows:
+
+futuremedia.xml
+index.html
+index.swf
+main.swf
+
+THIS IS CORRECT. Although page 44 of "Foundation ActionScript for Flash 8" refers to a total of SIX files, this relates to an earlier version of the Futuremedia website. This oversight will be corrected in future printings of the book. The authors apologize for any confusion.
\ No newline at end of file
diff --git a/ch02/futuremedia.xml b/ch02/futuremedia.xml
new file mode 100644
index 0000000..4d3258e
--- /dev/null
+++ b/ch02/futuremedia.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02/index.html b/ch02/index.html
new file mode 100644
index 0000000..c22a88e
--- /dev/null
+++ b/ch02/index.html
@@ -0,0 +1,43 @@
+
+
+
+index
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02/index.swf b/ch02/index.swf
new file mode 100644
index 0000000..a024255
Binary files /dev/null and b/ch02/index.swf differ
diff --git a/ch02/main.swf b/ch02/main.swf
new file mode 100644
index 0000000..da9783e
Binary files /dev/null and b/ch02/main.swf differ
diff --git a/ch03/bondMovies.fla b/ch03/bondMovies.fla
new file mode 100644
index 0000000..743721b
Binary files /dev/null and b/ch03/bondMovies.fla differ
diff --git a/ch03/bondMovies.swf b/ch03/bondMovies.swf
new file mode 100644
index 0000000..d16bb39
Binary files /dev/null and b/ch03/bondMovies.swf differ
diff --git a/ch03/calculator.fla b/ch03/calculator.fla
new file mode 100644
index 0000000..dc33ae2
Binary files /dev/null and b/ch03/calculator.fla differ
diff --git a/ch03/calculator.swf b/ch03/calculator.swf
new file mode 100644
index 0000000..62db81c
Binary files /dev/null and b/ch03/calculator.swf differ
diff --git a/ch03/futuremedia_setup1.fla b/ch03/futuremedia_setup1.fla
new file mode 100644
index 0000000..49d963e
Binary files /dev/null and b/ch03/futuremedia_setup1.fla differ
diff --git a/ch03/futuremedia_setup1.swf b/ch03/futuremedia_setup1.swf
new file mode 100644
index 0000000..67ef199
Binary files /dev/null and b/ch03/futuremedia_setup1.swf differ
diff --git a/ch03/greetings.fla b/ch03/greetings.fla
new file mode 100644
index 0000000..b0d892f
Binary files /dev/null and b/ch03/greetings.fla differ
diff --git a/ch03/greetings.swf b/ch03/greetings.swf
new file mode 100644
index 0000000..edfc5b8
Binary files /dev/null and b/ch03/greetings.swf differ
diff --git a/ch03/inputOutput.fla b/ch03/inputOutput.fla
new file mode 100644
index 0000000..6f950ee
Binary files /dev/null and b/ch03/inputOutput.fla differ
diff --git a/ch03/inputOutput.swf b/ch03/inputOutput.swf
new file mode 100644
index 0000000..ff81925
Binary files /dev/null and b/ch03/inputOutput.swf differ
diff --git a/ch03/inputOutput2.fla b/ch03/inputOutput2.fla
new file mode 100644
index 0000000..dd85838
Binary files /dev/null and b/ch03/inputOutput2.fla differ
diff --git a/ch03/inputOutput2.swf b/ch03/inputOutput2.swf
new file mode 100644
index 0000000..951d7f1
Binary files /dev/null and b/ch03/inputOutput2.swf differ
diff --git a/ch03/inputOutput3.fla b/ch03/inputOutput3.fla
new file mode 100644
index 0000000..45b3590
Binary files /dev/null and b/ch03/inputOutput3.fla differ
diff --git a/ch03/inputOutput3.swf b/ch03/inputOutput3.swf
new file mode 100644
index 0000000..306a983
Binary files /dev/null and b/ch03/inputOutput3.swf differ
diff --git a/ch04/faculty.fla b/ch04/faculty.fla
new file mode 100644
index 0000000..bfcbac4
Binary files /dev/null and b/ch04/faculty.fla differ
diff --git a/ch04/faculty_start.fla b/ch04/faculty_start.fla
new file mode 100644
index 0000000..8c3b5c2
Binary files /dev/null and b/ch04/faculty_start.fla differ
diff --git a/ch04/password_finished.fla b/ch04/password_finished.fla
new file mode 100644
index 0000000..f756b87
Binary files /dev/null and b/ch04/password_finished.fla differ
diff --git a/ch04/password_start.fla b/ch04/password_start.fla
new file mode 100644
index 0000000..ade90a4
Binary files /dev/null and b/ch04/password_start.fla differ
diff --git a/ch05/futuremedia_setup2.fla b/ch05/futuremedia_setup2.fla
new file mode 100644
index 0000000..b593365
Binary files /dev/null and b/ch05/futuremedia_setup2.fla differ
diff --git a/ch05/futuremedia_setup2.swf b/ch05/futuremedia_setup2.swf
new file mode 100644
index 0000000..2a4d025
Binary files /dev/null and b/ch05/futuremedia_setup2.swf differ
diff --git a/ch05/hangman_advanced.fla b/ch05/hangman_advanced.fla
new file mode 100644
index 0000000..e4d740f
Binary files /dev/null and b/ch05/hangman_advanced.fla differ
diff --git a/ch05/hangman_advanced.swf b/ch05/hangman_advanced.swf
new file mode 100644
index 0000000..302fc18
Binary files /dev/null and b/ch05/hangman_advanced.swf differ
diff --git a/ch05/hangman_finished.fla b/ch05/hangman_finished.fla
new file mode 100644
index 0000000..1b30b1b
Binary files /dev/null and b/ch05/hangman_finished.fla differ
diff --git a/ch05/hangman_finished.swf b/ch05/hangman_finished.swf
new file mode 100644
index 0000000..1869ec2
Binary files /dev/null and b/ch05/hangman_finished.swf differ
diff --git a/ch05/hangman_start.fla b/ch05/hangman_start.fla
new file mode 100644
index 0000000..4bc7f72
Binary files /dev/null and b/ch05/hangman_start.fla differ
diff --git a/ch05/hangman_start.swf b/ch05/hangman_start.swf
new file mode 100644
index 0000000..95837d7
Binary files /dev/null and b/ch05/hangman_start.swf differ
diff --git a/ch05/hangman_startScript.fla b/ch05/hangman_startScript.fla
new file mode 100644
index 0000000..cab0726
Binary files /dev/null and b/ch05/hangman_startScript.fla differ
diff --git a/ch05/hangman_startScript.swf b/ch05/hangman_startScript.swf
new file mode 100644
index 0000000..2405c84
Binary files /dev/null and b/ch05/hangman_startScript.swf differ
diff --git a/ch05/particleLoop.fla b/ch05/particleLoop.fla
new file mode 100644
index 0000000..cb60998
Binary files /dev/null and b/ch05/particleLoop.fla differ
diff --git a/ch05/particleLoop.swf b/ch05/particleLoop.swf
new file mode 100644
index 0000000..92e019f
Binary files /dev/null and b/ch05/particleLoop.swf differ
diff --git a/ch06/clock1.fla b/ch06/clock1.fla
new file mode 100644
index 0000000..179ad59
Binary files /dev/null and b/ch06/clock1.fla differ
diff --git a/ch06/clock2.fla b/ch06/clock2.fla
new file mode 100644
index 0000000..ecf00a3
Binary files /dev/null and b/ch06/clock2.fla differ
diff --git a/ch06/clock3.fla b/ch06/clock3.fla
new file mode 100644
index 0000000..ce5a761
Binary files /dev/null and b/ch06/clock3.fla differ
diff --git a/ch06/clock4.fla b/ch06/clock4.fla
new file mode 100644
index 0000000..2e80f39
Binary files /dev/null and b/ch06/clock4.fla differ
diff --git a/ch06/clock5.fla b/ch06/clock5.fla
new file mode 100644
index 0000000..2fdfedc
Binary files /dev/null and b/ch06/clock5.fla differ
diff --git a/ch06/clock6.fla b/ch06/clock6.fla
new file mode 100644
index 0000000..86ce784
Binary files /dev/null and b/ch06/clock6.fla differ
diff --git a/ch06/clock7.fla b/ch06/clock7.fla
new file mode 100644
index 0000000..68a04de
Binary files /dev/null and b/ch06/clock7.fla differ
diff --git a/ch06/clock8.fla b/ch06/clock8.fla
new file mode 100644
index 0000000..203107f
Binary files /dev/null and b/ch06/clock8.fla differ
diff --git a/ch06/clock9.fla b/ch06/clock9.fla
new file mode 100644
index 0000000..3c03154
Binary files /dev/null and b/ch06/clock9.fla differ
diff --git a/ch06/clock_final.fla b/ch06/clock_final.fla
new file mode 100644
index 0000000..f3affa5
Binary files /dev/null and b/ch06/clock_final.fla differ
diff --git a/ch06/clock_spiral.fla b/ch06/clock_spiral.fla
new file mode 100644
index 0000000..77de9dc
Binary files /dev/null and b/ch06/clock_spiral.fla differ
diff --git a/ch06/futuremedia_setup3.fla b/ch06/futuremedia_setup3.fla
new file mode 100644
index 0000000..482ff39
Binary files /dev/null and b/ch06/futuremedia_setup3.fla differ
diff --git a/ch06/hangman_swap.fla b/ch06/hangman_swap.fla
new file mode 100644
index 0000000..ff8ea25
Binary files /dev/null and b/ch06/hangman_swap.fla differ
diff --git a/ch06/shopping1.fla b/ch06/shopping1.fla
new file mode 100644
index 0000000..e0b41ed
Binary files /dev/null and b/ch06/shopping1.fla differ
diff --git a/ch06/shopping2.fla b/ch06/shopping2.fla
new file mode 100644
index 0000000..58cd1d5
Binary files /dev/null and b/ch06/shopping2.fla differ
diff --git a/ch06/shopping3.fla b/ch06/shopping3.fla
new file mode 100644
index 0000000..72d019d
Binary files /dev/null and b/ch06/shopping3.fla differ
diff --git a/ch06/shopping4.fla b/ch06/shopping4.fla
new file mode 100644
index 0000000..87a382a
Binary files /dev/null and b/ch06/shopping4.fla differ
diff --git a/ch06/shopping5.fla b/ch06/shopping5.fla
new file mode 100644
index 0000000..8b9db55
Binary files /dev/null and b/ch06/shopping5.fla differ
diff --git a/ch06/shopping_typed.fla b/ch06/shopping_typed.fla
new file mode 100644
index 0000000..9883d77
Binary files /dev/null and b/ch06/shopping_typed.fla differ
diff --git a/ch07/cobblestones.jpg b/ch07/cobblestones.jpg
new file mode 100644
index 0000000..f382436
Binary files /dev/null and b/ch07/cobblestones.jpg differ
diff --git a/ch07/futuremedia_initialize.fla b/ch07/futuremedia_initialize.fla
new file mode 100644
index 0000000..3c3e045
Binary files /dev/null and b/ch07/futuremedia_initialize.fla differ
diff --git a/ch07/futuremedia_initialize.html b/ch07/futuremedia_initialize.html
new file mode 100644
index 0000000..462d9dd
--- /dev/null
+++ b/ch07/futuremedia_initialize.html
@@ -0,0 +1,21 @@
+
+
+
+futuremedia_initialize
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch07/futuremedia_initialize.swf b/ch07/futuremedia_initialize.swf
new file mode 100644
index 0000000..2b20b3a
Binary files /dev/null and b/ch07/futuremedia_initialize.swf differ
diff --git a/ch07/planet.jpg b/ch07/planet.jpg
new file mode 100644
index 0000000..02d32e0
Binary files /dev/null and b/ch07/planet.jpg differ
diff --git a/ch07/plant.fla b/ch07/plant.fla
new file mode 100644
index 0000000..80cbabb
Binary files /dev/null and b/ch07/plant.fla differ
diff --git a/ch07/plant.swf b/ch07/plant.swf
new file mode 100644
index 0000000..d8134a9
Binary files /dev/null and b/ch07/plant.swf differ
diff --git a/ch07/showreel.fla b/ch07/showreel.fla
new file mode 100644
index 0000000..5ccf6af
Binary files /dev/null and b/ch07/showreel.fla differ
diff --git a/ch07/showreel.swf b/ch07/showreel.swf
new file mode 100644
index 0000000..d6d988f
Binary files /dev/null and b/ch07/showreel.swf differ
diff --git a/ch07/showreel_flashbasic.fla b/ch07/showreel_flashbasic.fla
new file mode 100644
index 0000000..a4c2bc8
Binary files /dev/null and b/ch07/showreel_flashbasic.fla differ
diff --git a/ch07/showreel_flashbasic.swf b/ch07/showreel_flashbasic.swf
new file mode 100644
index 0000000..ef888a9
Binary files /dev/null and b/ch07/showreel_flashbasic.swf differ
diff --git a/ch07/water.jpg b/ch07/water.jpg
new file mode 100644
index 0000000..a2e9b9a
Binary files /dev/null and b/ch07/water.jpg differ
diff --git a/ch08/inputOutput.fla b/ch08/inputOutput.fla
new file mode 100644
index 0000000..d7e4559
Binary files /dev/null and b/ch08/inputOutput.fla differ
diff --git a/ch08/inputOutput.swf b/ch08/inputOutput.swf
new file mode 100644
index 0000000..34efcab
Binary files /dev/null and b/ch08/inputOutput.swf differ
diff --git a/ch08/math_rounding.fla b/ch08/math_rounding.fla
new file mode 100644
index 0000000..5a8a4b3
Binary files /dev/null and b/ch08/math_rounding.fla differ
diff --git a/ch08/math_rounding.swf b/ch08/math_rounding.swf
new file mode 100644
index 0000000..436d8bd
Binary files /dev/null and b/ch08/math_rounding.swf differ
diff --git a/ch08/particles.fla b/ch08/particles.fla
new file mode 100644
index 0000000..65b21f2
Binary files /dev/null and b/ch08/particles.fla differ
diff --git a/ch08/particles.swf b/ch08/particles.swf
new file mode 100644
index 0000000..8216e60
Binary files /dev/null and b/ch08/particles.swf differ
diff --git a/ch08/particles_evolved.fla b/ch08/particles_evolved.fla
new file mode 100644
index 0000000..cc1222c
Binary files /dev/null and b/ch08/particles_evolved.fla differ
diff --git a/ch08/particles_evolved.swf b/ch08/particles_evolved.swf
new file mode 100644
index 0000000..c43f381
Binary files /dev/null and b/ch08/particles_evolved.swf differ
diff --git a/ch08/particles_toggle_caching.fla b/ch08/particles_toggle_caching.fla
new file mode 100644
index 0000000..4fcbc1c
Binary files /dev/null and b/ch08/particles_toggle_caching.fla differ
diff --git a/ch08/particles_toggle_caching.swf b/ch08/particles_toggle_caching.swf
new file mode 100644
index 0000000..15bccc8
Binary files /dev/null and b/ch08/particles_toggle_caching.swf differ
diff --git a/ch09/blob1.fla b/ch09/blob1.fla
new file mode 100644
index 0000000..2c8ab5c
Binary files /dev/null and b/ch09/blob1.fla differ
diff --git a/ch09/blob2.fla b/ch09/blob2.fla
new file mode 100644
index 0000000..cb9dc3b
Binary files /dev/null and b/ch09/blob2.fla differ
diff --git a/ch09/dark.fla b/ch09/dark.fla
new file mode 100644
index 0000000..eb99f92
Binary files /dev/null and b/ch09/dark.fla differ
diff --git a/ch09/dark_with_videoControl.fla b/ch09/dark_with_videoControl.fla
new file mode 100644
index 0000000..6c925dc
Binary files /dev/null and b/ch09/dark_with_videoControl.fla differ
diff --git a/ch09/futuremedia_code01.fla b/ch09/futuremedia_code01.fla
new file mode 100644
index 0000000..23e0c7a
Binary files /dev/null and b/ch09/futuremedia_code01.fla differ
diff --git a/ch09/inertia.fla b/ch09/inertia.fla
new file mode 100644
index 0000000..1c63617
Binary files /dev/null and b/ch09/inertia.fla differ
diff --git a/ch09/swarm.fla b/ch09/swarm.fla
new file mode 100644
index 0000000..ef53f37
Binary files /dev/null and b/ch09/swarm.fla differ
diff --git a/ch09/tween1.fla b/ch09/tween1.fla
new file mode 100644
index 0000000..cf90ca5
Binary files /dev/null and b/ch09/tween1.fla differ
diff --git a/ch09/tween2.fla b/ch09/tween2.fla
new file mode 100644
index 0000000..10d973b
Binary files /dev/null and b/ch09/tween2.fla differ
diff --git a/ch09/tweenClass_demo.swf b/ch09/tweenClass_demo.swf
new file mode 100644
index 0000000..9a6fbf0
Binary files /dev/null and b/ch09/tweenClass_demo.swf differ
diff --git a/ch09/tweens.fla b/ch09/tweens.fla
new file mode 100644
index 0000000..a63e0a7
Binary files /dev/null and b/ch09/tweens.fla differ
diff --git a/ch09/videoControl.fla b/ch09/videoControl.fla
new file mode 100644
index 0000000..9953f24
Binary files /dev/null and b/ch09/videoControl.fla differ
diff --git a/ch10/boundary.fla b/ch10/boundary.fla
new file mode 100644
index 0000000..23e8af4
Binary files /dev/null and b/ch10/boundary.fla differ
diff --git a/ch10/boundary.swf b/ch10/boundary.swf
new file mode 100644
index 0000000..ef70797
Binary files /dev/null and b/ch10/boundary.swf differ
diff --git a/ch10/collision.fla b/ch10/collision.fla
new file mode 100644
index 0000000..ce66c11
Binary files /dev/null and b/ch10/collision.fla differ
diff --git a/ch10/collision.swf b/ch10/collision.swf
new file mode 100644
index 0000000..d0730cc
Binary files /dev/null and b/ch10/collision.swf differ
diff --git a/ch10/collision2.fla b/ch10/collision2.fla
new file mode 100644
index 0000000..7ebe36f
Binary files /dev/null and b/ch10/collision2.fla differ
diff --git a/ch10/collision2.swf b/ch10/collision2.swf
new file mode 100644
index 0000000..e5a7318
Binary files /dev/null and b/ch10/collision2.swf differ
diff --git a/ch10/futuremedia_code01a.fla b/ch10/futuremedia_code01a.fla
new file mode 100644
index 0000000..470ff38
Binary files /dev/null and b/ch10/futuremedia_code01a.fla differ
diff --git a/ch10/futuremedia_code01a.swf b/ch10/futuremedia_code01a.swf
new file mode 100644
index 0000000..393a9da
Binary files /dev/null and b/ch10/futuremedia_code01a.swf differ
diff --git a/ch10/futuremedia_code02.fla b/ch10/futuremedia_code02.fla
new file mode 100644
index 0000000..6122c20
Binary files /dev/null and b/ch10/futuremedia_code02.fla differ
diff --git a/ch10/futuremedia_code02.swf b/ch10/futuremedia_code02.swf
new file mode 100644
index 0000000..feb1df7
Binary files /dev/null and b/ch10/futuremedia_code02.swf differ
diff --git a/ch10/zapper.fla b/ch10/zapper.fla
new file mode 100644
index 0000000..5badd9d
Binary files /dev/null and b/ch10/zapper.fla differ
diff --git a/ch10/zapper.swf b/ch10/zapper.swf
new file mode 100644
index 0000000..15ee92a
Binary files /dev/null and b/ch10/zapper.swf differ
diff --git a/ch10/zapper_cacheAsBitmap.fla b/ch10/zapper_cacheAsBitmap.fla
new file mode 100644
index 0000000..0305366
Binary files /dev/null and b/ch10/zapper_cacheAsBitmap.fla differ
diff --git a/ch10/zapper_cacheAsBitmap.swf b/ch10/zapper_cacheAsBitmap.swf
new file mode 100644
index 0000000..a28f87c
Binary files /dev/null and b/ch10/zapper_cacheAsBitmap.swf differ
diff --git a/ch11/curves01.fla b/ch11/curves01.fla
new file mode 100644
index 0000000..e23b568
Binary files /dev/null and b/ch11/curves01.fla differ
diff --git a/ch11/curves01.swf b/ch11/curves01.swf
new file mode 100644
index 0000000..654f2b6
Binary files /dev/null and b/ch11/curves01.swf differ
diff --git a/ch11/curves02.fla b/ch11/curves02.fla
new file mode 100644
index 0000000..3a3e0af
Binary files /dev/null and b/ch11/curves02.fla differ
diff --git a/ch11/curves02.swf b/ch11/curves02.swf
new file mode 100644
index 0000000..bcc77be
Binary files /dev/null and b/ch11/curves02.swf differ
diff --git a/ch11/curves03.fla b/ch11/curves03.fla
new file mode 100644
index 0000000..a3a07d4
Binary files /dev/null and b/ch11/curves03.fla differ
diff --git a/ch11/curves03.swf b/ch11/curves03.swf
new file mode 100644
index 0000000..654f2b6
Binary files /dev/null and b/ch11/curves03.swf differ
diff --git a/ch11/drawAPI.fla b/ch11/drawAPI.fla
new file mode 100644
index 0000000..a315d8f
Binary files /dev/null and b/ch11/drawAPI.fla differ
diff --git a/ch11/drawAPI.swf b/ch11/drawAPI.swf
new file mode 100644
index 0000000..f91b674
Binary files /dev/null and b/ch11/drawAPI.swf differ
diff --git a/ch11/elasticband.fla b/ch11/elasticband.fla
new file mode 100644
index 0000000..f53b75e
Binary files /dev/null and b/ch11/elasticband.fla differ
diff --git a/ch11/elasticband.swf b/ch11/elasticband.swf
new file mode 100644
index 0000000..f91d8a5
Binary files /dev/null and b/ch11/elasticband.swf differ
diff --git a/ch11/fillCartoon.fla b/ch11/fillCartoon.fla
new file mode 100644
index 0000000..dfef367
Binary files /dev/null and b/ch11/fillCartoon.fla differ
diff --git a/ch11/fillCartoon.swf b/ch11/fillCartoon.swf
new file mode 100644
index 0000000..c412d6c
Binary files /dev/null and b/ch11/fillCartoon.swf differ
diff --git a/ch11/fillSquare.fla b/ch11/fillSquare.fla
new file mode 100644
index 0000000..2505e36
Binary files /dev/null and b/ch11/fillSquare.fla differ
diff --git a/ch11/fillSquare.swf b/ch11/fillSquare.swf
new file mode 100644
index 0000000..731cd86
Binary files /dev/null and b/ch11/fillSquare.swf differ
diff --git a/ch11/flashMystify.fla b/ch11/flashMystify.fla
new file mode 100644
index 0000000..023e596
Binary files /dev/null and b/ch11/flashMystify.fla differ
diff --git a/ch11/flashMystify.swf b/ch11/flashMystify.swf
new file mode 100644
index 0000000..877243c
Binary files /dev/null and b/ch11/flashMystify.swf differ
diff --git a/ch11/flashMystifyRetro.fla b/ch11/flashMystifyRetro.fla
new file mode 100644
index 0000000..63bb9c9
Binary files /dev/null and b/ch11/flashMystifyRetro.fla differ
diff --git a/ch11/flashMystifyRetro.swf b/ch11/flashMystifyRetro.swf
new file mode 100644
index 0000000..4d02dbc
Binary files /dev/null and b/ch11/flashMystifyRetro.swf differ
diff --git a/ch11/futuremedia_code02.fla b/ch11/futuremedia_code02.fla
new file mode 100644
index 0000000..d8395d2
Binary files /dev/null and b/ch11/futuremedia_code02.fla differ
diff --git a/ch11/futuremedia_code02.swf b/ch11/futuremedia_code02.swf
new file mode 100644
index 0000000..f10264a
Binary files /dev/null and b/ch11/futuremedia_code02.swf differ
diff --git a/ch11/futuremedia_database.fla b/ch11/futuremedia_database.fla
new file mode 100644
index 0000000..d9a7621
Binary files /dev/null and b/ch11/futuremedia_database.fla differ
diff --git a/ch11/futuremedia_database.swf b/ch11/futuremedia_database.swf
new file mode 100644
index 0000000..e3bf542
Binary files /dev/null and b/ch11/futuremedia_database.swf differ
diff --git a/ch11/lines01.fla b/ch11/lines01.fla
new file mode 100644
index 0000000..d546d64
Binary files /dev/null and b/ch11/lines01.fla differ
diff --git a/ch11/lines01.swf b/ch11/lines01.swf
new file mode 100644
index 0000000..a63f8c1
Binary files /dev/null and b/ch11/lines01.swf differ
diff --git a/ch11/pattern01.fla b/ch11/pattern01.fla
new file mode 100644
index 0000000..3814e2d
Binary files /dev/null and b/ch11/pattern01.fla differ
diff --git a/ch11/pattern01.swf b/ch11/pattern01.swf
new file mode 100644
index 0000000..803216c
Binary files /dev/null and b/ch11/pattern01.swf differ
diff --git a/ch11/pattern02.fla b/ch11/pattern02.fla
new file mode 100644
index 0000000..a9a8272
Binary files /dev/null and b/ch11/pattern02.fla differ
diff --git a/ch11/pattern02.swf b/ch11/pattern02.swf
new file mode 100644
index 0000000..9c7b7ab
Binary files /dev/null and b/ch11/pattern02.swf differ
diff --git a/ch11/pattern03.fla b/ch11/pattern03.fla
new file mode 100644
index 0000000..490329f
Binary files /dev/null and b/ch11/pattern03.fla differ
diff --git a/ch11/pattern03.swf b/ch11/pattern03.swf
new file mode 100644
index 0000000..2e07b85
Binary files /dev/null and b/ch11/pattern03.swf differ
diff --git a/ch11/pattern04.fla b/ch11/pattern04.fla
new file mode 100644
index 0000000..d92b39b
Binary files /dev/null and b/ch11/pattern04.fla differ
diff --git a/ch11/pattern04.swf b/ch11/pattern04.swf
new file mode 100644
index 0000000..e8e5342
Binary files /dev/null and b/ch11/pattern04.swf differ
diff --git a/ch11/pattern05.fla b/ch11/pattern05.fla
new file mode 100644
index 0000000..1f0e785
Binary files /dev/null and b/ch11/pattern05.fla differ
diff --git a/ch11/pattern05.swf b/ch11/pattern05.swf
new file mode 100644
index 0000000..b1d580b
Binary files /dev/null and b/ch11/pattern05.swf differ
diff --git a/ch11/record_drawing.fla b/ch11/record_drawing.fla
new file mode 100644
index 0000000..beecd91
Binary files /dev/null and b/ch11/record_drawing.fla differ
diff --git a/ch11/record_drawing.swf b/ch11/record_drawing.swf
new file mode 100644
index 0000000..50ba7b9
Binary files /dev/null and b/ch11/record_drawing.swf differ
diff --git a/ch12/beats01.mp3 b/ch12/beats01.mp3
new file mode 100644
index 0000000..36b42e6
Binary files /dev/null and b/ch12/beats01.mp3 differ
diff --git a/ch12/beats01.wav b/ch12/beats01.wav
new file mode 100644
index 0000000..53d71be
Binary files /dev/null and b/ch12/beats01.wav differ
diff --git a/ch12/beats02.mp3 b/ch12/beats02.mp3
new file mode 100644
index 0000000..e60ee98
Binary files /dev/null and b/ch12/beats02.mp3 differ
diff --git a/ch12/beats02.wav b/ch12/beats02.wav
new file mode 100644
index 0000000..2ca2074
Binary files /dev/null and b/ch12/beats02.wav differ
diff --git a/ch12/beats03.mp3 b/ch12/beats03.mp3
new file mode 100644
index 0000000..74cf674
Binary files /dev/null and b/ch12/beats03.mp3 differ
diff --git a/ch12/beats03.wav b/ch12/beats03.wav
new file mode 100644
index 0000000..1bcb00a
Binary files /dev/null and b/ch12/beats03.wav differ
diff --git a/ch12/beats04.mp3 b/ch12/beats04.mp3
new file mode 100644
index 0000000..188f199
Binary files /dev/null and b/ch12/beats04.mp3 differ
diff --git a/ch12/beats04.wav b/ch12/beats04.wav
new file mode 100644
index 0000000..5f6824e
Binary files /dev/null and b/ch12/beats04.wav differ
diff --git a/ch12/chindonya.mp3 b/ch12/chindonya.mp3
new file mode 100644
index 0000000..d0901b2
Binary files /dev/null and b/ch12/chindonya.mp3 differ
diff --git a/ch12/controls.fla b/ch12/controls.fla
new file mode 100644
index 0000000..393b58b
Binary files /dev/null and b/ch12/controls.fla differ
diff --git a/ch12/futuremedia_code04.fla b/ch12/futuremedia_code04.fla
new file mode 100644
index 0000000..89e2a89
Binary files /dev/null and b/ch12/futuremedia_code04.fla differ
diff --git a/ch12/songLoop.mp3 b/ch12/songLoop.mp3
new file mode 100644
index 0000000..3b0aaff
Binary files /dev/null and b/ch12/songLoop.mp3 differ
diff --git a/ch12/songLoop.wav b/ch12/songLoop.wav
new file mode 100644
index 0000000..09ef5f6
Binary files /dev/null and b/ch12/songLoop.wav differ
diff --git a/ch12/soundLoader.fla b/ch12/soundLoader.fla
new file mode 100644
index 0000000..09a694f
Binary files /dev/null and b/ch12/soundLoader.fla differ
diff --git a/ch12/soundObject1.fla b/ch12/soundObject1.fla
new file mode 100644
index 0000000..2b4d8e7
Binary files /dev/null and b/ch12/soundObject1.fla differ
diff --git a/ch12/soundObject2.fla b/ch12/soundObject2.fla
new file mode 100644
index 0000000..4d67446
Binary files /dev/null and b/ch12/soundObject2.fla differ
diff --git a/ch12/soundObject3.fla b/ch12/soundObject3.fla
new file mode 100644
index 0000000..cc2c26f
Binary files /dev/null and b/ch12/soundObject3.fla differ
diff --git a/ch12/soundObject4.fla b/ch12/soundObject4.fla
new file mode 100644
index 0000000..7ef119f
Binary files /dev/null and b/ch12/soundObject4.fla differ
diff --git a/ch12/soundObject5.fla b/ch12/soundObject5.fla
new file mode 100644
index 0000000..0cb7b61
Binary files /dev/null and b/ch12/soundObject5.fla differ
diff --git a/ch12/soundOff.fla b/ch12/soundOff.fla
new file mode 100644
index 0000000..bf59303
Binary files /dev/null and b/ch12/soundOff.fla differ
diff --git a/ch12/sounds.fla b/ch12/sounds.fla
new file mode 100644
index 0000000..2366c46
Binary files /dev/null and b/ch12/sounds.fla differ
diff --git a/ch12/soundtrack.fla b/ch12/soundtrack.fla
new file mode 100644
index 0000000..7e14b29
Binary files /dev/null and b/ch12/soundtrack.fla differ
diff --git a/ch12/soundtrack1.fla b/ch12/soundtrack1.fla
new file mode 100644
index 0000000..ad5b1f9
Binary files /dev/null and b/ch12/soundtrack1.fla differ
diff --git a/ch12/soundtrack2.fla b/ch12/soundtrack2.fla
new file mode 100644
index 0000000..85b78fe
Binary files /dev/null and b/ch12/soundtrack2.fla differ
diff --git a/ch12/soundtrack_mp3.fla b/ch12/soundtrack_mp3.fla
new file mode 100644
index 0000000..05d055a
Binary files /dev/null and b/ch12/soundtrack_mp3.fla differ
diff --git a/ch13/book.fla b/ch13/book.fla
new file mode 100644
index 0000000..15e2106
Binary files /dev/null and b/ch13/book.fla differ
diff --git a/ch13/book.xml b/ch13/book.xml
new file mode 100644
index 0000000..fbc69ed
--- /dev/null
+++ b/ch13/book.xml
@@ -0,0 +1,21 @@
+
+
+
+ Foundation ActionScript for Flash 8
+
+
+ Kristian
+ Besley
+
+
+ Sham
+ Bhangal
+
+
+ David
+ Powers
+
+
+ friends of ED
+
+
\ No newline at end of file
diff --git a/ch13/encoding_test.fla b/ch13/encoding_test.fla
new file mode 100644
index 0000000..87348ea
Binary files /dev/null and b/ch13/encoding_test.fla differ
diff --git a/ch13/encoding_test.swf b/ch13/encoding_test.swf
new file mode 100644
index 0000000..8ba4569
Binary files /dev/null and b/ch13/encoding_test.swf differ
diff --git a/ch13/futuremedia.xml b/ch13/futuremedia.xml
new file mode 100644
index 0000000..4d3258e
--- /dev/null
+++ b/ch13/futuremedia.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch13/futuremedia_code04.fla b/ch13/futuremedia_code04.fla
new file mode 100644
index 0000000..d646bb7
Binary files /dev/null and b/ch13/futuremedia_code04.fla differ
diff --git a/ch13/html_entity.xml b/ch13/html_entity.xml
new file mode 100644
index 0000000..db72133
--- /dev/null
+++ b/ch13/html_entity.xml
@@ -0,0 +1,2 @@
+
+Flash en español
\ No newline at end of file
diff --git a/ch13/iso8859_1.xml b/ch13/iso8859_1.xml
new file mode 100644
index 0000000..3fde779
--- /dev/null
+++ b/ch13/iso8859_1.xml
@@ -0,0 +1,2 @@
+
+Flash en español
\ No newline at end of file
diff --git a/ch13/utf8.xml b/ch13/utf8.xml
new file mode 100644
index 0000000..c351623
--- /dev/null
+++ b/ch13/utf8.xml
@@ -0,0 +1,2 @@
+
+Flash en español
\ No newline at end of file
diff --git a/ch13/utf8_jpn.xml b/ch13/utf8_jpn.xml
new file mode 100644
index 0000000..8a4927b
--- /dev/null
+++ b/ch13/utf8_jpn.xml
@@ -0,0 +1,2 @@
+
+日本語ã§ãƒ•ãƒ©ãƒƒã‚·ãƒ¥ï¼
\ No newline at end of file
diff --git a/ch14/futuremedia.xml b/ch14/futuremedia.xml
new file mode 100644
index 0000000..4d3258e
--- /dev/null
+++ b/ch14/futuremedia.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch14/futuremedia_code05.fla b/ch14/futuremedia_code05.fla
new file mode 100644
index 0000000..0239051
Binary files /dev/null and b/ch14/futuremedia_code05.fla differ
diff --git a/ch14/futuremedia_complete/ASS.jpg b/ch14/futuremedia_complete/ASS.jpg
new file mode 100644
index 0000000..286a096
Binary files /dev/null and b/ch14/futuremedia_complete/ASS.jpg differ
diff --git a/ch14/futuremedia_complete/DS.jpg b/ch14/futuremedia_complete/DS.jpg
new file mode 100644
index 0000000..7ff02a2
Binary files /dev/null and b/ch14/futuremedia_complete/DS.jpg differ
diff --git a/ch14/futuremedia_complete/FAS_J.jpg b/ch14/futuremedia_complete/FAS_J.jpg
new file mode 100644
index 0000000..85c7e25
Binary files /dev/null and b/ch14/futuremedia_complete/FAS_J.jpg differ
diff --git a/ch14/futuremedia_complete/FDAR.jpg b/ch14/futuremedia_complete/FDAR.jpg
new file mode 100644
index 0000000..b7b2cdf
Binary files /dev/null and b/ch14/futuremedia_complete/FDAR.jpg differ
diff --git a/ch14/futuremedia_complete/FGS.jpg b/ch14/futuremedia_complete/FGS.jpg
new file mode 100644
index 0000000..77a5da4
Binary files /dev/null and b/ch14/futuremedia_complete/FGS.jpg differ
diff --git a/ch14/futuremedia_complete/FPS.jpg b/ch14/futuremedia_complete/FPS.jpg
new file mode 100644
index 0000000..5c3c440
Binary files /dev/null and b/ch14/futuremedia_complete/FPS.jpg differ
diff --git a/ch14/futuremedia_complete/FS.jpg b/ch14/futuremedia_complete/FS.jpg
new file mode 100644
index 0000000..cd342b2
Binary files /dev/null and b/ch14/futuremedia_complete/FS.jpg differ
diff --git a/ch14/futuremedia_complete/FUE.jpg b/ch14/futuremedia_complete/FUE.jpg
new file mode 100644
index 0000000..8df9288
Binary files /dev/null and b/ch14/futuremedia_complete/FUE.jpg differ
diff --git a/ch14/futuremedia_complete/FoundationFlash_pol.jpg b/ch14/futuremedia_complete/FoundationFlash_pol.jpg
new file mode 100644
index 0000000..f7d188f
Binary files /dev/null and b/ch14/futuremedia_complete/FoundationFlash_pol.jpg differ
diff --git a/ch14/futuremedia_complete/NMOF.jpg b/ch14/futuremedia_complete/NMOF.jpg
new file mode 100644
index 0000000..af050df
Binary files /dev/null and b/ch14/futuremedia_complete/NMOF.jpg differ
diff --git a/ch14/futuremedia_complete/README.txt b/ch14/futuremedia_complete/README.txt
new file mode 100644
index 0000000..12d048c
--- /dev/null
+++ b/ch14/futuremedia_complete/README.txt
@@ -0,0 +1,129 @@
+
+===================================================================
+Futuremedia Readme file
+===================================================================
+
+Contents
+
+1. Introduction
+
+2. Using the Site Files
+
+3. Other Files
+
+4. Changes to the Site
+
+5. Updates
+
+6. Contact
+
+
+====================================================================
+1. Introduction
+====================================================================
+
+The files contained in Futuremedia_complete.zip are included as an
+example of a site that uses the user interface developed in the
+book "Foundation ActionScript for Flash 8." The content pages come
+from an original design created by Sham Bhangal for the Flash MX edition
+of the book, and have not been updated. The purpose of including them is
+to demonstrate the range of graphical and dynamic content that can be
+loaded into the Futuremedia site.
+
+You are free to use the Flash files as the basis for your own site.
+
+====================================================================
+2. Using the Site Files
+====================================================================
+
+To view the finished site you can
+
+ Double-click on index.html
+
+ With all files in the original directory structure, open index.fla
+ in Flash and test it with Control > Test Movie.
+
+ As above, but run main.fla. You will need to right-click on
+ main.fla and select play to start the site (this is automatically
+ done by index.swf in normal operation).
+
+ NB - The site uses a font symbol (to share the font between
+ seperately loaded levels). Font symbols do not always work in
+ test movie, although they do work when you view the site in a
+ browser. If you see blank areas in the site where you would expect
+ text, test the site in a browser.
+
+To Publish the site on the web, you need to upload the following files
+to your server
+
+ The HTML file index.html
+
+ The SWF files
+ index.swf
+ main.swf
+ futuremedia.xml
+ burnmedia_burn.swf
+ burnmedia_game.swf
+ burnmedia_monster.swf
+ linksBack.swf
+ The contents of folder 'drac (which must also be in a folder called
+ 'drac')
+
+ The JPEG image files (this list includes all JPG files in the zip)
+ ASS.jpg
+ drac.jpg
+ DS.jpg
+ FAS_J.jpg
+ FDAR.jpg
+ FGS.jpg
+ fingertips.jpg
+ flashhacks.jpg
+ FoundationFlash_pol.jpg
+ FPS.jpg
+ FS.jpg
+ FUE.jpg
+ NMOF.jpg
+ no_image.jpg
+ RSML.jpg
+ sham.jpg
+
+You DO NOT need to upload this file or any of the .fla files.
+
+====================================================================
+3. Other Files
+====================================================================
+
+The burnmediaTemplate.fla file is an example of how you would start
+creating your own content for the user interface. you would first
+create a file such as burnmediaTemplate as your starting point.
+
+====================================================================
+4. Changes to the Site
+====================================================================
+Sham's original content movies all have their registration point in
+the center, rather than at the top left corner. To account for this,
+the placeContent() function (lines 165-171) has been amended to
+position the content movies in the center of the stage, and two
+constants, MIDDLE_X and MIDDLE_Y, have been added to the variables
+initialized at the end of the script.
+
+Sham's version of the site can be seen online at www.futuremedia.org.uk,
+and may differ in some respects from this version. To obtain the source
+code for the online version, navigate to
+
+home > futuremedia > burnmedia
+
+at www.futuremedia.org.uk, and click on the word 'free' to the right
+of the fire graphic.
+
+====================================================================
+5. Contact
+====================================================================
+
+For technical advice, inspiration, and sharing ideas, visit the
+friends of ED forums:
+
+http://www.friendsofed.com/forums
+
+
+
\ No newline at end of file
diff --git a/ch14/futuremedia_complete/RMSL.jpg b/ch14/futuremedia_complete/RMSL.jpg
new file mode 100644
index 0000000..edc9d7d
Binary files /dev/null and b/ch14/futuremedia_complete/RMSL.jpg differ
diff --git a/ch14/futuremedia_complete/burnmediaTemplate.fla b/ch14/futuremedia_complete/burnmediaTemplate.fla
new file mode 100644
index 0000000..b23bb38
Binary files /dev/null and b/ch14/futuremedia_complete/burnmediaTemplate.fla differ
diff --git a/ch14/futuremedia_complete/burnmedia_burn.fla b/ch14/futuremedia_complete/burnmedia_burn.fla
new file mode 100644
index 0000000..a747b19
Binary files /dev/null and b/ch14/futuremedia_complete/burnmedia_burn.fla differ
diff --git a/ch14/futuremedia_complete/burnmedia_burn.swf b/ch14/futuremedia_complete/burnmedia_burn.swf
new file mode 100644
index 0000000..194d561
Binary files /dev/null and b/ch14/futuremedia_complete/burnmedia_burn.swf differ
diff --git a/ch14/futuremedia_complete/burnmedia_game.fla b/ch14/futuremedia_complete/burnmedia_game.fla
new file mode 100644
index 0000000..ae4300e
Binary files /dev/null and b/ch14/futuremedia_complete/burnmedia_game.fla differ
diff --git a/ch14/futuremedia_complete/burnmedia_game.swf b/ch14/futuremedia_complete/burnmedia_game.swf
new file mode 100644
index 0000000..c1bbc5d
Binary files /dev/null and b/ch14/futuremedia_complete/burnmedia_game.swf differ
diff --git a/ch14/futuremedia_complete/burnmedia_monster.fla b/ch14/futuremedia_complete/burnmedia_monster.fla
new file mode 100644
index 0000000..7f40981
Binary files /dev/null and b/ch14/futuremedia_complete/burnmedia_monster.fla differ
diff --git a/ch14/futuremedia_complete/burnmedia_monster.swf b/ch14/futuremedia_complete/burnmedia_monster.swf
new file mode 100644
index 0000000..2939902
Binary files /dev/null and b/ch14/futuremedia_complete/burnmedia_monster.swf differ
diff --git a/ch14/futuremedia_complete/drac.jpg b/ch14/futuremedia_complete/drac.jpg
new file mode 100644
index 0000000..754afe2
Binary files /dev/null and b/ch14/futuremedia_complete/drac.jpg differ
diff --git a/ch14/futuremedia_complete/drac/Thumbs.db b/ch14/futuremedia_complete/drac/Thumbs.db
new file mode 100644
index 0000000..5e70ef3
Binary files /dev/null and b/ch14/futuremedia_complete/drac/Thumbs.db differ
diff --git a/ch14/futuremedia_complete/drac/epilogue.htm b/ch14/futuremedia_complete/drac/epilogue.htm
new file mode 100644
index 0000000..02bf929
--- /dev/null
+++ b/ch14/futuremedia_complete/drac/epilogue.htm
@@ -0,0 +1,13 @@
+
+
+Untitled Document
+
+
+
+
+
+
+
+
+
+
diff --git a/ch14/futuremedia_complete/drac/epilogue_one.jpg b/ch14/futuremedia_complete/drac/epilogue_one.jpg
new file mode 100644
index 0000000..9aae011
Binary files /dev/null and b/ch14/futuremedia_complete/drac/epilogue_one.jpg differ
diff --git a/ch14/futuremedia_complete/drac/epilogue_two.jpg b/ch14/futuremedia_complete/drac/epilogue_two.jpg
new file mode 100644
index 0000000..b563e4b
Binary files /dev/null and b/ch14/futuremedia_complete/drac/epilogue_two.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_intro.jpg b/ch14/futuremedia_complete/drac/episode1_intro.jpg
new file mode 100644
index 0000000..43238e4
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_intro.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_page1.jpg b/ch14/futuremedia_complete/drac/episode1_page1.jpg
new file mode 100644
index 0000000..8aafa4f
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_page1.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_page2.jpg b/ch14/futuremedia_complete/drac/episode1_page2.jpg
new file mode 100644
index 0000000..2d303c9
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_page2.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_page3.jpg b/ch14/futuremedia_complete/drac/episode1_page3.jpg
new file mode 100644
index 0000000..044cb03
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_page3.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_page4.jpg b/ch14/futuremedia_complete/drac/episode1_page4.jpg
new file mode 100644
index 0000000..0424462
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_page4.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_page5.jpg b/ch14/futuremedia_complete/drac/episode1_page5.jpg
new file mode 100644
index 0000000..87e5bfa
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_page5.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_page6.jpg b/ch14/futuremedia_complete/drac/episode1_page6.jpg
new file mode 100644
index 0000000..256312b
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_page6.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode1_page7.jpg b/ch14/futuremedia_complete/drac/episode1_page7.jpg
new file mode 100644
index 0000000..b6eb54d
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode1_page7.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode2_intro.jpg b/ch14/futuremedia_complete/drac/episode2_intro.jpg
new file mode 100644
index 0000000..bd4d472
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode2_intro.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode2_page1.jpg b/ch14/futuremedia_complete/drac/episode2_page1.jpg
new file mode 100644
index 0000000..5e3e1e2
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode2_page1.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode2_page2.jpg b/ch14/futuremedia_complete/drac/episode2_page2.jpg
new file mode 100644
index 0000000..08a5b81
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode2_page2.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode2_page3.jpg b/ch14/futuremedia_complete/drac/episode2_page3.jpg
new file mode 100644
index 0000000..f1c7e93
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode2_page3.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode2_page4.jpg b/ch14/futuremedia_complete/drac/episode2_page4.jpg
new file mode 100644
index 0000000..46dfde3
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode2_page4.jpg differ
diff --git a/ch14/futuremedia_complete/drac/episode2_page5.jpg b/ch14/futuremedia_complete/drac/episode2_page5.jpg
new file mode 100644
index 0000000..1f4264a
Binary files /dev/null and b/ch14/futuremedia_complete/drac/episode2_page5.jpg differ
diff --git a/ch14/futuremedia_complete/drac/index.htm b/ch14/futuremedia_complete/drac/index.htm
new file mode 100644
index 0000000..da577b8
--- /dev/null
+++ b/ch14/futuremedia_complete/drac/index.htm
@@ -0,0 +1,38 @@
+
+
+Untitled Document
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch14/futuremedia_complete/drac/part2.htm b/ch14/futuremedia_complete/drac/part2.htm
new file mode 100644
index 0000000..555386b
--- /dev/null
+++ b/ch14/futuremedia_complete/drac/part2.htm
@@ -0,0 +1,21 @@
+
+
+Untitled Document
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch14/futuremedia_complete/fingertips.jpg b/ch14/futuremedia_complete/fingertips.jpg
new file mode 100644
index 0000000..9f046ce
Binary files /dev/null and b/ch14/futuremedia_complete/fingertips.jpg differ
diff --git a/ch14/futuremedia_complete/flashhacks.jpg b/ch14/futuremedia_complete/flashhacks.jpg
new file mode 100644
index 0000000..789c3e3
Binary files /dev/null and b/ch14/futuremedia_complete/flashhacks.jpg differ
diff --git a/ch14/futuremedia_complete/futuremedia.xml b/ch14/futuremedia_complete/futuremedia.xml
new file mode 100644
index 0000000..4d3258e
--- /dev/null
+++ b/ch14/futuremedia_complete/futuremedia.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch14/futuremedia_complete/index.fla b/ch14/futuremedia_complete/index.fla
new file mode 100644
index 0000000..13d83ae
Binary files /dev/null and b/ch14/futuremedia_complete/index.fla differ
diff --git a/ch14/futuremedia_complete/index.html b/ch14/futuremedia_complete/index.html
new file mode 100644
index 0000000..c22a88e
--- /dev/null
+++ b/ch14/futuremedia_complete/index.html
@@ -0,0 +1,43 @@
+
+
+
+index
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch14/futuremedia_complete/index.swf b/ch14/futuremedia_complete/index.swf
new file mode 100644
index 0000000..a024255
Binary files /dev/null and b/ch14/futuremedia_complete/index.swf differ
diff --git a/ch14/futuremedia_complete/linksBack.fla b/ch14/futuremedia_complete/linksBack.fla
new file mode 100644
index 0000000..cee200a
Binary files /dev/null and b/ch14/futuremedia_complete/linksBack.fla differ
diff --git a/ch14/futuremedia_complete/linksBack.swf b/ch14/futuremedia_complete/linksBack.swf
new file mode 100644
index 0000000..753fc36
Binary files /dev/null and b/ch14/futuremedia_complete/linksBack.swf differ
diff --git a/ch14/futuremedia_complete/main.fla b/ch14/futuremedia_complete/main.fla
new file mode 100644
index 0000000..c0ba266
Binary files /dev/null and b/ch14/futuremedia_complete/main.fla differ
diff --git a/ch14/futuremedia_complete/main.swf b/ch14/futuremedia_complete/main.swf
new file mode 100644
index 0000000..9d658fc
Binary files /dev/null and b/ch14/futuremedia_complete/main.swf differ
diff --git a/ch14/futuremedia_complete/no_image.jpg b/ch14/futuremedia_complete/no_image.jpg
new file mode 100644
index 0000000..4ccd5fa
Binary files /dev/null and b/ch14/futuremedia_complete/no_image.jpg differ
diff --git a/ch14/futuremedia_complete/sham.jpg b/ch14/futuremedia_complete/sham.jpg
new file mode 100644
index 0000000..ef8a986
Binary files /dev/null and b/ch14/futuremedia_complete/sham.jpg differ
diff --git a/ch14/index.fla b/ch14/index.fla
new file mode 100644
index 0000000..13d83ae
Binary files /dev/null and b/ch14/index.fla differ
diff --git a/ch14/main.fla b/ch14/main.fla
new file mode 100644
index 0000000..1e19c32
Binary files /dev/null and b/ch14/main.fla differ
diff --git a/ch15/Mover.as b/ch15/Mover.as
new file mode 100644
index 0000000..391f7aa
--- /dev/null
+++ b/ch15/Mover.as
@@ -0,0 +1,42 @@
+class Mover {
+ //
+ // PROPERTIES
+ private var theTarget:MovieClip;
+ private var theClip:MovieClip;
+ private var distX:Number;
+ private var distY:Number;
+ //
+ // CONSTRUCTOR
+ public function Mover(targetClip:MovieClip) {
+ theTarget = targetClip;
+ }
+ //
+ // PUBLIC METHODS
+ public function moveInertia(x:Number, y:Number):Void {
+ theClip = theTarget.createEmptyMovieClip("moveInertiaHolder", theTarget.getNextHighestDepth());
+ theClip._x = x;
+ theClip._y = y;
+ theClip.onEnterFrame = moveClip;
+ }
+ //
+ public function getTarget():MovieClip {
+ return theTarget;
+ }
+ //
+ // PRIVATE METHODS
+ private function moveClip():Void {
+ var me:Object = this;
+ var mc:MovieClip = me._parent;
+ distX = me._x - mc._x;
+ distY = me._y - mc._y;
+ mc._x += distX/4;
+ mc._y += distY/4;
+ if (Math.abs(mc._x - me._x)<1) {
+ if (Math.abs(mc._y - me._y)<1) {
+ mc._x = me._x;
+ mc._y = me._y;
+ me.removeMovieClip();
+ }
+ }
+ }
+}
diff --git a/ch15/Navigator.as b/ch15/Navigator.as
new file mode 100644
index 0000000..37e498c
--- /dev/null
+++ b/ch15/Navigator.as
@@ -0,0 +1,36 @@
+class Navigator extends Mover {
+ //
+ // PROPERTIES
+ private var left:Number;
+ private var right:Number;
+ private var top:Number;
+ private var bottom:Number;
+ private var x:Number;
+ private var y:Number;
+ //
+ // CONSTRUCTOR
+ public function Navigator(target:MovieClip, l:Number, r:Number, t:Number, b:Number) {
+ super(target);
+ left = l;
+ right = r;
+ top = t;
+ bottom = b;
+ }
+ // METHODS
+ public function moveInertia(xPos:Number, yPos:Number) {
+
+ x = xPos;
+ y = yPos;
+ if (xPosright) {
+ x = right;
+ }
+ if (yPosbottom) {
+ y = bottom;
+ }
+ super.moveInertia(x, y);
+ }
+}
diff --git a/ch15/components01.fla b/ch15/components01.fla
new file mode 100644
index 0000000..a99213e
Binary files /dev/null and b/ch15/components01.fla differ
diff --git a/ch15/components02.fla b/ch15/components02.fla
new file mode 100644
index 0000000..691049d
Binary files /dev/null and b/ch15/components02.fla differ
diff --git a/ch15/components03.fla b/ch15/components03.fla
new file mode 100644
index 0000000..a93d229
Binary files /dev/null and b/ch15/components03.fla differ
diff --git a/ch15/components04.fla b/ch15/components04.fla
new file mode 100644
index 0000000..6c4c5d5
Binary files /dev/null and b/ch15/components04.fla differ
diff --git a/ch15/form.fla b/ch15/form.fla
new file mode 100644
index 0000000..a555828
Binary files /dev/null and b/ch15/form.fla differ
diff --git a/ch15/listener01.fla b/ch15/listener01.fla
new file mode 100644
index 0000000..0068168
Binary files /dev/null and b/ch15/listener01.fla differ
diff --git a/ch15/listener02.fla b/ch15/listener02.fla
new file mode 100644
index 0000000..95c53a4
Binary files /dev/null and b/ch15/listener02.fla differ
diff --git a/ch15/remove01.fla b/ch15/remove01.fla
new file mode 100644
index 0000000..0739046
Binary files /dev/null and b/ch15/remove01.fla differ
diff --git a/ch15/remove02.fla b/ch15/remove02.fla
new file mode 100644
index 0000000..164ac66
Binary files /dev/null and b/ch15/remove02.fla differ
diff --git a/ch15/runtime01.fla b/ch15/runtime01.fla
new file mode 100644
index 0000000..4b6399f
Binary files /dev/null and b/ch15/runtime01.fla differ
diff --git a/ch15/runtime02.fla b/ch15/runtime02.fla
new file mode 100644
index 0000000..a8ab117
Binary files /dev/null and b/ch15/runtime02.fla differ
diff --git a/ch15/testClass01.fla b/ch15/testClass01.fla
new file mode 100644
index 0000000..046526c
Binary files /dev/null and b/ch15/testClass01.fla differ
diff --git a/ch15/testClass02.fla b/ch15/testClass02.fla
new file mode 100644
index 0000000..2dd0c0f
Binary files /dev/null and b/ch15/testClass02.fla differ
diff --git a/contributing.md b/contributing.md
new file mode 100644
index 0000000..f6005ad
--- /dev/null
+++ b/contributing.md
@@ -0,0 +1,14 @@
+# Contributing to Apress Source Code
+
+Copyright for Apress source code belongs to the author(s). However, under fair use you are encouraged to fork and contribute minor corrections and updates for the benefit of the author(s) and other readers.
+
+## How to Contribute
+
+1. Make sure you have a GitHub account.
+2. Fork the repository for the relevant book.
+3. Create a new branch on which to make your change, e.g.
+`git checkout -b my_code_contribution`
+4. Commit your change. Include a commit message describing the correction. Please note that if your commit message is not clear, the correction will not be accepted.
+5. Submit a pull request.
+
+Thank you for your contribution!
\ No newline at end of file