Java - AMF/JAX-RS Some General, Some Enunciate-specific?

Nov 10, 2011

I'm completely new to Java. My task is to set up the client/server architecture for an upcoming Facebook game. On the server-side, I have:

[Code]...

View 1 Replies


Similar Posts:


ActionScript 2.0 :: General Code For MC's?

Sep 29, 2009

I have a flash doc with two MC's and two frames.In frame 1, the user can select one of the MC's, and in frame 2, he can move ONLY that MC.Is there a way to write a general code in frame 2 and not having to write an "IF" depending an extra variable I had to create?Because in the future I will have lots of MC's.Here is the little code I have and the link with the .fla

Frame 1

Quote:
stop();
extra_var = 0;[code].............

View 0 Replies

Professional :: General Feedback For Adobe

Nov 20, 2011

I'm sorry if this is the wrong place to post this, but I looked for a place to send general "feedback" and could not find one.I just wanted to let the management at Adobe know a couple things related to recent Public Relations blunders. Ever since the announcment that you were ending Flash Player for Mobile, I have had many conversations with people about this topic and there is SO much misinformation due to your announcement, it's going to tank Flash as a broader platform.

- Some think Flash doesn't work on Macs
 
- Some think the Flash player is cancelled on ALL platforms (PC included)

- Some think Flash in its entirety is coming to an end.
 
This perception seems to come from people of various levels of technical knowledge, from basic users where it's understandable they might be confused about the specifics of the recent news (but still not a good thing!) on up to key decision makers who don't know tech but are key to making certain spending decisions with regard to tech platforms (CEOs). This is a horrible place for Flash to be in right now and you need to quickly change the perception with a "Flash is alive and well" type of announcement.Remember, most people only retain sound bites and a few words from headlines. You may have announced "Adobe ends Flash Player for Mobile" originally, but what people retained was "Adobe ends Flash Player". You need to make a new announcement that the short attention span people will come away from with knowledge that all is well. "Flash not dead" for example.Man, whoever plans your PR needs to be fired. You could have killed off the Mobile player back before the MAX conference and then followed up with the news about Flash Player 11 and Stage 3D. That would have a perfect one-two punch, but instead you reversed it and all the excitement from FP11 @ MAX was blown away.

View 3 Replies

ActionScript 3.0 :: Align Objects In General?

Jun 4, 2010

Here I aligned Left Center...

How to generalise?

I have created three movieclips." image","crop","fixedPoint"

I am rotating the image 0,90,180,270,360..

image always align with fixed point.

