1573 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 2
+2 more
rahulbist
says

hi,

I am loading images with absolute links from xml.

problem is when I hardcode the link in as3. the image is loading.

but, when I am loading the absolute link from xml file. image is not loading at all.

e.g.

var loader:Loader = new Loader(); loader.load(new URLRequest(“blah blah”)); addChild(loader).

xml version is 1.0 and encoding utf-8.

help me please .

thanks

1163 posts
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 3
  • Top Monthly Author
+6 more
FlashTang
says

The link in your XML might be incorrect , or maybe this an encoding issue

8586 posts Community Moderator
  • United Kingdom
  • 7 Years of Membership
  • Moderator
  • Winner
+10 more
MSFX
Moderator
says

The link in your XML might be incorrect , or maybe this an encoding issue

+1 likely got the url wrong… have you tried putting the url in CDATA ?

1573 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 2
+2 more
rahulbist
says

hi,

yes, I tried CDATA , but nothing work.

actually it was cross domain issue. it is solved now :)

by
by
by
by
by
by