Flex/as3: How to get the name from a NetStream object? -
in flex netstatusevent of type netgroup.multicaststream.publishnotify, string name of stream in e.info.name
the name publisher specified in .publish ("") method.
but in netstatusevent of type netstream.connect.success, there no such property. instead, whole netstream object available through e.info.stream
how heck basic name netstream object? e.info.stream.name not exist.
i must overlooking simple.
yes, expected, solution simple. netstream.connect.success event fires netstream initialized. can used .play published stream - in other words, has not been assigned .publish'ed name @ point.
Comments
Post a Comment