Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


Advertisements:










Actionscript 3 :: Fit Image To Android Screen?


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 (Posted: Jan 22 at 18:00)

Sponsored Links:

Related Forum Messages For Flash category:
Android :: Away3DLite On Android Objects Doesn't Appear On The Screen?
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.

Posted: Mar 16 11 at 5:16

View 1 Replies!   View Related
AS3 :: Loading Screen On IOS & Android?
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.

Posted: Apr 11 at 0:32

View 1 Replies!   View Related
IDE :: Preload A Splash Screen On Android
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]...

Posted: October 31st, 2011

View 5 Replies!   View Related
ActionScript 3.0 :: Black Screen On Android / IPad
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.

Posted: Dec 16, 2011 3:20 AM

View 1 Replies!   View Related
Flash :: SWF Full Screen Error On Android ICS 4.0.3
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.

Posted: Apr 6 at 13:31

View 1 Replies!   View Related
Android :: Flash File Not Displaying On The Screen?
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].........

Posted: Apr 13 at 14:11

View 1 Replies!   View Related
Android :: Screen Blinking When Using A Webview With Flash
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.

Posted: Feb 23 11 at 19:26

View 1 Replies!   View Related
Actionscript 3 :: Disable Touch Screen In Android?
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.

Posted: Jun 30 11 at 0:55

View 1 Replies!   View Related
Android :: Screen Blinking When Using A Webview With Flash?
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]....

Posted: June 5th, 2006

View 5 Replies!   View Related
Professional :: Flash Pro CS5.5, Android, And Multiple Screen Densities?
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.)

Posted: May 25, 2011 4:08 AM

View 1 Replies!   View Related
Professional :: Android / AIR Show Last Screen Left Off When Re-opened?
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?

Posted: Jun 13, 2011 5:16 AM

View 5 Replies!   View Related
Flash :: Animation In An Android App Used In The Title Screen - Options?
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.

Posted: Apr 2 at 18:03

View 1 Replies!   View Related
Professional :: MouseEvent Not Working On Android Touch Screen Tablet
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.

Posted: Dec 13, 2011 1:03 PM

View 2 Replies!   View Related
Android :: Missing On-screen Keyboard For Flash/Flex Web Application?
I have an enterprise Flex web application, served up over https, that runs fine on Flash player 10.0 and beyond on a desktop computer/browser.

However, when I run it from my HTC Incredible with Android 2.2 the app loads fine, but there is no on-screen keyboard and so I cannot log in. I can see the blinking cursor inside the username and password text fields. I can switch between them. I can even hit the login button and see an authentication error!

Posted: Jan 5 11 at 3:21

View 6 Replies!   View Related
Android :: WebView - SWF Plays Can Hear Audio But Screen Blank
I am trying to display local flash swfs in the WebView. I have WebView set up and it will happily display local HTML files, but when I try to display Flash, the screen is blank. The flash file is running as I can hear the audio. I have noticed that most swf players from the android market suffer the same issue.

Posted: Jul 8 11 at 10:19

View 2 Replies!   View Related
Actionscript 3 :: Prevent Screen Timeout With Adobe AIR For Mobile On Android And IOS?
I have a pure AS3 app that I'm deploying to both Android and iOS. In some cases I need the screen to not turn off for 60+ seconds. Is there a way to do this with AIR for mobile?

Posted: Jul 23 11 at 17:24

View 1 Replies!   View Related
Professional :: FlashBuilder: Android / Flex Components + Full Screen Graphic Possible?
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?

Posted: Dec 30, 2010 9:09 AM

View 1 Replies!   View Related
ActionScript 3.0 :: Android, Hide Virtual Keyboard But Screen Stays Shrunk?
In my AIR app, when the virtual keyboard shows up the screen height shrinks. The problem I am having is after the virtual keyboard hides, the screen size stays shrunk and you can see a big black gap under the bottom of the app. The only way to adjust it is to rotate to landscape then back to portrait.

This seems to be a glitch with the virtual keyboard and programmers shouldn't be responsible for handling the screen size after it hides.

Posted: Dec 23, 2011 10:14 AM

View 1 Replies!   View Related
Android :: Screen Completely White With 'Success' In Top Left After Logging Into Facebook On Tablet?
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.

Posted: Sep 8 11 at 20:14

View 1 Replies!   View Related
Actionscript 2.0 :: Fade In And Out - Image To Start Motion Tweeing Up To The Top Of The Screen Right When The First Image Starts Fading Out
i have a set of images which i've converted to mcs and have given them all different instance names. The first image motion tweens to the right of the screen via actionscript and then the next one will motion tween from the bottom of the screen to the top and then the image after that will go to the right of the screen and next one goes to to the top, and so on. I have this actionscript for the first image,

[Code]...

I need the next image to start motion tweeing up to the top of the screen right when the first image starts fading out. Then when the second images starts fading out the next image is already motion tweening to the right of the screen and so on. Once every image has run through its tween everything repeats. Is there any way of doing this?

Posted: Thu Jan 14, 2010 9:13 pm

View 3 Replies!   View Related
Ationscript 3 :: Can't Write Image In Air For Android
This code works great in a desktop air application but doesn't work at all in android. is this not possible yet in air for android? here's my code.[code]image area is a flex group with several displayed children.

Posted: Oct 22 11 at 20:02

View 1 Replies!   View Related
Android :: Put Image On Panel In Adobe Flash?
i have created one dashboard for android in adobe flash4.5 now i want to putBackground_image on one of the panel

Posted: May 23 11 at 4:24

View 1 Replies!   View Related
Flash :: Air Android App Always Launches In Portrait Mode Irrespective Of The Way The Android Device Is Held?
i have an AIR android app which i am running on an android device ( samsung TAB ). i want the app to get laid out in landscape mode when the user starts the app holding the device in landscape ( same goes with portrait ).

but the AIR app always gets started in portrait mode irrespective of the way the device is held.

i tried the following ways use stage.deviceorientation (but when the app starts (after the applicationComplete notification ) the value is UNKNOWN) use stage resize event. (this gets triggered at start itself, a manual resize is not required - the values are based on portrait mode though - the width is 600 and height is 1024 (should have been otherway) )

i get correct values when i try changing the orientation of device, only at the startup i see problem with the required values.

Posted: Jan 25 11 at 10:21

View 1 Replies!   View Related
Android :: Android Tablet Browser Flash Movie To Landscape When In Fullscreen Mode?
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?

Posted: Oct 28 11 at 17:52

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved