Jump to content

<Solved> How to export setting to xml and flash ?


Recommended Posts

Sorry if this was posted at wrong forum.
I need to know on how to export some setting to xml and flash.
For example, I want to variable $module_dir which contain directory modules address so I can set it inside my .xml and .fla file.
So when loaded, those xml and flash file can use this variable to locate directory module automatically.
Right now, I need to modificate both xml and flash file manually just because of address issue.
Can become more problematic for future update.

I'm not an advanced programmer so I might end up requiring step by step procedure. Or if anyone know from where I can learn this stuff, please post the link.

Link to comment
Share on other sites

Bump again. :(

Ugh... how to use variable $module_dir inside flash ?
*.tpl can just call it easily, how to post this variable into flash ?
I tried to use text or another tpl file as a bridge, but end up in a failure..... ( or due to lack of my understanding to create a module... )

Link to comment
Share on other sites

If you need to write {$module_dir} to Flash, you could pass it in as a param. If you are need to write it to an XML file, you could write a module with code in its PHP file that creates the XML file, using the _MODULE_DIR_ variable to include the module path.

Link to comment
Share on other sites

Thank you for your explanation.
What I intend to accomplish now is finished !!!!
Finally a dynamic flash which can read working folder and module folder !!!!

Mwahahahahahahah !!!!
<---gone nutty
I think I saw the light..... <---gone to afterlife

Link to comment
Share on other sites

×
×
  • Create New...