ActionScript 3.0 :: Programmatically Detecting Between Adobe Air And Adobe Flex?
Feb 12, 2010
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
View 1 Replies
Similar Posts:
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Mar 7, 2011
I'm developing an Blackberry Playbock app with ActionScript 3.0. I'm very very new with this. I have the following project structure (I'm using Adobe Flash Builder "Burrito"): project
[Code]...
On image folder I have several PNGs images that I want to load programmatically.
View 2 Replies
Dec 23, 2010
In my machine I have installed only Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?
View 12 Replies
Dec 28, 2011
I want to create a simple game (Adobe Air) based on 2 players using ActionScript 3.Let's assume I want to create online chess game.So that I can play with my friend at work, at home, from anywhere via internet.Should I use flash server? Or something similar for this purpose, or there is simpler way to connect 2 players and make fully functional interaction between them?
View 2 Replies
Jan 27, 2011
How can i make the Augmented Reality applcation on Android mobile phone (HTC Nexus One) that i have developed using the flash platform faster, since flash doesnt support OpenGL for 3D graphics. Can I make it faster using GPU Acceleration? Or there is any way to combine Flash and OpenGL? Any online sources talking about this subject will be very useful..
View 1 Replies
Mar 26, 2009
I'm working on a project which has some CPU performance issues, mostly from rendering items that are somewhat transparent.Looks great on fast machines, but gets dogged down on slower machines. Does anyone have any good methods for ways to detect if the app is slowing down on the client machine? If I could detect this I could tailor the elements a bit to improve performance on older machines.
View 1 Replies
Jul 9, 2011
I am building an inventory control type of application that houses a mySQL database online. I want to distribute a select few copies of this program via desktop application to customers of mine to check their inventories. So the question is, I guess, do I even want to use Adobe AIR to do this with or should I stick to the web only type of format. And secondly, is AIR capable of dealing with the same kind of PHP/AMF requests being asked of it. (I read somewhere that AIR only supports HTTPService type calls and not RemoteObject)
I hope this makes sense. I just don't know all of the limitaitons, if any, that AIR has versus a standard output the the web. The reason I want the AIR app is to restrict the people even using this application. (I will give copies via CD/DVD to ONLY my customers who need to access their current inventories.)
View 2 Replies
Dec 12, 2009
How do I execute an Adobe Air app & pass arguments from Flex ?
View 2 Replies
Feb 11, 2010
I've already built a flash 10 flex application which use the p2p feature (I'm using a developer key to connect to stratus), currently everything works fine. Now I want my application to run on Adoble Air Runtime, but it seems that p2p does not work for Air. I can successfully connect to stratus server in Air application, but after that, when I try to use NetConnection.nearID, an error occurs saying:"ReferenceError: Error #1069: Property nearID not found on flash.net.NetConnection and there is no default value."I've tried flex sdk 3.2 and 3.4, and neither of them works. Does anyone ever developed an Air Application that use p2p and can provide some hints?
View 2 Replies
Jul 26, 2010
To package an .air file into a native installer you have to use a batch program called adt.
The command on Windows will look something like this:
C:Usersjisaacks>"C:Program Files
(x86)AdobeAdobe Flash Builder
4sdks4.1.0inadt" -package -target
[Code].....
View 2 Replies
Oct 25, 2010
I downloaded the Air 2.5 SDK and get the following Errors: 1-Design mode could not load aircore.swc. It may be incompatible with this SDK, or invalid.
2-Design mode could not load applicationupdater_ui.swc. It may be incompatible with this SDK, or invalid.
3-Design mode could not load applicationupdater.swc. It may be incompatible with this SDK, or invalid.
I installed by copy pasting the new SDK into a copy of the 4.0 SDK. I'm using FlashBuilder4. FYI: Also installed is FlashCS4 with the SWC extension.
View 1 Replies
Nov 4, 2010
I want to build a adobe Air application that sends an image to a mobile phone via bluetooth.Do you know of a framework or library to do that directly or indirectly? I mean using only flex or do I have to use another language also, such as java?
View 1 Replies
Feb 7, 2011
I'm working on a file system app and I need to be able to expand rar files.
View 1 Replies
Apr 1, 2009
how exactly RSLs work with AIR? I have a terminal server that runs several instances of a very large AIR application, which unfortunately has 100M RAM on startup and 200 after a bit of use. This is obviously not really workable, and I'm thinking that RSLs may be a solution if they're cached on the machine. However I haven't been able to find much of anything on this, and I'd really like to know if anyone has.
On a second note, what are some good ways to reduce the initial memory size of an AIR applicaiton?
View 3 Replies
Aug 12, 2011
There is Flash Builder product by Adobe Flash.Is it possible to use Adobe Flash product as Flash Builder when working with FLEX SDK? Have you the experience?
View 2 Replies
Jan 22, 2012
Does it make any difference if I publish an Adobe Air app for the 2.0 or 2.5 player? Are there any pros or cons I should consider?
View 1 Replies
Aug 26, 2010
I want to send a html webpage with my application in installation package,is it possible?
View 1 Replies
Nov 12, 2010
I am building an offline [URL] application in Adobe Flex. Can we use [URL] Rich Text Area fields in the offline application? I do not see the field returned in a query.
View 2 Replies
Nov 12, 2011
I am using an component, and currently have a dataProvider working that is anArrayCollection (have a separate question about how to make this an XML file... but I digress).Variable declaration looks like this:
[Bindable]
private var _dpImageList : ArrayCollection = new ArrayCollection([
{"location" : "path/to/image1.jpg"},
[code]....
View 4 Replies
Jan 22, 2012
I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.
View 1 Replies
Jul 15, 2009
I need to detect if running in ADL or not, I can't seem to fine an answer that is guaranteed...I found a couple posts online that say "this might work..." Is there a reliable way to check?
View 1 Replies
Jul 22, 2009
I'd like to distribute FLV files from my website, however I want a level of DRM control over the files. So far, I've been able to modify the FLV files to contain a 60 character ID at the very front of the file, but I can't figure out how to get AIR to extract the ID and therefore play the file. All I can figure out is using NetStream, but that won't let me skip 60 bytes, and so it thinks the FLV is invalid.
View 1 Replies
Sep 18, 2009
I'm working on an application where I'm drawing some rectangles on the screen, and then will need to manipulate the shapes (change their size, location). I tried to do something with .drawRect and clearing the shape each time I was manipulating it, but the RAM usage was spiking and then falling (presumeably because i keep reinitializing a new component and then removing it, and garbage collection was cleaning it out). This seems like its probably not the most efficient way to do it.
Is there a way for me to just create a shape once, and then move it around on a canvas (and change its width and height without all this RAM usage?
View 2 Replies
Sep 27, 2009
Flex newbie question: can MXML be generated on the fly, like HTML is generated by a server? If yes, is it ok to do so or am I missing an important Flex architectural principle.
View 4 Replies
Oct 10, 2009
I just read a good tutorial at [URL] about creating simple apps with AIR/FLEX. What are some similar pages and/or good books that I can read to move from "beginner" to "novice"?
View 2 Replies
Nov 23, 2009
I am building a custom structured editor for an XML document in Flex. What I need is a way to do list operations on an XMLList with a minimum of fuss, using either an editable datagrid or a popup form (UI-wise, it doesn't matter which. Please don't focus on that). [code]...
View 3 Replies
Dec 26, 2009
I am building my website in adobe flex(i am n00b). I have some photographs which I would like to make sure that people cannot print.
I do understand that it is not possible to completely stop users from printing. But atleast disable the context menu or just the print option and the copy option.
View 2 Replies
Jan 17, 2010
I need a 3D library that works well with Flex... NOT Flex Builder - the free Flex SDK.
View 1 Replies
Feb 3, 2010
How can I use a .NET service object in an Adobe Flex application? Is it even possible? Do I have to use some third-party tool?
View 3 Replies