Join a global community of Adobe Air users and developers.
Als letztes aktiv
I have an app created at iPhone4 screen res (640x960)Now I want it to scale properly on an android tablet (800x1200).this looks goodstage.scaleMode = StageScaleMode.NO_BORDER;But how to I query the size for my buttons?I use the capabilities class to get the screen dpi and layout the button sizes based on pixels, works goodhowever StageScaleMode.NO_BORDER, it appears I am just scaling the whole swf, thus making my buttons too large.thanks
I'm running adobe premiere elements 7 and trying to burn a slideshow video, but i keep getting a error message saying that premier elements is running very low on system memory. And to save your project and proceed with caution. Then when i click on burn, there's a message saying that there's a transcoding error and it won't burn my video. What should I do to correct these problems? I need help. Edda
We got a big location map that allows user to zoom in and out and do the panning but the image of the map is not very smooth when you pan it in iOS (Android is ok) so is there a way to fix this problem?thanks!
Hi!With previous versions of Air on iOS, when I was loading an external SWF that was containing library symbols using linkage names, I was getting a popup message saying that uncompiled actionscript was not allowed on this system. It was really a pain, since it was not possible to use the class system of AS3 to instanciate several instances of the same object. So I had to create all the instances on my stage in the IDE, and manipulate them using GetChildByName() in my pure AS3 code.Today I made some tests, and didn't realize that my SWF file was containing some symbols with a linkage name. And it was working fine! With previous versions of AIR, I was getting an instant warning message, and the app was stuck.So I made further tests, and now I can load an external SWF even containing AS3 code on the timeline, and it works!! Really I don't know what to think. This is wonderful news, because now we can really implement iOS apps the same way we would on any other platform. But I also know t
Hello,I'm creating my first mobile air app, to start with it's going to be on ios then I hope to launch on Android and other platforms. I'm wondering is it a good idea to load my bitmap assets during runtime as and when I need them or is it advised to load them all at once upfront and store in memory?I guess obviously it's going to depend on how many, how big, whether items are reused etc but would be great to get an overview of other peoples general approach.Thanks is advance!
HiHere is my problem : i'm able to detect if the my mobile application run on a tablet or on a phone by calculating the diagonal of the stageBut then, i need to load the good css : the smarphone.css or the tablet.css I try by compiling css as swf, BUT the problem : iOS doesn't permit to load external swf and in this case, smartphone.swf or tablet.swf are external swfSo my needs is to switch the css at runtime, but not by loading external swfI try with <fx:Style source.myStateTablet="" /> but it's not possibleAny ideas ?ThanksSebastien
Just got a brand new Samsung Galaxy Ace S5830 mobile, and couldn't install Flash Player 10.2 nor AIR 2.6I doesn't list in the mobile Market app, as well as, if I try to install from market.android.com, its says"This item is not compatible with your device". But its not supposed to be so.Disappointed !! Should i enable / disable something?I posted this question earlier in Android forum, and they say Adobe should answer this.I thought any 2.2 or above mobile device should be capable for FP 10.1 and AIR for Android, but why its not so?Yes, Galaxy Ace OS is Android version Froyo 2.2In my Mobile -> Settings -> About Phone says : 2.2.1Samsung site says 2.2 : http://www.samsung.com/galaxyace/ace_techspec.htmlGSMArena says 2.2 : http://www.gsmarena.com/samsung_galaxy_ace_s5830-3724.phpFlash Player app is tried to install is : https://market.android.com/details?id=com.adobe.flashplayer
I have been using the following but it throws an error "Result of expression air.EncryptedLocalStorage[undefined]is not an object". Whats happening?<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title><script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="AIRAliases.js"></script><script type="text/javascript">$(document).ready(function(){$("#but").click(function(){ var str = "Bob"; var data = new air.ByteArray(); data.writeUTFBytes(str); try { air.EncryptedLocalStore.setItem('firstName', data); } catch(e) { alert(e)}}) })</script></head><body><input id="but" type="button" value="button" /></b
Wasn't sure if this is an AIR installation issue or a FB issue.I've written an application in Flash Builder and I'm now attempting to get it running on an iPad.I am running on a Mac (OSX 10.6.7)I have FB 4.5 installed and downloaded the separate 4.5.1 update file successfully updated FB to 4.5.1.I have downloaded and installed AIR 2.7. I have downloaded and installed the AIR sdk.I have an iOS developer account and have created my developer certificatn p12 file, created an Apple Id for my application and a provisioning profile. I created a new "ActionScript Mobile Project" for my application and enabled the Apple iOS platform.I have entered my certificate and provisioning information into FB.I created a "Debug Configuration" for my project.When I run my debug configuration, I am prompted for my Certificate Password (which I enter).I then receive a pop-up message with the following error:"AIR for Apple iOS Support in Flash Builder is not installed. To enable packaging support for Apple i
Ok, anyone has the same behavior with flashbuilder 4.6 ?An emty mobile application, with on the empty HomeView generated, make a swf is 2.8 MoThe fast IPA build for IPhone is 5.7 Mo The release IPA build is 6.5 MoOnce this application is deployed thru itunes, it weight 18 Mo ... for an empty app...tks
I have a StageWeb View which loads a URL. I have defined the limits of it. When the content loads, there are few images added and it gets Zoom In a bit. I need to set it default to Zoom Out.
There is conflicting information out there. What I need to acomplish is the correct orientation of my splash screen for landscape modes. I would like to know the filenames and their respective orientations. For example should Default-LandscapeRight.png be upside down? Retorical as this definately does not work right.
Hello I get this Error Message after I tried to install "typeDNA" latest Version 2.2.0:"It seems like Adobe Air is not installed. Please install it!" If I press OK Button "Setup" says:"Runtime Error (at 17:233):Runtime Error (at 1:46):Internal Error: An Attempt was made to expand the "app" constant before it was initialized"Befor that I updated Adobe AIR to latest Version (3?) with no Problems. Log:[2011-11-04:02:19:36] Runtime Installer begin with version 3.0.0.4080 on Windows 7 x86[2011-11-04:02:19:36] Commandline is: [2011-11-04:02:19:36] No installed runtime detected[2011-11-04:02:19:39] Relaunching with elevation[2011-11-04:02:19:39] Launching subprocess with commandline c:\users\julian~1\appdata\local\temp\air1ff0.tmp\adobe air installer.exe -ei[2011-11-04:02:19:42] Runtime Installer begin with version 3.0.0.4080 on Windows 7 x86[2011-11-04:02:19:42] Commandline is: -stdio \\.\pipe\AIR_1984_0 -ei[2011-11-04:02:19:42] No installed runtime detected[2011-11-04:02:19:42] Starting sil
Hi,I work at ICQ, and we develop a client version based on AIR for the Macintosh.I currently have a problem and I can't find a proper solution.The application is based on an HTTP client server protocol (AOL's WIM).When the user wants to exit the application we need to hit a sign off URL, so users on the other side will know the user went offline immediately.So I've started out by listening to the NativeApplication Event.EXITING, which catches all sorts of user exit methods on the Mac.If the client is currently logged in, I do the following:- Call the proper sign off URL request- Call event.preventDefault(); so the application won't exit before the request complete- When the event completes (or fails), call NativeApplication.exit();All fine up to now.The problem occurs when the user tries to logout from the Mac using Logout / Restart / Shutdown from the Mac's Finder menu.Calling preventDefault on the event immediately aborts the user's logout operation, indicating ICQ prevents the compu
Are there examples of any AIR apps in the market or app store that display ads of any kind?There needs to be a (simple) way to display iAds, Adwords or similar in these apps.
Has anyone developed an app specifically targeting android tablets?I'm assuming there's a flag to set in the XML that would tell it to ONLY run on Android tablets and not phones? What resolutions are you targeting? It's so varied that we assume we'll have to target a mid-range one and set scalemode to EXACT_FIT.
Hi guys, I'm about to release an Android version of my app. It runs as fast on an Samsung Galaxy S2 - as good as the iPad 2! When you press the home button, the Application stays open in the background and the music plays. It's annoying for the customer to have to manuallygo and exit the app from memory.I'm using Air 2.7I found this code online, and put it in the first frame of my timeline, but it get 'syntax errors' on the first 2 lines. Anyone have some code that works?Thanks,Mattif(Capabilities.cpuArchitecture==”ARM”){NativeApplication.nativeApplication.addEventListener(Event.ACTIVATE, handleActivate, false, 0, true); NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, handleDeactivate, false, 0, true); NativeApplication.nativeApplication.addEventListener(KeyboardEvent.KEY_DOWN, handleKeys, false, 0, true);}function handleActivate(event:Event):void{NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;}function handleDeactivate(event:Event
Hey all, I have a simple rounded rectangle width a stroke. You can do it in the IDE. Specify when you make it a symbol that you want it to be a 9-slice clip. Adjust the guides so they're aligned to the corners as usual. Now change the scale or size (height/width). You would expect the stroke around the 9-slice object to stay the same size (preserving rounded corners, which is the point of 9-slice). On OS5.0 (and 4.0 methinks) the scale of the stroke is growing with the size of the scale. I'm pretty sure this is a bug. I'm not sure why anyone would want the stroke to also be scaled up or down. I have only tested this on ipad1/2 OS4/5. Can anyone else confirm? Then I'll submit it as a bug.
Steps:Mount the AdobeAIR.dmg from get.adobe.com/airDouble click Adobe AIR Installer.app to run it.Result:Most of the time, the AIR installer window will not show up. Other times (seems to be 1 in 4 for me) it will open. If I agree to install it, it says the operation has completed successfully (abnormally quickly).This is on 10.6.8 after trying to update from 2.7 to 3.0. After the initial failure, I uninstalled 2.7, without difference. A reboot didn't help either.The Console.app from Applications/Utilities reports the following, after several attempts to install:10/10/11 10:29:33 PM[0x0-0x7e07e].com.adobe.air.Installer[728]Adobe AIR Installer(728,0xa02d8540) malloc: *** error for object 0x131224: incorrect checksum for freed object - object was probably modified after being freed.10/10/11 10:29:33 PM[0x0-0x7e07e].com.adobe.air.Installer[728]*** set a breakpoint in malloc_error_break to debug10/10/11 10:29:33 PM[0x0-0x7e07e].com.adobe.air.Installer[728]Adobe AIR Installer(728,0xa02d8540
I know that I can, with an AdHoc Apple provisioning profile, publish my AIR-iOS ipa file as either an AdHoc or Apple App Store app.I'm NOT publishing my app through the Apple App Store but my question is... is there any performance gain/cleaner code generated if I opt for Apple Store setting?Thanks.
Hi guys,I'm really stuck, don't know why recently my app can't play some rtmp streamers, it can only work with some others. Previously there was no issue.Could you see the below peice of code. This one works fine on PC and Android, but not on iOS.import flash.events.*;import flash.media.Video;import flash.net.*;var client:MediaClient = new MediaClient();var connection:NetConnection = new NetConnection();connection.client = client;// connection.proxyType = "best";connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);connection.connect("rtmp://66.160.142.198/live");var stream:NetStream;var video:Video = new Video(480, 320);addChild(video);function netStatusHandler(evt:NetStatusEvent):void{ switch(evt.info.code) { case "NetConnection.Connect.Success": stream = new NetS
Hello,I know how to change text padding for different dpi with @media tag in css file. I konw how to choose image with MultiDPIBitmapSourceLayout properties like gap, padding... are not styles, not bitmapSourceHow can I simply choose layout visual properties like gap and padding based on DPI ?
Does anyone know if there are any optimal encoding settings for flv playback on an ipad? I'm using the flvplayback component (flash cs5.5 and air 2.7) but can't get playback on an ipad to be as smooth as on a pc.
HiI have a loop in the event handler enterframe. Inside the loop — the multiplication by a fractional number.for (var i:int = 0; i < 200; i++){var n:Number = 10 * 0.12;}As a result, on the iphone 3gs very fast memory is wasted. About 20 KB per second. After some time the memory is reset and starts again to grow. Each time you reset FPS jumps, it is not suitable for my game. When multiplied by an integer, then there is no problem.Does anyone had a similar problem? Is it possible to optimize this operation?P. S. I try Air 2.6, 2.7 and 3. This is a problem everywhere.
heyfor everyone who uses Flash Pro for mobile development please take notice that there is a big difference in the way you deploy your appon iOS, "Deployment - Apple App Store" gives a much better performance than the quick publishingon Android, publishing to an APK file and installing that file with some method (like dropbox) gives better performance than testing or debugging the FLA straight through USBso don't end up fighting performance issues that are actually not there, like i didcheersSaar
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.