ActionScript 2.0 :: Refresh XML From Server/My Computer
Jan 6, 2009
I am using some simple ActionScript to load an XML file and then populate some things in my .swf from the elements and attributes. I have implemented a simple interval which calls a function to reload the XML file every 30 seconds, so that whatever is new in the XML is reflected in the swf almost immediately. The problem is that in Firefox and IE, the .swf doesn't update. If I edit my swf with Flash and then manually change the XML file it successfully shows the new changes when the re-loading is called, but for some reason this only works successfully inside Flash CS3 and not when viewing the swf in a web browser. Do I need to do something different? My code is below
ActionScript Code:
if(local){
myXML.load("xml_to_read_in.xml");
}else{
[Code]....
View 1 Replies
Similar Posts:
Nov 14, 2011
I got a new computer several days ago and it doesn't have Flash 8 or Higher. how to transfer Flash 8 programs from my old computer to my new computer? where to find free downloads of Flash 8 or higher?
View 1 Replies
May 19, 2010
How can i connect to my own server to watch my streaming video from another computer?
View 10 Replies
Mar 22, 2008
Is there a simple to understand (guide for dummies like me)that will give step by step instruction on how to stream live videousing FME and FMS on the same computer?
View 21 Replies
Jul 22, 2010
FMS can record computer sounds, I use flash to do a piano, it can play sound, I want record the sounds, FMS can record it?
View 4 Replies
Sep 20, 2010
I have a website that has a lot of videos. So, I wanted to use Flash Media Server to stream my videos. I was wondering if it is more efficient to get another computer and dedicate it for Flash Media Server. Or is it more efficient to put my website and Flash Media Server on the same computer?
View 3 Replies
Oct 28, 2010
I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, copy the code and insert on the bottom site, and no video. Just the skin appears when you roll over the code. [URL]
I have everything in the same folder, I have added the mime types on the server, and it still don't work.
View 1 Replies
May 1, 2011
I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, upload the file to server, but it just don't show at my website.
View 5 Replies
Jul 15, 2005
is there anyway to store a file(an XML in this case) locally on a computer WITHOUT using a PHP server running on the computer. Im develpoing an application for both Mac OS and windows so it needs to be a solution that will work for both.
View 1 Replies
Apr 19, 2011
When a user refreshes the page in IE9, the disconnect handler isn't called. So in an application like a fms lobby, a user seems to stay in the list when he actually isn't there anymore.
View 2 Replies
Sep 27, 2010
i want to make an xmlsocket chatroom in my computer with wamp server ,i use this port and ip:
HTML Code:
mySocket.connect("localhost", 1026);
and i have changed the port of wamp server to 1026 and i have puted the socket.php file in www directory of wamp.when i run the swf file in flash the connection establishing is succesfull but when i try to send data the connection will close.this is the actionscript code:
HTML Code:
mySocket = new XMLSocket();
mySocket.onConnect = function(success) {
if (success) {
[code]....
View 0 Replies
Sep 1, 2009
I have a flash app which runs on my browser using Apache with PHP.This app displays items according to xml files which can be created anew
or added to.When the user changes these files via php, these changes are not reflected in the app. If I close the app and re-start the changes are there.Is there some way to refresh the localhost in the program?
View 4 Replies
Jan 27, 2006
Here's the simple steps
1. Enter part number and submit
2. Part number is sent to server
3. Part number is returned from server with a string of results (manfacturer, product location, number of stock, size, image)
4. Flash takes the results and places them in to their apprpriate display text fields and loads the image also.
All this works great EXCEPT when you try a second, third, fourth...time.
I trace all the responses and get new and correct results for every part number I enter, but it simply won't overwrite the previous displayed data. Nothing I try will get rid of the last results!
View 1 Replies
Sep 4, 2009
Are flash applications processed on my computer or the websites server? Would a photo uploaded to flash be faster if processed on my computer or the websites server? Oh Yeah, I'm in sales explain with details.
View 1 Replies
Nov 25, 2010
I need to save images from flash via asp (windows server) to local computer, how to do this?
View 4 Replies
Oct 25, 2010
While live/recording will the stream closed in fms when I refresh the browser??
View 1 Replies
Sep 7, 2010
is there a way to connect a Video object to a webcam installed on another computer in the Network, without setting up a streaming server?The machines can have fixed IPs and whatever, but I'm limited to LAN/WAN technology. Using AIR is possible.
View 5 Replies
Apr 2, 2009
I'm not really good with AS3 yet so maybe somebody can help meI found a pong game tutorial and it works fine.[code]Now I want that two computers play against eachother.So no player input only two computer that play.I tried a lot with the script but it doesn't work.
View 3 Replies
Apr 14, 2009
I have a problem... I found a tutorial making a pong game... I want to make some changes but I tried everything but it wont work Here is some code:
[Code]....
View 2 Replies
Sep 30, 2010
I had an issue with my index.html testing on IE and the preloader just stalls on "loading 0%". he told me that locally the progress event doesn't have time to load and to try uploading it to your server and see if it works. It worked just fine. Rah Rah Kglad.
So today I'm fine tuning the swf/ fla to clean it up. Reduced some picture sizes and deleted unused files and reduced the swf from 4000 KB to 350 KB Rah Rah Gene. replaced the swf in Dreamweaver and re-uploaded with Filezilla. Rah ah Filezilla.
Everything working great and my preload went from 23 seconds to less than 3. So I'm real happy except for one small issue. Firefox and IE both do this. If I hit the refresh button, it stalls on "loading 0%" once again just like it did locally.
If I hit the refresh several times it WILL refresh randomly....2 times refresh......10 times refresh etc.
[URL]
Spoke to my hosting company who said everything seems fine on the server. BTW he said Chrome did NOT have this issue Rah Rah Chrome.
View 1 Replies
Apr 9, 2009
I have this clock code and would like to know what needs to be added or changed for it to reference the time off the server and not the local computer time (and preferably reference the server just once and not repeatedly). I already have a file on the server "time.php" that is providing the milliseconds. I know it should be fairly simple, but I just can't wrap my head around it.
[Code],,,
View 2 Replies
Apr 1, 2012
Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?
View 1 Replies
Sep 18, 2010
The navigation buttons in my .fla file are set to the font, Arial MT in Bold. It displays no problem on my desktop computer. However, when I view the website on my laptops, the font changes to what looks to be something like Times New Roman. The same thing happens with my "Read More" button text. It's also originally in Arial MT Bold. On my desktop it appears fine but on my 2 laptops it appears to be in Times New Roman. This is more of an issue because I have these buttons underlined. When viewing in my laptops, these underlines appear to be too long. If I shorten it, it'll probably appear to be too short when I view on my desktop. How can I get the font to be one consistent font for all computers?
View 3 Replies
Mar 2, 2010
I am trying to play flv's that are local--in the same root as the flash.exe(projector)
Code:
import fl.video.*;
var flvPlayer:FLVPlayback = new FLVPlayback();
addChild(flvPlayer);
[Code].....
will not work--all the documentation seems to specify how to do this witha vid server but I am trying to just play local flv's
View 1 Replies
Apr 3, 2011
how to get local computer name using Adobe AIR.
View 1 Replies
Oct 23, 2010
I would like to know if theres anyway to get the computer name or some other unique computer information to make a computer unique and I save that info in my database.
if someone know how to exhibit the Computer Name
View 5 Replies
Apr 22, 2011
I have set up a splash page video (flv) set up as a FLVplayback. It all works fine from my computer. When I try and link it to my website flv file it comes up as an error code...error opening URL. The link is set up as...[URL]
View 1 Replies
Apr 13, 2004
Just out of curiosity, we were talking in our Calc class about Taylor Polynomials, and the teacher suggested maybe that is how a calculator/computer takes the sine of a number. Does any one know where I can go and see how the computer finds the sine of a number?
BTW I checked the Math class included in flash and it says its a "intrinsic class Math" and this is the function that defines sin = "static function sin(value:Number):Number;" What does that mean?
View 3 Replies
May 10, 2008
Oncomputer everything looks great, when I a song to play i loads andstarts playing + visual spectrum analyzer starts "working".Everything great so far. The problems occur when I upload exportedfile (swf) on imageshack.us. The progress bar starts to glitch(preloader works great but visuali it starts to glitch), and thatspectrum analyzer doesn''t even play. Does someone have the sameproblems (upload different from exported)?
View 14 Replies
Jun 3, 2009
Can i control a web cam that is connected to another computer in a LAN using AS3?
View 3 Replies