I have a table in sqlite that I am accessing in my Adobe Air project. The table structure is as follows:
id, chapter_num, verse_num, translation_id, translation_txt;
I want to write a query that returns me one row per chapter_num and verse_num with a nested structure of translation ids and translation_txt under it. For example, I wan...
Hi all
In my application,showFlexChrome is set as true in WindowedApplication,and the *-app.xml is setted as follows
<systemChrome>none</systemChrome>
<transparent>true</transparent>
<visible>true</visible>
I know how to make the top border rounded corners with follow codes:
borderStyle="solid" cornerRadius="8"
But I cannot fin...
So I've noticed Windows 7 has a disturbing tendency to prevent you from dragging the title bar of windows off the top of the screen. If you try - in this case, using an air app with a draggable area at the bottom of the window, allowing you to push the top of the window up past the screen - it just kicks the window back down far enough t...
I want to write some text directly to a file using Flex 3 / Air. The text on the file (call it "Database.txt") must have the following format:
Line1
Line2
Line3
var FS:FileStream = new FileStream();
var DatabaseFile:File = File.desktopDirectory.resolvePath("Database.txt");
FS.open(DatabaseFile, FileMode.WRITE);
FS.writeUTFBytes("Line...
Hi,
My server for some reason displays .AIR file inside the browser, but I want to have it downloaded. How can I do this?
...
I'm having a problem displaying data from a function to text box within a tab.
If you run the code and click "Select Tab 2 and Fill..." I get an error;
"TypeError: Error #1009: Cannot access a property or method of a null object reference."
I'm guessing this is because "Tab 2" is/was not rendered yet. Now if I run the code,
select "Tab 2...
In my application I tried using following codes to do this:
<mx:HTML x="0" y="0" width="100%" height="100%" location=“http://www.example.com”/>
The page is loaded fine.But when I click the links I found sometimes there was no any response while I need a new explore window opened with the linking url.And also I tried:
<mx:Script>
<...
Hi everyone,
I am a beginner of using air,I have searched some AIR examples that can save out a file without asking directory, but I put the code into my "test-app.xml",it seems dosen't work and when i complie again in flash,it said my decryptor has error, my "test-app.xml" is something like "",but in the tutorial is "
also,how can i p...
This is a sample from my build.xml
<mxmlc
file="${SRC_DIR}/Main.mxml"
output="${DEPLOY_DIR}/@{market}.air"
locale="@{locale}"
debug="false"
optimize="true">
<arg value="+configname=air"/>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<library-path dir="${FLEX_HOME}/frameworks/li...
Hi,
Here is the case: I have created a test application which simply loops to load a same url for 1000 times by using HTMLLoader class from Adobe AIR. What I found is that the memory of this app keeps rising.
So is this expected? I mean it's the same URL although it get loaded for 1000 times. Does the AVM create 1000 objects behind th...
I keep getting "Java Heap Space" error. What is the JVM Memory requirements to build AIR apps with ant?
...
I have three text boxes on the stage id=red, blue, green same as the keys in my
cars Object/Array
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo" ...
Hi,
I'm wondering if there is a way for a SWF to check at runtime whether it is running as an online SWF or an AIR app? I need to use the same SWF to run both online and locally, however when running as an AIR app, external assets are located in a different directory. I'd like to check whether a SWF is local or online so I can change th...
hi im working on an AIR app in flex 3 app widget and need to make a window or panel fly out from the side . any ideas? thx in advance
...
Hi All,
I need a message notifier when the application is running in the system tray. Like I have set a reminder for 4:00 PM & my application is minimized to system tray. Now at 4:00 PM a notification window should pop up like gtalk incoming message.
My notification windows is flex custom component.
Thanks in advance
...
I have an application which I build two versions of. One for the web and one an AIR app for the desktop (they share most of the same code). Part of the functionality of the app is to load external SWF files created by other users. Some of these SWF files load external FLV files progressively.
On the web this works fine. However, the...
I've got a flex/air app I've been working on, it uses a local sqlite database that is created on the initial application start.
I've added some features to the application and in the process I had to add a new field to one of the database tables. My questions is how to I go about getting the application to create one new field that is ...
I've got a flex component which works pretty well but unfortunately turns into a
disaster once used in a datagroup item renderer of about 40-50 items.
Essentially it uses bitmapdata to take screenshot of a fully-rendered webpage in
mx:HTML (this version of webkit rocks btw, miles better than flex 3).
The code is pretty self-explanatory...
I am new beginner, is it possible the covert flex data grid to CSV file format with out use any backend (java,php ..) file ? . Because I tried with out use bankend . is it convert or not ? So any one give suggest me . or which is best method to convert ?
...
Hello
I need to make a resizable window. Here is my code:
stage.scaleMode = StageScaleMode.NO_SCALE;
resize_btn.addEventListener(MouseEvent.MOUSE_DOWN, moveWindow);
function moveWindow(event:MouseEvent):void {
var corner:String;
corner = NativeWindowResize.BOTTOM_RIGHT;
stage.nativeWindow.startResize(corner);
}
It is mean...