Android :: Targeting Multiple Resolutions Using Flex 4.5

Dec 26, 2011

I'm developing a game for Android tablets using Flash Builder 4.5. It has been implemented successfully on Galaxy Tab 7.0", but now I need to edit it in order to fit all android tablets. I attempted searching for information on this, but nothing I found was useful.

Should I use multiple graphics to target devices with different resolutions and, if so, how then should I detect the correct resolution? Or, on the other hand, should I use just one graphic and scale it to fit all resolutions required?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Background Graphic - Four Corners At Multiple Resolutions

Feb 13, 2006

I'm working on a full flash site with a target resolution of 1024x768. My main content fits within these dimensions and is a fixed size. What I'd like to do, Is have a background graphic in each of the four corners so that stays fixed to the four corners at multiple resolutions. (The background is sort of a grunge/distressed design that is dark in the corners and gradually fades to white towards the center.)

For example:
- at 1024x768 it would start at each corner and go partly behind my main content box.
- at higher resolutions such as 1680x1050 (Apple Powerbook) the graphic(s) would still be in each corner but wouldn't quite go behind my site content.
That's sort of irrelevant - mainly what I'm after is how to stick the graphics to the corners while keeping my primary swf at 1024 wide.

View 1 Replies

Flex :: Position Objects On Different Resolutions

Feb 17, 2010

A Flex project exported as a Projector, showing fullscreen. The project has a background and several dots which each represent a "Location". These locations are fetched from an XML file and have their position set in percentages. The location in pixels is calculated (this works as it should) by the width and height of the Application. The dots are placed correctly. The background is a JPG with a resolution of 1280*1024. At this moment, the background is set on a Canvas with backgroundSize = auto. This places the image in the center without stretching it. Stretching results in ugly, pixelated images and tears the proportions apart.

Problem When we view the project on 2 different resolutions (1 = 1280*1024; 2 = 1024*768), the dots are in the good position, the background image is sharp. But - because of the background having the same resolution as 1, the background isn't fully shown in resolution 2 (because it isn't stretched. A logic result. That's why I tried stretching the background. The results:

[Code]...

View 2 Replies

Access Front Camera In Android Devices Using Flex-android?

May 17, 2011

There are samples to show how to access front camera of android devices using android sdk.

View 1 Replies

Android :: Recording Audio With Adobe Flex On Android And IOS

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

Android :: Flex - App Requires Android.permission.BROADCAST_STICKY?

Jan 26, 2012

