Flex :: Events - Integrate Flare3D Into Application?
Nov 22, 2011
I'm building an application with the Flex framework and the 3D graphics library Flare3D. I want to be able to embed my 3D scene into an MXML application and still have the mouse events dispatched to the 3D scene.
Here is my code:
- The MXML app:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code]....
The problem is that the 3D rendering is done by default in a "layer" that is behind the 2D layer (where we can put MXML components). By default, if we mix 3D and 2D elements, we can't see 3D elements. So I added backgroundAlpha="0". This solved the problem of showing the 3D view. But now I have another problem, I can't move the cube (which is the default behaviour) when I click on the scene and move the mouse. I understand that this is because the 3D view is behind the 2D view.
Is it possible to give the 3D view the focus for mouse events (when it's needed) ? Or is there a different way of doing what I want ? The only hack I figured out is to uncomment this //stage.getChildAt(0).visible = false; which make the 2D view invisible. But I want to mix 2D elements and 3D view, so it's not a solution.
View 2 Replies
Similar Posts:
Mar 17, 2012
How to integrate Skype link in Flex application ?
View 1 Replies
Mar 25, 2010
I've built a simple flash application that takes a user's photo/image, offers various effects and filters to play with. In the end, the application can write-out the resulting image to a PDF print file (to be purchased and sent to a printer).Currently I'm using PHP to template the web pages, with the Flash app embedded in the body of one of the pages.
I now need to integrate a shopping cart and check-out system, the idea being that the user can play with images, add various images to a shopping cart, at some point choose print sizes for each image, check-out and purchase etc. My app would attached the necessary print files, and email/submit the order to the printer.In researching the various cart systems out there like Zen-cart, Magento, osCommerce, etc.. these all seem to be full featured CMS systems, full websites, that you deploy, customize and skin, add products to etc... a "canned store". But in my case, I'm adding/creating the product at run-time. It's not a traditional store where you browse and select items.
At first glance its not clear to me how I would use one of these systems, how to integrate with my Flash app.... it seems I only want to make use of the shopping cart, customer database portion, payment transaction features.Is it possible to use one of these, using only the checkout and order management through a API? called from my Flash app? or processed via back-end PHP?
View 1 Replies
Feb 15, 2011
I am trying to integrate Flex application to access Rest services (using Jersey) through BlazeDS. I'm able to get Rest + Jersey working (pretty straight forward I guess) and I was able to configure Flex + BlazeDS. I'm looking for help to invoke rest services (different methods) from Flex UI based on the annotations specified such as @Path in my rest service class.
View 1 Replies
Oct 8, 2010
I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?
View 1 Replies
Feb 1, 2010
I have a webpage based on ruby on rails. For one task I need some more complex user interface which I plan to do with a flex programm. The question is, how I can start the a new window with my flex programm and hand over the right url where the flex app can load its data in XML format...
View 1 Replies
Sep 27, 2010
Can we use 2 timer events in a single application. I'm trying to use 2 timer events in a single application but the 2nd timer event is not working.... any one have an idea??? how to use 2 timer events in a single application.
View 1 Replies
Oct 27, 2010
I want to integrate flash in my iPhone application so is it possible to integrate?
View 4 Replies
Aug 2, 2010
I am building a compartmentalized Flex application which uses <SWFLoader > to load additional Flex applications inside it. I am currently planning on using the LocalConnection class to have these two applications talk to each other, but I'm wondering if there's any kind of event driven way to have actions in the internal application propagate to the parent application, and/or any way for the parent application to trigger events in the internal application?
View 1 Replies
Jan 31, 2012
Did anyone integrated Amobee SDK into Android application on ActionScript or Java?I have AmobeeTracking.jar file, I have to write native extention to integrate Amobee SDK into Adobe AIR application for Android. But I don't know what to really write.
View 1 Replies
Jun 16, 2011
I would like to try to create an Asp.Net C# application to record audio online using Adobe Flash Media Server.
View 3 Replies
Mar 14, 2010
i hired a designer who knows flash but not flex, is there a way to properly integrate a flash design into a flex application?
can i load the swf and connect to specific events in specific elements of the swf ?
View 1 Replies
Oct 6, 2010
I have google flex application for postcode search, How do I import the Swf file from flex into flash so I could add more movie clips like zooming effects and 3d rotation
View 3 Replies
Nov 26, 2010
My Flex application is heavily keyboard-oriented. It uses 100% of the browser window and I'd like the user to be able to start using it immediately - as soon as it loads. However, it seems that the application is only first "activated" (i.e. the activate event fires) when the mouse clicks somewhere inside it, which is very inconvenient for my keyboard-heavy app.
Can I force an activation of my app at some point during/after it loads? I hope I don't have to display some silly "click inside to activate" overlay every time the page loads..
In certain browsers ([cough] Chrome [/cough]) the focus is lost whenever the user switches away from the browser (or even touches the address bar) and is not regained when switching back. So the solution has to take in consideration not just the first focus when the page loads but also "re-focusing".
View 2 Replies
Dec 12, 2009
how to integrate a magnetic card reader into computer and a flash based application?
View 1 Replies
Jun 21, 2011
If I need to call a specific function in the parent application from a child in a flex project, what's the best practice for this? Would it be to dispatch a custom event from the child and have a listener call that function? Or to directly call the function with FlexGlobals.topLevelApplication?
View 1 Replies
Apr 14, 2012
I have developed a restaurant menu app for samsung galaxy tab 8.9 .I want to send all ordered details to micros pos eg item name,table name qty ordered , item price to pos .I have deeveloped this application using flash builder 4.6 ie used flex 4.6 and actionscript as technologies .So how do i integrate my application with micros pos to send all data ordered to it with micros pos??
View 1 Replies
Mar 7, 2012
I wen through the flare 3d tut and got everything working in Flash Player 11.1 embedded in a HTML document, however it does not work when I try to view it once it's been placed on a web server. I can open the html page from my local machine and it runs just fine.
View 6 Replies
Sep 21, 2009
I want to make a Flash or Flex front end for my R code, I want to call an R function from a website (using Flash) what is the best way to go about connecting Flash and R?
View 2 Replies
Sep 2, 2010
I'm having trouble conceptually understanding how to integrate flex components -- forms, charts, data grids, etc. -- with an existing web app. There are certain aspects of the web application where I believe it makes more sense to use flex -- however, I DO NOT want to replace the (html/js/java) web-app with a pure flex based app.For example, currently the web app displays user data using html tables and java based charts, I'd like to re-implement this "data display" using flex. Would I have to create a flex "application" for the "data display"?
View 1 Replies
Sep 3, 2010
How can you integrate R and Flex (e.g. web server using rapache)?
View 1 Replies
Dec 29, 2010
Im xHTML/CSS/PHP coder - not flex and AS3.Components that im saing on:URL...sebastiaanholtrop (spam restrictions)
View 1 Replies
Feb 15, 2011
I'm just looking for some direction to integrate my Flex app with SiteMinder. I can't find any working examples online to get me started.
View 1 Replies
Jan 12, 2011
I´m looking for any kind of information on this subject, kinda hard to find. I´m a ruby programmer and i´m looking for ways to create web apps with RIA, like Adobe Flex.
View 3 Replies
Aug 19, 2011
I have developed an application using adobe Flex 3 as frontend and Java as backend. The application is related to CRM. So i need to integrate Google Calender into my application using flex 3.
View 2 Replies
Nov 14, 2011
I have developed one Mondrian schema and cube. I have deployed schema file in Pentaho BI server. I would like to know is it possible to connect these Pentaho schemas and UI technologies like Google Visualization API or Adobe Flex?
While searching for solution I came to know about OLAP4J and icCube, out of which I think OLAP4J is very old project and its not really active project. icCube looks good but it works with its own server, it cannot be integrated with Pentaho BI server.
Right now I am thinking about Google Visualization API and Adobe Flex. Or, is there any other option?Where can I get more information about it?
View 1 Replies
Dec 5, 2010
I'm writing an application, Flex front-end & Grails back-end, in which I need to integrate security. All the information around Grails gives me the impression to be well suited for when your client is written in HTML but how can I use Flex's HTTPService to integrate into it?
View 2 Replies
Dec 18, 2010
i have successfully integrated Google earth with Flex using ExternalInterface.call("javascriptMethodName") method and writing the javascript stuff in the html file which embeds the swf file. it ran and loaded Google earth successfully.
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script src="http://earth-api-samples.googlecode.com/svn/trunk/lib/kmldomwalk.js" type="text/javascript"> </script>
[Code].....
this is a snippet of that html file but when i add something like to the html file:
var directionsService = new google.maps.DirectionsService();
View 1 Replies
Jun 16, 2011
Is it Possible To Capture KeyBoard Or mouse events When Clicked on desktop or anywhere outside the application screen using AIR or JAVA
View 1 Replies
May 24, 2010
I am new to Flex and need to integrate Java services with Flex UI built using Mate framework. Can anyone point me to any website/links or show an simple example of integrating Flex UI on Mate framework with Java remote services? A simple integration of a "LoginService" will be good enough.
View 1 Replies