Groups | Blog | Home
all groups > macromedia flash flashcom > august 2007 >

macromedia flash flashcom : FMS2 and CS3



afaibis
8/5/2007 6:42:16 PM
I've been beating my head against the wall on trying to get a simple video
streaming going with CS3 and FMS2.
Are there any "HelloWorld" type tutorials for this? I have found some on the
web bu they all are Flash 8, and I can't seem to get them to work with my
setup. For one thing, I don't even know if the main.asc is the same for CS3 as
for Flash 8. All the tutorials say that you should use the one in the Flash 8
samples directory, but I am on CS3 not Flash 8.

I even tried to find some books on it, but once again, they all seem to be for
previous versions, so I don't know if I should spend the money if they won't
work on my versions of the environment...

Any thoughts?
afaibis
8/6/2007 1:08:35 AM
I think I've figured out why I could not connect. I needed to add a line of
code before constructing the NetConnection:
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;

Apparently Adobe has changed the protocol for CS3 and FMS2 has not caught up
with it.

Next problem - I can't seem to display the Video. The FMS admin console shows
that a stream is playing, but there is no video showing, and no errors on the
client. Also, if I change the name of the FLV to a garbage name, the admin
console still reports the bogus name as playing...


pauldecoursey
8/6/2007 7:05:50 PM
AddThis Social Bookmark Button