ActionScript Code:
import flash.geom.Rectangle;
function alignObject()
{

[Code]....

View 4 Replies

ActionScript 3.0 :: TextArea Vs TextField - What Is Better In General

Oct 3, 2010

I was just wondering, what is better in general? Having a TextArea component or just use a TextField with a scrollbar component over it? What consumes less memory? What is the implications of using a TextArea? Why use a TextArea over a TextField? I'm currently trying to deal with memory leaks and maintenance over time in my flash application, so every byte I save means a lot

View 1 Replies

ActionScript 3.0 :: General Query About Text Editors

Sep 17, 2009

i have a few problems that i have stumbled apon and i'm using Learning Actionsript 3.0 book to help me, but i am using FlashDevelop as my chosen editor for learning rather than Flash IDE editor, is it OK for me to upload my FlashDevelop projects for people to see and help? because like i said i'm using it for my AS 3.0 learning.Do many of you use FlashDevelop for your AS 3.0 code?

View 2 Replies

ActionScript 3.0 :: General Bitmap Depth / Index

Feb 4, 2012

I was wondering what's the best way to manage an images depth. Currently I have 2 layers. On the top layer I have a png image of a window. The inside of the window frame is transparent so you can see though it. On the bottom layer I have a png image of a background that you cannot see though. I used addChild(MyMovieClip); to put an image onto the stage. It is in front of the window. I used addChildAt(MyMovieClip, 0); and the image ended up behind the background. I used addChildAt(MyMovieClip, 1); and the image ended up in front of the window again.

[Code]..

View 1 Replies

Create General Popup That Can Have Many Different Types Of Dataproviders?

May 9, 2011

If I have a flex component that is a general popup, it's basically just a white popup that I pass an Array named "modules" to.[code]...

View 2 Replies

ActionScript 3.0 :: What Methodology Use In General When You Want To Make A Custom Class Object?

Jan 4, 2011

new to ActionScript 3 and while I'm trying to write as "clean" code as possible (creating various custom classes instead of everything in the document class for example), sometimes I stumble upon behaviors that would not arise if I had put everything in the same place.I have a project which involves fireworks which is working fine, but I'd like to add a smoke trail to the rockets (a custom class rocket object) and so far I can't get it done.

So I will ask my question first: what methodology do you use in general when you want to make a custom class object leave a trail of particles behind it? Do you include the trail generation in the class? in a separate class? on the document class?what I've been doing (and what I feel is the "cleanest" and most reusable way to do it) is to put the trail generation in the custom class rocket object. This object is just composed of some graphics and the function that generates the particles(which are another custom class).The actual handling of the firing and the movement of the rocket is done by the document class.So the problem I'm having is that when I generate a particle on a frame, if I add it to the rocket object, it follows it (local coordinates), and if I add it to the stage then I can't remove it from within the rocket object...

View 4 Replies

ActionScript 3.0 :: Calling Random Functions And General Game Queries?

Jul 24, 2011

I am currently making a game with Flash CS5 and AS3... namely Tetris I have created my main menu and the objects and so on and have a few questions
 
1) How do I quit the game should a player press the quit button?

2) How do I get a button (Z and X) to rotate an object whilst the object is moving downwards (it is moving downwards using the timer function)?

3) How do I get the object to stop once it reaches the bottom of the screen? (im thinking something along the line of the hit detect but havent had much luck)

4) Any ideas on how to get flash to detect if a line is complete and therefore delete it? (it needs to segment blocks off the graphic)

5) My final and most important question (the bit im working on at the minute) how do i get flash to call random functions so that random tetrominoes appear on screen so that the game is different everytime and the blocks are random as the player plays)

View 2 Replies

ActionScript 2.0 :: Image Start To Flicker And Cause The General Movement To Slow Down

Jan 6, 2010

I have an awkward problem with a carousel I have built. When the images are scaled down to give the 3d 'flipping' effect, they start to flicker and cause the general movement to slow down. Someone mentioned cacheAsBitmap.. .

View 3 Replies

ActionScript 3.0 :: Flash General Error And Exception Handling Function?

Jun 8, 2010

Is there a way to handle errors and exceptions in AS3 as one would do so using `set_error_handler` and `set_exception_handler` in PHP?

View 4 Replies

ActionScript 3.0 :: General Flash Security: Validating Events Online?

Jun 16, 2010

Given the nearly plain-text nature of Flash, from a security standpoint, we must assume that your SWF can be decompiled into human readable format. That said, how can we ensure the validity of any online calls? For example, recording a high score might make a call similar to this:

Code:
var url:String = "http://someserver.com/tracker/scoreTable.aspx?mode=record&score=" + _userScore + "&checksum=" + MD5.hash( /* stuff */);
var loader:URLLoader = new URLLoader( );
loader.load( new URLRequest( url ) );

You can do all the MD5 hash checking to make sure the data received matches what was sent, but how can you verify the validity of the call? For instance, one could decompile the SWF and figure out how to build the query string manually, or they could reverse engineer it from monitoring the internet calls from the SWF itself. They could even use a run-time memory editor to change the figures that store the information while playing the game, so that when the recordHighScore call is made, it sends 1,000,000 instead of 1,000. How does one authoritatively validate data and protect against abuse?

View 3 Replies

