Java :: Access GWT Functions From Flex Widget?
Jun 29, 2011
I want to develop a GWT javascript application that must interact with a flex widget and fire events from 2 directions (flex to GWT and GWT to flex)For example I develop a function in GWT called onWidgetSelected(int widgetID){ ...} the generated javascript code does not contain the name of this function. So If I want to invoke it from flex through javascript call what should I do ?
View 2 Replies
Similar Posts:
Apr 25, 2009
I am trying to embed this widget INTO a flash file. I am not a coder, though I know some basics. Here is the embed:[code]
View 1 Replies
Jul 13, 2011
I have an Adobe Flex application that needs to call C++ functions from a dll .Since Flex apps execute within the browser, is there any way to do this ?
View 3 Replies
Dec 29, 2009
We're trying to upload a file from a flex client to a JEE app.
In a full HTTPS environment
JEE server is JBoss 5
Using BlazeDS 'Custom' authentication (username and password are entered through a flex form)
Using BlazeDS per session authentication
In regular AMF calls, we can access user principal and use role mechanism. However, in our upload servlet, we have no access to user principal.
request.getUserPrincipal() // returns null
View 2 Replies
Nov 5, 2009
I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong
[Code]...
View 2 Replies
Jun 28, 2011
I have created a custom Flex widget by extending UIComponent that I call FlexMapBuilderWidget. I have overriden the various UIComponent methods for measurement, children, display list, etc.
I used this widget to replace a plain old Sprite so that I could add some layout based functionality. When the Sprite was there, I was able to get scrollbars using:
Code:
<s:Scroller width="100%" height="100%">
<s:Group width="100%" height="100%" clipAndEnableScrolling="true">
<gapView:MapBuilderWidget id="mapDisplay" />
[Code]....
I have done test output to check the reported size of the FlexMapBuilderWidget in its measure() and updateDisplayList() methods, the size is always reported as a large enough number to require scrollbars.
View 3 Replies
May 22, 2009
One of the great features of CFCs is the ability to reuse the code for both a straight .cfm page and for Flex apps.
One such app that I devleoped uses Flex for its charting capabilities and needs access to a 'getResults()' function in the cfc.
All of this content is behind an authentication mechanism, but since the cfc will open itself up to a wsdl request:
[URL]
and will actually return the results to the browser if the URL query is crafted properly:
[URL]
What techniques have people used to protect the cfc from direct access UNLESS the request is coming directly from the CFML processor OR from Flex Remoting?
View 5 Replies
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
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
Sep 15, 2011
Meaning specifically, what steps do you go through when creating a new application using these tools?
View 1 Replies
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
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
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
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
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
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
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
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
Jul 16, 2010
Assume I have the following java class public class Square {
[Code]...
Inside an actionscript class, using RemoteObject, I invoke the java method SquareDAO.findById(Long id) an I get an Object with the following: But I don't get the area. How can I invoke the method getArea() ?
View 1 Replies
Dec 27, 2009
There are many dynamic languages that target Sun's JVM (Groovy, Scala, Jython, Jruby etc) and I was sure there are many that target Adobe's AVM as well. But I was surprised to find only haXe do something similiar. related question on this site
I think the eclipse e4 SWT project doesn't compile to ABC (ActionScript Byte Code) directly, but first converts Java to AS3 and then the Flex compilter does the rest.Could it be that no one yet wrote a simple Java / Python / Scala AVM2 compiler that can be used as an alternative to the proprietary Adobe Flash Builder (formerly Flex Builder)?I don't mind paying Adobe for a fine producy, but writing Java in eclipse is so much faster and convinent than the half baked adobe plugin suite. are there really no efforts other than haXe?
View 3 Replies
Apr 19, 2011
I have to access jsp variable in mxml file... or how to access jsp variable in java file...
View 1 Replies
Sep 23, 2011
Flash is great tool for animations. I was wondering if I could send events to Java and receive results back. In other words call some functions in flash and get their results.
View 2 Replies
May 18, 2011
Is it possible to access a movieclip inside an external swf (.fla file), using data from a vector?
The following code works correctly:
this._graphics.message2_mc.textLabel_txt.text = "Test";
Where as when I loop through a vector and try to replace "message2_mc" it cannot find the movie clip:
for(var i:uint = 1; i <= this._playlistState.subMovieVector.length - 1; i++)
{
var movieName:String = this._playlistState.subMovieVector[i].movieName;
this._graphics.movieName.textLabel_txt.text = "Test";
}
Presumably this is because I am putting a string in the middle of the line of code accessing the movie clip?
View 1 Replies
Jun 6, 2011
What are the options (or is it possible at all) for a web page (running on a remote server, not localhost) to access a data stream (not video) coming in via the USB port of the local computer?
Ideally this would work cross-platform (Windows, Unix, Mac anyway) and the local computer would not have to download/install anything to make it work (beyond what you can reasonably expect a computer to have)
An embedded Java applet seems the only way, but I'm wondering if there's any other technologies that could do it. If the restriction is lifted so that the user can install something (basic for non-techies, not setting up a local server running node.js for example) does that make more things possible (Flash?)
View 2 Replies
Mar 28, 2012
how to access a shock-wave flash player which has the Content-Type: application/x-shockwave-flashits a request get so i am using GET method of HttpClient .any solution to access flash content through Httpclient?
View 1 Replies
Apr 16, 2011
[Code]...
with the code above how would you call the function clicker from the function clicker2? as with the code i have it comes up with the error "1084: Syntax error: expecting rightparen befor colon")
View 7 Replies
Jun 10, 2011
How can I access the Principal object in a Flex client that was returned by the doAuthenticate() method in the LoginCommand?
Adobe's LCDS Custom Authentication page isn't much help in this matter, as this is the only example they show for a successful login:
// Handle successful login.
private function LoginResultEvent(event:ResultEvent, token:Object=null):void {
switch(event.result) {
[Code].....
I can return a strongly typed object as the Principal from the doAuthenticate() method, but how do I access it in the client's result handler?
Update: I've read the LCDS documentation twice now and there is no mention of accessing the Principal in the client. The only data I can retrieve from a result is the string 'success'. Anyone know if this is this the only result available from a custom authentication?
View 1 Replies
Feb 13, 2011
Got a public funtion within lights.as file called turnLightsOn.
Now I need to access this from the time line actions - I need to place it within an oncompletion function.[code]...
HOW do I paste an example of my code on this forum? It would be best for folks to see all the code?
View 1 Replies
Aug 10, 2011
I have:Stage -> SWF Loader Root -> SWF Loader -> MovieClip -> Nested MC.From within "Nested MC": I can only access "SWF loaders root" time line, I can't seem to get access to the stage's functions..[code]Im trying to call on a function which resides on the main time line.Is there any way to access the main timeline?
View 1 Replies
Dec 13, 2011
I'm coding a small flash game, and wan't to access different functions between classes. In C# I'm used to just making it static, but I'm having some problems with it.Here goes:
Main.as
package
{
import Bus;[code].............
View 3 Replies