Join a global community of Adobe Air users and developers.
Recently active
How can I remove the shading from the App store icon?
Hi,I would like to use AS3 code to place (and manipulate) a MovieClip. I am developing in Flex under AIR, targeting Android and iOS. According to this post (http://forums.adobe.com/thread/862212, I can use embedded swfs if they meet certain criteria:"The swf files may not contain any actionscript code, library elements with linkage identifier or MovieClips on stage with instance names."Is there a mechanism to get a MovieClip object, whcih I can then draw into a BitmapData or add to another sprite as a child, using an embedded SWF that complies with the iOS restrictions? Is there a specific code pattern that is recommended?Thank You!
Hey guys,I want to make a digital book-like application with lots of interactive objects inside it. For example, I want 3D models that can be rotated instead of images beside the book text, I want to launch games and then after they're done go back to the book. This is intended to be for tablets (both android and IOS) so I intend to have control of the positioning of stuff depending on the current orientation of the device.Would you use Flex or Flash? I am very confortable with Flash but I'm thinking maybe I'll have to learn Flex for this one...I really don't know the best thing to do...Maybe the book, text and style should be done in FLEX and the interactive objects with Flash?Thanks people!MB
Hello,We have a game that we are developing for tablets that we are porting over from a browser based Flash game. In that game, there is a link to a PHP script that loads in player information and displays it on a web page. We would like to be able to reuse this functionality without having to rebuild it all in Flash for AIR. I know that AIR has Webkit support built in but I'm having a hell of a time finding out if it can display a web page from inside the application, rendered with PHP. Also I'm having trouble finding any information on how to actually use Webkit inside of AIR, other than an old mx:HTML component. Any help on this would be much appreciated.
How to handle incoming calls in AIR android app?
I have created a simple test app using Flash CS5.5 and air 3.2 to test the stageWebView functionality however I am having problems getting the Event.COMPLETE to fire. My website loads fine but the onComplete function is not being called. Here is my code. I would appreciate if anyone can confirm if there is a bug or if there is a problem with my code.import flash.media.StageWebView;if (objApp == undefined) { var objApp = new Object();}function displayWebsite(e:MouseEvent):void { objApp.webView = new StageWebView(); objApp.webView.stage = this.stage; objApp.webView.viewPort = new Rectangle(120, 120, 530, 710); objApp.webView.addEventListener(Event.COMPLETE,onComplete); &nb
Does anyone know where to find a breakdown of devices in various countries?Specifically, I would like to know the percentage of Android devices in China with a processor less than ARMv7, which cannot install AIR apps.Adobe, do you not have a breakdown of this?All leads welcome.
Hi,I'm working on an iOS project involving video playback. Is there a way to run a video in iOS' default media player and fullscreen? I also need the media player removed from the stage upon tapping on 'DONE' button (default iOS media player's in-fullscreen option). Presently I can able to trigger the default media player by the use of StageWebView but its not directly opens to fullscreen, nor I can get a callback when the 'DONE' button press in fullscreen (to remove player).Following is StageWebView usage in a fashioned manner:webView = new StageWebView();path = new File( new File("app:/"+value.itemPath).nativePath ).url;webView.stage = this.stage;webView.viewPort = new Rectangle( 0, 0, stage.stageWidth, stage.stageHeight );webView.loadURL( path );Any help would be very appreciated.Thank you.
If i already finished my application/game then i want to add new content such as themes, images, music, etc. is this method posible?or if there another way to add some additional content to my apps/games please tell me. my application/game using AIR.by the way, i wonder how DLC or other the same system working, is that files added to our directory then update (something like) the xml file?
Edit: Never mind.Whoever made the native extension, despite it being a useful function, used the abominable package naming structure of:com.coder.nativeExtensions.NameOfClass.NameOfClassAnybody going to use it would import com.coder.nativeExtensions.NameOfClass, in which case it would not work because the name of class is also the name of an extra package directory and you have to repeat it twice which makes no sense, but it works with the class name redundantly repeated twice in the import.------------------------------------------------------------------------------------------I am on Flash Professional CS6. I upgraded it just so I could use Native Extensions. I have browsed and added the native extension to libraries. I have added the import statement and added the xml entry for extension ID.If I try to run it I get "Definition could not be found" error for the package import. There is a complete lack of documentation or any way to find out why it isn't working. All I get is an unhe
Hello EveryoneI have created a mobile action script project for iOS.How do I test it on a simulator (ipad or iphone)?Thanks
I've tried this ANE:https://github.com/pkoscierzynski/NativeAPNServiceWhen compiling on Windows I get:ld: file not found: %ADT_ENV_VAR_33%Apparently this issue is exclusive to windows and one must compile on Mac the IPA. Has anyone built (or could anyone build) a native extension that simply gets the APN token from the iOS device? I'm developing on a windows machine and have been borrowing other people's Mac's to submit to the app store and to generate certificates. I can't afford to buy a mac right now, and I really want to get these push notifications working...I'm on Windows 7 and Flash Builder 4.6Anyone have any ideas?
I am creating an Android app and wish for my app not to be able to install on devices with a screen resolution of less than 320 * 480. Is there a setting anywhere i.e. -app.xml or otherwise where I can achieve this? I know with the pure Android SDK you are able to set which devices your app will run on.Thanks
Is it possible to mark a vertical code in Dreamweaver CS6?
Hi,Actually, What is the difference between Flash and AIR
Hi, how can i modify bitmapdata with ANE without copy/clone?I want to send bitmapdata to native extension (iOS), then changes bitmapdata pixels, then I want to see changed Bitmap (which uses this bitmapdata) on stage.My code:ActionScriptbd = new BitmapData(300,300,true,0x00000000); //create bitmapdatabd.fillRect(bd.rect,0xff0000FF);var btm:Bitmap; //create bitmapbtm = new Bitmap(bd);addChild(btm);myExtension = new MyExtension(); //create extension instancemyExtension.ChangeBitmapData(bd);//bitmap stay same iOSFREObject ChangeBitmapData(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]){ // Obtain access to the bitmap data pixels .. FREBitmapData bmd; FREAcquireBitmapData(argv[0], &bmd); // We'll now loop over each pixel write them into the AS3 bitmapData memory int x, y; // There may be extra pixels in each row due to the va
I'm using Flex 4.6 and am working in making some simple lists. Each row is only expanding as far as the data within it - that is, the background and separator bars only go as wide as the data within the individual rows. I haven't really applied styling to it yet but I have started a component strucutre. I'm going crazy with this - any advice would be MUCH appreciated. I know I'm must be missing something obvious but I can no longer see the forest/trees/etc. Here's what I have.In my HomeView I call the list (shown in bold below). I'm showing the parent containers all the way up to just under the main View in case it helps. I am not showing all closing tags - you get the picture:<!-- scroller --><s:Scroller width="100%" height="100%" horizontalScrollPolicy="off"><!-- required b/c the
I've been really stuck at this problem for a number of days and cant find any help online as to where im going wrong.1119: Access of possibly undefined property CloudsNAnim through a reference with static type Class.the setup as of now, there are 4 movieclips i want to cacheasbitmap. two copies of a vector movieclip called CloudS2 and two copies of one called CloudS4those are in a movieclip holding them called CloudsNear and another movieclip holding that which holds an animation of the CloudsNear movieclip moving past the screen in a loop which is called CloudsNAnimand that is inside the main level which is added to the stage called PlaneLevel where do i place the cacheasbitmap lines in my code to load them into memory before I load the main movieclipspackage { // all my imports etc // public class MightyMend extends MovieClip { public
Hello EveryoneI am loading a external swf file using loader. It was a pdf file converted to swf.How do I pass parameters to the file so that I can highlight certain words in the file?Thanks
Hi, I'm developing an air app for android and ios. I'm also integrating the app with facebook, however I don't know what to set "Android Class Name" to in the developer facebook page. I set "Android Package Name" to "air.mypackagename". Any ideas? I tried "air.mypackagename.AppEntry" and "android.intent.action.MAIN" but it didn't work, i.e. I still couldn't log in from the app. By didn't work I mean the call to FacebookMobile.login is made but never returns (no error is thrown and the callback is not called) If instead of using Facebook Mobile API I use the Desktop or Web API I can log in just fine; so I assume that the problem is in those Android settings in facebook.Thanks. Sergio.
I want to create image on my mobile application, after that i want to export the image. this is my code i got from other tutorial post. im using adobe flash and export it as AIR for android.var jpgEncoder:JPGEncoder = new JPGEncoder(90);var byteArray:ByteArray = jpgEncoder.encode( bitmapData );// set an filenamevar filename:String = "cool-wallpaper.jpg";// get current pathvar file:File = File.applicationDirectory.resolvePath( filename );// get the native path var wr:File = new File( file.nativePath );// create filestream var stream:FileStream = new FileStream();// open/create the file, set the filemode to write; because we are going to savestream.open( wr , FileMode.WRITE);// write your byteArray into the file. stream.writeBytes ( byteArray, 0, byteArray.length );// close the file. That’s it.stream.close();on my computer, the image appear on the same link as my source application. but its not working on mobile.i tried this using android, my application is working but the image is
I have a new project that gets stuck at 5 seconds remaining during publish. First time I've had this happen, and I'm able to publish other iOS projects no problem still. For some reason it's stalling on this one.It's a simple project (a proof of concept really), has no library items, just a couple AS files. It runs in ADL without any problems too. During publishing it gets all the way to 0 then goes back to 5 seconds (like all others), but then it stays at 5 seconds until I cancel.
Hello there,Do you know how Flash CS6 manages the ANE and the new AIR versions?Is there any link that shows/explains it?Thanks in advance
Hello EveryoneI am new to Adobe AIR development.I have following code to display external SWF on iPad. I have not tested it on simulator. Will it actually work on the device? Has anyone displayed external swf files on iOS?I am using Flahsbuilder 4.6 for development. I created "New ActionScript Mobile Project".var request:URLRequest = new URLRequest("http://<domainname>/test3.swf"); loader = new Loader() loader.load(request); Thanks
Hi,What is the best practice in regards to CPU usage and performance for dealing with eventListeners when adding and removing movieclips to the stage?1. Add the eventListeners when the mc is instantiated and leave them be until exiting the appor2. Add and remove the eventListeners as the mc is added or removed from the stage (via an addedToStage and removedFromStage listener method)I would appreciate any thoughts you could share with me. Thanks!JP
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.