Flex :: Databinding Array To Canvas As Objects General Client Architecture?

May 27, 2009

I have creating a distributed note taking application in flex, it basically is a notepad I can keep in my desktop tray. When I add notes and goes back to a server and saves it in a database.

To am struggling to design the application correctly, I want to have a Syncing service that polls the webserver for changes and updates an Array of Note objects. The problem is that my note corresponds mxml component, aka SingleNote component. There are four different cases when being, a. a note is updated from the server poll, in that case I want to singlenote to update the settings b. a note is added to the array from the server, in that case a new SingleNote needs to be created c. a SingleNote is added from client, in that case a Note is added to array, and sent back to server d. a SingleNote is change from client, in that case the Note is updated in the array and sent back to server

The properties are SingleNote(Width, X, Y, Text).

View 1 Replies

Media Server :: General Hardware Guidelines For Customers To Hear Permission-based Audio Stream

Oct 19, 2009

We're running a permission-based audio stream to be amplified through in-store sound systems, but are unsure about basic hardware requirements. What basic features must all hardware have to log into our server via username/password and receive audio signal?

View 4 Replies

Java :: Convert Byte Array From Action Script To Image In Java And Save It

Jun 25, 2010

I am a .NET Developer, but the question I am having is not related to .NETPlease keep this in mind even if my question sounds very trivial.This is my question:We have an swf in the browser, which communicates with a java extensionIts done using Smartfox Server(Used for MMO apllications)From the swf we are grabbing a portion of the screen as "Byte Array" in action script(3).And in Java, we are calling a function that converts the ByteArray to Image and then saves it.ur Java developer is encountering the errorSo basically, what I would like to know is this:How to accept the object type Byte Array from ActionScript in Java?Whats Java object type that is mapped to Byte Array in ActionScript?The conversion part is easy, I dare say. code in the ActionScript Section

public function savePhoto(uName:String, ba:ByteArray, descr:String):void{
var obj:Object = {};
obj.arr = ba;

[code]....

View 3 Replies

Java :: Flex - Max Upload File Size For Java Using Remote Object (BlazDS)?

Jul 16, 2010

I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE.

View 1 Replies

Java :: Flex - Unable To Send MIDI File Name To Java To Playback Music?

Oct 27, 2010

I could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error.

[Code]...

View 1 Replies

Java :: Typical Development Workflow/process Developing With Weborb For Java With Flex?

Sep 15, 2011

Meaning specifically, what steps do you go through when creating a new application using these tools?

View 1 Replies

Java :: Migrating Existing Java And Flash Applications To Android (Google TV)?

Aug 9, 2011

I have a client-server multigame suite for PC ("kind of" cross-platform using cygwin), which is developed in Java(game menus and database management), C++ (server side), and adobe Flash (game graphics & interaction).

I have never tried to develop for android, so i have no experience.I am thinking of migrating this suite to google TV. So i would like someone with android experience to give a clue on the following :

1) Is it going to be easy to migrate the Java application to an Android application?

2) What kind of Flash support does Android have? Can it load directly swf applications? Does it have to load swf's through browser?

3) Can i find any kind of performance indexes for google TV hardware?

View 1 Replies

Java :: Load External Page HTML Via Javascript Or Flash Or Java?

Nov 13, 2011

I need to load somehow the html code of a webpage A into a javascript string of another webpage B, on a different host. I know this is impossible to do with javascript alone because of the same origin policy, and I know I could do it loading the page via php on my server and then send results back to the user's client but I wouldn't be able to handle so many requests, so I need it to be done directly by the user's browser. I can use nearly whatever browser scripting language/applet framework common enough to be installed on the majority of my users' computers, like flash and java.On example, what if I use flash or java to load the external html code and then call a javascript callback function providing the source? Could this work?

View 2 Replies

ActionScript :: Java - Flex ArrayCollection Of Number Objects To Java Collection<Long> Using BlazeDS

