Answered
problems with Application.config()
Hi There,
I'm having problems with setting variables and accessing them through Application.config. I have set custom tags within<config> tags within <applicationObject> tags in the <JSEngine> section of my Application.xml. I've copied that Application.xml into the registered folder for my application. and tried to access the settings with:
application.onAppStart=function(){
trace(application.config.user_name);
}
but no joy 😞 . I've read the livedocs at http://livedocs.macromedia.com/fms/2/docs/00000647.html (There seems to be an error in the XML on this page where the closing <config> tag is missing its '/') has anyone else got this working?
Thanks
_Pez
I'm having problems with setting variables and accessing them through Application.config. I have set custom tags within<config> tags within <applicationObject> tags in the <JSEngine> section of my Application.xml. I've copied that Application.xml into the registered folder for my application. and tried to access the settings with:
application.onAppStart=function(){
trace(application.config.user_name);
}
but no joy 😞 . I've read the livedocs at http://livedocs.macromedia.com/fms/2/docs/00000647.html (There seems to be an error in the XML on this page where the closing <config> tag is missing its '/') has anyone else got this working?
Thanks
_Pez
