Thanks to all those who have reported typos and
corrections to the First Edition. Please direct any suspected
errors or omissions to us at errata@FlashSim.com.
Preface
Chapter 7, Describing
Behaviors Using Statecharts
-
Page
82, code for states and managers shown in Fig 7-5. Lines 3 and
4 should have rootMgr
as final argument, not stateNet,
as in
noPowState = new state("no
power", 10, rootMgr);
powState = new hstate("power", 5, rootMgr);
-
Page
86, Clarification (first paragraph): "jump into" meaning
jumping to a sub-state of y. (thanks, ASP!)
-
Page
87, inset box (Advanced). Topmost transition out of state x
should be labeled 0 -- label has been cut off.
-
Page
93, bottom. Code should read "s0.add_trans(1, new trans(afn,
1));" ('1' instead of 2).
(thanks,
Yue!)
-
Page
94, To add an internal action, the correct method is "add_intAct"
(singular), not "add_intActs" (thanks,
ASP!)
-
Page
101, URL to David Harel's site is incorrect. It should be http://www.wisdom.weizmann.ac.il/~dharel,
or his paper is at
http://www.wisdom.weizmann.ac.il/~dharel/SCANNED.PAPERS/Statecharts.pdf
(thanks, Steve Killingbeck!)
Chapter 9, Introduction
to Simulator Construction
-
Page
119, Paragraph before the Note says to use FISSlider. This
is incorrect, as the slider is not part of this simulation
-
Page 123: (Table 9-1) should
read (Table 9-3). Two places on this page, line 10 and line
25 (thanks Gharbi Taoufik!)
-
Page
137, code for model.irh
should return this.batteryLevel,
not this.battLevel (code
is correct on the CD, however)
Chapter 10, Flash MX Components
-
Page
148, code at bottom in setBase.
Missing 't'; should read this.update();
-
Page 158. "The key element
you need in your custom UI is a movie clip instance you create,
called xch." This last statement is incorrect--you
do not need to create the xch movie clip, as Flash provides
it for you.
-
Page 161. Code for bc.onChanged,
second argument to setTintSq
should be ParseInt(gc.text),
not ParseInt(bc.text)
-
Page 163. Defining Live Preview
movies to match exact height and width of component. This is
not something talked much about in the text, but after writing
I found out about using Stage.align
= "TL"; and Stage.scaleMode
= "noScale"; as the best way to ensure placement
of your component will match exactly where the Live Preview
shows it. Check out Greg Burch'sLive Preview tutorial at www.ultrashock.com
for a great description of how to use these and other features
of Live Preview.
Chapter 11, Simple
Interface Objects
-
Page
179. "value of the internal property whichState"
should read "value of the internal property downState". (thanks,
ASP!)
Chapter 12, Nonvisual
Objects
-
Page
199. Chapter 21 reference should be Chapter 16.
-
Page 201. The paragraph
before FISTimer describes a frame-based timer for pulse
activities, called FStEngFT, and says that it is on the
CD. It is not, but if you would like it, please email us
and we'd be happy to send it to you..
Chapter 13, Advanced
Interface Objects
-
Page
221. Line 8-9. Regarding BarrelOverflow, it should read
the value given does not fit (the "not" was
omitted accidentally). (thanks
Gharbi Taoufik!)
Page 224. Figure 13-6(c). Angle phi
(circle with vertical line) is the angle between vectors b
and c, so it should be between those two.
- Page 224. Equation 13-2 and p. 225, Eqn.
13-3. The bars on each side of a and b should be double bars (vector
length), not single bars.
Chapter 14, Model Layer
Simulation
- Page 249. Chapter 10 reference should
be Chapter 9, and Chapter 21 reference should be Chapter 16.
- Page 251. Chapter 22 reference (fish
finder) should be for Chapter 17.
Chapter 16, Modeling an
Analog/Digital Wristwatch
Appendix A, Flash and
Simulation Web Resources
- Page A3. Misspelled Branden Hall's name.
Our apologies, Branden!
Appendix D, Flash State
Engine Implementation
- Page D7. "ieh" and "xeh" descriptions:
"generated by objects outside this state engine" should be
with "xeh", while "sent in from a controller of this state..."
should be with "ieh". (thanks, ASP!)
Appendix F, Additional
Design Materials
- Page F7. State 11, "First Ring",
The description for the internal action 1 should note have
the word "not" there. (thanks,
ASP!)
|