ActionScript 3.0 :: Pb To Download Xml File From Different Domain?

Oct 24, 2008

I want my flash site to convert currency.Therefore I want it to get the currency rates from internet.At first, I wanted to do it by using web services but the one free I found : [URL] doesn't work properly So I decided to use another way by getting my rates from the
following RSS file :

[URL]

All is ok, I got the rates I am interested in by parsing the RSS .But all is ok when I am testing locally, when I put my file on my hosting server, the rates cannot be retrieved anymore, it looks as if there is a connection problem.

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Download Button - Opening The File Rather Than Giving A Download This File Option?

Jun 13, 2008

I have a few buttons rigged up for downloading word.doc, mp3 etc

Problem is its opening the file rather than giving a download this file option.

View 6 Replies

ActionScript 3 :: Flash Security - Player Download Only For One Domain Usage?

May 20, 2010

I am developing a player and I want to make it for only one domain usage for one download. If user needs again then again hew needs to download another version from my site. How can I make it.

View 1 Replies

ActionScript 3.0 :: Download A File To The PC Through The Normal Browser Download Manager?

Jul 1, 2010

So I basically have used the fileReference class to allow the user to download a determined file if he wants to.

I use the file.download(URL) function and it works well.

However, the file is downloaded and saved to the hard drive using only the flash player. The browser is not aware of the download, and thus, if I want to show the progress of the download I'd have to make some progress bar myself. I know how to do it, but it would become really tedious and take too much UI space.

Isn't there a damn way in Flash to "send" a determined file to the browser so that it prompts the user to download it? It's an image file, so navigateToURL doesn't cut it since it will just display the image, both if I use a new tab or the current one.

View 1 Replies

ActionScript 3.0 :: Post The Code For A Working Cross-domain Securityfile That Allows Access Only From The Same Domain?

Jun 1, 2010

post the code for a working cross-domain securityfile that allows access only from the same domain as all the flashfiles and xml files are in?used to be easy in as2 but i think i dont know what i need to know about it in as3..

View 3 Replies

Media Server :: Videos Start Immediately In Domain, 20+ Sec Delay Outside Domain

Apr 23, 2009

We are running FMS3 on Windows 2003 Server. Videos stream and play fine when inside our domain, but outside the domain the videos take anywhere from 20 or more seconds before playing.
 
After analizing the connections it was determined that the player is randomly trying to access ports until it gets to the one that works, but this is ONLY happening from people trying to view videos from outside our domain.

View 14 Replies

Actionscript :: Moving A Web Application From One Domain To A New Domain Flash/Php/MySql?

Jun 3, 2011

I have moved a web application from old domain to new domain. I cannot get Flash to engage. I have changed the domain in flash_images.php file to the new domain. I have a flash_box.swf file and I have a js file these are the only flash components that I see--old domain is e.g. www.example.com new domain is [URL]..I am not a flash developer, how do I get flash to work on the new domain?

View 3 Replies

ActionScript 3.0 :: File Reference Download Method Saved File Destination?

Dec 6, 2010

I would like to know if there is any way to find out the destination path of the saved file using the download() method of the filereference class.Cos if that is possible then i could do navigateToURL(_path,_blank) to open that downloaded file in browser Or if there is any other way to do this i would like to know. [If any other thread exists please link to it which answers this]

View 1 Replies

Swf To Get Info From An XML File That Is Placed In A Different Domain?

Sep 23, 2009

Is it possible for a swf to get info from an XML file that is placed in a different domain? And if it is, how can I do it?

View 3 Replies

Actionscript 3 :: Let Run Flash-app Only On Page(domain), Not Local And Not On Other Domain?

Dec 9, 2011

I created some game and would like to let the users play it only on my domain, so to forbid to play it offline or put on some other site. Is there a way to do it? Somehow check domain or so?

View 1 Replies

ActionScript 3.0 :: How To Download Audio File And Video File

Sep 27, 2009

i am new to actionscript i need to download .mp3 and vedio file form my remote server how to do this give me any example source code for this.when i download .pdf its downloading properly. but not audio.

View 1 Replies

Cross-domain File Access?

Nov 4, 2010

it's just not working for me I made a crossdomain.xml file that looks like this:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

i put that in the folder with the php file i want to access[URL]..

View 1 Replies

ActionScript 2.0 :: Flash8 Loading A .txt File On A Different Domain?

Mar 8, 2010

Loading the text file works just fine until I put the .swf on another domain. How can I still load the .txt file without just putting it on the same domain? Is there some kind of security or permission that I can place into the html or flash?

View 1 Replies

Actionscript 3 :: Where To Put A Cross Domain Policy File

Sep 15, 2010

If I have my .swf files on "SERVER A" and they need to access my video files on "FMS SERVER B", on which server to I need to put a cross-domain policy file?

View 2 Replies

ActionScript 2.0 :: Loading PHP File Cross-Domain

Nov 17, 2006

I have a project I am working on, but first I needed to test this. I have a SWF named "index.swf" (with a index.html), that is running on a rented server of mine. [URL].
-The SWF contains 2 layers.
-The first layer contains 2 dynamic textfields names "text1" and "text2".
-The second layer has some actionscript:

ActionScript Code:
stop();
var loadFile:LoadVars = new LoadVars();
loadFile.load [URL];
loadFile.onLoad = function(succes:Boolean){
text1.text = this.variable_me;
text2.text = succes;
}

The "test.php" is located on the second domain. This is the code written in it is:
PHP Code:
<?php echo "variable_me=works&";?>

So the SWF-file on the 1e domain has to load the php file from the second domain. But it doesn't work.
text1 displays: "undefined"
text2 displays: "false"

But if I call the php file in a regular browser (like this "[URL]") it displays:
variable_me=works&
My flash code isn't wrong, i have tested this local. My PHP file is OK.

