ActionScript 3.0 :: While Getting Data From Flash To Java Servlet[server Side]

Dec 2, 2009

My .fla/.swf file is unable to load the data from server. Instead, it is displaying the below error: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: [URL] cannot load data from [URL]. at MiniHumanAp_fla::MainTimeline/MiniHumanAp_fla::frame1() the reply for root-cause of this error...

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Getting Data From Flash To Java Servlet[server Side]

Dec 3, 2009

My .fla/.swf file is unable to load the data from server. Instead, it is displaying the below error:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://www.mymdworld.com:8082/MiniHumanAp.swf cannot load data from http://localhost:8082/getviews?category=OB%2FGYN. at MiniHumanAp_fla::MainTimeline/MiniHumanAp_fla::frame1()

View 1 Replies

Retrieve Data Sent By Flash 4 HttpService, In The Servlet Side?

Nov 28, 2011

I'm using Flash 4.0 as UI tier, and I'm trying to send data to the server side, which runs on Tomcat. I wrote a servlet that the calls are directed to it. But I do not understand how can I see the data that was sent from the flash tier. to clarify, hereby example:

Flash tier:

<fx:Declarations>
<s:HTTPService
id="setCustomerDataService"

[Code]....

how can I retrieve "data" from Flash, in my Servlet?

View 1 Replies

Java :: Flex Client Side And Java As Server Side?

Aug 7, 2011

Since I'm developing a multiplayer card game for Facebook using Flex as client side and Java SE as server side, I wanted to know how do I actually make the connection between Flex and Java? the server and client should be able to send each other data(cards,movement,room information etc...) across and I wonder what's the easiest way to do it without complicating it. where to read about it ? I know JAVA but I find JavaEE hard to understand.

View 2 Replies

Media Server :: Way To Connect Java Servlet To FMS?

Nov 5, 2009

Is there any way to connect Java servlet to FMS?I would like to send comand from servlet via HTTP to FMS?(Something like communication to Flash media server using administration API)The best way for me would be connecting (writing) to SharedObjects, but I would be happy with any connection at all.(I read some about ColdFusion, but there would be too much modification on my servlet.)

View 4 Replies

Flash :: Use Java On Server And Client Side?

Apr 13, 2010

What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?

View 1 Replies

Flash :: .net - Java Or Dot Net For Server Side Support?

Oct 6, 2011

We are building a Flash application for client use but will need to do server side processing of images. All our expertise and application code is in Java, but I've been told Dot Net has better Flash support. This is general but we will be modifying large (up to 50MB) image files. The idea is that what we could do in Flash should be duplicated, automated and extended on the server side.

View 2 Replies

Flash :: Convert A PowerPoint File To Server-side Within Java On Linux

Feb 10, 2011

I am looking for libraries or solutions to convert a Microsoft PowerPoint file into a playable Flash file. The constraints are that I must be able to do this from Java, a webapp, that is running on a Linux-based server. I have been scouring Google and have only come up with two options: iSpring SDK -[URL] Option #1 is looking like it will be cost prohibitive based on initial conversations with the vendor (i.e. no price listed on web site). Option #2 seems non-ideal as it will require installing additional dependencies of OpenOffice and X11. This seems like too much overhead for what should be an inline solution.

Everything else I could find was either written only for Microsoft .NET or was just a PowerPoint plugin exporter. Any other solutions out there that are being buried by Google SEO? Can someone, maybe, convince me that the overhead of Option #2 really ain't that bad?

Update: I should clarify that I'm not opposed to reliance on a native library as long as it will compile on CentOS or, preferably, has a yum package available. I should, also, clarify, that I'm not opposed to a "for pay" option within realms of reasonable.

View 2 Replies

Java :: Best Server Side Technology With Adobe Flex As UI

Oct 1, 2011

I am new to web technologies. I along with my friends want to develop a web application. There is one guy in our team who knows Flex technology. I would like to use Java Springs framework at the back end. The web application caters to students a Music school. And for the same reason we chose Flex for UI since the application needs to be flashy and rich in graphics.

The application allows students to create profiles and interact with the teacher. Eventually we want to add Online Music classes feature with online payment gateway integrated. Kindly guide me which are the suitable technologies to use at the back end. Also let me know if SpringFlex with BlazeDS integration is a good combination with Adobe Flex.

View 2 Replies

Java :: Sending Server Side Messages From BlazeDS To All Browsers

Oct 29, 2010

