Hi;
I have this in an external xml file:
<PAGE pg_name='index'>
<DETAILS>This is some more of the home page.</DETAILS>
</PAGE>
My objective is to use a switch statement like this:
switch (xmlda...@page_name.tostring())
{
case "index":
pageDetails = xmlData.DETAILS.toString();
case "contact":
pageDetails = xmlData.DETAILS.toString();
}
and pass a var to the swf so I can change the content (DETAILS) of the page
based on the same. I know I'm going about this the wrong way, but I don't know
how to do it correctly. Also, my switch statement doesn't work anyway. Please
advise.
TIA,
John
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders