Re: Loading external API in flex application

2017-02-25 Thread Pawan Yadav
trying to load the apiplayer and getting error in loader.content loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, onLoaderInit); loader.load(new URLRequest("http://www.youtube.com/apiplayer?version=3";)); ᐧ Best Regards Pawan On Fri, Feb 24, 2017 at 8:29 PM, Harbs

Re: Loading external API in flex application

2017-02-24 Thread Harbs
Your code literally loads “url” as a string. That’s probably not what you want to do… ;-) > On Feb 24, 2017, at 3:47 PM, Pawan Yadav wrote: > > Hi -- > > I am trying to load an external api in flex application > loader.load(new URLRequest("url")); > > and getting this error > > player error:

Re: Loading external API in flex application

2017-02-24 Thread OK
y [2]http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/HTTPService.html -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Loading-external-API-in-flex-application-tp59854p59855.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Loading external API in flex application

2017-02-24 Thread Pawan Yadav
Hi -- I am trying to load an external api in flex application loader.load(new URLRequest("url")); and getting this error player error: Error #2035: URL Not Found. URL: Any idea, what could be wrong ᐧ