Mar 24, 2010

I am using Flex 3 and make a call through a RemoteObject to a Java 1.6 method and exposed with BlazeDS and Spring 2.5.5 Integration over a SecureAMFChannel. The ActionScript is as follows (this code is an example of the real thing which is on a separate dev network);

[Code]...

View 2 Replies

Java :: Any Opensource Alternative To Squish To Test Flash / Silverlight / Java Applet Gui Objects?

Jun 3, 2011

If one doesn't have the source code, the only to test is to send keystroke and mouse move so I found this product but it's not free and opensource price is not even known :([URL] Squish supports automating interactions and testing non-HTML/DOM elements, that is, native objects, which are embedded in a web page. This is done at a fairly abstract level, which means that mouse and text input can be recorded and replayed.

In addition it is possible to inspect embedded native objects with the Spy tool and to insert verifications for these native objects. All of a native object's public properties can be accessed in test scripts.

View 2 Replies

Java :: Web Multiplayer Game In FLEX And Java - Build The Server Clients Managing System?

Aug 4, 2011

I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.

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

AS3.0 :: Java - Flex - ArrayList Of Custom Java Objects Over BlazeDS

Dec 7, 2010

Right away i just try to explain my problem: Using BlazeDS i got the following Javaclasses:

[Code]...

Then i got a Flex service class calling BlazeDS and executing the getCategories java method. Since Flash dosn't seem to understand typed arrays, the result from that method which i get back in flex is a simple array of untyped objects (the mapping dosn't seem to work here, even tought the class category exists in flex and has the same properties).
thats the first thing. but however, i'm converting the untyped objects manually into objects of the category.as class. the second thing is that categories have child-categories within the java object, which are also ArrayLists of the type category.java. the problem about that: my result event object only contains the first level of categories, looking into them the children are allways null. i dunno why they are empty, since they ARE part of the java object category.

and the third thing (the strangest by fast), you maybe noticed i named the properties of the category.java class strange, like idCat and nameTest instead of simply id and name. why that? because the property names of my flex result objects dont seem to change when i change the java objects properties names (result object properties are named "id" and "name" but the java class object properties are named "idCAT" and "nameTEST"). that it REALLY strange, since if i set the properties, like you see at nameTEST = "TESTNAME" it IS recogniced by flex, only the proertyNAMES dont seem to be recognized at all.

[Code]...

View 4 Replies

Java :: Flex - Create .swf In Java By Using 'ant' File & .mxml?

Apr 11, 2012

I am newer with flex technology.I am creating a chart using ant file & .mxml in eclipse my 'ant' file executes properly but it gives following error when i opens a .swf file which is created auomatically:

Flex Error #1002: Flash Player 9.0.115 and above is required to support signed RSLs. Problem occurred when trying to load the RSL

[Code]...

View 1 Replies

Java :: Handle Custom Java Exception In Flex App?

Mar 18, 2010

we are using BlazeDS as a proxy between Flex and Java. The approach is the same as in

[Code]...

View 3 Replies

Java :: Implement A Web App With Blazeds+java+flex+tomcat?

Mar 23, 2010

I'm coding a web app in flex blazeds and Java. I installed the Eclipse plugins for using WTP mixed project. I'm using flex's server that uses an emulate of tomcat when i ran my flex service the web app got the datas, everythings is ok. the problem is when i copy the project with all files generated by flex in my tomcat or the blazeds's tomcat, it doesn't work, this is becasue i want to implement my app on a server the error is:[code]
i don't know why tomcat doesn't find the class of flex.messaging.endpoints.AMFEndpoint that is used for my-amf 'URL...'. all works well in the emulated server that flex has.

View 4 Replies

Java :: Adding Two Num Flex 3.0 As Front End And Java As Back End?

May 24, 2010

i hava two text boxs in flex.have to add two txt boxs values in back end java and have to return back to third text box in flex.

View 1 Replies







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