Join a global community of Adobe Air users and developers.
Als letztes aktiv
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
I need to set the stage quality or simply the quality of a specific movieclip to LOW while it tweens to improve performance.It seems StageQuality.LOW and StageQuality.MEDIUM are being ignored by AIR 3.2If anyone has any ideas it would be appreciated.Thanks!
I have a .air program running on nearly 400 pc's in the field. I have an upgrade I would like to release silently. I can get the new .air file to the machines automatically. I would like to run a batch file that will install it, and hit the "Replace" button when it notices that a older version is already out there. So, I included the Adobe Air Application Installer.exe in the download, I created a batch file that does this: "Adobe AIR Application Installer.exe" -silent -eulaAccepted -desktopShortcut "C:\Program Files (x86)\MascoVSC\vscassets\program\VSC.air" THis runs perfectly when the old version is not on the machine, but if it is, I get the error: "failed due to bad configuration". Any help would be greatly appriciated.
Hi,I keep receiving an error while trying to publish for iOS.I already found a thread to this topic and tried to do what was marked there as solution (http://helpx.adobe.com/x-productkb/multi/overlay-air-sdk-flash-professional.html), though it didn't help.I snippingtooled the error into the screenshot. If anyone could help me find out what to do to fix this, it would be great.Error text:Thank you very much,gdDept
Can someone please clarify what is or what was going on with the apple developer license?"3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited)."This seems extreamly strage and most likley outdated but i keep comming upon forum posts on the web that say cs5 apps will get banned and theres no point in developing on anything other than a mac,and for some reason many of the people I know developing on mac with xcode are set on the idea that its pointless to develop on windows as this is the case.
-----------------------------------------------------------------------------------------Can any please help me with what is happening here?-----------------------------------------------------------------------------------------Just tried to send Apple my newest update to an app.The .ipa works through iTunes and everything looks great as far as I can tell.- I use Application Loader to sent the zipped .app file- I select the file Application Loader Activity say - it verified iTunes Connect Application - Validated Application attributes on iTunes Connect - Created iTunes Connect API Analysis file. - API analysis file too large, skipping analysis - MD5 calculation complete: d067bf50acf4eb12a241 ... then 49.4MB - Generated package: /var/folders/07/_v893jfs08d0lzn - An error occurred uploading to the iTunes Store - Fetched 2 software versions ... COMPLE
Hi,AIR application is crashing on launch. On this machine we don't have Automatic graphics switching option as recommended here as work around http://forums.adobe.com/thread/945589 Also tried launching chrome before launching AIR application as recommended by chris in this thread, http://forums.adobe.com/thread/935366?tstart=0Process: Path: Identifier: Version: Code Type: Parent Process: Date/Time: OS Version: Report Version: Convo [5717] /Applications/Convo.app/Contents/MacOS/Convo convofy.0F156731A8EDAB9758133E30CA85B43DA5F59D40.1 20120522 (???) X86 (Native) launchd [187] 2012-05-24 21:17:20.454 -0700 Mac OS X 10.7.4 (11E53) 9 Interval Since Last Report: Crashes Since Last Report: Per-App Interval Since Last Report: Per-App Crashes Since Last Report: Anonymous UUID: 293444 sec 646 23814 sec 4 2B4A480D-AF79-4D95-9959-AD5F0B0328C7 Crashed Thread: Exception Type: Exception Codes: KERN_INVALID_ADDRESS at 0x0000000060a9f670 VM Regions Near 0x60a9f670: MALLOC_LARGE (freed) 000000001
This question was posted in response to the following article: http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118676a5e5e-7fff.html
Hi Guys ,I am developing an AIR app using Flash CS5.5 and it uses AIR 2.6 by default , Today i added AIR 3.2 inline with AIR 2.6 by following this guide http://blog.michaeljbowen.com/?p=116 Now My AIR app works fine with AIR 2.6 , but does not run and keeps crashing it with AIR 3.2 , I am desperately looking for a way to fix this. i need your sincere helpcheers
Is there any way to target the external display (for example, composite output through dock connector) of an iOS device in AIR? Not mirrored, but instead content that differs from what appears on the iOS device itself.I've seen discussion and demonstration of this ability regarding AIR, but it might be about Phonegap+JS and not AS3.http://www.youtube.com/watch?v=DgxO676p5IYhttp://www.tricedesigns.com/2012/01/12/multi-screen-ios-apps-with-phonegap/If not, is this something Native Extensions might solve?Thanks!
I purchased Elements 10 from Best Buy. Trying to install and says serial number invalid.
Hey all, In my app I allow a user to download files from a list and then typically use StageWebViews to display them (videos mostly). Recently my app started to misbehave. I'm using Flash Builder 4.6 with AIR 3.2 on Win7 Pro 64. I test on-device. I choose fast export (quick packaging) and debug right from Flash Builder so I can see traces/errors/etc from the iPad. After downloading a ~40MB MP4, I save it to the applicationStorageDirectory (and mark it 'do not back up'). I then wait 3 seconds just to be sure the write has a few seconds to complete. Then I black out the screen with a black sprite, stick a close button on the screen and load the video into a new StageWebView. The problem is the first time these larger 40MB videos are saved and attempted, TONS of code isn't firing off or affecting the display. The video plays just fine, centered on the screen. However all the code to remove tons of things from memory during video playback which has tons of trace statements sprinkled in is
I believe the title is pretty self explanatory. The app fails to install on the iPhone ever since I moved the entire app from one folder to another. How would I fix this? I tried moving the files back, but it didn't work... maybe that's not the issue???? I have no idea, but I am lost and sick of the "failed to install" warning. I am running air 3.0 or 3.1.
I tried uninstalling Adobe Air and reinstalling and I was able to get as far as getting Adobe Download Assistant then the Adobe Air Agreement popped up and I clicked agree then it went away and nothing happened. Then I uninstalled it again and reinstalled one of the older Adobe Air that was provided on this website and I was able to get as far as geting the Adobe Download Assistant install folder, and when I tried to install it, the adobe air agreement popped up again and I clicked agree, and it went away. Please help me get past adobe air so I can download the trial of Adobe Flash Professional CS6
I'm creating a adobe air app in dreamweaver. I'v set the nativeWindow.height and nativeWindow.width and custom chrome (transparent). I have multiply displays connected to my computer and when I switch what display its being shown on the nativeWindow.height and nativeWindow.width seem to be resizing and showing scroll bars which I do not want.How can I keep it from resizing and displaying scroll bars?Edit: I forgot to mention it only does this when I use Custom Chrome (Transparent). and I'm on Mac OS X - 10.7.3
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.