[Flashcoders] net.FileReference problem

2007-01-19 Thread natalia Vikhtinskaya
Hi to all Can anybody tell me what is my problem. I am trying to download files import flash.net.FileReference; var fileRef:FileReference = new FileReference(); var isDownload=false; function downloadMP3(myFile,myName){ var listener:Object = new Object(); listener.onProgress =

Re: [Flashcoders] net.FileReference problem

2007-01-19 Thread R�kos Attila
I don't think that flooding will solve your problem, but reading docs can help much more: http://livedocs.macromedia.com/flash/8/main/2204.html Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] net.FileReference problem

2007-01-19 Thread natalia Vikhtinskaya
Sorry, that my question looks as flooding. I did what livedocs say I created xml file *crossdomain.xml* ?xml version=1.0? cross-domain-policy allow-access-from domain=* / /cross-domain-policy in index.swf I have System.security.loadPolicyFile(http://myname.co.uk/et/crossdomain.xml;); It seems I

Re: [Flashcoders] net.FileReference problem

2007-01-19 Thread James Dean
by flooding, i think he meant sending the same question multiple times. to answer your question in another way. flash has a sandbox that restricts accessing other servers/domains unless they exlicitly allow you to hit it via a crossdomain file. you having that cross domain xml file on your server

Re: [Flashcoders] net.FileReference problem

2007-01-19 Thread natalia Vikhtinskaya
I have list with urls from different domains for uploading mp3 files. So I nothing can do on other servers. Is it possible to use FileReference for that situation? System.security.allowDomain(*); also does not help. p.s. I don't know why but I did not see question that I sent in my list. So I

Re[2]: [Flashcoders] net.FileReference problem

2007-01-19 Thread R�kos Attila
nV I have list with urls from different domains for uploading mp3 files. So I nV nothing can do on other servers. Is it possible to use FileReference for nV that situation? nV System.security.allowDomain(*); also does not help. allowDomain() has nothing to do with this, it is for somewhat

Re: Re[2]: [Flashcoders] net.FileReference problem

2007-01-19 Thread natalia Vikhtinskaya
It is too difficult for me to create server-side programming. As I understand even example from documentation for downloading http://www.macromedia.com/platform/whitepapers/platform_overview.pdf; that explain how to use FileReference can not work correctly without additional server-side

Re[4]: [Flashcoders] net.FileReference problem

2007-01-19 Thread R�kos Attila
nV It is too difficult for me to create server-side programming. As I nV understand even example from documentation for downloading nV http://www.macromedia.com/platform/whitepapers/platform_overview.pdf; nV that explain how to use FileReference can not work correctly without nV additional

Re: Re[4]: [Flashcoders] net.FileReference problem

2007-01-19 Thread natalia Vikhtinskaya
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2210.html I tell about this example 2007/1/20, Rákos Attila [EMAIL PROTECTED]: nV It is too difficult for me to create server-side programming. As I nV understand even example

Re[6]: [Flashcoders] net.FileReference problem

2007-01-19 Thread R�kos Attila
nV http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2210.html nV I tell about this example This example will work, since in the root of macromedia.com there is a crossdomain.xml (redirected to adobe.com), which allows unrestricted

Re: Re[6]: [Flashcoders] net.FileReference problem

2007-01-19 Thread natalia Vikhtinskaya
I did example http://www.natavi.co.uk/test/test_loading.html it does not work in net and works only if testing is on my pc. all from this example import flash.net.FileReference; var listener:Object = new Object(); listener.onCancel = function(file:FileReference):Void { status.text=onCancel;

Re[8]: [Flashcoders] net.FileReference problem

2007-01-19 Thread R�kos Attila
It works for me with one small change: since Flash Player (at least the browser plugin) doesn't accept crossdomain policy files redirected to an other domain (from macromedia.com to adobe.com in this case) I replaced macromedia.com with adobe.com. Attila