PDA

View Full Version : I can see only an empty window...


aneuryzma
03-10-2009, 12:39 PM
I build my air application but when I launch it, I can see only an empty window.

In the Flash debug everything is working instead.

Steps:

- I've created a flash project with an embedded video
- I've published it as AIR file
- I've create my own Digital Signature in order to publish an AIR File and not an AIRI File
- I've double clicked on the AIR file in order to create an .app

aneuryzma
03-10-2009, 12:41 PM
I've just found out that it is only the FLVPlayback component which is not displayed in Air.

Is it maybe incompatible ? The application is of course in the same folder of the external video.

evride
03-10-2009, 11:54 PM
I'm guessing you have the window set as Transparent? No video will show up in a Transparent window. This includes video inside of a HTMLLoader. The FLVPlayback is "compatible" with AIR. You can do everything in AIR that you were able to do in just plain Flash.

aneuryzma
03-11-2009, 12:11 AM
I'm using the standard window System Chrome, not the transparent one.

Thanks

evride
03-11-2009, 12:57 AM
wanna upload your FLA?

aneuryzma
03-11-2009, 09:24 AM
You can download fla and small flv from here.

http://dl.getdropbox.com/u/72686/airApp.zip

thanks

evride
03-11-2009, 01:51 PM
worked perfectly fine. you sure you have the AIR runtime installed? I'm guessing you just have the update installed for Flash. Make absolutely sure that it is installed and up-to-date. http://get.adobe.com/air/

aneuryzma
03-11-2009, 04:58 PM
Yes I have it. Is maybe because I'm isolating adobe air with a firewall ?
Everything is local, it should not be a problem.

And other air apps work fine. (twitter, ebay...)

evride
03-11-2009, 06:25 PM
well just sounds like you have a problem with Flash. Don't know what to tell you. Which version do you have? The only thing I can suggest is reinstalling it or trying to install the updates again. Remember that if you do reinstall you will need to deactivate before uninstalling and then reactivate once installed again.

there is nothing in your FLA that a firewall could block. And firewalls wouldn't stop your program from running.

matteosistisette
08-30-2009, 11:12 PM
Did you solve this??

I have a somewhat similar problem.

In my case, the FLVPlayback component is visible, but it just does not load videos, IN ANY OC OR MAK OTHER THAN MINE. In my PC (Windows Vista) it does work, both in the Flash IDE and published and installed as an adobe AIR application; but when I install it on other computer, the FLVPlayback component does not open any file.

I use a "browse" button to select the filename, i.e. a button that fires a File.browseForOpen() call; when the SELECT event is fired (when the file is selected), I assign the File's "nativePath" property to the FLVPlayback.source.

As I said, it works on my machine, but does not work when the AIR application is installed on OTHER machines, both Windows and Mac.
Obviously the latest version of Adobe AIR is installed in all the machines.

This make no sense to me.....

You can do everything in AIR that you were able to do in just plain Flash.

You should replace "can" with "are supposed to be able to".

You are also supposed to be able to do in Mac everything that you were able to do in PC and viceversa.

evride
08-31-2009, 03:59 AM
Does it work when testing in flash AND installed on your computer? Testing in the Flash IDE does not have all the same limitations as running the installed program.

Maybe try using the url property of File instead of nativePath, and make sure that the file you are using is not within your program files folder of your app.