Difference Between The Flash Player Runtime And Adobe AIR Runtime?
Nov 16, 2009
I've been into coding for about 5 years now, but I'm a recent convert to Flash development. One of the questions I have at the moment is, considering that SWF files can be run by either Adobe Flash Player OR Adobe AIR, what's the real difference between the two runtime environments? What API's and Objects exist in one environment, but not the other?
Basically what I'm more or less trying to establish is, when would I want to develop an SWF for AIR, and when would I want to develop for Flash Player, considering that Flash Player can also execute locally (providing support for creating "desktop applications")
It seems to me like the biggest arguments against Flash right now falls into three categories:It is slow and battery intensive. Basically that it uses too much CPU than it should. It is not an open standard. Eveyone knows how HTML/CSS and JavaScript operate inside. Flash is not open.It has security flaws which make it insecure.
Seems like all of these concerns could be addressed if Adobe opensourced the Flash player. Third parties could contribute to and audit the code base, and optimize and fix bugs. Adobe could concentrate on making the apps and environments that author Flash content best. Well, Adobe hasn't done that yet. Why not? What are the business/technical reasons that makes Adobe want to keep control of a closed source Flash player?
I've seen the Loom project, but are there any alternatives that are more mature (and actively developed)? I am looking for something that would allow load-time weaving of pointcuts into existing binary code at runtime with the AVM2 runtime.
I've installed the latest debug version of Flash player plugin for Mac OS X. Diagnostic page [URL] confirms that the version of Flash plugin detected is debugger one. I'am also able to debug applications using Flash-builder debugging tools. But no runtime error pop-ups are shown during browsing. Does anyone have the same problem? Does anyone know how to fix this strange behavior?
I've tried to uninstall the player using this application [URL] and reinstall Flash player again, but no luck.
UPD1: I've created additional user account and found out that error pop-ups are displayed successfully when switched to that account. So it's likely user-profile configuration issue.
I've installed the latest debug version of Flash player plugin for Mac OS X. Diagnostic page [URL]that the version of Flash plugin detected is debugger one. I'am also able to debug applications using Flash-builder debugging tools. But no runtime error pop-ups are shown during browsing.I've tried to uninstall the player using this application [URL] and reinstall Flash player again, but no luck.
UPD1: I've created additional user account and found out that error pop-ups are displayed successfully when switched to that account. So it's likely user-profile configuration issue.
Is Adobe AIR the best cross-OS-compatible, browser-less runtime for RIAs? What are drawbacks unique to AIR? What are positives unique to AIR? Is AIR expected to grow and develop for years to come? Who's the industry leader?
Is it possible that an adobe air application that runs fine with an older installed AIR runtime stops working or works buggy if it is installed on a system that has a newer version of the runtime installed?
I have a main character in my Box2d game that has a b2PolygonShape collision. When the player crouches I am changing the body to a smaller b2PolygonShape. The logic works fine, but when I change the size (height) of the collision the character starts to fall.
Is it possible to create the new body with an offset (localPosition?) so the position of the body stays the same? This way I can play the crouch animation and change the collision without worrying that the position will change and make my sprite go bananas.
I am trying to duplicate a flex component at run time. For example if I have this: mx: Button label="btn" id="btn" click="handleClick(event)"/> I should be able to call a function called DuplicateComponent() and it should return me a UI component thts exactly same as above button including the event listeners with it.
I am trying to package air runtime and air application in a native installer. i googled a lot on how to achive the same. i found this link [URL]..which says u need ' AIR bundled runtime installer' to package air runtime with air application.
But havn't found any air bundled runtime installer. from where i can download 'AIR bundled runtime installer' alternative way to package the air runtime with air application except badge from web page.
I am trying to create AIR native installer bundled with AIR runtime for windows, Mac and Linux operating system??
I'm using Adobe Flash CS5 with Adobe Air 2.5 to build an air app. Is there a way to make use of the Air 3 captive runtime feature? Do I need additional software to publish the Air app with the captive runtime?
Whenever I link a set of movieclips together with the bone tool which are inside a containing movieclip, and also set the type to "runtime" instead of "authortime", I get this error when published.
"Runtime symbols with skewed matrices should be wrapped in a movie clip" What does it mean? I need the type to be set to runtime so I can use scripting with it..
I can't find this information online or in the documentation, does anyone know what versions of Android and iOS the AIR 3.0 captive runtime is compatible with? I'm assuming there is some restriction there, but short of actually compiling a program and trying it on iPhone for example, which I don't have, how can I tell which OS versions are supported?
I know that you can compile an Adobe AIR 2.7(?) application to target say Android 2.2, but what about the captive runtime with AIR 3.0? Also I don't see anywhere to find out the iOS version restriction with AIR, as you have to pay $100 to Apple to even get the SDK which would allow me to make an iOS project in the first place.
i installed the Adobe Flash CS4 on my computer but i keep getting an error when running the Flash application. This is the error i'm getting(refer to the attached image): the Error 147:20 keeps bugging me. I was wondering if there is a way around this problem.
I have an issue with an apparent bug in Flash Pro CS5.5. I have recently upgraded to CS5.5 Master Collection from my previous version of 4.0. The bug is when I create a fonts FLA file with fonts embedded in it that I want to use throughout an entire site. I correctly configure those fonts as export for runtime sharing.
In any other FLAs in which I wish to use the shared fonts, I either (a) drag the assets from one library to the other, or (b) add them to the new fla and configure them as import for runtime sharing (both of which achieve the same result).
Is it possible at all. I've search around and it seems like its not possible. I know you can export png, jpg [url]... and pdf, but how about vector graphics?
I'm having a little trouble setting up a new project (an e-Learning) that I think will benefit a lot from RSL.My case is something like this[code]...
The Main will be the first movie to be instantiated, then, all that is necessary from here will be download.Every lesson will be put in a fla/swf apart from the "Architecture" (that is the Main, Scenes, Navigation and a whole bundle of classes called Engine) and will be added at runtime inside the Scenes.
The Engine is responsible for handling repetitive and necessary tasks, events, common methods, communication with server, among other things.The Navigation is responsible for handling user input, as the navigation (next/prev lesson and such), and then passes it to the Engine, that will manipulate the Scenes (and it's children).
Well, I have some restrictions too:Every swf file that will be handed to our client need to have less than 80kb, which means I'm tied.I can't compile the whole thing as a package ready to delivery.As size counts, I need means to alleviate the load as much as possible.So, I searched a lot these days and found out RSL.I've created some tests to know better how to use this and, of course, got into a trap.
I haven't been able to set up my Flash correct, haven't any success with the "Library Path" (under AS3 configuration), haven't been able to compile classes inside the SWC...
Another thing is that I won't make the lessons, only the Architecture.Those lessons will be created by people that may not have any knowledge in AS3 (OOP or program logic) at all.And I'm not inclined to delivery the whole engine (source code) to anyone from outside that may mess with it, making the whole app (apps, in fact, we'll produce hundreds of e-learnings).
How to use RSL efficiently
How to bundle classes inside the SWC
How to package all that is imperative for the whole thing work in the SWC, and then, delivery only this SWC
i made a game which have many questions and answer for child education, we are getting this questions nd answer from mysql using php now i want to give students to download exe file of that flash wih same questions now at runtime how can i generate a exe file and provide student to download.
I'm having a little trouble setting up a new project (an e-Learning) that I think will benefit a lot from RSL. My case is something like this:
Main.fla - A Shell Scenes.fla - I'll explain this in a minute Navigation.fla - Some kind of GUI Lots Of Fla Files - The Lessons
The Main will be the first movie to be instantiated, then, all that is necessary from here will be download.Every lesson will be put in a fla/swf apart from the "Architecture" (that is the Main, Scenes, Navigation and a whole bundle of classes called Engine) and will be added at runtime inside the Scenes.The Engine is responsible for handling repetitive and necessary tasks, events, common methods, communication with server, among other things.
The Navigation is responsible for handling user input, as the navigation (next/prev lesson and such), and then passes it to the Engine, that will manipulate the Scenes (and it's children).Well, I have some restrictions too:Every swf file that will be handed to our client need to have less than 80kb, which means I'm tied.I can't compile the whole thing as a package ready to delivery.As size counts, I need means to alleviate the load as much as possible.
how to use this and, of course, got into a trap.I haven't been able to set up my Flash correct, haven't any success with the "Library Path" (under AS3 configuration), haven't been able to compile classes inside the SWC...Another thing is that I won't make the lessons, only the Architecture.Those lessons will be created by people that may not have any knowledge in AS3 (OOP or program logic) at all.And I'm not inclined to delivery the whole engine (source code) to anyone from outside that may mess with it, making the whole app (apps, in fact, we'll produce hundreds of e-learnings).How to use RSL efficiently How to bundle classes inside the SWC How to package all that is imperative for the whole thing work in the SWC, and then, delivery only this SWC
I installed the Flash CS5 trial and each time I launch the application, a windows with the message (error initializing java runtime and may need to reinstall Flash). That's making 6 times that I reinstall Flash CS5, Java 6.21, unisntall, install from CS5 Suite, single Flash CS5 and always the same problem. I use Windows 7 X86.
I have this weird issue with Flash Professional CS5. It has worked just fine for me in the past but when i try to start it now it gives me the following error:"This application has requested the Runtime to terminate in an unusual way
I created few flex components in flash using flex component kit for flash. It generates a swf and a swc file. my question is, how can i load these flash created flex component at runtime and use them.
I have a AS3 project in Flash CS4 in which I am dynamically loading in a font whose location is passed in via XML. It works when I write in the font name (here EASTERAR.TTF). However, if I replace it with a variable, I get an invalid metadata error.
Works fine
[Embed(source='C:/fonts11/EASTERAR.TTF', fontFamily="xyz")] var xyz:Class; var arialEmbeddedFont:Font = new xyz(); var textFormat:TextFormat = new TextFormat();
I'm getting a runtime error when I reach frame three. however, the runtime error says it's on frame2:6.The code for frame 3 is:
stop(); buy_cups.addEventListener(MouseEvent.CLICK, buycups); function buycups(event:MouseEvent):void{ cash1 = cash1 - 0.25;[code].........
The error I receive is:Warning: No libraries were linked as Runtime Shared Libraries (RSLs) because of your publish settings: AIR Android [SWF] Lemonade-boy.swf - 942698 bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null object reference at Lemonade_fla::MainTimeline/check()[Lemonade_fla.MainTimeline::frame2:6]