1 person found this helpful
Can you elaborate on any other code that might be causing your error.
Attached is a html file demonstrating use of your code, requires AIRAliases.js to be located in the root directory.
That is really strange.... I downloaded your file and when I used it, I still got TypeError: Undefined value.
I did not make any changes, just used the html as it is.
Any idea on what could be the problem ?? I'm sure now that its not the code. Something to do with AIR...
Got a fresh copy of AIRAliases.js and also downloaded the latest SDK.
Still the same issue.....
Do you know which runtime is installed?
if you can zip a full distribution that recreates the problem (ie xml descriptor file + html file(s) etc) I'd be happy to check it out and see if I can recreate it too.
Well, my app does not matter now, because when I run a fresh app with just your html file, I get the same error (TypeError: Undefined value). And the file you created works for you. So, it comes to the problem with AIR.
How do I check the runtime ?
The reason for zipping up everything (xml file and any other files) is that if something other than the js is causing the error it would be great to be able to replicate it on another machine. At the very least it would help replicate the issue etc.
As for finding out the AIR runtime version. There may be better ways to do this, however I just navigate to Adobe Air.dll and look at it's properties.
In my version of windows, the AIR runtime is located at C:\Program Files\Common Files\Adobe AIR\Versions\1.0. We're looking for Adobe AIR.dll. Depending on your version of windows and your explorer layout you may see the version number right there (mine is 18.104.22.16810). If you don't see it, right click on the file Adobe AIR.dll and select properties, then look at the Version tab.
I spent some time trying to recreate as many ways as possible with your xml file etc and, of course, cannot.
You might want to post a bug here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Good luck and sorry I wasn't able to help more!
I don't get it.... So, you could not get it to work either? In that case, its the XML file ?
Then could you give me an XML work which works ??
This is really getting confusing.....
I'm sorry I didn't mean to be confusing.
When using the xml and html file you provided I couldn't duplicate your error no matter what I did. (Tried on two different XP machines as well as OSX using 1.5.1 SDK and runtime). I don't have any files to send you as they are just the ones you sent.
Your code and xml work. Unsure what to recommend at this point other than filing a bug. In theory you could try to reinstall the AIR runtime as I think that's all you have left. I'm not convinced it would change anything however.
I am really tired of this now. I built the AIR app file and installed the app on another computer and the URL still does not open in the system browser!
I am using Windows 7 RC (On VirtualBox), if that matters, but I doubt.