ActionScript 3.0 :: Flash SWF And PHP On Different Servers

Sep 9, 2010

I've created a highscore board which uses Flash (AS3), PHP and MySQL. Works fine when all the files are on the same server. However if the swf is on a differnt server (let's say serverA) and the PHP and MySQL are on serverB then it doesn't work. I'm assuming there could be some security issues which is preventing this from happening. Does anyone know if there is a way around this? Or if it's even possible?

By the way this was the error message...
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://...etc.

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Flash Swf And PHP On Different Servers?

Jul 6, 2010

I've created a highscore board which uses Flash (AS3), PHP and MySQL. Works fine when all the files are on the same server.However if the swf is on a differnt server (let's say serverA) and the PHP and MySQL are on serverB then it doesn't work.By the way this was the error message...Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://...etc.

View 11 Replies

Flash :: SWF Access Javascript When The Files Are On Different Servers - SwfAddress.js Not Working?

Jul 29, 2011

I had a somewhat weird setup for a site here, which goes as follows: Server A holds a SWF Server B holds a HTML document with the SWF Embedded, along with SwfAddress.js I can't seem to get any Flash-to-javascript to work here through External Interface calls. SwfAddress fails and I see this error in Firebugs Console: "Error calling method on NPObject!" This also occurs with another JS function I'm trying to call with the MouseWheel. I've set up my crossdomains and deployed all Security.allowDomain("")'s where applicable. Has anyone embedded an external SWF and had issues with AS-JS communication before??

View 1 Replies

Flash :: Use Publish Method To Record Flv File With Streaming Servers?

Jan 5, 2012

Can i use publish method to record flv file with streaming servers other than Flash Media Server, or it is just meant for FMS? How about crtmp server?

View 1 Replies

Flash :: Flex - Benifits/cons For Multi-player Servers For A AIR Game?

Jul 13, 2011

I have an air application that I'd like to turn into a multi-player game. I'd like to have 2-40 concurrent connections per "room". We would like to have 1-10 rooms going at once in the beginning. I'd like for users to be able to share voice and video but that's not a requirement.

Users will be racing each other based on data that's updated once every second, so ping doesn't have to be super low. 1000ms would be fine but lower is preferred.[URL]..

Cirrus looks perfect. I've heard some problems about firewall and port settings, but was wondering if anyone had experience with at home users and Cirrus. Another problem is that it's been in labs for ever. You can get RTMFP with Flash Media Server Enterprise but that's like 60k-70k per processor, way out of our price range. I've also looked at [URL] but it doesn't support RTMFP. I know we can host this on AWS and maybe save some money.

There is an open source project (cumulus) that implements RTMFP too but I've read that it's more of a POC then a production ready project. The license is also GPL which doesn't work for our commercial application. I've also looked at[URL].. but again, no RTMFP integration.The reason I like RTMFP is because we can scale without a lot of server cost. I know it's a closed protocol from Adobe and it looks like wowza or red5 won't be implementing it any time soon.

Is there an affordable (not 70k per processor) server tech for multi-player gaming that you can use with AIR/Flash that scales well?

View 2 Replies

ActionScript 2.0 :: MovieClipLoader On Different Servers?

Jan 16, 2008

In one situation we have one movie that chooses randomly to load one of two other movies. On one server it works fine. On another server, flash says there are no errors and that it loads correctly (i tested this using onLoadError and onLoadInit). There are no errors and the onLoadInit is called correctly, but what is in the movie wont display after being loaded.In another situation, the user can upload a photo to the server and then that photo is used in the game. The photo upload works properly, the photo gets put on the server and all that jazz. Now on the one server, the loading of the image works fine, it shows up and everything. But then on this other server, yet again the photo says it loads properly with no errors, but it doesnt dipslay it. But I can go on wiht the rest of the game working fine... just no photo... has anyone run into this before?

Oh yes, and it also works on my home server, so it works on two servers and not this other one. So that makes me think it's a server issue, but if that was the case wouldnt flash throw errors if it couldnt work? And like i said, flash at least says it's loading the photo correctly!

View 4 Replies

ActionScript 3.0 :: Any Time Servers With An XML Feed?

Jun 10, 2010

I know that you can grab your web server's current time with php, .net, or whatever server side scripting language you have available, and create a variable to feed into your flash movie at the embed time.What I am wondering is if there is a time server out there with an XML feed that you could connect to with flash to grab the current time based on whatever parameters you feed into the query string.I would doubt such a thing exists (at least for free) since so many people would probably tap into it and overload the server with requests, but it would be an easy way to set up someone's flash movie to grab a somewhat accurate current time stamp at load time (or any other time you'd want to call on it) without the need for server side scripting.

View 1 Replies

Continuous Integration Servers For Flex?

Jan 12, 2010

Which CI server do you use for Flex? My main contenders are currently

Hudson
TeamCity

Both seem to be popular on the general level but have you got some direct experience with using one or both with Flex development? Or would you recommend some other tool?

View 2 Replies

ActionScript 3.0 :: Webcam Non-functional On Some Servers?

Feb 13, 2010

We used the FLARmanager, developed a nice little app, runs find locally, runs fine on our dev Linux server.Put it on an IIS server. When we click on the 'allow webcam' prompt, the webcam control panel pops up (as usual), butthere is no camera image displayed. The camera light does not come on. The camera control panel goes awayCould it be server configuration? Settings? Security? Why would it be different on different servers, all things being equal?

View 0 Replies

ActionScript 3.0 :: Complicated Stuff With Servers

May 23, 2011

how can i make a store for a game where poeple can buy coins?can you guys give a step by step tutorial becouse i dont know nothing aBout MySQL servers.If you have a good book i could read to learn servers please give me the name.

View 2 Replies

ActionScript 2.0 :: Loading Swf Files From Different Servers?

May 27, 2005

I basically have a movie clip on one server and swf clips on a different server, and I am loading them using the loadMovie command.my problem is: on those movie clips I am loading, I have a stop(); action on the first frame, and I am triggering them to play when loaded by the containerMovie.play(); commandmy problem is: if both parent movies and loaded movie are on the same server, the action works fine and the movie is played on when the frame with the play action is reached.if they are on different servers, the movie is loaded alright (you can saee the first frame) but the action does not get executed and the loaded movie does not playexamples:[URL]

View 2 Replies

ActionScript 3.0 :: Difference Between Socket Servers : AMF : FMS?

Oct 26, 2009

I'm working on a multiplayer game. basically need chat, rooms, login (user management).where i confused myself is with some different (or maybe the same) remoting technologies.I can do what i need with Flash Media Server, and have already purchased an influxis account. It uses FMS and SharedObjects.

Latency is a big issue for me, is there a difference between Socket Servers, AMF, and FMS ?can FMS be a SocketServer serving bytearrays ?is AMF a wrapper for data being sent to socket servers? if FMS is a socket server, can i use AMF for FMS?and which is the fastest? is SharedObjects on FMS fast enough (instant update) ?

View 4 Replies

Professional :: When Using IE7 For Parallel Https Calls Across Two Servers

Jan 6, 2012

Weeks back I faced a wierd issue in the behaviour of flashplayer running on IE7 which is invoking parallel https calls. I have two SSL enabled servers one is listening on port 443 and the other is listening on port 8443 but both running in the same domain. I developed a flex client (using httpservice class) which sends parallel https requests to these two servers. When the number of parallel requests increases say more than 5 requests to each server, the fault handler was encountered with the error message:[code]After breaking my head for a long days, I got one solution which would work. This issue is happening only if we are sending https requests to different ports in the same domain. So rather than moving one among the two servers to a new domain, I got a new DNS name for the same destination. So presently I got two DNS names pointing to the same machine in which both the servers are mounted.Now that I am using a separate DNS name for the server listening on port 8443 and the old DNS name is used to hit the server listening on 443.

View 1 Replies

Flex :: Crossdomain.xml - App Cannot Download Images From Other Servers?

Oct 3, 2010

in my flex application:[URL].. when i run my app, I catch this error:

SecurityError: Error #2123: Security sandbox violation: Loader.content: http://mySite.com/2/BusFlex/BusProducts.swf/[[DYNAMIC]]/2 cannot access http://cs9621.notMySite.com/u7397474/c_b51d9fe6.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.

[Code]...

View 3 Replies

Flex :: Connect Application To Two Different BlazeDS Servers?

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

ActionScript 2.0 :: MovieClipLoader Parameters Does Not Work On Certain Servers

Apr 12, 2010

i uploaded the same copy of a website to 2 different hosting for testing. the preloader that displays the percentage loaded when u click on a SECTION in the site (not the very first 1 tat appears before u enter) is done using the movieClip Loader Class, the preloader bar & percent text displays correctly on 1 server but doesn't on the other. My guess is the bytesLoaded n bytesTotal parameters are undefined in the "not working version".[URL]

Code:
var mcLoaderA:MovieClipLoader = new MovieClipLoader();
var listenerA:Object = new Object();
mcLoaderA.addListener(listenerA);

[code].....

View 3 Replies

Media Server :: Changed To Push The Servers Harder

Jul 30, 2009

I am trying to load test my 2 server load balanced FMS 2 environment which has been set up with the profile for 1000 connection 40MB. When I hit about 140 connections/server it fails with a "Bandwidth Penalty activated at time 1248945759.731000 with bandwidth 5945889 and limit 5000000" error logged in the event viewer immediately followed by many rejection errors: " immediately followed by many rejection errors: "
Connection rejected by server. Reason : [ License.Limit.Exceeded ] : (_defaultRoot_, _defaultVHost_/DLvideo/_definst_) : Current server bandwidth usage exceeds license limit set. Rejecting connection."The load testing mechanism is a test harness that was created by a third party and seems to work well up until the above messages are logged. It basically is making 25 sustained streamed video connections per minute until it starts disgarding connections as noted above.
 
The servers are not even breathing hard (RAM is less that 50% consumed and CPU Utilization is < 5%) 1GB NIC on each server.What parameter(s) can be changed to push the servers harder.

View 4 Replies

Media Server :: Setup A Load Balancing Between Two Servers Or More?

Jan 1, 2012

I have a load balancing problem for example I have two FMS servers I want to make aconnection between them if the first server overload the second can handle the request

View 1 Replies

Flex :: What AMF Servers Support Remote Shared Objects

Mar 29, 2010

I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF.

Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects (correct, yes?). I'm not seeing where ZendAMF can support this.It seems to indicate that ZendAMF isn't going to do what I want. WebORB for PHP seems to be the only PHP based solution that does messaging, but on that page it doesn't mention "real-time" next to it like the Java based ones below it do.

View 3 Replies

Media Server :: Add Additional FMS Servers And Load Balance The Traffic?

Jul 21, 2009

I run a FMS 3.5 Server and I want to add additional FMS Servers and load balance the traffic. The plan is to use a script for the developer version of FMS that forwards two incoming FME streams to the different servers, so each FMS Server has all streams. Is there a script for this? In addition there is a need for a script that somehow redirects the users to the server with the lowest users/bandwidth in use.

View 1 Replies

Media Server :: Connecting To Remote Servers (HTTP GET, POST)?

Mar 1, 2010

I'm running FMS 3.5 on RedHat, and have some server side actionscript that is attempting to perform an HTTP GET on a remote URL, e.g:
 
loadVars.send("http://someurl/");
 
This works on a Windows XP development server, but not on the RedHat deployment server. Are there any configuration options that I need to be aware of in order to allow my application to perform requests such as these (i.e. HTTP requests to remote servers)?

View 1 Replies

Media Server :: Built-in LoadBalancer For Origin/Edge Servers

Jun 10, 2011

We are currently deciding what to use: Wowza(not so much, since they are undergoing the lawsuit) or Adobe Flash Media Server. The problem is that I couldn't find any information on how to configure the loadbalancer using FMS. I tested with Wowza and they use built-in loadbalancer but not so for FMS. Forgot to mention that we need it mostly for live events using RTMP protocol. My current configuration has 1 origin server + 2 edge servers(trial developers edition). I can manage to play livestream from the edge--origin servers using egde url. How can I configure the edge server so that when I connect to the origin server it redirects me to the least loaded edge server?
 
I tried to set up the connection limit for the origin server for 2 connections(one for the fmle, one for edge) and connect with 5-10 clients but my origin server didn't redirect the stream to the edge.

View 1 Replies

Media Server :: Single RTMP Link For Multiple Servers?

Oct 3, 2011

can i use a single RTMP link included on FMLE with multiple servers, means, that RTMP link will do the redirection to the other RTMP links.with hight number of simultanous users, that feature will manage the use of servers

View 7 Replies

Media Server :: Do An In-place Upgrade From 3.5.2 To 3.5.3 On Origin Servers - Recommended Precedure?

Apr 20, 2010

I need to do an in-place upgrade from 3.5.2 to 3.5.3 on my origin servers. Is there a recommended precedure to acheive this? I want to have the minimum downtime possible. CentOS, x64. I think something along the lines of :

[Code]...

View 1 Replies

Media Server :: Do Audio / Vedio Streaming Between Web Cams And Back End Servers?

May 3, 2010

I want to implement an internet chat application, I mean, I want a front end, which connects a web cam (mic and speaker). So, I can send videos and audios to a back end server (do flash streaming? but I am not sure what good product out there I can use), and also send both A/V to another computer on the internet. In other words, need a front end that sends local a/v from webcam (&mic) to backend and receives remote a/v from backend to webcam (and speaker) + backend streaming server.

View 4 Replies

Actionscript 3 :: Ensuring Crossdomain Policy Files Have Been Retrieved For All Facebook Image Servers?

Aug 10, 2010

I've recently started putting together a Facebook Connect AS3 app and retrieving objects and images through the Graph API.Running anywhere but locally, I receive security errors of the form: SecurityError: Error #2122: Security sandbox violation: Loader.content: xxxx cannot access url...A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.If I add a line of the form:[code]One thing I'd considered was retrieving the crossdomain policy file on a per image basis, capturing the domain from the image URL before making the image request. Unfortunately, at least via the Graph solution (and I haven't looked too closely at the others), their servers resolve the image url after the request is made, from something more generic like: url...Has anyone found a more dependable means of ensuring that images can be retrieved without security sandbox violations? Or do Facebook maintain a definitive list that developers need to keep an eye on?

View 1 Replies

Media Server :: Adding Edge Servers To A Live FMS Server?

Nov 26, 2009

Does anyone know if this is possible  I have an FMS server in our production enviroment that contains multiple vHosts, at the moment I have one edge server setup for each host based on the comment at the bottom of this entry:[URL]

View 1 Replies

ActionScript 2.0 :: Load One Xml File To Swf File That Located In Different Servers?

Aug 21, 2008

i want to load one xml file to swf file that located in different servers...

like

[URL]

but i have only one xml file that update of those flashes..

how i can to do allowdomain to the xml file?

this is what i have and it's not work

Code:
System.security.allowDomain("www.studiomor.com");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://studiomor.com/upload/google_AD.xml");

View 2 Replies

ActionScript 1/2 :: Link Exported Flash Buttons Created In Flash Pro 8 Flash To Pages In Dreamweaver 8?

Jun 8, 2010

I'm working through Dreamweaver fairly well, and I'm now wanted to import Flash buttons I've created myself into Dreamweaver for a website I'm currently building, and it's here that I'm finding the problem. I have been to the 'get URL Function', but it says something about needing to link to a web page? But my problem is how can I link Flash Buttons to a web page, when my site is still being developed and not published? Do I have to publish first?

View 3 Replies

ActionScript 2.0 :: Flash Mx 2004 Compatible With Flash CS3 And Flash 8?

Sep 2, 2009

:confused:Does anybody know is Flash mx 2004 compatible with flash CS3 and flash 8?? I can not open flash cs3 on my laptop with flash mx2004 also can actionscript 3.0 be used with flash mx2004 and flash 8 because when I save my flash cs3 document as a flash 8 document it does not work? I am awful confused with all this. If you created a flash website in flash 8 or Flash mx2004 you can not open in in flash cs3 it dosent make sence?

View 3 Replies







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