243 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Located in Europe
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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
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
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Located in Europe
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