I'm using almost the same code except if i just use live_api_player.swf I get the error
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
So i tried the link to the player in a browser and it changed to
live_api_player.r077cea8aaec2c2af5ef7af8d6fefbb4b8c492439.swf so I put this into my url and it works, but I get in my output window an error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Browser$/topLevelHost()[../stdlib/Browser.hx:520]
at Browser$/pageUrlDomain()[../stdlib/Browser.hx:498]
at MixpanelBeacon/track_mixpanel_event()[../mixpanel_beacon/lib/MixpanelBeacon.hx:40]
at MixpanelBeacon/track()[../mixpanel_beacon/lib/MixpanelBeacon.hx:206]
at skins::BareSkin/log_mixpanel_stat()[skins/BareSkin.hx:281]
at skins::BareSkin/log_client_play()[skins/BareSkin.hx:1622]
at skins::BareSkin/on_buffer_full()[skins/BareSkin.hx:1607]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at JtvVideoPlayer/dispatch()[../stdlib/JtvVideoPlayer.hx:1050]
at JtvVideoPlayer/net_status_handler()[../stdlib/JtvVideoPlayer.hx:1869]