Android :: Flash - How To Create Options Menu In Adobe AIR (not Java)
Oct 29, 2010
I would like to create an Options Menu in my Flash AIR application for Android. I've figured out already, that this ActionScript code could be used for capturing the hardware Menu button press event:
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
function onKeyDown(event:KeyboardEvent):void {
if(event.keyCode == Keyboard.MENU) {
event.preventDefault();
trace("Menu Pressed");
}}
But how do you create the actual menu? If you can't do it with AIR, then has anybody tried to recreate/mimic it manually already and could you please share the properties (colors, transparency, any gradients?) and transitions (sliding in/out) you've used? I've found some guidelines already, but any Flash-specific tips/properties (like which easing to use for sliding transitions?).
View 2 Replies
Similar Posts:
Feb 7, 2012
I developed a Adobe Air Application and I discovered that the Mobile I am trying to install the application is not compatible with the Adobe Air's supported devices because this wasn't launched yet.
I have some ideas:
Is possible to change the Mobile Name to fake another device and Adobe Air not refuse the installation? Is possible to convert AIR to Java? s possible to run Air without Java? Abandon Flash and do it in Java or Javascript.
View 1 Replies
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
Dec 2, 2011
I gone thorough the adobe flash builder video tutorials and did the same thing to create an application for android device, but when i run the application it is showing Sorry dialog box saying that, The application Test1-debug(process air.Test1.debug) has stopped unexpectedly. Please try again. I tried many times but it is not working. Initially i thought no Adobe-AIR in my device, but it is there. I am using Reliance 3G Tab. I don't why it is not working, if anybody know this please reply me.
One more thing, i downloaded one APK (which is designed with adobe flash or flex) file from [URL]..and installed on my android device. When i run that application only blank screen is appearing, but in video they shown, it is working. Why it is happening like this?? Is any problem with my tablet ?? or application ?? or adobe AIR not installed properly on device ?? Like this i am getting too many doubts.
View 1 Replies
Apr 2, 2012
Let me first state that I am no programmer, so this may seem like a stupid question. I have done all kinds of searching on this question, and answers seem far-and-wide, and have only left me more confused. I am currently accepting bids for the development of an Android app version of our graphic novel: [URL] One of the issues/problems from my requirements document that has been raised more than once by bidders is about the Flash animation [URL] that I want to be used in the title screen, and how that will be implemented in the app. The initial programmer that I was working with had real problems with and was never able to get it to work. I know that in order to use the swf file as-is, Flash needs to be installed on the devices, and that is not an Android standard. So I want to know what options there are to be able to include this.
A couple bidders have suggested that the animation be converted to video. And although they claim that they could still make it work correctly, I worry about losing the looping that is built into the animation. Can the animation be converted to or re-created with Java? Should I be looking into using FLash Builder and/or Adobe AIR? We will eventually be porting this app for Apple iPads as well, so if there is an option that woks for both Android and iOS, that would be better.
View 1 Replies
Sep 14, 2010
I want to use Adobe Flash in the development of Android applications. But how do I install flash on the emulator so that I can test my software with flash?
View 5 Replies
Mar 15, 2009
I am using Flash 8 by the way. Anyways what I am doing is making a menu with different options. I need the user to click on various buttons from the menu and then after those buttons are clicked, an animation needs to play and then return to the original menu. I have got the mouse to follow my custom cursor and made the general outline of the menu, but no buttons so far.
View 3 Replies
Nov 16, 2011
I can't find this information online or in the documentation, does anyone know what versions of Android and iOS the AIR 3.0 captive runtime is compatible with? I'm assuming there is some restriction there, but short of actually compiling a program and trying it on iPhone for example, which I don't have, how can I tell which OS versions are supported?
I know that you can compile an Adobe AIR 2.7(?) application to target say Android 2.2, but what about the captive runtime with AIR 3.0? Also I don't see anywhere to find out the iOS version restriction with AIR, as you have to pay $100 to Apple to even get the SDK which would allow me to make an iOS project in the first place.
View 2 Replies
Jan 27, 2011
How can i make the Augmented Reality applcation on Android mobile phone (HTC Nexus One) that i have developed using the flash platform faster, since flash doesnt support OpenGL for 3D graphics. Can I make it faster using GPU Acceleration? Or there is any way to combine Flash and OpenGL? Any online sources talking about this subject will be very useful..
View 1 Replies
Jun 17, 2011
I am creating an app in flash for Android. What would be the correct architecture for this? Would I wrap the flash in Java, and the java would control the adverts and menu?
If so, when, for example, clicking Save on the menu, the java would need to get data (in this case, an image) from the flash app. Is this possible? If so, how? ![enter image description here][1]
View 1 Replies
Dec 1, 2011
is it possible to record Audio on iOS and Android with Adobe Flex Mobile? I can't find anything about that feature on Adobe's website.
View 1 Replies
Nov 30, 2011
We know that, with Android NDK we can use .C files along with .java files in a single android application. Similarly, is it possible to use Adobe Flash and Java files in a single android application ?
View 2 Replies
Jan 12, 2012
So I'm having this issue where I need an event to fire at the very beginning of my application
public function Main() {
this.addEventListener(Event.ACTIVATE, onInit);
}
I've also tried Event.ADDED_TO_STAGE, but both seem to not be firing onInit at the right time... they fire too early. For example, on testing for IPhone it's firing when I still see the Default.png icon... I want it to fire when that "loading" phase is over.
View 2 Replies
Jun 28, 2011
I have developed a very simple app in flash cs5 and am ready to upload it to android market. However, users need adobe air to run it. Does anyone know if there is some way to package the app with air? I want to make it as easy as possible for people to run the app. Users will be prompted to download air and I can put this information on the apps page on android market but if there is some way to iclude this in the apk I'd love to know. Can't seem to find information on it on the web.
View 2 Replies
Nov 30, 2011
I am currently trying to run a flash game on Android and iOS using Adobe Air.While Air works nicely to run the app on Android, I experiment troubles with iOS. I am actually able to generate a .ipa package and install it to an iPhone (via iTunes). However, when I launch the application from the iPhone, nothing happens (black screen).
I then generated a debug .ipa which connects to a FDB debugger running on my computer, and the debugger shows the given fault when the app is launched:
#error 1107 the abc data is corrupt attempt to read out of bounds
Searching the internet didn't helped much. The issue is known [URL] but this does not help in my case. Someone had the same error and fixed it by removing some 3D tween animation from his flash app [URL], but I doesn't use tween.
Notes: I tried on iPhone 3G and 4S and the result is the same. The game is coded via haXe, which generates the .swf file. This main swf file uses other swf and xml files, which are present in the .ipa generated by Air.
View 5 Replies
Sep 14, 2010
I want to use Adobe Flash in the development of Android applications. But how do I install flash on the emulator so that I can test my software with flash?
View 5 Replies
May 23, 2011
i have created one dashboard for android in adobe flash4.5 now i want to putBackground_image on one of the panel
View 1 Replies
Apr 11, 2012
I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in and tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file.What code/solutions are there to get this to play on Android devices?
<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param>
[code].....
View 1 Replies
Dec 13, 2010
how to put AdMob ads / any-other-ad into Android applications developed in Flash for Adobe AIR ? I repeat , ads into Adobe AIR apps , not java! Or any other way to monetize the app?
View 5 Replies
Apr 26, 2011
Are there any UI interfaces for Java that are similar to Adobe's Flash CS series?
View 2 Replies
Jun 9, 2011
Why doesn't ARM 11 or earlier support Adobe Flash player (Android version)?
View 2 Replies
Aug 8, 2011
how to get a menu to pop up in Flash CS5 when coding for an android app. Basically I have a nice, simple app that when you press the menu button on your phone I want a movie clip to pop up at the bottom of the screen that then acts as a menu for the app. When you press the menu button again the movie clip disappears. There is some code in the sample files in flash cs5 but it won't seem to work for me. Has anyone gotten this to work successfully for them.
This is the code that is in the sample file with flash
options_mc.visible = false;
function fl_ExitApplication(event:MouseEvent):void{ NativeApplication.nativeApplication.exit(0);}
[Code].....
This code is supposed to make the menu popup and when clicked you exit the app.
I want someting similar to hppen without the movie clip making the app exit. My movie clip has other little buttons that make different information appear as you click on each one.
View 1 Replies
Sep 16, 2011
I would not have asked the question if I owned an iphone, but so far I only have an android phone for development.
The question is: Should I use the View.viewMenuItems that are provided by flex mobile? Or should I better embed the functionality in another way? I don't know what possibilities might exist on iphone to open the menu, because it has no hardware button "menu".
By the way: How could I open the menu in the Flash-Builder mobile device emulator - there are no buttons, too..
View 2 Replies
Nov 11, 2009
We're designing an application and the client has requested that a portion of their app stay in Java Web Start and another portion be in a browser. I'm thinking about AIR as an alternative to the browser because that may give us more features b/c we don't have to stay in the browser security sandbox.How would I go about having an Air app talk to a Java Web Start app? Do they have to talk through a server? I guess potentially you can just create a socket connection between the two.
View 1 Replies
Nov 17, 2011
I want to download this app in the android market, but it says I need adobe flash player 10.1 but when I look for it, it doesn't show. Does anyone know what its called? I know its in the market because a lot of people are using that app. I have the Samsung Captivate. Should I just wait for Android2.2?
View 1 Replies
Aug 9, 2011
How can I embed a adobe flash player inside a java based desktop application? Can I be able to load and run an on-line flash game in it?
View 1 Replies
Mar 18, 2012
I have developed a small adobe flash application (a parent .exe file which loads several child swf files). I can play it in almost any computer. My question is: Can I install and run the application in Aakash or Ubislate 7+ ?
View 1 Replies
Sep 16, 2009
I'm having some trouble with drop down menus. I've got them set up with onrollover to display the menu options and use both rollout & dragout to deactivate (which prevents the menu from sticking by accidentally "dragging" off the area).The menu displays just fine, and I want the background of the options to highlight (by switching color) when the mouse moves over it or presses on it. Unfortunately, nothing happens.I used this as my base color switch
------------------------
function paint(mc, brush){ var fincolor = brush;myColor = new Color(mc);myColor.setRGB(fincolor);}[code]..........
View 2 Replies
Dec 16, 2009
I have a bunch of menus that will over lap each other at different times, and they have buttons in them you can click for commands. But when I have menu B on top of menu A, like cards, I don't want the onPress commands used in menu B reacting with buttons on the menu A beneath. Normally I would just move the menus, but in this case, they need to be laid out like cards.
View 1 Replies
May 5, 2009
[Code]...
how to add addevents to the menus in the popupButton.
View 5 Replies