I think the reason for this is due to sandbox violation.
You should google for a crossdomain xml file which will allow your SWF
hosted on your website to call data from a different website. Failing
to provide a cross domain policy file on your hosting will result in
failure.
On Jul 23, 8:00 pm, matifq <
mat...@gmail.com> wrote:
> Hello,
>
> I have developed a custom application in flash cs 3 which uses
> asyoutubelib api to retrieve youtube videos when given the youtube
> link. When i compile the application its runs smooth and all fine but
> when i am uploading it to my website it stops functioning by giving an
> error message...
>
> Error #2044: Unhandled securityError:. text=Error #2048: Security
> sandbox violation:
http://unhp.com.pk/samples/youtubetest/youtube.swf
> cannot load data fromhttp://
www.youtube.com/api2_rest?dev_id=PkkPoifY1d0&method=youtube.vi....
>
> my web link ishttp://
unhp.com.pk/samples/youtubetest/youtube.html