ActionScript 2.0 :: Refresh Localhost Server On Flash Web App
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
Similar Posts:
Mar 22, 2011
I am trying to add to my site a feature that allows users to select a set of images in Flash (AS3) click a button and have my server create a zip file of all the images for them to download.
I have already wrote my code in flash and crated my php script and tested it on my localhost and everything works great. But when I upload the same files to my sever no zip files are created. Below is the code for both my flash and for my php.
Localhost server is using 5.2.17 and so if my Server hosted on 1&1
Flash Code To Send Info to PHP
function MakeZip():void
{
var variables:URLVariables = new URLVariables();
//variables.Image1=img1;
[Code]....
View 3 Replies
Jan 13, 2011
I'm trying to debbug my code on Client side (Action Script 3) that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.Is there a simple way to simulate lower bandwith with FMS4 on localhost (by config, application.xml, programmation...) ?
View 2 Replies
Jan 13, 2011
I'm trying to debbug my actionscript (AS3) code on Client side that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.
However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.
Is there a simple way to simulate lower bandwith with FMS4 on localhost ?
by config, application.xml, etc.?
by programmation (main.asc) ?
both ?
View 2 Replies
Nov 12, 2009
Are there any Air + Zend Amf examples that use a real world web server and not localhost?
Basically I cannot get an Air or Flex application connected to a remote mysql db to work once deployed. How can I successfully move a finished application to a normal web server (website).
When testing everything works no problem but as soon as I deploy the gateway.php (regardless of where i put it on my web server) will not connect. I've even tried flash builder 4 auto generated code and still no luck
View 1 Replies
Apr 25, 2011
problem with a website that when I see in local mode everything is ok but when upload it to the server something is wrong , if you go toin the Menus section if press the photo and then try to expand it, not expand properly, so you have to press again to view it correctly. I know that the problem is in the actionscript but I don know how to fix it
View 3 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
Apr 19, 2010
I tried some applications like vod and live with localhost.Now I'm trying to use some applications on my site. It's the first thing you need to do, but apparently it's so basic that I can't find information about it.Can someone explain me how to change the "localhost" to a webserver? In other words, how do I set up an application like vod on my site?
View 10 Replies
May 28, 2010
Initially I had local ip (say 192,168.1.XX). Now I connected to public ip. I opened flash media server administrative console, it ios not allowing to use 'public ip' but allows to login as 'local host'. Because of this i am unabvle to test my streams. I need to publish this on cdn.
Earlier URL - rtmp:.//MY_LOCVAL_IP/vod/sample - works
but - rtmp://MY_PUBLIC_IP/vod/sampe - does not work
View 10 Replies
Mar 21, 2011
I am trying to add to my site a feature that allows users to select a set of images in Flash (AS3) click a button and have my server create a zip file of all the images for them to download.
I have already wrote my code in flash and crated my php script and tested it on my localhost and everything works great. But when I upload the same files to my sever no zip files are created. Below is the code for both my flash and for my php.
Localhost server is using 5.2.17 and so if my Server hosted on 1&1
Flash Code To Send Info to PHP
Code:
function MakeZip():void
{
var variables:URLVariables = new URLVariables();
//variables.Image1=img1;
variables.ImageList=OrderItems;
[Code]....
View 5 Replies
Apr 25, 2011
Iīve a problem with a website that when I see in local mode everything is ok but when upload it to the server something is wrong , if you go to [URL] in the Menus section if press the photo and then try to expand it, not expand properly, so you have to press again to view it correctly.
What I donīt understand is why I see the web correctly in local and not in when itīs in the server.
View 1 Replies
Aug 5, 2011
My file reference function is not working when i upload my swf into my server. I tried in localhost it works. I tried publishing in HTML it works. I wonder what's wrong.Here is the screen shot of my code.The file reference is suppose to allow the user to save the "var ba" to their local hardisk.Edit : i found that my preloader is the main cause. Any code i should put in my preloader so the file reference will works?this is the preloader cod
Code:
import flash.net.FileReference;
var loader:Loader = new Loader();//declaring new loader variable
[code].....
View 5 Replies
Nov 4, 2010
I install the latest version of apache before the FMS4. After the installation completed, I copied webroot, applications and other files to the web sites home directory. I also updated the FMS.ini file in the config folder. Because I am not familiar with FMS, I don't know whether the change is correct or not.
View 1 Replies
May 28, 2009
I want to build a flash application that upload images to the server. It seems to work fine on localhost but when I upload it to the server it just won't work. The file does not upload.
as3 code:
Code: Select allvar FR = new FileReference();
var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.gif;*.png");
function onUploadClick(e:MouseEvent):void{
[code]....
View 2 Replies
Feb 20, 2012
I have install the Flash Media Server and Flash Media Live Encoder. Everything run perfectly when I test the Live Stream through localhost, but if I try to embed to another machine, it is failed.
View 1 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
Dec 5, 2011
I'm making a program in flash builder 4.5 using WebOrb 4 (which is fantastic, I might add). When I go to deploy, however, it gives me this error:
>There was an error during model deployment for xxxxProgram.
>
>The server returned the following message:
>
>Unable to contact the RDS Server "Data Services on Tomcat (localhost)."
>
>Connection refused: connect
>
>Do you want to continue launching your Flex application?
I've poked around online for a solution, but for the most part I either don't understand them (forum grammar can be somewhat obtuse) or the answer in the post doesn't apply.
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
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
Oct 25, 2010
While live/recording will the stream closed in fms when I refresh the browser??
View 1 Replies
Jul 10, 2009
I have a problem with a video gallery I integrated into my site...the flash works fine on my local machine and displays videos fine but when uploaded on the server it does not load and everyone gets the message as if we did not have flash installed on the machine[URL]
View 4 Replies
Dec 8, 2010
I would like to use my localhost database and some PHP in my Flex projects (using Flash Builder 4). I've searched on the web for some good tutorials, but couldn't find one. The only decent I found was this one, but I ran into a problem when trying to install ZendFrameWork.
Does anyone knows a good place to start learning using PHP into Adobe Flas Builder 4?
View 4 Replies
Feb 11, 2010
Building a website and the navigation menu is flash (.swf file). The mnuLoader.swf file retrieves information from settings.xml file. Everything worked perfectly when I tested in localhost/website/page.html. When I upload to hosting server www.website/index.html the mnuLoader.swf displays but does not load (its like it can't find the settings or picture files and displays the same as when you are waiting for something to load etc).
I have tried changing the xml file path from relative to absolute and no change. All three files index.html - mnuLoader.swf - settings.xml are in the same directory and the mnu_imgs folder contains the img icons for the menu. I don't understand why it would work on localhost but not on the actual server? Also directly underneath on the website I have another flash banner (just looping text pretty much) that works fine both on localhost and actual server so am pretty sure is not an access issue etc.
The mnuLoader.swf is Flash 8
View 2 Replies
Jun 11, 2010
First off, I'm trying to fix something that I didn't build to begin with and the guy who's project it was assures me it was working fine when he left, although a version I haven't touched since he left seems to have the same issues. I'm also a bit new to programming in general so let me know if I've left out important information in my first post and I will try to add more info.
I have a flash application hosted on-line that acts as a client for a server application written in Delphi. Most of the communication is done using sockets, which work fine. Uploading data files and downloading results files is done using HTTP requests, which work fine as long as the user is making use of an instance of the server on another computer. However, if the user has the server application installed on their own computer and attempts to use it specifying localhost as the url, the socket communication still works, but the HTTP requests don't.
All the socket based communication works fine and, when it is not on the localhost, all the HTTP requests work fine as well, which is why this is so mystifying to me. I've tried changing the flash cross-domain policy file that the server dispatches to be completely permissive, all ports, all domains, all http-request-headers, and still no luck. The Flash app will sit waiting for localhost indefinitely most of the time until I close the server application, and then give this error message:
[Code]...
View 1 Replies
Jun 14, 2010
I have an online flash application that acts as a front end for a server application built in delphi. The server can be installed/used on a remote computer or a personal version can be downloaded and the Flash app pointed at localhost to use it. However, Flash has issues with using the POST and GET functions on the localhost, which makes uploading data files and downloading results files difficult. To get past the difficulty with downloading results files I'm planning to just have the server app serve the results file as an attachment and have the Flash app open the address of the file up in another browser window using external interface. First off, is this likely to cause similar security issues? I.E. Flash will see "localhost" in the external interface call and stop it from working the same as when I try to use POST/GET functions with localhost?
Secondly, for upload this seems just a bit little trickier, I'm planning on doing something similar, having flash use external interface to open a php script for a file upload. Is this feasible and, again, will Flash still have security issues?Lastly, if anyone knows how to get flash to execute POST and GET functions with localhost addresses, I'd love to have that information to avoid all this jumping through hoops.
View 1 Replies
Jul 31, 2011
I am trying to retrieve mysql data using php(products.php) and return the data in xml format to ADobe flash as3; but i am getting following error.[url]...
I have WAMP installed; which works fine as i have many other php projects working here.[code]...
View 2 Replies
Dec 16, 2010
I am running an swf on my localhost and it loads another swf from an external site. It gives me the following error:Connection to [external site] halted - not permitted from [localhost]localfile.swf.I have included the localhost directory in my Global Security Settings, as well as the local file. swf, so it should be trusted and allow the external link.
View 0 Replies
Jun 25, 2009
i managed to make a image gallery with the help of the gotoAndLearn ZendAmf Flash tutorial. When i use the WAMP localhost it works absolutely great, but when i try to use it online it doesnīt work.[code]
View 1 Replies
Jul 23, 2010
I have a flash file which captures an image from a webcam and sends it to the server. This file works fine under ActionScript 2.0 but under 3.0 I get an Unspecified Error and the debugger crashes on the return eval in :
[Code]...
I've tried adding localhost to the list of trusted sites in the flash security manager
[URL] I've also tried playing with the allowScriptAccess and allowNetworking settings in the object tag.
View 2 Replies
Jul 26, 2011
I'm developing a flash thingy that connects to the youtube api. The website that contains the flashthingy is developed locally on my computer. I don't konw why flash does this, but it doesn't connect to anything on the real web. E.g. the youtube api. As soon as I deploy the project to a real server everything works fine.
Since I have a lot of dev still before me I'd love to test this stuff locally. what I have to do in order to get flash connected to real websites?
View 2 Replies