Personal tools

Views

Talk:AIR:Applications:Samples

From Adobe Labs

How do you migrate Flex apps to Apollo in Flex Builder?

Table of contents
[edit]

Cant run any of the sample applications

Hi, ive been trying to run the sample application, but i get the following error:

This application could not be installed or launched (Error #2035: cant find the following URL. URL: file:///D:/Documents%20and%20Settings/Phanor%20Coll/Configuraci%F3n%20local/Temp/fla79.tmp/icons/app/ft_32_32.png).

it cant find the icon for the application, how can i solve this, so i can see how the sample applications work..

Another thing,

in the sample applications folder in the SDK download, the SWF files are missing, i cant compile the applications..


[edit]

RE: == Cant run any of the sample applications

Hi. To workaround this issue on Windows, change your TEMP and TMP environment variables to C:\TMP. Right-Click on My Computer -> Properties -> Advanced -> Environment Variables.

It's all.

Enjoy Apollo!!!!

[edit]

Pixel Perfect Bug

Selecting 800x600 from the context menu resizes the application to 800x768. Likewise, selecting 1024x768 from the context menu resizes the application to 1024x600.

BTW: This is a great demo of an Apollo application: simple, effective, and useful.

[edit]

DEP Errors

I seem to be getting Data Execution Prevention errors for all of the Sample Apollo apps. Does Apollo not work with DEP enabled? Why would Apollo be executing instructions in data areas of the stack?

[edit]

How to set mac environment path?

I was trying to create my first AIR application. I followed hello world example in the AIR Application documentation, but its not working.

Giving me error: " This application cannot be run. (Error: Error #2038: File I/O Error.)"

Then I tried to set the environment path (on mac OS tiger) as how it shows on: http://developer.apple.com/qa/qa2001/qa1067.html

But I still get the same error when I compile the hello world.

I wasn't so sure if i set the environment path right, here is what I did in environment.plist:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>AIRSDK_PATH</key>

<string>/Applications/AIRSDK/bin</string>

</dict>

</plist>

Can someone help me to get it right? Thanks a lot.

Retrieved from "http://labs.adobe.com/wiki/index.php/Talk:AIR:Applications:Samples"