Flash :: Flex - Embedding A UI In A Java Application
Oct 10, 2010
What's out there that lets you do this? Are there any OSS projects or maybe something a little more popular than this:[URL]? This does exactly what I'm suggesting (i.e. cuts out the need for Swing UI for the most part) but for a number of reasons I'd be interested in any better alternatives. alternatives would need to support the Flex SDK.
View 3 Replies
Similar Posts:
Mar 23, 2011
I have one font(VinylRegular). This font has extensions (like .ttf, .otf) of PostScript Type 1 outline font. How do I embed such fonts into a Flex application?
View 1 Replies
Dec 21, 2010
I use the images in the tooltips. Images are on the server. I'm using the code:
var tip1:String;
tip1 = "<img src='assets/images/yes.jpg' align='center' width='150' height='150' hspace='3' vspace='3'/>";
tip1 += 'some text';
yes.toolTip = tip1;
But many of images are more than 100 kb, then the image in the tooltip appear with some delay. Is it possible to embed all the pictures during loading swf, to appear at once with the text when the mouse over?
View 2 Replies
Nov 2, 2010
Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).
View 4 Replies
Oct 20, 2009
I'm just learning about Flex and I'm loving it. Unfortunatly I still have to make the decision on which RIA technology to use and its dependent on, among other things, from the following case: How can we wrap a java applet around a Flex application? More specifically, I would like to wrap/integrate NASA's World Wind applet in a Flex panel, similar to what Adrew Trice did with the Google Earth API.
An alternative would be id Flex would support direct access to the 3D hardware through OpenGL or DirectX. But I do not think that that is the case yet, not even through AIR.
View 2 Replies
Aug 14, 2009
Need to execute an external EXE from either a Java web app (running on Glassfish on Windows Server) or from an Flex/AIR desktop app.
View 2 Replies
Feb 24, 2010
What's the best way to secure a Flex-BlazeDS application? I've googled it an several solutions came up.UPDATE after question from jsight:Flex would login, so on the RemoteObject I'll set Credentials I don't know if there comes authentication and authorization with BlazeDS (WebORB for instance does and WebORB looked at BlazeDS for their product) SSL not needed 've seen some links on the internet talking about spring security, so I'll check that out.
View 1 Replies
Mar 23, 2010
I developed an application using flex+java+blazeds with tomcat that provide flex enviroment.I want to deploy my application using tomcat but I can't, how can I deploy my app?
View 2 Replies
Feb 10, 2012
i want to know if it is possible to create GUI for java desktop based application in Adobe FLEX.
or any other powerful framework to make rich GUI interfaces for Java desktop applications.
View 1 Replies
Mar 23, 2010
[URL]
I am using the same java server given there. and I am creating the XmlSocket in a flex air application. When I run my air application I get a java.net.SocketException connection reset at the java server.
Both are stand alone applications on my desktop.
Flex Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init()">
[Code].....
View 1 Replies
Dec 21, 2010
I am struggling to come up with a way to efficiently manage Flex entities that have a many-to-many relationships between their JPA/Java counter parts.[code]Both of these entities can exist independently of each other and both have a 1:M relationship with the other. The relationship is not really owned by one side or the other.Within the application there are Flex UI's that sometimes want to see viewers based on movies and other UI's that want to see movies based on viewers.Currently both the Movies.Viewers and Viewers.Movies collections are lazy loaded by JPA which works fine. The problem is that every time I ask a viewer for it's list of movies, then they all get sent over the wire and then within Flex I end up with a bunch of Movie objects that (often, not always) duplicate the ones I already have there.
It seems inefficient at best and could likely cause errors if the duplicate objects are not dealt with.In my real application I have tons of these types of relationships all over some very large object graphs.It almost seems to me that the lazy loaded object collections need to be turned into eagerly loaded collections of foreign keys which are used to explicitly load objects on the Flex side of things. But this seems like I am writing a JPA provider in Flex! Is the correct answer to never store state in a Flex application? (Yikes)I should add that all my value objects have a UID that is created on the server side, so I could somehow use that to find/remove duplicates on the Flex side. But how?
View 2 Replies
Jan 30, 2011
I have a great idea and I want to build a flex application around a .jar file. Is there a way I can go by embedding a jar file into the flex application?
View 1 Replies
Apr 19, 2011
Currently we are in the design phase of an application that will allow two users to communicate with each other using chat and video (with audio), the application is a web application that currently is a java web app with Spring and hibernate, but we want to incorporate video and chat between two users and we are evaluating the options to developing it, so far we have two choices, either develop a Flex UI that leverages its video and chatting capabilities through Red5 or something like that and communicates with the Spring app using BlazeDS or a completely java based approach using (maybe) JMF and/or applets to achieve the video and chat interaction. The question is, which would be the most scalable approach to develop such an application?, what would be the approach that is the least intrusive from the end user perspective?
View 2 Replies
Dec 20, 2011
I don't know really well the diference between AIR and FLEX, i do with Java tought, My question is that I want to build an application to run in local mode, but maybe in the future I want it to be available trought the web, The basic sequence diagram is the following: So I want the client to connect to a server for login information, and for storing some data, and I don't know wich one of the three technologies is the best..
View 2 Replies
Sep 7, 2010
I know it is possible to develop a full flex application using AIR for android but what I need is to embed a flex component into an already existing classic java android application.
I found some flash players in java but they all either require a JFrame or include of specific windows dlls.
View 2 Replies
Dec 10, 2010
I am looking for an approach that will allow me to (somehow) dynamically pass the server name, server port, and web context to my Flex client so it can create a ChannelSet for it's RemoteObjects to use. These three properties are, of course, readily available to my Java server-side code so I just need a way to get them to the client.
By default, Adobe says you should compile your Flex application against the server configuration file "services-config.xml". This is a highly inflexible practice that Spring says should be avoided (I agree).
One popular approach is to use Flex's http service to download an XML configuration file. I like this idea, but I don't want to hard-code an XML file and keep it inside my WAR file. Is there a way to dynamically generate this from Java code?somehow use flashvars to pass the properties in from the containing HTML page to the SWF file. But again, I don't want to hard code them into the HTML page. Is there a way (maybe with Javascript?) to dynamically set the value of these when the page loads?
View 1 Replies
Feb 10, 2011
I have an Application consisting of a Java Server part and a Flash/Flex client, both communicate via BlazeDS. In order to have the same typed Objects on both sites, I use the GAS3 code generator (used by flex-mojos).But now I am facing the problem of handling nullable Integers. The problem is that I have an Object (A) which contains a foreign key ID which is reference an optional Object B. - But I only send the ID to the flex client.On the Java site it is easy:
class A {
private Integer bFk;
getter/setter
}
But on the flex client side, bFk is of type int. And a Flash int can not be null. So the remoting mechanism converts the Java null Integer to 0. After sending it back to the server, the Java bFk becomes 0 even on the Java side. - That is not acceptable, because I need to separate 0 and nullMy first workround is using not a Integer on the Java side, but an new Class NullAbleID, which works a bit like a wrapper/adapter, that wrap an internal int where -1 represent null (I can use -1 for null, because real id will be negative). But when I would using this it means I have to replace all Java Integer ids, by this NullAbleID class.
View 1 Replies
May 22, 2011
I have two applications: a client in flex and a server in Java. When I deploying the application inside flex builder with the tomcat server inside as well, everything works fine. But now I'm trying to deploy in apache tomcat outside the flex/eclipse builder and I have a problem.I think the problem is with relative/absolute paths but I do not know how to resolve it.In my Java application I have to access a database and a get a file from it. I use a properties to set a path where I want to download that files like this:pacs.ruta=C:\resources\And then I need to access to that file so in use this code:fin = new FileInputStream(pacsRuta+""+f.getName());where f.getName() gives me the name of the file so I get the path of the file with the path I set in pacs.ruta and the files name.
I do not know why it does not work. I tried to put pacs.ruta=/resources/to associate with a folder in my application but It does not work.Could someone give me an advice? Do you think it is the problem? Because the whole application works fine deploying in a tomcat server outside the flex/eclipse builder but when this code is called the application does not work.
View 2 Replies
Nov 22, 2011
I would like to learn Adobe Flex mobile development.I have created a new project called SampleProject, then I got SampleProject.mxml in default package and SampleProjectHomeView.mxml.[code]How can I call the add and sub methods from the class above in SampleProjectHomeView.mxml?
View 1 Replies
Nov 11, 2010
I'm programming Rich web applications with Flex and Java on Flex Builder 3 using blazeDS and SharedObjects.Now I need that my program will use configuration file.so, I need that my Java class will read it at the first time but the default path of java to read and write files is c:program filesFlex Builder 3 and not my application directory inside the tomcat webapps directory How can I read the config file from the java class without write the path hardcoded in the java?
View 1 Replies
Feb 8, 2010
I need to develop the HTTPS application using Flex and Java. But i have idea about remote objects or HTTPServices. which one is the best for developing HTTPS application.
View 1 Replies
May 28, 2010
I started a project a while back using the following architecture from Adobe Developer Article talking about Creating marketing platforms in Flex. I did my first set of coding locally forgetting that my server did not handle Tomcat. So I said okay, and cut some corners and then some other limitation came up and I cut some more corners. Eventually for a good week or two, it was trying to get the project working with making the ends meet. Layers started to merge.
In the end I used a
PureMVC (Presentation/Client) -> ZendAMF (Communication) -> MySql (Data) Layout.
It worked but I never felt as though I had some layer just to take care of all the SQL calls to the data.It just felt hacked together
So should I keep the above setup and just start from the presentation layer and move downwards like they said in the article or is there a better layering (based on a hosting plan that does not handle Java) I could accomplish ?
UPDATE: My current hosting plan - [URL]
View 1 Replies
Jan 12, 2012
I've programmed a Java application using BlazeDS and Flex, but i think the problem also occurs in any ajax style application. It's a monitoring application, so requests are made regularly to the server. The browser has stored a large amount of temporary internet files on the client pc even getting it saturated. How I can avoid this? I have seen some articles that say to include variables in the html header as:
[Code]...
View 1 Replies
Jan 25, 2012
I am working on a server push from Java to Flex. But some how the MessageBrokerServlet is not getting initialized, seems like it is calling a method from: flex.messaging.config.LoginCommandSettings.setMatch() Eventually I found out that this method indeed does not exist in that class (LoginCommandSettings). I there something else that is going wrong?
[Code]....
View 1 Replies
Aug 1, 2011
if I'm able to load a swf that is already embeded in a website into a new AIR/FLASH application. I'm trying to do a screensaver mode when there is no mouse activities in configurator.swf. Is this possible?
For example: I have a website that has a swf loaded in it, and I want to load that swf file in another of my AIR/FLASH application. The website link is [URL] (this link is just an example, it will not work). configurator.swf is the swf file that is embeded in the webpage. The SWF file will communicate with a server to retrieve the latest information. And I want to load the swf that is in the website link to an AIR/FLASH application that I'm going to create now...
Can I embed the swf into an AIR/FLASH application? If I can, should I use AIR or FLASH projector? If not, are there any workaround?
View 6 Replies
Oct 23, 2009
I made a simple game and a simple scoring system. Player writes his/her name first then plays the game and gets the score. Score and name are variables and writes on the screen at the end of the game.The problem is ; i have to keep names and scores for every player who plays the game. I can save it with php or mysql but i have to do it offline ! The game will be played on computers without internet connection.I googled about my problem and get some answers about sharedObjects but all the samples i've found are so complex.
1. Is there any possible way to run php codes embedding in flash application ? ( maybe in a third party software ? ) or is there any "simple" way to save scores and names ?
2. I'm sending my php codes i'm using to write and read in flash. Is there a actionscript version of these codes ?
3. I'm using DataGrid for displaying scores and a php file as data source. Is there a way to use a txt file for data source ??
View 8 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
Nov 13, 2011
I am trying to develop one simple application using Java, Flex and Blazeds. I am using Flash builder 4.5, blazeds 4 and JBoss 6.I have created 'Dynamic Web' application in Eclipse, added blazeds related file in WEB-INF/lib and in WEB-INF/flex folder. I have deployed this web application in JBoss using Eclipse, so this application is getting deployed in war file.Then I tried to create new 'Flex Project' using flash builder 4.5 and I am stuck in 2nd step where we have to configure Root Folder, Root URL and Context Root.As my java web application is deployed in war, there's no folder to which I can set Root Folder.
View 1 Replies
Jan 9, 2012
I'm trying to get data from a website, but first I need to log in to the site using java. The script worked until now, but now the site installed an anti bot system. Until now the procedure was simple, I've created a HttpStreamWriter and submitted my details to the login.php page, then get the cookies and later, when I want to get data from the site, I resubmit the cookie from the login.php page, but now there is a problem: an anti bot system: I'm not sure, but I think this is the system: [URL] The anti bot system creates a cookie, called anti-bot and I can't access the page without that cookie, the problem is that the cookie is generated by a flash application only after the page loads so I can't get the cookie from the page?
View 1 Replies
Aug 15, 2011
I'm starting to localize my flash application.I'm trying to see if there is a way to rollback on default operating system fonts for languages like japanese so I don't have to embed them.So far I didn't find anything online.I'm currently using css to define the font family like :
@font-face
{
fontFamily: "Tuffy Regular";
src:url("/assets/fonts/Tuffy-Regular.ttf");
embedAsCFF: true;
}
View 1 Replies