-
Chapter 8
Posted on July 26th, 2009 3 commentsVideo is the topic of Chapter 8, including both how to prepare and compress it, as well as using it as cutscenes or a replacement for image sequences. We’ll create a CutsceneManager class that will be used to simplify the process of loading video in Flash.
3 responses to “Chapter 8”
-
John C. Ardussi November 28th, 2009 at 13:54
I played with the video example. It came up with some errors in CS4. I was able to get rid of them by adding the following code:
protected var _customClient:Object;
// in constructor
_customClient = new Object();
_customClient.onMetaData = metaDataHandler;// and later
protected function metaDataHandler(infoObject:Object):void {
//_video.width = infoObject.width;
//_video.height = infoObject.height;
trace(“metadata”, infoObject.width, infoObject.height);
}Then it ran with no errors.
BTW, thanks for a great book. I am just starting but got my first completed assignment done in less than an hour thanks to your book.
Thanks,
John -
Ola Tandstad January 27th, 2011 at 05:39
The “cutscene.mov” file we need in the beginning of the chapter is not included in your files. There is the finished 1MB cutscene.f4v file though. Also, in figure 8.2 the file in use in media encoder is labeled imagesequence.mov, but in 8.3 and 8.4 it is correctly replaced with the cutscene file and shows the appropriate snapshot.
In short, it is impossible to follow along for that first example. Also, I did not manage to playback the imagesequence.mov and .f4v files in adobe media player. “playback failed”. Although in the Mac finder window, the .mov file plays correctly. I have Flash CS5 btw.
Hope you look into these issues. I am mostly very pleased with your book, despite that there are quite a few figure- and reference-inconsistencies throughout, it is very informative and easy to read! Greetings from Norway.
-
Thanks for the feedback Ola! I’m in the final stage of prepping the 2nd edition of the book and this type thorough analysis of the material allows me to correct things like that. I’ve not really messed with that chapter in this new version as there wasn’t much to talk about, but I will correct those inconsistencies and also be sure to include the .mov file in the examples archive.
You mention there being quite a few figure and reference inconsistencies – if you can think of more off the top of your head I’d like to know about them. Being able to fix them produces a better work for everyone.
Cheers,
Chris
Leave a reply
-


