A few questions:
1: Your source directory: Any reason that it's referencing the js folder like "./js" as opposed to just src="js/home"? (I've had issues with that myself so just curious, unsure if it's related.)
2: Do references to the air namespace work outside of that file? (IE in your html file can you call air.trace?)
3: Does window.runtime.trace('toto'); work as opposed to air.trace?
4: If none of the above could you post some code?
i wrote. All theses file have js extension.
2) The entry point of my adobe air application is a file called index.html. In this file i included reference to AIRAlises.js and so i
A precision : index.html is phisically recorded in the disk but home.html dynamically generated by the sever and sent to browser of client.
3) I tried window.runtime.trace('toto') with no success.
1 person found this helpful
Your JS source has src="./js" (notice the period and slash). My point was you might just want to simplify with src="js". (Both are relative etc.) Again not sure if it's your culprit.
Jeff has posted a good quickstart on that here:
You should also look at the AIR help cross-scripting content in different security sandboxes here:
I hope that helps!
Thanks for your help.
I will try this solution.