ActionScript 2.0 :: SWF Load A XML On An Other Server
Sep 19, 2009
All sources availbale here URL...MY GOAL :from a flash(swf) on server A, I want to download an XML file on server B.MY PROBLEM : it doesn t work
1 - I use the Class URLLoader
2 - I set both these domains ok with Security.allowDomain() method
3 - I upload a "crossdomain.xml" (in folder and root server) file who allow crossdomain communication (adviced by Adobe)
View 1 Replies
Similar Posts:
Jul 3, 2011
I want to build a software in Flash which can do below things Load Video from the server Load Documents PDF/DOC from Server
View 1 Replies
Aug 25, 2009
Medium-load chat server using Shared Objects segfaults every few hours. Runtime size has been increased to 30MB (this saves it from crashing every 10 minutes). I have the core dump but don't understand what it means.
View 9 Replies
May 25, 2009
I will go to URL... but when the pages load the content will be read from ABC's server not XYZ's server.The users will use the data on XYZ's website not realizing that the content is actually coming from another site.
View 2 Replies
Jul 18, 2011
Randomly on Sunday night the FMS Admin Console which you can access via [URL] stopped working, as in it would not load. It times out and Firefox says 'Server Not Found' It was working fine on Sunday morning and has been doing for a year now, I rebooted the server and that did nothing. I have no idea why it will not load as the server runs fine and I can still stream and everything.
View 20 Replies
Jan 12, 2011
We purchased FMIS and we are encoding large 15+ hour MP4 recordings using flash media encoder. When opening these large files for playback, which have not been opened recently the player displays the loading indicator for up to 4 minutes! Once it has apparently been cached on the server it opens immediately from any browser even after clearing local browser cache. So a few questions for the experts
1. Why is it taking so long to load the file. Is it because the MP4 metadata is in the wrong format and the file is so huge? I read somewhere that Media Encoder records with incorrect MP4 metadata is that still the case?
2. Once its cached on the server, exactly how much of it is cached. Some of these files are larger than 500mb.
3. What fms settings do you suggest I change. FMIS is running on windows server R2 64 bit, but FMIS itself is 32 bit. We have not upgraded to the 64 bit version. We have 8GB of ram. Is it OK to set FMS cache to 3GB. And would that only have enough room for 3-4 large files, because we have hundreds of them.
View 1 Replies
May 6, 2009
Can't understand why: loadMovie("pict/my_picture.jpg",movieClip); the path seems to be correct, but Flash can´t load the picture. It works locally, although, but not on the server.
View 1 Replies
Aug 1, 2009
I have trying to play a mp3 file with the code below.
When i compile it, it works fine but when i put the swf in any php file and run on my server eg. [URL]
It does not plays the sound. s.
var audioPath:String = "audio/Baalim.mp3"; txtError.appendText("AUDIO PATH:"+audioPath);trace("AUDIO PATH:"+audioPath);
var snd:Sound = new Sound();snd.load(new URLRequest(audioPath));snd.addEventListener(IOErrorEvent.IO_ERROR,
[Code].....
View 5 Replies
Jul 24, 2009
I have an RSS reader that displays my blog feeds on my flash website. It works if I view the website remotely by hitting F12, but it doesn't work if I view it through the website on the server. Why is that? Is it an issue with the server? I also have a guestbook and contact forms on the website, and it takes at least 20 minutes before the guestbook updates with the new entry or I receive the email from the contact form.
Code:
blogspot_txt.htmlText = "<u><a href='http://run2savelives.blogspot.com' target='_blank'>View TheRun4Life Blogspot</a></u>";
var rssReq:URLRequest = new URLRequest("http://run2savelives.blogspot.com/feeds/posts/default?alt=rss");
[Code].....
View 9 Replies
Sep 4, 2006
Have a flash, that loads XML from server. Flash uses it to built up a site menu. Both xml and flash reside on the same host. When I try to run server locally - everything works. But when I try it online, XML is loaded only in FireFox, but in IE it can't be loaded. Flash movie itself loaded normally (I can right-click on it and see standard menu). I put my host into Trusted sites in IE and set very low security/privacy. I don't have any firewalls or proxies. I also put my host and flash movie into Trusted source in Flash Settings Manager.
View 4 Replies
Nov 30, 2009
I have to load a .swf file in all connected clients by pushing a button from another client
View 23 Replies
Jul 1, 2010
does anyone know how to test how many users can use a fms application simulationsly?? Are there any automated tools?
View 1 Replies
Jan 26, 2010
Is it possible for flash to access data from outside of the root directory of the server it resides.i.e.
Root directory = /var/www/httpdocs
SWF = /var/www/httpdocs/flash/file.swf
XML = /var/www/xml/file.xml
View 1 Replies
Feb 11, 2011
I am building a Flex application using Pure MVC pattern and Zend framework for calling php code on the server. I need to sync some data with my server which is using MySQL as the database. And there are 5 such tables I need to sync. So I call these php functions at regular intervals from Flex and use long polling on php side. The client side code for my subjects lies in 5 different proxies.
Should I send 5 separate requests from each proxy to call the php code which is lying in separate classes. Or should I build a separate proxy to send 1 request from 1 php file and then distribute this data among different proxies on the client side. Which one will be more effecient? Mathematics shows using separate proxies and php classes allow more number of users to be accomodated on the server.Can I write 1 SQL command to fetch data from all 5 tables given they cant be joined on any column?
View 1 Replies
Oct 24, 2011
I try to upload file from local system to web server.My application is desktop application and I work with php server.Find below my code
In flex
var dropfiles:Array = evt.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT) as Array;
for each (var file:File in dropfiles){
var fileFormat:String = file.extension;
var fileUrl:String = file.url;
[code]....
With those code message "Error #2044: Unhandled IOErrorEvent:" appear on flex.
View 1 Replies
Aug 13, 2009
I'm writing a simple application and at some point I want to load some XML. The problem is that I don't want to pull that XML from a server but define it locally. So far the only solution I have found is something like this:
[Code]...
The problem is that there are several XML variables that I need and each one is of noticeable size. Is there a way I can include an XML file in my swf witch I can access and get my data from at runtime?
View 2 Replies
Sep 14, 2009
i have 2 computers which run a projector.exe and those exe play swfs, flv's, jpgi want to setup a server which will then the 2 computers i have will have to load the swfs, flvs, jpg from the server instead of having to load them at each computer.so the point is i only have to update the server so the 2 computers get updated instantly.
View 0 Replies
Sep 14, 2009
i have 2 computers which run a projector.exe and those exe play swfs, flv's, jpg
i want to setup a server which will then the 2 computers i have will have to load the swfs, flvs, jpg from the server instead of having to load them at each computer.
so the point is i only have to update the server so the 2 computers get updated instantly.
View 0 Replies
Mar 3, 2009
I would like to load a xml-file from an external server (maps.google.com). My aim is to tell the user his coordinates, so I use googles Geocoding API. The problem however seems to be somewhere in accessing anything outside my own website. I tried the swf in Flash CS3 and it worked, I tried it on my website with a local xml-file with the same content as google would respond and it worked. So there must be something that suppresses the connection to another server. If I listen to the HTTPStatusEvent it's just "httpStatus: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=0]", so I can't tell from the status where the mistake is (and according to the Flash Doc it always returns 0 except in IE, but it also does there).
If it help, the AS Code:
Code: Select allsuchen.addEventListener(MouseEvent.MOUSE_DOWN, suche); //searchbutton
ort.addEventListener(KeyboardEvent.KEY_UP, keyPressed); //textinput
function keyPressed(event:KeyboardEvent):void {
[Code]....
View 2 Replies
Mar 3, 2009
I have a main swf file (AS 3). A button opens a child swf (a photo gallery in AS 2), on top of the main swf. The child swf should load an xml file, to get the photos.Everything is on the SAME domain.Main swf, child swf(gallery.swf), images.xml are in the root of the server.Photos are in a folder called gallery.
What happens is that, when I access from the main swf, calling the child swf with the button, the photo gallery opens perfectly but loads ONLY the first photo, the descriptions of ALL the photos, ALL the thumbnails...but when I click the thumbnails to see them, the other photos can't be displayed/loaded?!...only the 1st photo is displayed/loaded
If I create a separate html page, with only the photo gallery swf, everything works perfectly. Every photo is loaded and displayed[code]...
View 2 Replies
Jan 31, 2004
I wan't to load a jpg from the server into the flashmovie. How can this be done? I tried using the Loader component = don't get it to work. Tried attachMovie = don't get it to work.
View 2 Replies
Jun 15, 2010
I'm trying to load xml data from another server, it has the crossdomain.xml configured to allow my app to access.
What I need to load is an xml file from there I tried with the URLRequest but seems to work only with image/swf data...
I couldn't find a clrear way to load an xml.
View 5 Replies
Aug 4, 2010
my flash gallery works fine locally, on my computer. but once i upload it to the host. the images wont load?
this is some sort of access restrictioin thing im guessing?
im using loadMovie()
the images are in the same directory as the swf.
// im using flash cs4, actionscript 2.0
View 2 Replies
Jan 31, 2004
I wan't to load a jpg from the server into the flashmovie.I tried using the Loader component = don't get it to work.Tried attachMovie = don't get it to work.
View 2 Replies
Jul 11, 2009
I'm converting a several-years-old all-Flash site for a friend. I can activate the site in any browser if all the files are stored on my local drive but when I FTP the files to a server and try to launch, I get an error indicating either that the server has timed out or that the process is taking too long. I suspect the problem is in the index.html file which refers to some very old locations where the Flash Player is probably no longer obtainable, but I'm not sure.
[Code] .....
View 1 Replies
Jan 15, 2011
I am using the load command to load content from a .txt file on my server. I have it all working just find when I preview the swf file in flash and when I view the .swf in my web browser from my server. The problem when I view the .swf file on my php page (home.php) I only get undefined variables, it seems to not be able to connect to the .txt files only when I am viewing it on my php page. Again if I view the .swf file on my server using my web browser it works fine.
Using Flash CS4
Actionscript 2
Dreamweaver CS4
Google Chrome and Opera
[Code].....
View 3 Replies
Sep 8, 2011
I believe I am using AS2, I have cobbled some script together from the internet and it seems to be mostly working, but there is one issue I have.Okay here goes with my explanation. I have an SWF that loads a random quote from a txt file which is located on the same server as the SWF file. The quote has an 'a href' tag around the text so that when clicked it will load a URL. - This is all working fine! Here is the problem:I would like to use the same SWF file on a separate server (server 2), that then calls the quotes from to the txt file on server 1. I have added the complete path to the txt file, but when i run the SWF on server 2, it gives me an error. Here is the script I am using in the FLA file.
Code:
/****************************************
**Random Quotes Script*******************
[code].....
View 2 Replies
May 28, 2010
Actually i have to load images into stage from any server,so tried using crossdomain.xml from my server root.though it throughs error
SecurityError: Error #2122: Security sandbox violation: Loader.content: http://sss/Player.swf cannot access http://ffff/images/logo-bg.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.at flash.display::Loader/get content()at SS4UPlayer_fla::MainTimeline/ss4uLogoCompleteHandler().
View 1 Replies
Feb 1, 2011
In Flex 4 i want to load css file from remote server at runtime it's possible?
View 1 Replies
Apr 13, 2011
Im trying to load an image from my server with flash. The point is to do this dynamically so that I can animate it in flash on the fly. Im using ExternalInterface so I can feed flash some variables from javascript, but that doesnt seem to be the problem. I have ExternalInterface all sorted out it would seem. Anyway here is the problem code.
[Code]...
View 1 Replies