View 5 Replies

ActionScript 2.0 :: Load Xml File And Cross Domain?

Jan 10, 2006

I have some problems with security file e load xml.

I have u file xml on

[URL]

but the file swf is on

[URL]

in local inside IDE of flash is ok but online don't work

this is as:

System.security.allowDomain("http://www.centrocartucce.it");
//System.security.loadPolicyFile("http://www.centrocartucce.it/slideshow.xml")
var myXML:XML= new XML();

[Code].....

View 1 Replies

ActionScript 2.0 :: Load Xml File From Another Domain / Host?

Jul 3, 2006

Loading xml file from another domain or host?

View 1 Replies

ActionScript 3.0 :: Cross Domain Policy File?

Nov 7, 2010

I'm accessing a server's sockets from the flash client using Flash CS3 professional.However, should I run it in debug mode OR run the .swf file, it doesn't connect.Fine, it's the crossdomain.xml file.I create and host this file using apache webserver, and it is accessible using firefox/ie.loadPolicyFile seems to work, BUT IT DISCONNECTS IMMEDIATELY.What am I doing wrong??

<cross-domain-policy>
<allow-access-from domain="*" to-ports="3300"/>
<allow-access-from domain="*" to-ports="3333"/>

[code].....

View 2 Replies

ActionScript 3.0 :: Download A Zip File Through Flash Via A Php File?

Jun 29, 2008

I'm trying to download a zip file through Flash via a php file using this code:

FLASH:
getURL("download.php?filename=TheFileName.zip");
PHP:
<?php
// download.php

[code]....

Trouble is when I run Flash, the dialog box for the download just picks up the php file and not the zip file.

View 8 Replies

AS3 :: Loading Text File From Remote Server/Domain?

Aug 19, 2009

am trying to use this code to load a text file from a remote server to my textfield in flash. Here is my code:

Code:
var myTextField_txt:TextField = new TextField();
var myURLLoader:URLLoader = new URLLoader();

[code].....

View 1 Replies

ActionScript 3.0 :: Cross Domain Policy File With XML Allowed

Sep 18, 2010

How do I write a cross domain policy file which will allow an xml file from [URL] and from [URL]? The only cross domain policy files I've ever used use * as allowable domains I don't want to do this.

View 1 Replies

Actionscript 3 :: Access Of Any Domain (for Test) And Copied It Directly Into File Server?

Mar 15, 2012

In code I use this before URLLoader (swf will be used with many different domains and this will be changing in time):

Security.allowDomain("*");

In http:[url]...., I have this for test:

<?xml version="1.0" ?>
<cross-domain-policy>[code].........

I used [url].... to create access for any domain (for test) and copied it directly into file server and also test if [url].... is accessible. I checked flashlog.txt and found that [url].... is loaded but will be ignored because of its syntax error - its generated by crossdomainmaker website and also correct with specifications and examples over internet, so what can I do?

View 1 Replies

How To Download SWF File

Mar 19, 2012

I'm a teacher, and so animations are a God-send. However, the internet in my school can often be a little temperamental and so I like to download flash files, often embedding them into a PPT presentation.However, as of late, I've come across a few that I just can't seem to download. Please note that I am not after the credit for these files, or any way to edit them, I just want to be able to download them to show at my will, regardless of the internet working.The file that I'm currently struggling is a great animation on rocks and the rock cycle:

[URL]

I can download the SWF, but it will do nothing but sit at "Loading: 1%"...Is it even possible to download this file?The same has been true of files over at eChalk - our school has a subscription, but again, if the internet plays up, no animations.

View 9 Replies

Download A PDF File From A Flash Site?

Mar 22, 2009

Basically I created a flash site and uploaded it onto the server provider the client chose using cute ftp. That's all fine but now they want to add a link enabling the viewer to download a PDF straight to their desktop. As I can't upload a PDF file to the Flash library, was wondering if anyone had any tips on creating this function?

View 2 Replies

ActionScript 3.0 :: IE Not Allowing File Download

Mar 19, 2010

I am working on a project where the user can click a button to download a pdf file. My issue is that it works fine, until you try to download it in IE. IE shows something happen, but then nothing happens... looks as though you download the file but then when you go to look for it, its not there. I have tried 2 different methods, both work until, like i said I bring it into IE. [code]...

View 1 Replies

ActionScript 3.0 :: Download A File From A Server?

Apr 9, 2009

Is there a way to download a file with AS3 code from a server (other than creating a text hyperlink to be clicked), or is there a way to add a file to your library and then show it in you timeline. I am specifically referring to a .pdf file.

View 3 Replies

Link A Pdf File From Flash For Download?

May 29, 2009

I want to know how to link a pdf file from flash and make it availble for download?

View 4 Replies

ActionScript 3.0 :: Download File From Server?

Feb 3, 2011

how do I initiate the download function in ActionScript3.0.? (Where a dialogue box will be opened to let my users download a file  from my server)

View 8 Replies

Flex :: Download File Synchronously In It?

Nov 17, 2010

In my AIR app, I have a list of file that needs to be downloaded from remote server. I want to make this download happen sunchronously. [code]...

View 1 Replies

Php :: File Download - Set Headers Then Redirect?

Feb 3, 2011

I would like to do this, without the "readfile()" part:

header("Content-type: application/force-download");
header("Content-Transfer-Encoding: Binary");
header("Content-length: ".filesize($file));
header("Content-disposition: attachment; filename="".basename($file).""");
readfile("$file");

Basically I am trying to forward a download to another URL but at the same time I need to be able to set headers like "filename".

The readfile($file) function will not do it for me, because the the $file is not stored on the same server as the PHP script (not even the same datacenter) Is this even possible ? If not via PHP, maybe FLASH could do this ?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved