Actionscript :: Can't Make URLRequest Locally To Nginx Server

Nov 4, 2011

The same code was working fine on lighttpd and apache, recently i switched to nginx and the app started crashing when I run it localy however it runs fine with the same code inside a browser.Here is the source code that makes a request to the server.

public function ApiCall(methodName:String,params:Object=null)
{
super();

[code]....

The flash player just crashes without any meaningfull error message.I checked on the php side and the $_POST array is empty for some reason.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Can't Load File From Server With URLrequest, But Works Locally

Dec 22, 2008

I have made a XMLloader with URLrequest, and it works locally by calling the file directly by its name ie. "myFile.swf". var presLoader:Loader = new Loader(); presLoader.load(new URLRequest("myFile.swf")); addChild(presLoader);

But when I uploaded the loader to the server, I have no file, only "URL not found"-error. So I found out that I should change to URL to "/Files/Images/subloader/myFile.swf" then it will load. But thats a real problem, because I have several loaders.

View 1 Replies

ActionScript 3.0 :: URLRequest To Remote Server?

Jun 1, 2009

Can I send and load variables to a php script on a different server? Hen I try I get a Error #2048: Security sandbox violation How do I get around this?

View 14 Replies

Flex - Security Sandbox Violation On Nginx?

Nov 22, 2009

How can Nginx serve crossdomain.xml file to a flash/flex program. Basically I need to make nginx to respond to:

perl -e 'printf "<policy-file-request/>%c",0' | nc 127.0.0.1 80
with
<cross-domain-policy>
<allow-access-from domain="*" secure="false" to-ports="*"/>
<site-control permitted-cross-domain-policies="master-only" />
</cross-domain-policy>

As we can see, the request is not a valid http request (amazing what adobe engineers have done!). I tried to use $request_method inside the nginx configuration file but no success yet,

View 3 Replies

Professional :: FLV Works Locally But Not On Web Server

Jan 19, 2011

I've got a project that loads a couple of external flv videos. It works great locally but when I upload it to a web server I just get a blank screen.
 
Googling reveals two possible issues... server mime types, and flv path issues.
 
Everything is in the same folder so I'm doubting it's a path issue.
 
If it's the mime type issue, how do I go about fixing it? My host is dreamhost.
 
*update, I tried adding the following two lines to my .htaccess file but it didn't change anything:

AddType application/andrew-inset ez
AddType video/x-flv flv

 Here is the html: [URL]
 
And here is the whole project in a zip if anyone has time to take a look:
 
[URL]

View 1 Replies

Professional :: SWF Plays Locally But Not On Server

Jul 4, 2011

I have a SWF (1.8mb) which I placed onto my HTML page using Dreamweaver, and set to autoplay. When I save the file and open it in Firefox/Safari, the movie plays as expected. But when I uploaded the files to my hosting server, the movie doen't appear (not even a box where it should be - just nothing but blank space where it should be). I've made sure that I uploaded the SWF, the HTML file, the expressInstall.swf, and the swfobject_ modified. js file. I also changed the permissions to allow executable scripts. I don't have a Flash blocker installed.[code]

View 1 Replies

ActionScript 3.0 :: Load XML Locally From A Server

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

ActionScript 2.0 :: Swf Plays On Server But Not Locally?

Oct 21, 2010

I developed an app that ran fine locally and on the web. However, this morning I noticed that it will not play properly on my PC, but will on the web, or in a Director projector. It is an AS2 slide presentation, that loads xml content. Everything was working fine locally until today. It seems to load the content fine but won't call methods any longer... Again everything works fine on the web or in a projector.

View 1 Replies

IDE :: Preloader Works Locally But Not On Server

Mar 7, 2009

I'm working on a website ([URL] - don't think the flash file can be seen in FF yet) and I want to load an swf-file with some illustrations and such. As this could get a little big, I have made another swf-file which shows a preloader and loads the first swf-file. The preloader works perfectly when tested in Flash CS3, but when uploaded to and tried on my webhost's server, the preloader doesn't load anything. Instead it of the load-percentage it just writes "NaN". You can find the as3-code down below. The preloader-swf and the swf to be loaded are located in the same folder. Both are as3.

This is the code from my as-class file:
package classes{
// Imports necessary classes
import flash.display.MovieClip;
import flash.text.TextField;
import flash.events.Event;
[Code] .....

View 2 Replies

ActionScript 3.0 :: FLV Works Locally But Not On Web Server?

Jan 19, 2011

I've got a project that loads a couple of external flv videos. It works great locally but when I upload it to a web server I just get a blank screen.

View 2 Replies

ActionScript 3.0 :: URLRequest To PHP File On Remote Server

Oct 22, 2009

I would like to do a URLRequest to a PHP file which contains xml, and the PHP file will be living on a seperate server from my flash file. I understand there are security issues in this sort of thing. figure out how to make this work?

View 2 Replies

ActionScript 3.0 :: CS5.5 - Load XML Via A URLLoader And URLRequest To A Server

Aug 6, 2011

there you are, you set up your AS3 code to load XML via a URLLoader and URLRequest, as normal. You then take your XML file, and upload it to a server. You then run your program, and trace out the XML you receive. So far so great, and you see the results of your XML traced out. Then you change something on your XML, either adding to it or removing a line. You then run your program again from CS5.5, and trace out the XML, and it shows the same results that it did before you made any changes. I deleted the XML file from the remote server, and it is like it stored it in cache, and still able to read it. If I change the url or file name, it gives me an error, which it should.

If I point the url back to my remote XML file, and run the program again, it gives me the XML results I had in the beginning, before I made any changes to it (regardless if the XML file exists). The only fix I have found so far, is closing CS5.5, and reopening, and then it can see the changes. I did that, and it was able to see my XML changes on my remote server, but again, only one time. If I try to change anything, or delete the XML file, it still pretends as if its there, reading the results that it read the first time I run the program. Is this a cache issue? Anybody else experience this? I never remember running into this problem using CS5/CS4/CS3, only CS5.5. Of course, I can test it all locally first, and then upload the XML file to the remote server when I know that no other changes need to be made, but still, this is really weird!

View 1 Replies

Cannot Load Flash On Server But Locally Fine

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

Data Integration :: Xml Works Locally But Not On The Server?

Aug 1, 2006

So I have an html file with a swf in the center which loads pictures and text via XML. It works fine on my own computer but on the actual site it doesn't load the pictures or text it, in any browser.

View 1 Replies

Media Server :: Will Not Have Access To Machine Locally?

Jul 14, 2010

1.How do I connect to the Admin Console through a static ip remotely as I will not have access to the machine locally?

2.I want to stream live audio and do audio on demand, how do I do this?3.How to I embed a music player in a webpage that can stream live audio or the audio on demand?

View 1 Replies

Flash :: Possible To Put The Flex Sdk Onto A Web Server And Reference It Locally?

Mar 8, 2011

I want to try and build a project locally with my project pointing to an external sdk (via webserver.)

View 1 Replies

Flash :: Swf Plays Locally But Not From Ubuntu Web Server

Oct 17, 2011

I have an issue with swf file on ubuntu web server. I built my whole site locally and everything was fine. When I upload my site on my Ubuntu server and tried to see my site from my local browser, the swf file not loaded properly. It just shows the main image and is like AS3 don't runs.

View 1 Replies

ActionScript 3.0 :: Web Service Works Locally Not On Server?

Jul 30, 2009

There is a number of posts but no solution to this issue. I am using alducente web service class to make SOAP calls to a WS from flash and it works perfect in the Flash IDE. When I publish to my server it just hangs.

I have a crossdomain file allowing all headers and domains etc. no luck.

View 0 Replies

ActionScript 2.0 :: Id3.artist Works Locally But Not On Server

Jul 7, 2010

i inherited an old as2 mp3 player. i'm trying to read id3.artist from the mp3 playing. it gets it and displays fine locally but as soon as i put it on a server it always returns 'undefined'. do i need some kind of a security file or something to read the id3 info?

View 1 Replies

Flash :: SWFUpload Prematurely Closing Connection On Upload (nginx 499)

Jan 22, 2010

I'm using swfupload to upload files to nginx. It works fine for me & 99% of our users.For a couple of users, however, it fails somehow during upload. It opens a connection, but seems to close it before it's complete - nginx reports a 499 status in its access log, which is NGX_ HTTP_ CLIENT_CLOSED_REQUEST.I managed to get hold of one of those users to get some more information. They're running Flash 10.0.42, on XP with Firefox 3.5.7.Has anyone seen anything like this? Any suggestions on fixing it / how I might investigate further?

View 3 Replies

Professional :: The 'works Locally Fine, Not On Server' Deal?

Feb 5, 2010

There was always a flash movie on the homepage and it worked fine. A couple days ago I replaced the movie with a new one and added a .swf to the portfolio page as well. On the portfolio page, the movie is layered behind a series of transparent .pngs that link to their corresponding lightbox designations. The movie just plays, there isn't any interaction this way, atleast not in flash.

The problem: Everything works perfectly fine locally on all browsers and not at all on the server across all browsers. I have seen this problem before and read alot of posts about it.I know I have the proper scripts files. I've re-saved flash movies, changed their location within the site, published them with the appropriate settings, nothing seems to do the trick. Whats worse is that the lightbox doesn't even work online and it runs fine locally. Infact you cant even click on the .pngs and they aren't positioned the same with the css as they are viewed locally. I've overwritten the css with the up-to-date stylesheet many times as well

View 5 Replies

ActionScript 3.0 :: Loading Images From Another Server But Works Locally?

Mar 30, 2010

I'm using BulkLoader to load a single XML, parsing this, extracting out a list of images on another server (amazon), adding them to BulkLoader and loading them in.
 
this all works great running in the Flash IDE but as soon as it's uploaded the xml loads, parses BulkLoaders starts but non of the images load.

I assume it's a security issue but linking to these images from the local or from a html page works fine just not from Flash from a server.

View 4 Replies

Flash :: Professional - Movie .works Locally But Not On Server

Jul 26, 2011

I created the movie in a new folder, so I owuld have all the files... fss.html, fss.swf and MinimaFlatCustomColorPlayBackSeekCounterVolMute.swf I uploaded all these to the server.....

[Code]....

View 5 Replies

Actionscript 3 :: CS5 Flash App Has Sounds When Run Locally But It's Mute When Run In A Server?

Oct 12, 2010

I'm making this small app in Flash CS5 using AS3. Sounds are being reproduced using flash.media.Sound and flash.media.SoundChannel. Locally , everything sound perfect, but when I run the game from a server it just goes mute.

View 1 Replies

Javascript :: ExternalInterface. Addcallback Works Locally, But Not On Server?

Nov 9, 2010

Mainly because I have it ALWAYS working locally, when I test in a browser, but the moment I deploy to a server it stops working.

I've added trace commands and confirmed that ExternalInterface is in fact available before adding the callback, and an alert command in the javascript method correctly identifies the flash object. I also checked and allowscriptaccess is set to 'always'.

Could it have something to do with the flash being served on a remote server?

View 1 Replies

ActionScript 2.0 :: FMX: Store XML Data Locally On A Computer WITHOUT Using A PHP Server

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

Actionscript 3 :: Flash - URLRequest/URLLoader - Server Not Receiving Data?

Sep 11, 2011

I am trying to send a server "schooltraq.com/api/" variables for a request.My Code:

package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.*;

[code].....

How ever when I keep getting back "error:empty request". I emailed the site owner and he said that my program may be dropping the data during redirects.[URL]

View 1 Replies

ActionScript 3.0 :: Flash - Use A URLRequest To Get Login Information From The MySql Server

Jul 26, 2009

I'm having a little trouble with the 3. I'm trying to use a URLRequest to get login information from the mySql server. It works great when I try to log in, but if anyone else from outside my network tries to log in, it just hangs. I'm on port 8080 using localhost. I've even tried changing everything to my IP address instead of localhost and allowing my tester to try, but it still hangs.

View 6 Replies

ActionScript 2.0 :: URLRequest - Send The Xml Data To PHP / PERL Script (server)

Dec 13, 2006

I have XML object formed and data ready to write to the server by means of server-side script. The code used on the server-side script is testing code available from the ActionScript 3.0 cookbook examples (by Joey Lott). It basically takes the XML object, parses it and writes some of the text node values into a textfile. What i want to achieve send the xml data from AS3.0 to PHP/PERL script, parse these data, write some variables from the xml object into a textfile on the server.

[Code]...

View 1 Replies

Html :: Swiffy, Flash To HTML5 Works Locally But Not On A Server?

Apr 6, 2012

I have tried numerous attempts at converting flash files to HTML5 with Swiffy -- and they all work great in a browser running locally, but when I put the HTML file that is exported on a server (I tried two separate ones, just in-case it was some server configuration) they do not run, it gives a blank white screen.

I tried saving the file down to Flash 5 export, and changed settings and they work locally but not when placed on a server. I tried converting several flash files all with different animations, and I get the same results -- it works locally but not on a server.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved