Professional :: MouseEvent Not Working On Android Touch Screen Tablet
Dec 13, 2011
I recently discovered that the MouseEvents in my Flash animations aren't working on touch screen Android tablets. Is there some extra code that I need to add to make this work? There's an example at [URL]. My other issue is more of a web design issue, but the animations are not placed correctly on the webpage.
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.
This issue is being tracked on the facebook-actionscript-api site here:url...What steps will reproduce the problem? Call FacebookMobile.login( APP_ ID, cbLogin) on an Android tablet.Enter Facebook account credentials and press "Login".What is the expected output? What do you see instead?The login window closes and returns to the screen that launched the login window. The callback function 'cbLogin' is called.The screen goes completely white, and has 'Success' in small black text in the >top left corner of the screen. The callback function 'cbLogin' is never called.What version of the product are you using? On what operating system?
-Android v3.2 -facebook-actionscript-ap v1.7 -ASUS Eee Pad Transformer TF101
I've tested this on 2 Android phones, the HTC Incredible (Android v2.2) and the HTC Thunderbolt (Android v2.2.1), and it works fine on both.
I am working on a little android app which i use Flash Builder4.5. what i want to do is when app is loading something, i'd like to disable the touch-screen,or anything similar to that.
I have an as3 built osmf video player swf that we embed on a standard HTML page. When you touch the image the video automatically goes fullscreen and begins playing. Droid and Flash often break after changing back and forth between landscape and portrait while in fullscreen.(by break I mean freeze, where you can hear the video and use the controls, but everything is just a still frozen image, the redrawing fails).Can you lock the fullscreen orientation in html, javascript, or do you have to try to handle it inside the swf?
i have designed a gaming kiosk app in as3i am using it on a Sony vaio l pc (like hp's touchsmarts) in windows 7the app doesn't need any multi-touch gestures (only single touch clicks and drags) so i am using mouse eventseverything is fine (including mouse click and move events) except that a single touch to the screen (with no move) doesn't fire a mouse down. it is fired only after a small move of the fingeroutside the app, on my desktop, i see that the small windows 7 cursor jumps immediately to where a finger is placed, meaning this issue isn't a hardware or a windows problem but rather how internally the flash app receives "translated" touch-to-mouse events from the os.for example, in a windows Solitaire game, a simple touch to the screen immediately highlights the touched card.in my app, a button will change to the down state only if i touch it and also move my finger slightly.
I nned to connect two devices in a local net: a tablet Android with one PC Windows In tablet I'll have a menu with several buttons when push a button I want that in the PC play a flash movie. This is only for a local net no Internet.
A while ago I developed a flash app that takes pictures from the users webcam, I recently bought a android tablet device (flash capable), but the flash app do not find the camera of the tablet, any way I can modify my flash app in order to "see" the tablet's camera?
I am trying to proven the default functionality of the Android home screen button but the KeyboardEvent.KEY_UP event does not fire when the home key is pressed the the tablet i have.eee transformer prime) Is there another why to detect and stop this functionality? Here is the code that i am trying to user
import mx.events.FlexEvent; // Add the hardware key event handlers to the stage. protected function appCompleteHandler(event:FlexEvent):void {
I've built apps that connect to a server. But this time a client has asked for an app with no need to connect to a server to update content (images,videos,text). It will be Android tablet to a Windows laptop via USB. It will be for end user no dragging and dropping into specific folders using USB debugging. I was thinking I may need to build an app for the laptop (content manager) and then the app for tablet. Is a framework out there that could jump start this?
if mouse events are used instead of touch events on touch enabled devices, does that limit "touch" input to one touch at a time.
if a mouse down event is currently in progress will a following mouse down event simply not register or cancel the previous?
how are mouse events, historically used as single control pointers on desktop systems, handled on touch enabled devices capable of several simultaneous touch points?
event classes have a clone() function typically used to fire multiple events, so i'm assuming MouseEvent is not limited. however, my goal is to actually limit my application to one touch at a time (exclusive touch), but i'm not sure if this will be automatically handled with the use of mouse events.
I build a web site in flex that some time take input. Will this website works on Touch Screen environment(KIOSK).My question is we have to make any change to handle input such as prompt on screen keyboard when input fields are get focused or it will manage my device and OS of system(KIOSK, Touch screen system) itself.
I am developing a game for Android using Adobe AIR 3.0, also i am using Samsung Galaxy S2 to test my game, and is running pretty well with decent 30 fps.to control the game-play, i am using virtual joystick and some button on screen (e.g. to throw weapon, jump etc). however it seems that multitouch is not working fine, if i press one button and and in the same time if i down another button. first one stops working. here is the code snippet which defines multitouch behavior -
[code]...
for jump button, virtual joystick etc - i am using TouchEvent.TOUCH_BEGIN event.
I am interested in developing AIR apps for Android tablets (Xoom, Transformer, Playbook, Iconia, Galaxy Tab, et cetera). I expect to encounter different pixel densities ("information densities" as the Flash documentation says).
The different densities on the screens between tablets creates a situation in which objects on the screen can have very different sizes and appearances even if the screen resolutions are identical.
The Android developer information from Google recommends creating different layouts and providing different graphic assets for different densities.
I don't see a way to do this in Flash.
The marketing material I initially saw on Flash Pro 5.5 seemed to suggest that Flash Pro 5.5 supports multiple screens across devices (there was a big ampersand in the advertisement).
Does Flash Pro 5.5 address the variations in screen densities for Android tablets? If so, what does it require the developer to do in order to achieve this? (Point me to specific documentation if possible.)
I made a little trivia game that loads questions from an xml file. The problem is, if you leave the app and come back to it, it starts you back at the start screen again. Is there anyway to overwrite this, or is it the same as refreshing a browser page with a Flash animation on it, it'll always keep restarting?
I'm still having some problems understanding these touch events...or maybe something else..can anyone enlighten me as to what i'm doing wrong in this code?? Only left as1&2 to go to 3 recently so I'm sure I have bad habits and misconceptions but. In the IDE i have a button on the stage called: "touchBtn" and a textfield called "timer"
the problem i have is that if i touch the button fast / lots, the display rate really slows down...I know this is down to something I'm doing totally wrong but not sure what..
I have a Flash (AS3, CS3) piece that has a button that will make the piece go full screen. stage.displayState=StageDisplayState.FULL_SCREEN;
This works great in all of the computers that I have tested it in except a tablet PC (HP 2710p is the only tablet I have to test on, but I hear the same behavior happens on all tablets). The scale mode is set to exact fit, but I have tried the other options as well: stage.scaleMode = StageScaleMode.EXACT_FIT;
I'm new to flash and interested in multi-platform graphical game development. I've installed the Flash Builder Burrito test version and want to develop a full screen Android graphical game with Android-Flex components (like buttons etc.).
a) Is it possible to have a full graphical screen and then overlay Android-Flex components (buttons etc.) or ist only possible to integrate a graphical screen within a Flex components app so that Android/Flex components have to been outside the screen and so no full graphical screen overlayed with Android/Flex components is possible?
b) If full graphical screen + Android/Flex components is possible: which project type have I to choose: File->New->Flex Project or File->New->ActionScript Mobile Project?
c) Are the components I can choose to design my Flash-Android project Android-like Flex components or are they real Android components?
Just purchased Droid Charge. Trying to use it with Flash 5.5 on Windows 7 to debug an application.Computer recognizes phone USB connection (so I can transfer files...)(Menu/Settings/USB settings/Mass storage enabled)I have USB debugging (Menu/Settings/Applications/Development) feature on the phone enabledI have Unknown Sources (Menu/Settings/Applications) feature on the phone enabledWhen I Publish from Flash 5.5 I get the following message: Could not find an Android device to connect to. Please ensure that you have the phone connected,the correct drivers installed, and the phone has USB device debugging enabled.
I have a project that I want to port to mobile platform on Android and iOS.The project uses a v.addEventListener(VideoEvent.COMPLETE, completePlay) handler to detect when video is finished playing and trigger the next action.
The project is running perfecty when publishing for Air or Flash Player 9 and above.However when just changing the target player for publishing to Air for Android or iOS the following error occours:Access of possibly undefined property COMPLETE through a reference with static type Class.
I have implemented an Augmented Reality application on Adobe Air for Android. When I publish my app on the android mobile phone (Nexus One) the 3D models that I have created don't appear on the screen.On flash CS5 it is working fine.I have used Away3DLite engine and I have imported a 3D collada object.I have also tried to publish some projects that I found online and I checked if the the 3D model appears on the screen but it doesn't show it either. how the 3D Models that I have imported in my project using Away3DLite can be visible when I publish the application on the android phone. Some extra stuff be usefull: I'm using GPU rendering.A also using a combination of the following softwares in order to create my AR application:
FLARToolkit FLARManager Away3DLite
I have created one 3D Model on 3DS MAX and another one on Maya 2010.
We are using CS3 and using actionscript 2.1. We are creating an application for a touch screen device and we must provide a draggable map. I have a map that is much larger than the screen size and I wish to be able to drag the map.Additionally the map needs to contain 'hotspots' which the user can click on and it shows additional information
Firstly, as this app will be running 24/7 I am wondering as to whether I will need to (and if this is possible) to kind of 'flush' the memory to avoid any sort of slow down. There will over a hundred images and many video clips loaded into this app so I'm thinking it may suffer a but under all this? Is there a way to make it streamline and not suck on the pc's resources and memory and to keep any sort of cache empty?Secondly, whenever I have created these sort of apps before I have just copied my projector exe and the corresponding directory of swfs, flvs etc. onto the pc running the app. Is this the best way to go? Or should I be looking into some sort of other method for distribution? Maybe I need to research AIR or FLEX?
i have dynamic coding for a full screen toggle button that needs to be a "double click" button. its for a touch screen. how to allow a double click for a touch screen? from what I know, for touch screens you have to use the MOUSE_DOWN event. but i need to allow for a double click. i tried the DOUBLE_CLICK mouseEvent and set doubleClickEnabled to true but it does now work on the touch screen. here is the code:
I am using it on a Sony vaio l pc (like hp's touchsmarts) in windows 7 the app doesn't need any multi-touch gestures (only single touch clicks and drags) so i am using mouse events
everything is fine (including mouse click and move events) except that a single touch to the screen (with no move) doesn't fire a mouse down. it is fired only after a small move of the finger
outside the app, on my desktop, i see that the small windows 7 cursor jumps immediately to where a finger is placed, meaning this issue isn't a hardware or a windows problem but rather how internally the flash app receives "translated" touch-to-mouse events from the os.
for example, in a windows Solitaire game, a simple touch to the screen immediately highlights the touched card.in my app, a button will change to the down state only if i touch it and also move my finger slightly (click events - down and up - are triggered fine)
shouldn't the MOUSE_DOWN event trigger exactly like how a TOUCH_BEGIN would in the new touchevent class?
I have a touch screen computer and I want to make a little flash game for it.
picture this: the game screen will be like
[code ....]
now since its touch screen I can tap the screen and that is like a mouse click.urrent I have it so on a mouse click my hero will move to the mouse click coords.now I want to add a little box in the bottom left that in NOT clickable because I want a shoot button there and I dont want the char to move there so like this
[code ...How can i make a little box like that which will not detect a mouse click?
When the touch screen is idle for a period of time, for example, let's say half hour, I need to show an animation on the screen while nobody is interacting with it. When someone touches it again, the animation will disappear then the touch screen presention will resume.
I have built a multi-touch application which is based on a Java EE backend and combined with BlazeDS to a Adobe Flex frontend. The application runs on a DIY-Multi-Touch which I built. Now I want to use another solution. The Adobe Flex frontend (with a multitouch library) and the BlazeDS adapter should be replaced by a solution which covers iPhone/iPad, Android and commercial Multi-Touch displays.
The problem is the iPad/iPhone, there is no Flash Player runtime (not the jail-breaked ones), but the application should be runnable also on those devices. So Adobe Flex and a Java frontend (no JVM on the iPhone/iPad) is not possible anymore. At first, starting the developing of the application it was not neccessary, to run it on Apples mobile devices, but this changed So, what can I do, using HTML5? So I can use it for Android and iPhone/iPad. But I also want to make it possible to use it on a commercial multi-touch-display and normal display with a mouse (I only have gestures for one finger, the 2-finger gestures are not neccessary). Are there any frameworks that allow this? Because I do not want to create several frontends (App for iPhone/iPad on Objective-C and a Adobe Flex for all other devices), it would be great if I can build a frontend for all devices.