243 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
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
creativestuff says

thx a lot , for those who have the same problem

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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by