|
#1
|
|||
|
|||
|
Hi I have spent the last few days making my own player, but I am having issues calling the live viewer count, it is only showing 0 viewers (when i obviously know there are more)
From the documentation: viewerCount property viewerCount:int [read-only] The number of viewers currently watching this Livestream channel. Implementation public function get viewerCount():int Basically I am adding into the readyHandler a variable that stores the viewer count and then input the viewer count into a text box. I know that this process works it will input most other return calls into the box, but it only ever shows 0. viewernum = lsPlayer.viewerCount; MenuHov.viewers.text = viewernum; I am either doing something very wrong or this function does not work any longer? Can anyone provide me with some info on this? I know I can call up the XML file for the channel to get the viewers but would rather not have to parse an XML file everytime the player looks to see how many viewers there are. Thanks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|