243 posts
  • Europe
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
creativestuff says

hi there I am working on music web page in action script 2 and I designed it to have its own downloader using the FileReference method in flash everything works fine when I try to call DOWNLOADER .download(“folder/subfolder/music.mp3”); because filereference works cool inside the same domain where the swf is , no problem if loaded from external domain if there is a crossdomain.xml but what about if I need to download a file from a host that doesn’t allow putting my own crossdomain.xml file on the root (ex. myotherdrive.com)... the downloader isn’t working anymore…

Is there any solution to tell flash to take the crossdomain from other place … or to fix this problem?

Animated_Creativity
Animated_Creativity Recent Posts Threads Started
480 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
Animated_Creativity says

Download it via PHP and give it to flash.

Means… instead of using the File Reference Class… call your PHP script from flash and pass it a download URL … PHP will return the downloaded data to flash.

243 posts
  • Europe
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
creativestuff says

thx a lot , for those who have the same problem

http://www.boutell.com/newfaq/creating/forcedownload.html

by
by
by
by
by
by