Hi.
Can someone help me out with this:
I took the following exapmle from the Adobe site, but when I run it I get the following error:
1084: Syntax error: expecting identifier before assign.
It says this is the offending line:
VideoPlayer.netStreamClientClass = null;
Code is as follows:
// Place the FLVPlayback component on the Stage at 0,0 and provide the instance name myflvPlayback.
import fl.video.
VideoPlayer.netStreamClientClass = null;
try {
myflvPlayback.play(‘test.flv’);
} catch (e:VideoError) {
if (e.code =VideoError.NETSTREAM_CLIENT_CLASS_UNSET) {
trace(‘I forced this error on purpose’);
}
}
Any help would be great… i’m a total newbie.
John