Join a global community of Adobe Air users and developers.
Recently active
Hi,Every time I create a new mobile project in Flash Builder and try to run it I get this error message:TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.coursevector.flashbug::Profiler/allCompleteHandler()[SWF] NoteTakerMob.swf - 2,698,930 bytes after decompressionI get this when I try compiling against Flex SDK 4.5 and 4.5.1, and whatever type of mobile app I try to build, e.g. view based, tab based or blank view.Does anyone know what the problem may be?Stephen
Viewing web pages in my Adobe Air app using stageWebView works fairly well. However, whenever I use the soft keyboard to enter data into a text field on a form, after I finish and dismiss the soft keyboard my stageWebView remains resized as it was (automatically) to view the soft keyboard. So it is approx 1/2 of the screen when it should be on the whole screen. And the space where the soft keyboard was displayed is blank. No matter what page I navigate to this situation remains until I force close the app and restart.How would I fix this?
Hey there,we're developing some plain AS3 projects using Flash Professional (to compile) and Flash Builder.All is working good with the new AIR 3.0 release and performance is better than with AIR 2.6I followed this tutorial and simlar to use AIR 3.0 instead of AIR 2.6:http://kb2.adobe.com/cps/908/cpsid_90810.htmlSadly today we saw a new issue with font embedding. Neither using Flash Professional itself or Embed-Tag in the code itself works. Also we see that the SWF size does not change when adding multiple fonts.Anybody has a clue where this issue might be caused? I can think that the way fonts are embedded has changed in AIR 3.0 and it's not working with the "replace AIR 2.6 with AIR X.Y trick".Any help welcome.Best,Cedric
Please download the attached file to view this post
I would like to play a movie clip that I have a in a separate SWF file. The following code works on my PC debugger, but the movie does not play (or even load) on iPhone. Is this possible on iOS? What am I doing wrong? Thanks in advance... [Embed(source = '../assets/cinematics/test.swf', mimeType='application/octet-stream')] static public const CINEMATIC_A_SWF:Class; loader = new Loader(); var context:LoaderContext = new LoaderContext(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, movieLoadComplete); loader.loadBytes(new CINEMATIC_C_SWF() , context); private function movieLoadComplete(evt:Event):void { movieClip = (loader.content as MovieClip); movieClip.play(); }
I have tried increasing the frame rate, it doesn't help.I am compiling using AIR for iOS and running on a first generation iPad.I have simple movie clips that get dragged around the screen. No memory hogs, it's just a little kid's game. And yet startDrag() and startTouchDrag() are really choppy. It's like dragging on one of those old 1 frame per second machines. My finger will land and .75-1 second later the Sprite will catch up. 1 second is a long, long time in a user interface. Other similar apps (not written in Actionscript) have smooth, silky drag functions. Even my 3 year old daughter notices how bad the lag is.Is this just an AIR compiler problem, or am I doing something wrong?
I've been learning AS3 this year and so far the most tricky and annoying thing for me is the way the Sound Channel works. I have a movieclip holder with around 20 frames, with animation on each frame. I have been coding my sound effects, but soon I'll need a Voiceover track on each frame. I don't want to haveto write tons of code for each one, playing them and stopping them if the user toggles back and forth.Is there a simple way of doing this? I tried adding sounds on the timeline using 'event', but they don't stop playing if you go to a new frame. Any ideas?Thanks,Matt
I've just ported a little flash game I did on Android, it runs fairly well but sadly when I press the Home\Back button the app freeze and I need to force the exit to quit. What can cause this kind of problem? Could it be AIR garbage collection freezing the whole phone? I don't really know where to bang my head because I can't even debug such a thing as it should be the phone OS itself or at least AIR to manage things like that.I'm using Flash Buider 4.5 and the device seems to not matter, it does the same on two different devices I tried.
What we have found is that in the Air playing on Ubuntu there are vertical line artifacts on the edges of alpha channels of images. The attached image is a series of display objects set on top of one another. they are *starting from the deepest*:Video (of the belagio fountains)Image (star in the lower right)Image (completely alphaed out)Image (with the text message as seen)The top two images both have glow filters applied and are the same size but offset by a couple pixels. What you see on the right of the text is a vertical line which is a repeat of part of the display about 70 or so pixels to the left. In a series of grabs this area changes with the content of the video which has confirmed that it is not part of the images themselves. If the two images are aligned and the same size the artifacts go away. If the glow filters are removed the line goes away. This doesn't happen in Windows or OSX.Test bed:Ubuntu version 10.04 lteAdobe Air 10.3.181Air Application compiled with sdk 4.1.0.1
I'm working on air app (html/ajax/javascript). I need to make a navigation feature, like a browser back and forward button in a page with iframe, all pages are on same domain.I have the following scenario:Adobe AIR (version 2.7.1) app that loads (air.HTMLLoader) index.php from mydomain.comhttp://mydomain.com/index.php file has following design:<html> <body> <input type="button" value="< BACK" onclick="iframeID.history.back();"> <input type="button" value="FORWARD >" onclick="iframeID.history.forward();"> <ul> <li><a href="http://mydomain.com/page1.php" target="iframeNAME">page 1</a></li> <li><a href="http://mydomain.com/page2.php" target="iframeNA
Hi,In the resources of my application, I can easily embed a PDF file just like I would embed a large mp3 file , video or photo'sBut.... can I somehow call some code in as3 which then opens that PDF file on the ipad ? So for example I have a book (in PDF) containing +- 20 pages and when I click on a button of my air app, I want to have the ipad open the pdf file and show it onscreen.Possible ???Kind regards,Bart
I'm getting an error when trying to compile a native extension (.framework) for Mac OS X 10.7 with XCode 4.1; I've included "FlashRuntimeExtension.h" in the project but not sure if i'm missing something else as there is a lack of documentation for Native Extensions with XCode for a Mac Framework (the error I get is "_FRENewObjectFromBool" - symbol(s) not found for architecture i386.I have AIR 3 RC and the latest Flash installed on my machine.I'm not sure what i'm missing?Thanks!
I made the mistake of trying to install the BBC Iplayer desktop from bbc iplayer website for those that know of it as something seem sto have gone wrong with the install and caused adobe air to act all mental on me and now each time i visit the bbc iplayer website i get the message"this application requires a version of adobe air which cannot be found, please download the latest version from....."I also get that message if i try to unistall adobe air.I googled this and seen that its a big issue with adobe air, tried all the fixes, the comman prompt tip but nothing worksi got the following from my log[2011-05-20:19:35:01] Runtime Installer end with exit code 5[2011-05-30:12:00:23] Runtime Installer begin with version 2.6.0.19140 on Windows XP x86[2011-05-30:12:00:23] Commandline is: [2011-05-30:12:00:23] No installed runtime detected[2011-05-30:12:00:30] Starting runtime install. Installing runtime version 2.6.0.19140[2011-05-30:12:00:30] Reinstalling c:\docume~1\john\locals~1\temp\air1
Hi: I just received my new Galaxy Tab 10.1 with Honeycomb 3.1 yesterday. My primary reason for purchase was Flash compatiblity (I jumped ship from an iPad 1). So, the first thing I did was install Flash player 10.3 - and then I went to the advanced tab of the in-built browser and clicked 'Always On' for 'Enable Plug-Ins" (why that isn't a defauly setting is beyond me). Anyway, my flash sites work - it is just that the images look a bit interpolated and pixelated. Is this something to do with the dpi of the device or player itself? Thanks.
I try to remote debug on ios fail to connect host
Just curious, for those of you using AIR to build iOS and Android apps, how many of you are using design patterns/frameworks(RobotLegs, PureMVC, etc..)?If so, which one are you using and have you noticed any negative effects such as performance?Thanks!
Does the "Search this forum" search box works for anyone? When I type any word even that is included in threads that I see on a forum (like "Flex"), it always return 0 results?
Hi all,I'm looking for a generated charts solution, working on mobile device (an android tablet) via AIR.I had great result in Flash IDE with AnyChart, but it doesn't seem to work on the device...I have great experience before with FusionChart, but it doesn't support AIR anymore...Any great feedback or experience about charts in AIR ?Many thanks!
With Air 3.0, once i minimize an app on Android, more often than not it crashes when i re-open it.Using captive runtime i see the issue:-Existing game i have created working fine on Air 2.5 , 2.6, 2.7-New app with nothing but a square drawn on stage.In addition, I have also taken the Runtime.apk from the Air 3 SDK, installed it, and now when i use other known Air games from the android market, they also crash upon reactivating most of the time.Is anyone else using Air 3.0? can you confirm if this is happening as well before i submit a bug?I am using only a motorola droidX w 2.3 OS
When running the app first time, it downloads some media (movies, pictures etc.). When uninstalling the app from the Remove programs in the control Panel(windows), the folder remains with the downloaded data. Anyway to completly remove everything ?
Is there any way or workaround to send emails with attachments? The only way known to me is to use mailto but how to include attachment then? Has anyone tried to do that with native extensions on iOS?
I created an Adobe AIR application that displays information in the application window which is continually updated by a UDP data stream. The source of the UDP data stream comes from a C++ application running on a seperate machine on the network. This all works great when running on a domain network type which is my usual development environment but when I move the applications to the target environment it stopped working. The target environment is a few computers networked together with a network hub. Windows active networks list shows it as unidentified network, Public network.I'm fairly certain this is not a security configuration issue. I've verified that the UDP packets are being received on the machine running the AIR application. The DatagramSocket just doesn't seem to be aware of the packets or is ignoring them.1. I can read the packets with a C++ program.2. I ran Wireshark and it shows the UDP packets being received.So I conclude from this that the UDP packets are not being bl
I want to make an array with words for example "one", "two", "three".Then randomly choose one of the array elements and then show it in "number.text" after that, element would be deleted.Can You give any examples please, cause I get this error all the time:TypeError: Error #1034: Type Coercion failed: cannot convert "One" to Array.Code:stage.addEventListener(Event.ENTER_FRAME, newWord); function randomArrayElement(wordArray:Array):*{ return wordArray[Math.floor(Math.random()*wordArray.length)];function newWord (e:Event):void { var wordArray:Array = new Array ("One", "Two", "Three"); var posA:Array=randomArrayElement(wordArray); word.text = String(posA);
HiWhile Developing for IOS, I noticed that my app works very slow.I dont have animations or anything graphicly interesting. all my graphics are vectors and I dont have a lot of it, anyway...but, when dragging and object, its very sluggish!or, in another part, I have a double click to zoom feature. when you double click, it takes 2-3 seconds until it zooms, on my ipad 2!I'm using air 2.7 and it doesnt seem to do me any better...doctor, what should I do?
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.