Professional :: Xml File Not Loading From Different Server?
May 6, 2010
I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from and will not actually pull in the number. Unfortunately I can't put the files on the same servers.below are the links and the xml code I'm using followed by the action script.[URL]
<?xml version="1.0"?>
<inventors>
<person>
View 5 Replies
Similar Posts:
Jan 6, 2011
Got a really big problem here. I keep on getting "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, i use the method load() in my code. I really don't understand why this happens, but when i comment out the code that loads the asc file, I can successfully connect to fms. I can't figure out what's happening here. Btw, i'm using fms4 in windows 7 32bit.
View 6 Replies
May 24, 2011
I need to loading a PNG file from a server into my flash project. What I want to do it be able to call a PHP page and send it a variable which I can do. Then I want to access a db and get a path for the image, I can do this too. What I'm not sure about is what to do then. What I need to happen is the PHP to return the PNG to flash somehow. Can I just add the PNG to the php page and use a loader somehow? I've been searching around google but most tutorials seem to be getting PNGs out.
View 3 Replies
Dec 11, 2010
I have a problem. We have a website www.onlinerealgames.com which hosts the game developed by our company. Recently we wanted to change the template. We are testing the new template in a subdomain of ours which is www.onlinerealgames.in . Everything is fine except that the swfs in the server are not loading. Instead they are showing Movie Not Loaded. If I directly access the swf with the URL it showing the download option window.
We are having seperate database for both sites. Both have same swfs. If we change the source from .in to .com then the swfs are loading properly (in the src property of embed tag)
View 3 Replies
Oct 14, 2009
I have created an application using Adobe Flex. I took all the files from the 'bin-release' folder and put it on the server. Then when someone connected to the server through http it is forwarded to the "index.htm". The "index.htm" page is the HTML page created automagically by Adobe Flex during compile time, I just renamed it to that name (from visco.html if it matters). The SWF file remained the same.
The problem is that most of the time when I go to the server, I get forwarded to the "index.htm" file and it loads the SWF perfectly. The other 30% of the time, it doesnt load! The background of the page turns blue (same as my SWF) and if I right-click it, it shows an Adobe Flash dropdown, so it looks like its sort of loading, but the application doesnt fully start even though it has been 100% reliable during debugging and when loading the SWF file manually.
What do I need to do to get the SWF file to load and start reliably?
[Code]....
View 4 Replies
Dec 15, 2009
I am currently wondering if it is possible to load a swf that is sitting on another file server. I.e. I currently have a custom play bar swf which is embedded on a website (behind the company's firewall) which then loads swf content (currently in the same folder on the website server). The problem I have is bandwidth between remote sites is limited and streaming the swf content from the website server is not an option, however we do have a DFS set up to push all the swf content out to local file servers.
I have tried using a file:// path which works if you create a windows projector file however it doesn't work when embedded onto a website as it seems to try to access via http which the file servers are not set up for. So is it possible to get the play bar swf to load the swf content sat on a remote file server?
View 2 Replies
Oct 26, 2010
I would go about loading an xml file from an external domain.I am trying to create a swf file that loads a rss feed. I have found that you must create a proxy for the xml though I am unsure how to go about this.
View 0 Replies
Jun 4, 2004
I am having trouble loading an XML file on an external server into my flash movie when it is uploaded.
The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
View 2 Replies
Oct 3, 2009
Im trying to put a video in my website and im getting a strange result.on my computer everything is working fine BUT when im trying to run it over the internet its showing me only the skin of the video player but not loading the video.The strange part is when im loading the file stright from the ftp server, its working fine..
View 5 Replies
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
May 24, 2007
I make a swf for my site that includes dynamicly loading thumbnails from an xml file. Unfotunatly the browser ( IE and FF are what i have tried so far ) just takes the xml file from the clients browser cache even if i have changed the xml file on the server. So the only way my visitors will see my updated content, is if they clear their cache every time before they visit my site. ( even a ctrl-f5 does not seem to do the trick )
is there a function or something i can call to force the swf to re-download the xml file every time? (is really small, less that a kilobyte or two im sure.)
View 4 Replies
Oct 9, 2008
it has been a while before i did something withactionscript again, but does anyone know if there has been some changes about loadingexternal text files in Flash?I tried loading an external text file from a online webserverthat worked fine. But now i wantedto move the text file to a different webserver and i got thiserror:
Error opening URL '
http://wwww.uniqwebdesign.com/mailform_test/dataformcs.txt'
httpStatusHandler: [HTTPStatusEvent type="httpStatus"
[code]......
View 1 Replies
Mar 11, 2010
I am working on a Vignette platform that doesn't support XML, so was told to place my swf file on an external server andcall it from that server in the html code. I have never done this before and need detailed instructions on how to get this executed
View 6 Replies
Jan 31, 2011
This is my code and i want to place an external swf file for my flex application website. This is my code:
var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("http://www.my site.com");
loader.load(url);
addChild(loader);
View 1 Replies
Apr 12, 2010
I did a bit of search without success to find if anything like this was answered before.Sorry for asking a silly question, I am a newbie and hence maybe missing something obvious.I used the Encoder to create the flv file and embedded the file in the timeline and the swf file plays the video just fine locally. For some reason, it's not playing after I uploaded it to the server. I did copy over all the files (swf)s) & flv). It's a very small video and I can't even see the video(just blank) while running the swf file after uploading the files on to the server. All other frames are working as expected.
View 1 Replies
Oct 20, 2011
I'm following lessons 11 on ActionScript 3.0 (classroom in a book) and I am using Flash professional CS4; I have properly copied and pated lessons from the CD to my PC. I'm up to the stage where it describes the process of loading external files dynamically by using xml list. I have followed it to a tee, however when I came round to test it, it does load the list however the next video is not showing up.
View 6 Replies
Sep 23, 2010
My client has asked me to provide a template for an investor relations section of their website. The HTML page or template for this page will be at the service providers site, but all the images etc. for the page will be linked to files on my clients server. Everything looks fine, but the absolute URL's in the .swf file back to my clients site aren't working.
This is what the service provider's guidlines say, but I'm not sure where the code is supposed to go:
Similarly, newer versions of the Flash Media Player installed by most users have a high level of security enabled by default. This is done to prevent Flash movies from playing on web pages that are hosted on different domains than the movie itself (again, to combat "phishing" or "spoofing").
[Code]...
View 3 Replies
Aug 1, 2011
what methods and parameters of the urlloader class we have to use to display images in a flash player if possible..also movie should update everytime a new image is added to a database or filethe images can either be in a file system or in a sql database (if possible)does flash comes with an object of this type or we have to create it
View 1 Replies
Jan 6, 2010
I have created a SWF file with a button which is action scripted to load a FLV video. However I am still not sure that I am filepathing the inserted FLV file correctly. I have set the absolute file path including http://www.etc..com however the movie does not load. Is the _root correct? Should this be cleared?
View 2 Replies
Jun 21, 2010
i want the .SWF file to be opened but not donwloaded until a button is pressed but don't know ho to do that..on frame 1 i have an object (movieclip) that consists of a logo with a blur effect.. after 1-2 seconds the blur effect goes away and you can see the logo. the logo itself is a button that send's the user to the next frame in the main scene.on frame 2 of the main scene i have a preloader that shows the percentage of the loaded page and a progress bar .. everything works great
the problem is that when you open the swf it starts downloading the hole flash site and when you press enter the site is already loaded and you can't see the progress bar of the preloader..i want only the 1 frame of the main scene to be loded, then i want i to stop loading (downloading) the SWF file until enter is pressed.when enter is pressed i want the flash site to be loaded and so you can see the preloader in action..can i put some code on the action layer on the 1 frame that stops loading the movie (the first frame is loaded and the blur effect of the logo plays).and another code on the second frame (where the preloader is visible) that starts the donwloading again?
View 4 Replies
Sep 14, 2010
I try to load 4 pictures. Loading is fine but the order is reverse.This is the code:
function showThumbnail(id:String, xmllist:XMLList):void{
var pics:XMLList = xmllist.(@name == id).*;
for each(var i:XML in pics.pic){
var loader:Loader = new Loader();
[code]....
The "I" is the picture index. I think the order should be 1.png 2.png 3.png 4.png just like the order of the xml ~~This is the output:
I:1 mc.x:11 mc.y:27 file:///D|/works/Flash/thumbnails/4.png I:2 mc.x:11 mc.y:210 file:///D|/works/Flash/thumbnails/3.png I:3 mc.x:11 mc.y:393 file:///D|/works/Flash/thumbnails/2.png I:4 mc.x:11 mc.y:576 file:///D|/works/Flash/thumbnails/1.png
View 4 Replies
Sep 15, 2010
How do I know that my preloader is loading the rest of my file? I put a preloader on the first frame The rest of my web site is on the second frame If that takes too long to load up, I want the preloader to load. How do I know it is actually loading up the rest of the site? Or, is that not what a preloader actually does?
View 3 Replies
Oct 23, 2011
When i load the audio as mp3 file some time it will throw error.The error is "one or more files cannot be imported" Then i convert the audio file as wav file,but the quality of the audio is not good.
View 1 Replies
Dec 8, 2011
I am doing a simple project for school, and I had to develop a website off of a premade template, the URL is [URL]. If you go to the about page there is supposed to be a video in the TV that plays, when I use the FTP server to upload the swf and index.html file, where am I supposed to put my video file so flash finds it and it plays? also having the same problem on the portfolio page with my pictures not being there. When I click the small icons on the left, the larger picture is supposed to show up in the right picture frame.
View 37 Replies
May 6, 2010
I'm a total rookie working with flash and i'm wondering if theres a way to call in text from an external file. I'm building a news feed on my companies home page, and I'd like to be able to have my boss edit it easily 'cause he doesn't know how to use flash.
you can see it here... [URL]
View 1 Replies
Jan 6, 2011
From all the documentation and examples I can find, it appears that it would be
correct to create a global array variable [outside of any functions] to load image names into, then use these images for a slideshow. I want to make the app dynamic, in that changing the text file gives a new set of images.
The global variable goes null [no values] after the load event listener. Why is that?
Isn't global, well global, and alive for the duration of the SWF?
PARAMS.TXT:
monthNames=January,February,March,April,May,June,July,August,September ,October,November,December&dayNames=Sunday,Monday,Tuesday,Wednesday,Th ursday,Friday,Saturday
[Code].....
How do I access these values after loading from the external file, after the load?
View 7 Replies
Dec 7, 2011
I have figured out how to load an external video file - and I can play an imported audio file, but I can't seem to use either method to load an external audio file into an array.
Here is my audio code:
var tour_audio:Array = [tour1, tour2];
var my_num:Number= Math.floor(Math.random()*2);
var ChosenSound = tour_audio[my_num];
var playing:Sound = new ChosenSound();
playing.play();
Here is my video code:
var my_videos:Array=new Array ("link1.mp4", " link2.mp4", " link3.mp4", " link4.mp4");
var randomIndex = Math.floor(Math.random()*my_videos.length);
my_player.source = my_videos[randomIndex];
I tried "var tour_audio:Array = ["link1.mp3", "link2.np3"]; - but that did not work.
View 9 Replies
Jan 27, 2012
I would like to have flash (as3) to save a var to a text file located on my server so everyone can reach it from their client swfs. I also need to know how to update this variable by loading latest var on the server and writing over it with a new updated var I've read so much already and it all seems so confusing[URL]
View 6 Replies
Feb 13, 2011
I downloaded a flash template that includes a text file that it uses to load the content. So, I opened the text file and started to make changes to certain text and when I view the changes I noticed that certain letters and characters are not being displayed such as the letter w and the question mark ? and other letetrs.here is an example of the text I included in the text file:
&privacy_title1=Privacy Policy&privacy_txt1= what information do we collect?
We collect information from you when you register on our site, place an order or fill out a form.When ordering or registering on our site, as appropriate, you may be asked to enter your: name, e-mail address, mailing address or phone number. You may, however, visit our site anonymously.As you can see the w is missing and the question mark and some other letters.
View 5 Replies
Mar 9, 2011
I'm going to create a iOS app in flash and convert. I'm thinking I may want to load graphic assets at runtime. I'd like these assets to be vector graphics so they can be resized easily with no quality degradation. I usually use SWF files ofr this purpose. Unless I'm wrong, a converted iOS app probably does not load SWF files. So I'm wondering what kind of vector graphics file format can iOS load at runtime?
View 1 Replies