Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : Flash6 vs Flash 7 NetStream question


inetwebguy
4/13/2004 8:27:45 PM
Does anyone know the differences in the NetStream class as far as syntax is
concerned? I have some flv files streaming fine when I publish using Flash 7,
but when I publish with Flash 6 compatibility, I get the following errors in
the output panel.

//BEGIN OUTPUT//

**Warning** Scene=Scene 1, layer=Actionscript, frame=2:Line 3:
Case-insensitive identifier 'netStream' will obscure built-in object
'NetStream'.
var netStream:NetStream = new NetStream(netConn);

**Warning** Scene=Scene 1, layer=Actionscript, frame=3:Line 3:
Case-insensitive identifier 'netStream' will obscure built-in object
'NetStream'.
var netStream:NetStream = new NetStream(netConn);

**Warning** Scene=Scene 1, layer=Actionscript, frame=4:Line 3:
Case-insensitive identifier 'netStream' will obscure built-in object
'NetStream'.
var netStream:NetStream = new NetStream(netConn);

**Warning** Scene=Scene 1, layer=Actionscript, frame=5:Line 3:
Case-insensitive identifier 'netStream' will obscure built-in object
'NetStream'.
var netStream:NetStream = new NetStream(netConn);

Total ActionScript Errors: 4 Reported Errors: 4

loudmouth72
4/13/2004 9:04:35 PM
When your publishing to flash 6 there is no case sensitivity -- this means that
netStream and the NetStream object could eval to the same, but flash 7 has case
sensitivity so they are going to eval different . just change var netStream
to like var streaming or something different then NetStream.

loudmouth72
AddThis Social Bookmark Button