Flash video n' related stuff
First off, thanks to everyone who bought our book, Flash Video for Professionals.
Writing a book is challenging, to say the least. Even with two authors, eagle-eye copy editors, savvy tech editors, and helpful friends, mistakes can slip through.
And with each new version of software, new issues can be introduced… sometimes helpful, sometimes not.
So, to be sure that readers have the most up-to-date code and information, we’ve started this topic: Book Errata & Updates. If you ever run into trouble with an example, or find a typo or error, check here first for an update. If you don’t find a reference to it here, feel free to post a comment and we’ll sort it out for you ASAP.


14 Responses for "Reference for Book Updates and Corrections"
Chapter 10: Page 275
I believe the line:
_targetmc.video.attachVideo(local_cam);
Should be:
_targetmc.video.attachCamera(local_cam);
Also in Chapter 11: Page 289, it says a 4-person videoconference would require 12 streams. Using FMS, the application wouldn’t be peer to peer like the picture shows, but rather each person would be connecting back to the server, so you would need Z x Z number of streams (where Z is the number of users connecting). In the case of four users, you would need 16 streams.
OK, now that I’ve been really picky, I have to say I love your book. It’s been EXTREMELY helpful during my cross-over to AS3. Great job!!
Good book, been waiting for something like this for awhile.
Can’t get XMLSA to work when publishing as AS2. Getting a slew of “ActionScript 2.0 class scripts may only defined class or interface consturcts.” errors. I’m no expert but it seems that XMLSA is only meant for AS1?
Hi jw,
Glad you’re finding the book helpful!
XMLSA should work fine with AS2… how is your development environment set up?
cheers
// Lisa
I borrowed this book from the school library. It is certainly very informative on Flash video.
In the book, the main.asc file for Flash Media Server was mentioned. Yes, I could locate the as2 version of this file in the Flash CS3 folder, but i simply couldn’t locate the as3 version (or is there any?) of this file as stated on page 82 of the book. Could anyone pls enlighten me on this matter?
Hi Gek,
Nice to hear that our book’s in your school’s library, and that you’re finding it informative!
Regarding main.asc files for Flash Media Server: That is a server-side application file, so it is written in AS1. Server-side code can only be written in AS1… but you can communicate to the application through the Flash Player in any version of ActionScript. Hope this helps clarify!
cheers // Lisa
I’m trying to set up the eclipse + FDT + MTASC environment you recommend. Seems there have been software updates since the book’s release as I am having a hard time reconciling the directions in the book with what I’m seeing onscreen.
Eclipse SDK
Version: 3.3.1.1
Build id: M20071023-1652
FDT Basic
Version: 3.0.3.1002
MTASC
Version: 1.12
OS
Mac OS 10.4.11
Hello, thanks for the great book. Does anyone have complete AS3 code for the Appendix A MVC example?
Like dan baker, I am having trouble reconciling the instructions for setting up eclipse + FDT + MTASC environment with the book.
Where might I find more information about this process?
John
Hi Dan and John,
Yes, technology marches on unfortunately… the setup has changed slightly with the new versions.
Remember, MTASC only works for AS2; and FDT can be purchased for AS2 and now for AS3. FDT for AS3 will not work with MTASC.
Where are you getting hung up? If you post some details I’ll try to help out.
cheers
// Lisa
Mickey,
Sorry, Jim hasn’t yet updated the Appendix MVC code for AS3. If anyone else has, please share!
cheers
// Lisa
On the progressive deliver as2 code on page 46 – nc:NetConnection is passed in as the third parameter, but not in fig 3.3, shown in Eclipse. I see how it’ll work either way, but it’s a little confusing (particularly to someone new to classes). I’m more confused as to why var ns:NetStream is declared both above and inside the function. Inside the function, shouldn’t it just be ns = new Netstream(nc)?
Hi,
I’ve recently purchased the book and let me say that it is a wonderful resource.
In chapter 7 there is an example which shows a sequential playlist for a hard-coded array, but there are no examples for sequential play for a xml driven playlist. Could you lend a helping hand?
Thanks in advance,
boogie
I’ve included code for sequential XML playlist in the “bonus” files for this article:
http://www.adobe.com/devnet/flash/articles/video_playlist.html
hello there to me there is an error on chapter 07 (esample MVCMediaPlayerXML_AS3). The error is on line 42 of the Main.as
_player.populatePlaylist(myXML.item) :
in italian but i belive its comprehensible also in english:
TypeError: Error #1034: Assegnazione di tipo forzata non riuscita: impossibile convertire XMLList@21055901 in Array.
Thanks.
Leave a reply