Hi All,
I have to tell you. I am pretty excited about ActionScripting. I have been away from the Scene for a long time... about a year. And some serious scripting capability was very high on my wish list when I faded into all work and no play about a year ago... Now I come back and find that Action Scripting is has taken charge and is barrelling down the road like a semi with no brakes... and not only that but it comes in the absolute best looking/most versatile menu system my xbox has ever seen... Wow is that some good stuff...
ok, enough telling you all what you already know (like MXM Rocks!!!), I have a question or two...
First of all, I know I have read this somewhere but I have read so much in the last day and a half that I cant remember half of what I read or where it was. So, does "Del" support wildcards? If not does the "Rmdir" remove only empty folders or will it delete a folder and all of its contents?
Ok, my next question is that, unless I was overlooking it, it did not seem as though ActionScripting supports arrays... I know, I am pushing it aren't I? hehe, but I remember reading somewhere someone was asking about using something like VARNAME%COUNT% for a variable %VARNAME1%, %VARNAME2% and so on. As soon as I saw that I thought "That is not what you need... what you need is an array, %VARNAME%(%Count%)". And arrays are soooo useful... I know, soon I will be asking BJ to implement a full Visual Basic for XBOX... heheh, But seriously, if this is not in there already maybe in a future version?
Another quick question, is the best way to loop through files in a folder to use the BeginSearch Path* and SearchNext functions or is there a better way? If that is the best way how do you tell when you get to the end of the list of files? When SearchItem comes up empty?
Finally, I have never really used XML and I was tempted to do something with an INI file, but I assume from what I have read and from the really good XML support that MXM seems to have, that using XML would be a much better way to go than an INI to store information in files and parse with a ActionScript. Is that correct? or is it 6 of one, half dozen of the other (just a matter of preference) type thing?
I have some ideas but I will save them for another thread...
Thanks in advance,
SDG
Edit: Sorry, just thought of one more for this thread. I have not seen much on where ActionScripts can be launched from... Can you have a regular menu item that looks just like it is a xbe file, with an icon or animation and everything but is actually a script or do they have to be called from somewhere specfici?
Thanks again...
This post has been edited by SumDumGuy2: Dec 16 2003, 10:50 PM