Actionscript 3 :: Flex - Manage Size Of Image Assets In Mobile Apps?

Feb 10, 2012

Due to screen density of iPhone, image assets are developed larger. So, when specifying the icons and images to Flex components takes this form.

<s:ViewNavigator id="tab1" label="Tab1 width="100%" height="100%" firstView="views.Tab1">
<s:icon>
<s:MultiDPIBitmapSource source160dpi="@Embed('assets/tabIcon.png')"/>
</s:icon>
</s:ViewNavigator>

Flex of course renders this correctly and adjusts the size to what it should be. However, when I load images myself, they appear blown up as they would appear double in size. This is how I use it when overriding the tab bar.

[Code]...

View 1 Replies


Similar Posts:


Flex :: Detect Screen Size To Center An Image On A Mobile Device?

Nov 23, 2011

Tried stage.stageWidth and stageHeight on applicationComplete, but for some reason the actual numbers returned do not seem to be accurate - the image always appears off-centered (stageWidth/2 - imageWidth/2). How do you determine the mobile device's actual screen size, to center an object?

View 1 Replies

Flash :: Are There Any Limitations Of Flex 4.5 Mobile Apps On IOS

Jul 1, 2011

I've looked at a few demos from adobe that show apps built with Flex 4.5 running on iOS from simple list views to video capture. This has made me wonder if its an effective solution to build cross platform mobile apps.

For those of you who have taken Flex 4.5 mobile for a spin, what is your impression on the capability and performance on iOS. Is there anything you can't do with Flex 4.5 mobile that you couldn't with a native app? Are there any limitations?

View 1 Replies

Flex :: Air - Mobile - Open A File Included In Assets?

Aug 16, 2011

I am having trouble opening a file in the assets folder in my flex mobile application

var myFile:File = File.applicationStorageDirectory. ("@Embed('assets/file.txt')");
var myFileStream:FileStream = new FileStream();
myFileStream.addEventListener(Event.COMPLETE, glossaryFileOpened);

[code].....

View 1 Replies

Flex :: Multiline Labels In Flex 4.5 Mobile Apps?

Jun 25, 2011

im completely lost on how to do a simple multiline label. The docs say that labels are best used as single lined elements, but that alludes to it being able to do multiline if necessary. Anyone have any clarification on the subject?

View 3 Replies

Actionscript 3 :: Manage Loaded Assets?

Jul 23, 2011

I'm working on an AS3 project that must load a lot of external files; images, sound clips, movie clips etc. The program first loads an XML file that contains the file names of all assets needed by each class. From that point on I'm not sure what would be the best way to distribute those assets.I thought about making a dedicated assets class that will load everything the XML object describes, and then pass it to each class' constructor so they can access the objects they need. This seems like the "tidiest" option, but is there a best practice way for managing loaded assets?

View 1 Replies

Flex :: Determine Code And Assets Size Within A SWF?

Mar 25, 2010

Is there a way to take a compiled SWF file and figure out how much of it's size is used by code and how much is assets (images, etc)? I'd like to see if I can get my Flex SWF smaller but I'm unsure what's taking up the most space.

View 1 Replies

Flash :: Prevent Standalone Projector Apps From Trying To Open Assets?

Mar 17, 2011

Is there a way I can exclude apps from the "Open With menu?

Finder mistakenly lists all standalone Flash apps I've built as possible choices when opening a SWF.

View 1 Replies

Start Writing Code For Mobile Apps?

Jul 27, 2011

I have some basic as3 knowledge and I have built 2 apps. in as3 but I want to use them for mobile systems as I guess for symbians.Which program should I use. I searched here flash lite but there is no forum about it.

View 1 Replies

Android :: Compile Air Mobile Apps Natively?

Nov 3, 2011

Is there any way to compile Adobe Air apps to native Android / iOS applications? I have no idea about iOS but in Android they need a huge(9MB~) download and i think it is a very big drawback for anything that can be sold?I heard from an Adobe person at a conference that Angry Birds was made with Flash, if he wasn't lying, there must be a way.

View 1 Replies

Download Flash Lite To Develop Mobile Apps?

Jul 6, 2010

I can't find the link for downloading Flash Lite.

View 1 Replies

ActionScript 3.0 :: Displaying HTML Content In Mobile Apps?

Feb 13, 2012

This question was posted in response to the following article: [URL]..

View 1 Replies

Flex :: 4 - Size Of .apk File Is More When Packaged From Command Line In Mobile App

May 23, 2011

I have a built a mobile application using flash builder burrito and when i export the app from the builder the size of the apk file is say 1180KB,but when i try packaging the same application from the command line the size increases dramatically(to 2679KB).In both the cases if we see the size of swf file it is 2679KB only.So the builder is using some compression techniques to reduce the file size.Is there any options available in command line to do the same compression technique??.I have used the following command to package the swf file..

[Code]....

View 1 Replies

Flex - Convert An Image In Assets Folder?

May 13, 2010

I'm trying to convert an image in my assets folder

"./assets/image1.png"

to type Object. It needs to be Object because that's what the function I'm using it in is expecting.

Any ideas what would be the simplest way to do this?

View 3 Replies

ActionScript 1/2 :: Make Voice Recorder With Flashlite For Mobile Apps

Jun 23, 2011