I've run into a bit of a wall with sending messages from BlazeDS on the server to Flex clients. I have my adapters and destinations set properly (I think) messaging-config.xml and my streaming channel setup in my services-config.xml files. The messages work beautifully in Safari (Mac and PC) but no other browsers.

[Code]...

I feel like things are setup correctly in the channel definition but, perhaps, some of those user-agent settings are off (I have played with their settings, to no avail thus far).

View 1 Replies

Java :: Flex : Get The Audio Stream On Server Side(tomcat)?

Nov 1, 2011

One of my web applications have developed in java and using tomcat server. Now I want add one more feature in my application that is peer to peer audio streaming. Actually I want that anyone speak (using microphone) on the client side and I will hear his voice on my server speakers and vice versa. Also save our communication in any file and also send the audio stream to IP intercom.

For that I am trying to use Flex Builder. Flex NetStream class is good for the streaming and we can also attached microphone. But the problem is on the server side. How can I get the audio stream on server side?

how can I get stream from server to client and vice versa?

View 1 Replies

Java :: Sending Server Side Messages From BlazeDS To All Browsers?

Nov 25, 2010

I've run into a bit of a wall with sending messages from BlazeDS on the server to Flex clients. I have my adapters and destinations set properly (I think) messaging-config.xml and my streaming channel setup in my services-config.xml files. The messages work beautifully in Safari (Mac and PC) but no other browsers. relevant Bits from messaging-config.xmlAdapter:Destination:

<destination id="FriendNotifierGateway">
<adapter ref="friendNotifierAdapter" />
<properties>

[code]......

View 0 Replies

Flash :: Send/load Data To/from Server Side?

Mar 26, 2011

How many possible ways to send/load data to/from server side data sources and what are the conditions of using each method.

View 2 Replies

Java :: Batch Several Remoting Calls Within A Single Transaction On Server-side?

May 5, 2011

I am looking the way to batch several remote calls from flex-based application to java-based server, so that they would be processed within a single transaction on the server-side.My idea is to build several services on server-side with setter/getter like operations:

interface MyService1 {
void setField1(long myEntity1Id, int field1Value);
void setField2(long myEntity1Id, int field2Value);

[code]......

View 1 Replies

Actionscript :: Call A Url From Code With Additional Data - Catch That On The Java Side?

Apr 12, 2010

I'm working on a flash game written in pure actionscript 3.0 in Flex. I've just finished implementing replays for the game, but want to store the top 10 hiscores' replay data on my google-app-engine'd website. I'm using Java for the app-engine stuff in Eclipse in java but I have no idea how to deal with communicating to my java code from my actionscript code. I'll need to both read and write from actionscript -> java -> datastore. Does anyone have any experience with this?

For note, I'm horribly noob with anything to do with web development. I hear you can pass arguments to a URL when calling it, comparable to command-line arguments on a desktop executable and if so then sending all the data as a large string would be doable... The question then would be how to call a url from AS3 code with additional data and then how to catch that on the java side.

View 1 Replies

Java :: Flex - BlazeDS And Class In WAR File - Implement Server Side Process?

Oct 26, 2009

I have a java class which has been deployed as WAR web application in a BlazeDS/Spring server sitting on JBOSS. Apart from the Flex application which will access the WAR file, I also need to start some server side process's which will initiate BlazeDS "pushes" to the Flex client via AMF messaging.

What is the best way to implement this server side process? - Should it just be a class with a main() method in the WAR file which gets called from the command line? Can this be done - not sure you can run a class in a WAR file from command line? - Should it just be a class with a main() method in a JAR file which gets called from the command line? Not sure what the standard practise here is. The key is that the process needs to be started on the BlazeDS server to push data out (not on the Flex client).

View 2 Replies

Java :: Encrypt Sqlite Db File With Server Side / So Flex / Air Client Can Read It?

Jan 23, 2012

We are trying to create a sqlite db file using java on the server, and encrypt it.Then we send the encrypted db file to a client's pc, which has an Adobe Air desktop app running.The air app then needs to be able to open/read-from the encrypted db file (client is read-only).We are using java 1.6, flex/actionscript 4.5, and Air 3.1.We can create the sqlite db file on the server and send it to the client, and it can be read by the client without issues, when we do not encrypt it.But we are having trouble with the encryption part. We've read quite a lot of documentation about Actionscript's ability to open encrypted sqlite files using AES + CCM (URL...).And we're trying to use java's crypto package to encrypt the sqlite db file.The encryption is important because we don't want the client to be able to open the sqlite db file with any sqlite browser, only with our Air application.

View 1 Replies

Process Flex/Flash SPEEX Audio Data On The Server Side?

May 4, 2011

I'm implementing a very simple audio-only RTMP server.I have my client code like this:

// get the default mic
var mic:Microphone= Microphone.getMicrophone();
// best quality (picks up all sounds, no transmission interruptions)[code].....

Then on the server, I keep receiving audio packets with size of either 43 bytes or 11 bytes (no other sizes found yet).My questions are:

Why do I get size of either 43 bytes or 11 bytes (from SPEEX encoding?)?

Is the 43 bytes = 1 head byte + 42 data bytes?

What is the size of 11 bytes?

How should I process or convert the SPEEX to raw data, so that my server side app can use this audio data? My current implementation:

I pick up all 43-byte packets (drop all 11-byte packets);

Skip the first 1 byte;

Decode the left 42 bytes using Speex library.

How should I convert the raw data back to SPEEX audio data?

View 1 Replies

Flex :: Download Files From The Server Side To Client Side Without Prompting A Window To The User To Download When Any Updates Happen At Server Side?

Dec 17, 2009

I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.

editCode sample taken from other post. Warning: it's a huuuge chunk o'code.

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"

[code]....

View 2 Replies

Java :: Send Objects From Flex To Servlet?

Dec 6, 2010

This is my method in actionscript

var urlVars : URLVariables = new URLVariables();
urlVars.myname = byteArr;
var urlReq : URLRequest = new URLRequest('MyServlet');

[Code].....

How do I recieve the byte array on servlet ?

Also the byteArr above comes from java side,

byte[] byteArr = aMethodWhichReturnsaPDFByteArray();
HttpServletResponse response = FlexContext.getHttpResponse();
ServletOutputStream os = null;

[Code].....

View 3 Replies

Flex :: Session Management With Java Servlet Using Httpservice

Jun 14, 2010

I am new to Flex. I am just wondering how to manage session and cookies for logging in, logging off in Flex? I am using Flex HttpService and Java servlet.

View 1 Replies

Java :: Send An Array Of Objects From Flex To Servlet?

Apr 29, 2011

I have a collection of Objects in an ArrayCollection in my flex page.

What is the best approach to send this data to a Java Servlet?

The object in the ArrayCollection is a VO that consists of an id and message for now. I want a solution that is scalable in case more properties are added later on.

View 1 Replies

Flash :: Flex Building An Application With Client Side And Server Side

Sep 3, 2011

I want to create an application that has these features

- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.

- At server side: Manage images used in client side, I can delete, add new images.

Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?

View 1 Replies

Php :: Accessing Server-side Data?

Dec 10, 2008

I am a Flex developer and now I have started learning the fundamentals of iOS, Objective-C, and accessing server-side data. Most of the Flex projects I do are mainly in accessing server-side data with Flex from .Net, Python, and Java since we all know data access in Flex is possible only via 3 ways: Http, Web-service, and Remote Object. Out of these 3, Remote Object is the most reliable, fast and handy.ion is, do we have remote object concept in iOS? I mean is there any interface (like blaze DS, weborb) available on the market forserializing/deserializing Objective-C object type to C#, Java, and python or vice versa?

View 57 Replies

Data Integration :: Execute A Server-side Script?

May 29, 2007

My problem is a little unusual. I have a perl script thatdoes this great job, but I want to make a flash interface for it.The thing is that I don't want the flash to load any new pages orpop-ups when executing the script and so looking as if the flash

View 2 Replies

Data Integration :: SendAndLoad() - How To Write The Server Side

Nov 1, 2006

i do not know how to write the server side .can someone tell me what should be the script?

View 1 Replies

ActionScript 2.0 :: Data Collection With No Server Side Action?

Nov 20, 2003

I want to make a form on my site to collect users' names and emails, but the site is being hosted at an institution that has no back-ending server side stuff. Is there any way that i can collect simple data without the host server doing anything? with the getUrl command?

View 7 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 Replies

Javascript :: Export JSON Data To CSV/Excel Without Any Interaction With The Server Side?

Nov 16, 2011

Is there anyway to export JSON data to CSV/Excel without any interaction with the server side? Using Javascript only? or Flash? I'm currently using ZeroClipboard to copy the value into the clipboard but I'd like to open directly the generated value into Excel from the browser (FF, Chrome, IE, etc...).

View 1 Replies

Java :: Check If Data Sent From Flex To Server Is Zipped Or Not

Aug 4, 2010

I want to analyse if the XML I send from my client Flex to my Java using remoteObject is compressed or not. for this, I'm using Wireshark, but it can't get packets in the localhost (windows vista)

View 2 Replies







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