Dowloading Code for files Error
so im still having trouble code, can download files, , prompted, when other people try download doesnt work.
when tried opening .swf prompted window
but when open flash file , export .swf downloads
is there im missing?
<<armenia_btn.addeventlistener(mouseevent.mouse_down,armeniadownload);
armenia_text.addeventlistener(mouseevent.mouse_down,armeniadownload);
function armeniadownload(event:mouseevent):void
{
request = new urlrequest("http://www.ps4h.org/country_data_files/armenia.zip");
localref = new filereference();
try
{
localref.download( request );
}
catch (error:error)
{
trace("unable download file.");
}
}>>
that's security sandbox violation.
upload flash files non-local server , test.
More discussions in ActionScript 3
adobe
Comments
Post a Comment