I wanna make a mobile app with voice recorder , give me a reference example like e-book, website, program.. etc , i wanna use flash lite 3 with as 2.0

View 1 Replies

ActionScript 3.0 :: Make Voice Recorder With Flashlite For Mobile Apps?

Jun 23, 2011

I wanna make a mobile app with voice recorder eference example like e-book, website,program.. etc , i wanna use flash lite 3 with as 3.0

View 1 Replies

Flash :: Deliver Video To Mobile Apps Built In Professional?

Jun 26, 2011

I'm having a hard time finding information on the best way to deliver video to mobile apps built in Flash CS5.5.
 
I'm working on an iPad app using AIR for iOS and I'm wondering how I call on video files basic controls.

The app I'm working on is just a mobile presentation for our studio's production work, so I just want to be able to add our showreel and some other videos of work we've done.

View 3 Replies

ActionScript 3 :: Flash Build Unique Device ID For Mobile Apps?

Jan 16, 2012

Is there a unique device ID that I can use in Flash Builder/AS3 to differentiate between devices in a Flex mobile project? I am trying to circumvent having to code a login/registration system.

View 1 Replies

Android :: Flash Builder - Loading Assets For Mobile Devices

Oct 18, 2011

I am using flash builder to make an app for android/ios. How would you recommend I use assets such as images and sounds. Should I embed them or use loader? Any benefits to each one. I have a fair amount of assets.

View 2 Replies

Actionscript 3 :: Set An Application Size According To The Screen Size (for Mobile Devices)?

Oct 19, 2011

I am developing an AS3 application (not a Flex one) using Flash Builder 4.5. My application can set its graphical components automatically according to stageWidth/stageHeight. My problem is with the actual application size. If I do not specify width/height in the SWF meta tag, my application is compiled according to the default (550x400?). If I do specify (for example 800x480), I won't be able to support other resolutions correctly.

Is there a way to tell the compiler to see the application size according to the device's/stage's sizes?

View 1 Replies

Flex :: Changing Image Size Independent Of Scene Size?

Apr 6, 2011

I have three images and I want change the images size based on the scene size (default size is 1024x768). After each image has completely loaded I call bindableUtils.setter to set width/height when scene size changes but I don't know how to make a pointer or something like that. I'm using a public var img, but it only works with the last complete image.

Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

[code].......

View 2 Replies

Flex :: Upload - Adobe Flex Mobile Selecting Image From Camera Roll Or Taking Picture Restarts The Application

Jan 19, 2012

I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.

[Code]...

View 1 Replies

Actionscript 3 :: Capture An Image Using Flex 4.5.1, In A Mobile Project?

Nov 28, 2011

I am trying to capture the image using ActionScript through the webcam attached with the PC.

I have written following code..

protected var myCam:CameraUI;
protected function view1_viewActivateHandler(event:ViewNavigatorEvent):void
{

[Code]....

But the camera is not getting detected.. currentsState is always unsupported... Is there anything wrong...

Any other way to capture image/video for mobile devices using FlexMobileProject..?

View 1 Replies

CS3 :: Stage Size For Facebook Apps?

Aug 14, 2009

Recommend for the stage size (in px of course) for a swf, if I were going to create a Facebook app (using the FBML's canvas)?

View 3 Replies

Flex :: 4 - Image TouchBegin Flex Mobile

Mar 15, 2012

I want to detect touchBegin event in Image component in Flex mobile but when I set <...touchBegin="myMethod()" />, but its doesn't trigger when I touch that image.

View 2 Replies

Flex :: Loss Of Image Quality When Zooming In Mobile Application?

Jul 11, 2011

i have a mobile application that i am creating in Adobe Flex (Flash Builder 4), and i am trying to create a zoom function. The one i have works, but the point is to be able to more easily read words that are in the image (the images are .jpg files). The images are 2550x3300 originally, but as soon as you zoom, the image quality reduces drastically, and nothing is readable.

[Code]...

View 2 Replies

Actionscript 3 :: Prevent A Loader From Changing Apps Position And Size?

Nov 15, 2010

I load an SWF using a simple loader but it changes the main applications x/y position and size.Which loader do I use to load an swf that will maintain the position size of my app?

var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, function handleInit(event:Event):void{
var UIDesigner:UIComponent = new UIComponent();

[code]......

View 3 Replies

Flex :: Mobile Gesture Event : Slide Between 2 Views Like Google+ Mobile?

Mar 23, 2012

I would like to move (right or left according the current view) between 2 views when I move my finger on the mobile screen; for example with Google+ mobile application, in profil section, you can change the view just on move your finger on the screen, and the offset and the moving speed must be checked before change complete view.

View 2 Replies

Flash 10 :: Import Assets From Illustrator And Photoshop To Get Low File Size For Final Swf

Mar 31, 2012

I am looking for information on how to best import assets from Illustrator and Photoshop to get a low file size for the final swf. In particular:I have text that has been effected in Photoshop and a few images that can be brought in from Photoshop or illustrator. Right now I am exporting for web and bringing to Flash. Looks good but file size of end swf too big. I have gotten .fla files before from so-workers that have text or graphics as shape objects rather than images - is that possible and how is it done?

View 1 Replies

Flex :: Mobile Supports Native Mobile Features?

Jun 27, 2011

Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).

View 2 Replies







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