Actionscript 3 :: Disable Touch Screen In Android?
Jun 30, 2011
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.
View 1 Replies
Similar Posts:
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.
View 2 Replies
Sep 22, 2010
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.
View 2 Replies
Nov 28, 2011
I want to create a touch screen game for TV screen (not for mobile).
View 2 Replies
Jan 2, 2012
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.
View 2 Replies
Apr 4, 2011
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..
[Code]...
View 2 Replies
Mar 16, 2011
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.
View 1 Replies
Mar 5, 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
View 1 Replies
Feb 15, 2011
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?
View 5 Replies
Jun 25, 2009
how to develop a touch screen application using flash action script. It is a kiosk type application.
View 4 Replies
Jan 6, 2011
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:
fsToggle.doubleClickEnabled = true;
fsToggle.addEventListener(MouseEvent.DOUBLE_CLICK, fullScreenToggle);
}
View 3 Replies
Mar 12, 2010
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?
View 6 Replies
Sep 16, 2010
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?
View 6 Replies
Jul 25, 2010
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.
View 2 Replies
Sep 6, 2010
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.
View 2 Replies
Mar 12, 2010
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.
View 8 Replies
Mar 13, 2010
i have designed a gaming kiosk app in as3.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?
View 3 Replies
Jun 9, 2009
My client ask me for build some flash application which will be show on his kiosk exhibition. And what I wondering is it any different kind of addEventListener for touch screen interface? Or it is similar like mouse click or double click?
View 4 Replies
Apr 14, 2011
I have a flash application written in actionscript 2.0 that shows vector architectural maps and works perfectly on common web browsers. There are many interactions with javascript functions called by user events on the webpage, such as zooming to a certain x,y point. This event is usually accomplished via the mouse wheel.
Now I have to make sure that the thing works on tablet pc, in particular the Galaxy Tab. The first thing I have to fix is that, obviously, there is no mouse wheel and the user naturally tries to pinch zoom the flash application, with the result of zooming the entire web browser.
What I need is to listen to the multitouch gesture and, when a pinch zoom event is called, disable the default zooming event and call a javascript/flash function that allows my flash app to zoom only the objects that need to be zoomed: in few words, the browser stays still and only a part of the flash zooms in or out.
I already have working javascript functions to call flash object functions for the zooming purpose, so I just need to connect them to some android things that tell me when the user tries to pinch zoom in and when he tries to pinch zoom out (and possibly the x,y point of zoom).
View 1 Replies
Apr 11, 2012
I am building a book application in Flash Professional CS5.5 to be released on tablet devices and I am trying to understand the best structure for loading the application. For iOS devices I know I can include the default.png, but how can accomplish a similar task for Android? The book application is also going to be large as it includes a lot of assets and animations, is there a good way to show that this is loading on both platforms?
One thing I was trying was a loading screen where the main application was actually a loading system that would import the compiled SWF book, but further research shows that it won't work for iOS devices.
View 1 Replies
Jan 22, 2012
Unable to correctly perform the simplest task - fit image to screen. Pictures loads from the gallery, it is displays, but having tried many ways to understand that there are some oddities.I use Flex ViewNavigatorApplication without ActionBar and full screen. Landscape screen orientation. The best option to accommodate the maximum size of image. All images have a size equal proportions of 3264 x 2448.
Do this:
protected var roll:CameraRoll;
protected var loader:Loader;
if(CameraRoll.supportsBrowseForImage && !roll)[code]............
View 1 Replies
Oct 31, 2011
I've read all threads here already about this subject. For most AdobeAir projects for Android, no matter what size, it could take up to 20 sec to load the app, and while it loads, all you see is a black screen. As there's no support for a Default.png like there is for iPhone, we have to use a preloader.
I've only found one for Flex, which is no good to me as I'm using Flash Pro 5.5 (IDE). I've tried doing some simple preload-a-swf-preloader but it just loads it to 100% before showing anything anyway. Anyone here that can share a script of a simple preloader for Flash CS5.5? I know that to reduce the loading time and show a splash screen on android we need to make a very small swf that will contain the loading screen image, and that same swf will also preload the maingame.swf (but can that be done? Appstore don't like code in more than one swf) into it. My tries have failed.
[Code]...
View 5 Replies
Dec 16, 2011
I have a flash as3 application and I convert it into android and ipad applications, but every time when we launch the application. It shows the black screen for a long time. Is there any way to resolve this issue. The size of APK file is 620 kb.
View 1 Replies
Apr 6, 2012
I'm developing an app that displays swf's inside a webview. My problem (ICS 4.0.3 only) , is that whenever I click the full screen button inside the swf the app displays a black screen for a couple of seconds and then crashes.I've tested the same code with lower api's (10) and it works fine.
Facts:
1- ICS 4.0.3 - SWF in full screen inside webview crashes.
2- ICS 4.0.3 - SWF in full screen inside regular browser works.
View 1 Replies
Apr 13, 2012
I am using webview control for displaying a flash .swf file in my application.when i run the app screen displaying whole white scrren. Here it is my code,
public class flash extends Activity {
/** Called when the activity is first created. */
@Override[code].........
View 1 Replies
Feb 23, 2011
Edit: I made a demo apk, so you can understand what I mean: [URL]
For my application, I want a kind of "Super Power Point", or a keynote (the commercial team will present the product to their customers) using all the Android goodness, gestures, etc... on an Android tablet. As Honeycomb is not yet ready and because we need it before march, we choose some random Froyo Tablet (Archos 101), but my issue is for every tablet/phone I tried.
I made a really great application, but for some animations during the presentation, the customer wanted to use flash animations. Because I couldn't code animations (sort of little movies/ animated graphics) that easily in Android and the lack of time, that seemed to be a good idea.
So, after some search on the Web, I used webview and this code:
WebView mWebView1 = (WebView) findViewById(R.id.webview1);
mWebView1.getSettings().setJavaScriptEnabled(true);
mWebView1.getSettings().setPluginsEnabled(true);
mWebView1.loadUrl("file:///android_asset/graph_01.swf");
This work pretty well, but on every device I tried (Archos 101, Nexus One, Nexus S, Galaxy S, Xperia, Desire, HTC Hero, and really more) every activity with a webview blink, a few milliseconds of black screen, then the animation finally appear.
PS: My layout is quite simple too:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
[Code]....
I cannot imagine I am the only one to face this issue.
View 1 Replies
Jun 5, 2006
For my application, I want a kind of "Super Power Point", or a keynote (the commercial team will present the product to their customers) using all the Android goodness, gestures, etc... on an Android tablet. As Honeycomb is not yet ready and because we need it before march, we choose some random Froyo Tablet (Archos 101), but my issue is for every tablet/phone I tried.
I made a really great application, but for some animations during the presentation, the customer wanted to use flash animations. Because I couldn't code animations (sort of little movies/ animated graphics) that easily in Android and the lack of time, that seemed to be a good idea.So, after some search on the Web, I used webview and this code:
WebView mWebView1 = (WebView) findViewById(R.id.webview1);
mWebView1.getSettings().setJavaScriptEnabled(true);
mWebView1.getSettings().setPluginsEnabled(true);
mWebView1.loadUrl("file:///android_asset/graph_01.swf");
This work pretty well, but on every device I tried (Archos 101, Nexus One, Nexus S, Galaxy S, Xperia, Desire, HTC Hero, and really more) every activity with a webview blink, a few milliseconds of black screen, then the animation finally appear.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
[code]....
View 5 Replies
May 25, 2011
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.)
View 1 Replies
Jun 13, 2011
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?
View 5 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