Corrections for:
Foundation Flash 5
While we hope that our books are error free, once in a while a mistake makes it into print. Changes to a book's technology following publication can also create issues.
Below, you'll find a list of updates and corrections for Foundation Flash 5, ordered by page number. If you spot an error we've missed, feel free to let us know by submitting it via our errata form
You can subscribe to this page, and so receive any additional corrections via RSS:
?
- p.106
Point no.6-7:
The text should appear as follows:
6. In the edit Symbol window for the Email us button, select the Up state and use the Text tool to type this phrase on the stage: [Screenshot on far right]
Use the Character panel to make this text white, and then align the text so that it's centered on the crosshair that you see on the stage in Edit Symbols mode: [Screenshot on right]
Remember that you can get your content centered by entering zeroes into the X and Y coordinate boxes of the Info panel as shown here
7. Now add keyframes to the remaining three button states
- p.200
Point no.11:
Convert the sphere to a button symbol and save it as 'Button Base' in the library's Main Buttons folder
- p.214
New screenshot and text:
Easing runs on a scale of -100 to 0 for Easing In and from 0 to 100 for Easing Out. The number represents the amount of easing that's applied to the tween. The further away from 0 you get, the more pronounced the easing becomes:
- p.266
Point no.4:
Click on the Info layer and add a new layer between the existing two. Rename it 'Morphs', and add a keyframe at frame 20
- p.267
Point no.8:
Use Ctrl-Click to select frame 19 of the Morphs layer and insert a new keyframe.
- p.268
Point no.15:
Discard point no 15 and add the following to point no 16:
In the first frame of the 'Info' layer, draw a suitably colored line below the circles.
- p.301
New screenshot 1:
- p.301
Point no.7:
Your timeline will now look like this
New screenshot 2:
- p.364
In code box:
tellTarget ("face") {}
- p.386
First line:
and the Contact button's Go To ActionScript will read
gotoAndStop(50). Then add the following text:
We've used a gotoAndStop action on the Contact button, because rather than playing a movie, this button just goes to the frame with the Contact graphic on it, and stops
- p.500
Point no.20:
Next, use the crosshair icon to add the ship path to the Value field, add a dot and then _x. Finally, add -speed to the end.
Note: Same applies in screenshot also
- p.501
Point no.21:
_root.ship._x = _root.ship._x + speed; (delete one _root.ship._x = )Note: Same applies in screenshot also
- p.502
Sceenshot main:
Code should appear on both lines as:
_root.ship._x = _root.ship._x - speed;
_root.ship._x = _root.ship._x + speed;- p.503
Point no.27:
In frame 1 of the new actions layer, insert an if action and type _root.shipdead into the Condition field
Note: Same applies in screenshot also
- p.504
Point no.30:
Still inside the ship movie clip, extend the space layer to frame 7, and at frame 9 in the actions layer use the Go To command to add a gotoAndPlay("dead") action:
- p.508
Point no.11:
1st bullet point:
_root.a2nd bullet point:
_root.Mclip.a- p.518
Point no.15:
Create an input text box next to the Enter button. Give it a border by checking Border/Bg and associate it with the guess variable by typing guess into the Variable field. Make sure that the text box is set to a different font from theone that you've used for the rest of your text. If it's the same, you will be able to enter the text that you've already written in that font. Make the maximum characters that the user can enter 2, and select the 'numbers' icon at the bottom of the panel. By doing this , we're limiting the possible input to numbers up to 99:
- p.551
The last sentence should read:
This frame is blank at the moment…