Skip to main content
Participant
August 5, 2007
Question

FMS2 and CS3

  • August 5, 2007
  • 2 replies
  • 244 views
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?
    This topic has been closed for replies.

    2 replies

    Participant
    August 6, 2007
    I think that Flash 8 defaulted to AMF0, where as CS now defaults to AMF3.
    afaibisAuthor
    Participant
    August 6, 2007
    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...