fs_xyz Posted October 21, 2009 Share Posted October 21, 2009 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 More sharing options...
fs_xyz Posted October 23, 2009 Author Share Posted October 23, 2009 Bump, please help, I really don't have any clue on how to do such thing. Link to comment Share on other sites More sharing options...
fs_xyz Posted October 24, 2009 Author Share Posted October 24, 2009 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 More sharing options...
rocky Posted October 24, 2009 Share Posted October 24, 2009 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 More sharing options...
fs_xyz Posted October 24, 2009 Author Share Posted October 24, 2009 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 nuttyI think I saw the light..... <---gone to afterlife Link to comment Share on other sites More sharing options...
Recommended Posts