I've recompiled my app with Flex 4.6 / AIR 3.1 and now when I upload to the Android market it says my app is using a "android.permission.BROADCAST_STICKY" permission. In it's simplest terms what is it and can or should I turn it off (it's not in the app descriptor file)?

BTW I used captive runtime for the first time in this upload. Would that have anything to do with it?

View 1 Replies

Android :: Android - Flex Mobile Project Option?

Mar 12, 2012

I have a problem with Flash builder, I can't find the "Flex mobile project option in the list" How can I install it?

View 1 Replies

Android :: Flex - Android AIR App Call An NDK Library?

Oct 14, 2010

Using AIR for Android, is it possible to call from Flex into an NDK library? If so, how can this be done? I have a large C library that I need to use. I know that I can do this from an Android Java app (through JNI), but I have a large Flex codebase that I'd like to reuse.

View 2 Replies

Android :: Flex Access Android Compass?

Apr 8, 2011

Is it possible to use Air on android and access the compass? I saw there is some acceleration support[URL]..If it is NOT accessible, would it be possible to do some communication between a native android-app listening for compass update and an air application?

View 2 Replies

Android :: How To Make Application Of Flex For Android

May 17, 2011

Actually i have created one dashboard in flex. But now i want to integrate this dashboard or make same dashboard for Android.

How i can achieve this? I want to make dashboard for Android.

View 2 Replies

Android :: Flex - Run AIR Desktop App On Android (Galaxy Tab 10.1)?

Dec 6, 2011

I have a problem - How to run AIR (really big desktop application) on my Galaxy Tab 10.1? It's possible convert .air to .apk?

EDIT:

1. I set up a new desktop project (File -> New -> Flex Project)

2. Project name is "simpleTest", Application type is Desktop (runs in Adobe AIR), Flex SDK version 4.6.0 and click to Finish

3. I go to Design mode, then set the width to 500 and height to 250. I add one button by drawing and name it btnOne and make Generate Event Handler

4.Then I go to Project -> Export Release Build (Export as Signed AIR package) -> Next (I apply the certificate) -> Finish

5. I find the project file (...Adobe Flash Builder 4.6simpleTest) and copy simpleTest.air into a new file (simpleTestAPK - which contains my certificate > andCert.p12)

6. I rename "simpleTest.air" to "simpleTest.zip" and from this .zip I unpack just "simpleTest.swf" and "application.xml"

7. I create a "create.txt" containing as follows:

adt -package -target apk-debug -storetype pkcs12 -keystore andCert.p12
myHope.apk application.xml simpleTest.swf

8. I rename "create.txt" to "create.cmd" and launch it (Shift + RMB -> Open cmd here)

9. "myHope.apk" is created

10. I copy this to Galaxy Tab 10.1 (with drag&drop)

11. I launch "myHope.apk" but all I see is blank, white screen, no colors, no buttons, nothing.

View 3 Replies

Android :: Flex Mobile : Different Filenames For Android/iOS?

Mar 28, 2012

I'm creating an app to deploy for iOS and Android and I'd like to give them slightly different filenames (need to add a space so that name displays on two lines on Android). Is there a way for me to define this in the app.xml without having to change it each time I export?

View 1 Replies

ActionScript 1/2 :: Targeting Multiple Motion Tweens CS4?

Apr 2, 2009

having a problem with targeting multiple motion tweensin Flash CS4. I am using AS2 and attempting to change thevisibility of eight separate motion tweens (visible false and thentrue). I want to be able to affect each tween separately. I amlooking to activate visibility as follows:

if (triggerclip._currentframe == 2) {
sword._visible=true;
}

[code]....

View 2 Replies

ActionScript 2.0 :: Flv Cue Points Targeting Multiple Mc's Glitch

Jan 16, 2007

Trying to target a series of mc's on my timeline using video cue points but can only get the first one to work.[code]

View 3 Replies

ActionScript 2.0 :: Targeting With Multiple Attached Slideshows

Jun 15, 2007

My flash file creates multiple slideshow instances. These slideshow's are each controlled by some buttons and AS code that reside within the attached container clip. The code for buttons and slideshow nav is as follows (this resides on first frame of attached movie, not on _root):

[Code]...

The problem is that instead of just controlling the slideshow for which you are viewing, the keys control all other slideshows as well at the same time. Where the buttons, when you click them, control only the slideshow that they are contained in. I've tried writing an absolute path to the specific slideshow movie in question like:

[Code]...

View 3 Replies

Flash :: Targeting Multiple Buttons And Get Different Value By Clicking Different Button

Aug 8, 2011

I want to target multiple buttons and get different value by clicking different button.

Suppose there are 3 buttons: "button01", "button02, "button03".

This is my code:

var targetArr:Array = ["button01","button02","button03"];
for (var i:int = 0; i < targetArr.length; i++)
{
var target = getChildByName(targetArr[i]);

[Code]....

Instead of getting different value by clicking different button, I constantly get "3" as the value. I want: clicking "button01" will get "0" as the value, clicking "button02" will get "1" as the value, and clicking "button03" will get "2" as the value. How to do it?

View 1 Replies

IDE :: Targeting Multiple Movie Clips In Motion Tweens?

Apr 2, 2009

I am trying to target multiple tweens, trying to turn their visibility false/true. I have named each tween in the tween properties box, and I have targeted them like this: plane.plane2.tween1._visible=false (and so on), but no go! Only the first of the seven is actually affected--the others are not.

View 11 Replies

Professional :: Flash Pro CS5.5, Android, And Multiple Screen Densities?

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

Developing For Different Resolutions?

Nov 7, 2007

I've recently started developing a big project in flash. I'm trying to tackle the resolution issue at the start, but not sure what to do. The way I see it, the only way to go is to make something for default resolutions such as 1028*768. Other then that there isn't much to do.

A browser stats site showed that something like 50-60% have that res, but other users have different resolutions. I dont want my users to see the game as too big or too small.

View 0 Replies

Keep Flash Project Same Size On Different Resolutions

Mar 30, 2010

I made my flash website on my wide screen laptop, and it looks fine in my browser but when i look at it on a normal monitor it looks too big and streches across the screen. Is there anyway i can get it to stay the same size on different resolutions. I'm currently using As2

View 3 Replies

How To Center Large SWF On All Screen Resolutions

May 3, 2009

I'm trying to make my movie look good on all screen resolutions and when the browser is resized. I want to center my movie, and have it stay in the center when resizing the browser, and I can do this to an extent. I usually use the liquid center template in Dreamweaver, like so - [URL]. However, this time I want a big movie to stay in the center like this - [URL], I've ended up with this - [URL].

View 1 Replies

Professional :: Detect Possible Webcam Resolutions

Jan 6, 2011

I searched forums and googled and not found anything on how to detect the Webcam supported resolutions in flash.The whole issue stems from the issue when I use Camera.getCamera() (only have one attached to my laptop) I'm always getting different values for camera.height and camera.width. Also some 720p cams have different aspect ratio then the old cameras.Is there possible to detect somehow what's the largets resolution is supported by a webcam? Or all possible resolutions supported?

View 2 Replies

ActionScript 2.0 :: External SWF Resolutions (using WINK)?

Jan 5, 2006

I am trying to make a product demo in flash. I have 3 products with a few screenshots for each that link to 30 sec flash recordings of that particular product's features.I used WINK for recording these 30 second clips. I want to call them from a MAIN flash file as external swfs to cut down the load time. Wink renders them very very small. Does anyone know how I can make them a certain size once brought into my MAIN flash demo? Say 600px X 400px.

View 2 Replies

ActionScript 2.0 :: Cd Presentation To Fit All Screen Resolutions?

Mar 11, 2008

i've made a cd presentation in flash. and i hav put in the code

fscommand("fullscreen", true);
fscommand("allowscale", true);

It gets fullscreen. but it doesnt fit all screen resolutions. Like in 1280x1024 resolution it fits perfectly. but in a higher one it doesnt fit the way it fits in 1280...

View 2 Replies

ActionScript 3.0 :: Detecting The Resolutions Of Webcams

Feb 27, 2011

who has ever messed around with this part of AS3 I've run into an issue with detecting the resolution of the webcams hooked up to the individual machines.

Now while the documentation on the Camera-class says that camera.height and camera.width are readable properties of that camera and also uses them as a way to find the camera's resolution in the examples, it just doesn't work that way on my end. No matter what webcam and what PC I try to use for this, it always tells me that my webcam has the dimensions of 160x120 pixels.

This is very frustrating to me since it forces me to impose a dialogbox onto the - possibly not too tech-savvy - user where they can chose a resolution that is closest to their webcam's native resolution.

I've looked around for a solution to this and came up totally dry. As IQAndreas approached me regarding this because of a twitteruser asking for the same thing, I'm pretty sure that I'm not the only one having this issue.

View 2 Replies

Embedding SWF Movie In HTML - Screen Resolutions

May 20, 2009

I have made a 1000 x 600 (px) swf movie for a web and I embedded it in HTML. Now the problem is for some screen resolutions above 1024 x 768, the web is aligned to top left. I tried to put it in a div which aligned to center, then scrolling happens.

View 4 Replies

Media Server :: Live Stream In Different Resolutions?

Apr 13, 2008

i have an urgent question for the following purpose. We plan to develope a solution consisting of a sender software for streaming live video to the streaming server. Now more than one client should be able to connect to the stream of the server. Because the different clients are connected with different bandwidth rates the server should be able to convert the video stream (e.g. the video width and height, framerate and quality) on the fly. Maybe a client with a better connection than DSL should get the video in a resolution
of 640x480, a DSL client should get the video in 352x288 and a client with ISDN in 176x144.

Is there a possibility to do this with the FMS server on the server with server-side ActionScript? Or can I limit the requested stream size on the client side? Or anything I can do?

View 8 Replies

Professional :: Fit Intro With Motion At All Screen Resolutions

Mar 9, 2010

I'd like to make an intro similar to this one used in this site:URL... In other words, I want the logo to appear firstly in the center and then go to the left side of the screen for every screen resolution. How can I make a motion for an object that will always starts from the center of every screen resolution and ends at the left side of the screen for every screen resolution?

View 11 Replies

Flash :: Make A Swf Compatible With All Screen Resolutions?

Jun 28, 2010

I'd like to have the swf get as big as possible for each user without requiring scrolling. Of course it would stick to a certain ratio, currently I'm using 2:1 but that could be changed (maybe I should use 16:9 since it is the standard widescreen ratio).

I am only using Actionscript 3 for code and MXMLC for compiling.

View 1 Replies

Flash - HTML5 Resizable Websites With Different Resolutions

Mar 12, 2012

I'm trying to build a website that looks the same (or at least very similar) even with different resolutions. I know it's a pretty simple thing to do with Adobe Flash, but I'm kinda trying to get into the whole "HTML5 scene" so I thought I could try building it without using flash at all. I know I can resize the canvas to fit the window of the browser it's being viewed in, but can I also resize images, text and other HTML structures that I place inside the canvas? Like s, s, s or images?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved