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


Similar Posts:


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

Flash :: Put Single Try Catch Code, In Order To Catch Any Errors In Whole Class?

Aug 11, 2010

In Flash AS3 i wanna write the single try catch block in order to catch any errors in whole class. For ex, i have a lot of functions in myClass.as. I don'w wanna write in each function try catch blocks in order to catch errors in this function. Is there any methods to do this?

View 2 Replies

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

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

Java :: BlazeDS - Catch SecurityExceptions And Display An Error Page If The User Was Trying To Do Something

Jan 4, 2010

I'm trying to write a Flex client that interacts with a Spring-Flex java application. I would like to catch (the flex equivalent of) SecurityExceptions and Display an error page if the user was trying to do something they aren't allowed to dox op up a login box if the user wasn't logged in According to the Spring-Flex docs,

[Code]....

View 2 Replies

Java :: Performance - Code Doesnot(only Sometimes) Compiles In Java+flex (+ BlazeDS+Tomcat ) Combined Project.a

Aug 13, 2010

i am working on a flex+java combined project.My IDE and computer configuration is as follows:

[Code]...

When i make a small change in Flex code (eg, reposition of a button...anything), and run the project on server, it does make any change on output. Actually it depends on my luck... because it makes change in output randomly.what is is happening? tried rebuild, republish, clean , restart server, restarting the IDE, restarting the computer all available feature i could think. Also, i created a simple flex project on IDE and compiled it..... everything is compiled and displayed on output.

View 2 Replies

ActionScript 3.0 :: Event Dispatch With Some Additional Data

Mar 26, 2011

I have a question about eventDispatching. Now, I know how to dispatch them, and I've also grasped a minimum of custom events, enough to create one from template at least. So, say I would like to dispatch an event with some additional data, I could create a custom event class and let the event take the data objects as a parameter. But I find it a bit cumbersome to do this every time I want to dispatch data, since it results in new custom event classes. The other method I know of to get the data is to simply use the currentTarget property of the event. So if I have a getId() method for instance, I could call e.currentTarget.getId(). Now, while this works, I wonder, is it considered bad practice, and if it is, whats the right way to do it?

View 4 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

Data Binding - Flex Additional Label In ButtonBarButton?

Dec 5, 2011

I'm trying to extend ButtonBarButton to include an additional label that shows the number of updates for the respective box in a viewstack (which is the tabbar's dataProvider).

I can get the additional label (named indicatorLabel) to read an initial value from data, but I can't get it to update automatically like the actual "label" attribute. My understanding was that you could bind to the data object, but that doesn't appear to be the case.

[Code]...

View 1 Replies

AS :: Flash - Send Additional Information While Posting Video Data?

Jan 20, 2011

I'm now saving the snapshot this way:

vidBmpHolder.draw(main.media.videoLocal);
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(vidBmpHolder);

[code].....

View 2 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

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 :: Client-side Framework For Web-app With Good Audio Support?

Mar 26, 2010

I'm trying to create a client-side web app that generates music procedurally using some user-input parameters, so I'm looking for a framework (e.g. Flash, Silverlight etc.) that has the capability to play audio at a specified pitch. Whether it is playing a WAV/MP3 file, using MIDI output, or just playing beeps doesn't really matter -- I just need something that will enable me to generate arbitrary music client-side.

I've done a bit of searching and it appears that Flash might have the ability to change pitch with the help of a third-part plugin, but I couldn't find anything similar for Silverlight.

View 1 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 :: 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 :: 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

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

Actionscript 3.0 :: Remoting Call Throws Code=NetConnection.Call.BadVersion Error

Sep 27, 2009

I'm trying to get the AS3 Flash remoting example found here: [URL]. and I keep getting this error: Code: Select allError #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion at amfphp1_fla::MainTimeline/frame1() Here's the code I'm trying:

[Code]....

View 1 Replies

Flex :: Call A Function In It From Php Side Of AMFPHP?

Aug 26, 2011

Is it possible to call a function in flex from the php side of AMFPHP?

For instance, and error is thrown in php, can i "listen" for it in the flex app?

View 1 Replies

Flash :: FMS Server-side Code Not Executing?

Jan 12, 2012

I'm trying to create a RTMP Streaming application but I can't seem to get the server-side code to run. I've checked the logs on RootInstaller/logs/test, but nothing inside it. I am running everything locally also.Here's what I have:

ActionScript3 file

public function btnConnectHandler(event:MouseEvent):void
{
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);[code].....

View 1 Replies

Javascript :: Browser Side Code Editor Component?

May 5, 2010

do you know any browser-side component, in HTML/Javascript, Flash, Applet or Silverlight, that would allow source code edition with syntax highlighting and auto-completion.

CodeMirror has a good syntax highlighting support but does not seem to support auto-completion.If no such editor exists do you know any way to implement auto-completion using HTML and javascript or any other browser-side technology ?

View 1 Replies

ActionScript 1/2 :: How To Call Java In Flash

Feb 4, 2010

how can I run this below java script calendar¯ code in my flash project?[code]

View 3 Replies

Java :: How To Call ID Of Component In AS Class

Jul 27, 2009

I have a class with a method name, and now I have a Flex MXML... how would I call the id of the component in my ActionScript class...

View 1 Replies

Java :: Internal Microphone Call?

Jan 18, 2011

How do you call the microphone built into a computer to turn on when a user visits a site? I've heard that there a number of different ways to do so, but I'd like some advice on the best way.

To provide a meta-level view, I'm planning on having the mic pick up noise and display it as a graphic equalizer (of sorts) but not record it.

View 3 Replies

ActionScript 3.0 :: How To Call Java Function

Jul 22, 2010

how to call java function by as3.

View 4 Replies







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