ActionScript 3.0 :: Application Doesn't Connect To The Localhost Path At All?
Dec 26, 2010
I am a weird problem when an swf file is communicating with the localhost server. the application runs perfectly well through the flash player of the compiler. however, when I try to execute it through the browser - it seems as if the application doesn't connect to the localhost path at all.
View 2 Replies
Similar Posts:
Jul 7, 2010
my problem is SWF doesn't connect with the localhost the .fla working ok when in press ctrl+enter but when i export movie its won't work what is the problem
[Code]...
View 6 Replies
Jul 15, 2010
What is the problem the localhost doesn't connect with localhost in fla its working well but SWF
View 2 Replies
Dec 21, 2009
it seems that Flash was supposed to run in a sandbox in the browser. But, if Flash can get data from a remote server, can it similarly get data from localhost IP on the same machine? In other words, can I use a Windows app that provides a TCP socket on localhost to feed data into a Flash app?the answer is yes at least for the case of an SWF file hosted in the file system, URL...(turns out the localhost access error can be fixed if you add the SWF app to some security whitelist). Still wondering if this can also be done for SWF apps hosted on the network.
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
Nov 7, 2010
I am making a very simple httpservice request w/ a php file that is on my remote server:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:halo="library://ns.adobe.com/flex/halo"
>
[Code]...
When I run the resultant flash file on my remote server, it works 100% and test.text gets populated to "successful". However, when I run it on localhost test.text is still blank. If I check my network monitor in Flex, the httpservice was successful, so crossdomain.xml seems to be set right ...what am I doing wrong? I've been spinning my wheels for some time w/out a clue.
View 1 Replies
Jul 13, 2011
I am beginner to Flex3 .. I am developing simple application with login screen having fields user name and password. I wanted to know how i store this information in MySql database?
View 1 Replies
May 12, 2011
I read through the method to connect to a socket server : [URL]. I wrote an AIR application to connect to the java server code, but the client cannot connect. What is missing in the code?
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" backgroundColor="#D5F8C3">
[Code] .....
View 1 Replies
Mar 15, 2012
is it possible to connect to two different BlazeDS servers from the same Flex app? I have already read this question: Can a Flex client app connect to BlazeDS running on a different server? However, it appears to be discussing the possibility of connecting a Flex client to a BlazeDS on a different server but not necessarily to another BlazeDS on a different server.
One Flex client connecting to two webapps using BlazeDS - Detected duplicate HTTP-based FlexSessions
In attempts I have tried, I get the error mentioned in the second question above: Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.
Is connecting one Flex application to two BlazeDS enabled servers completely impossible? We want to be able to have a "common functionality" BlazeDS server that is used by a number of Flex apps that each have their own local BlazeDS server for their own functionality.
The way I'm currently doing it:
In my mxml file, I'm defining a a channset like so:
<mx:ChannelSet id="dataService1Channel">
<mx:channels>
<mx:AMFChannel id="dataService1AmfChannel"
[Code].....
The calls work and I can get the data but I'm getting that warning I mentioned in the form of an alert in the Flex application.
View 1 Replies
Jan 3, 2012
I Have a flash player application embedded with a website working fine. Now I want to do it in iPhone, fore that i want to send request to flash server. The responses from server are realtime and used RTMP. How can I send request to Flash server from my iPhone application.
View 1 Replies
Oct 7, 2009
I am trying to connect to database from the Adobe FLex AIR application.
Is it possible to connect to database(SQL Server / ORACLE) from Action script.
View 2 Replies
Jul 1, 2010
I want to get data from a database of my site. In the setting of the project point out Root URL: http://...:** But what to set in Root folder?
Already tried the two dozen variants and Validate location does not work.
View 1 Replies
May 9, 2011
i'm trying to connect my flash application to my nodejs server running socket.io. To connect via web-browser is no problem. Now the problem, when the socket-server isn't running i get an IOError in Flash what seams alright. Now when i start the server and try to connect again, i don't get an error, but the socket-server doesn't receive a connection either?!
View 1 Replies
May 24, 2010
What is the easiest method to connect a flex application to a MySQL database?
View 7 Replies
Nov 11, 2010
I am currently working on software for student attendance. I use the flex / flash and php to create the software but I faced a problem barcode scanner, can not connect to the application to call the data from the database when students scan the barcode printed on their student card.
View 1 Replies
Nov 27, 2010
I am currently working on software for student attendance. I use the flex / flash and php to create the software but I faced a problem barcode scanner (Motorola-type barcode scanner Symbol LS2208 Laser Barcode Scanner USB), can not connect to the application to call the data from the database when students scan the barcode printed on their student card. make the script so that it can run on flex / flash and php. it makes me crazy for a week to seek a way out. (I have not mastered the java script)
[Code]...
View 4 Replies
Sep 12, 2011
When i stated to using debugging option, its showing error that, "The Flash Builder debugger failed to connect to the running application.Ensure that:
1. For in-browser applications, you are running the debugger version of Flash Player.
2. For network debugging on a mobile device, you have a reliable network connection to the device, and port 7935 is open on your machine's firewall.
View 1 Replies
Jan 19, 2010
I am trying to develop a P2P conferencing application in flex using RTMFP. So I have to make connection to Adobe Stratus server for Id of Flash Player instance. I am a student and behind the http proxy. I have checked in NetConnection class but, didn't find anything related proxy configuration.So, How can I configure proxy settings for my flex application.
View 1 Replies
Feb 1, 2011
I have a flv that is loading from a subdirectory off my flash swf.Everything works fine when I load the video from [url].....However, when i start the video from mysite.com, the video is not located.What can i do to remedy this? I'm not using an absolute url in the component parameter inspector.For example
myVidDirectory/myvideo.flv
should I use a different path?
View 3 Replies
Jun 10, 2008
I'm programming a dinamic flash/xml website. up until now I've kept the info for the menus and the one for the gallery (the site has a gallery that displays both text and images) in separate xml files. but I'm trying to make all of it work out of a single xml file. I've managed to make the menus and the gallery all go get the info correctly to the xml (text and images), but then I came up with a problem that jeopardizes the whole show: a path inside the xml's onLoad function refuses to work! the code that bears the function has to be placed into the same clip as the clips that contain the text fields to wich info will be passed or it won't do a thing.
supose this is my actionscript code:
Code:
var contentSubMenu = new XML();
contentSubMenu.ignoreWhite = true;
contentSubMenu.load("example.xml");
[code]....
no information is passed to that clip. If the path targets that clip one should expect it to, right? even if all this code is placed on _root, right? well, it doesn't happen...I tried tracing for info that comes from the xml, but nothing is displayed in the output window.
I've attached a zip file that contains a fla file, an xml file, a txt file with the full chunk of actionscript code and the fonts you'll be needing should you decide to take a look (they're only two).
The fla file has been built in the following manner:
_on the right side, the clips that hold the text fields to wich the contentSubMenu.onLoad function will pass info to are directly placed upon _root (so, following the code example from above, it would be like having var buttonList = _root;)
_on the left side, the clips that hold the text fields are down into buttonListSlide_mc and the contentSubMenu.onLoad function is there as well, only commented so it doesn't display anything.
View 1 Replies
Mar 29, 2009
So, I'm using this Path Class to make a path and then draw it. I'm having a problem where there are some positions that I draw the path, the entire line does not draw.You can see an example of this here as the dot moves. The line flashes at a few coordinates. Just a small concept example I made. The path is there, it's just not being drawn.
The code :
Code:
import com.senocular.drawing.Path;
// create a path instance that draws in _root
var myPath:Path = new Path();
[code].....
View 2 Replies
Jul 22, 2009
I would like to compile my flex application with a services-config.xml file. However, I am forced to supply a context.root. In my setup, the context root (context path) isn't known until my .war file is named and dropped into the webapps directory.
View 1 Replies
May 6, 2004
i have a problem adressing or targetting a attached mc when i target de mc directly it works fine but when i try it trough a variable it doesnt recognise its path anymore??? hopefully a part of the code is gonna explain the situation a litle better... this piece works fine:
[Code]...
View 3 Replies
Jul 24, 2009
Actually I am the application is for recoeding live stream. The recorded videos are placing in the folder named live_test as specififed above.But I want to change this path. There is a folder named public in the root directory. In the "public" folder we have a folder named Recorded_Videos, I need to place the recorded videos on this folder. How can I do this.Another issue that occurs while recording is NetStream.Record.noAccess. This is occuring while the recorded video is placing on client's flash media server with the path that i specified above. But when i running it in the local flash media server(developer version), its working well. The recorded files are placed on live_test folder. In the client's server the stream is not recording, instead its showing an error like "NetStream.Record.noAccess". The code that I am using for recording live stream is follows:
stop();
var nc = new NetConnection();var CommPage = 'http://68.233.8.57/videos/destination';System.security.allowDomain(CommPage);
[code]....
View 3 Replies
May 6, 2004
i have a problem adressing or targetting a attached mc when i target de mc directly it works fine but when i try it trough a variable it doesnt recognise its path anymore???
[Code]...
View 3 Replies
Aug 12, 2010
Is there a way of getting the current active document path from the flash application by AppleScript? The only command available in the Adobe Flash dictionary for applescript is "do script", can I call a script to get the path of active document?
View 1 Replies
Jan 19, 2010
When using as3 and embed my swf via swf object JS, one of the parameters that being transferred to the embed JS function is "base=http://www.mydomain.com" which needed in order to load external widget into application.
Now, am also loading external assets like Styles.swf that placed locally on client side, and when I'm trying to load these assets I get error that they don't found in [URL]
For example: StyleManager.loadStyleDeclarations("Styles.swf");
Error: can't load [URL]
Is it possible somehow to load Styles.swf as local assets??? I've tried use
StyleManager.loadStyleDeclarations("../Styles.swf");
StyleManager.loadStyleDeclarations("./Styles.swf");
StyleManager.loadStyleDeclarations("/Styles.swf");
View 1 Replies
Apr 16, 2010
I'm implementing a Flex application with several modules.I'm reusing the same component in all these modules.I was wondering if I'm correctly importing it in each mxml module definition: xmlns:hillelcoren="com.hillelcoren.components.*"Should I import it only once, in the main application mxml instead?
View 1 Replies
Oct 4, 2011
I wok on desktop Adobe AIR application. It creates .DMG for mac os builds. It is actually command line application. What I want is the ability to call it from command line - add it .../*.app/Content/MacOS to $PATH. Is there any standard way to do it with AIR ? I need it to work on Windows as well.
View 1 Replies
Sep 20, 2006
who wants to build a flash application to find the shortest path using ant algorithm. but i have not the refferrence about that?
View 5 Replies