Kthulu
Nov 9 2003, 02:19 AM
MXM is the best! this actionscript stuff is this coolest thing since video games were invented!

Thanks BenJ!!!
i've seen this
| CODE |
| If %_GP_A% == "1" GOTO APRESSED |
and would like to know how to get input from the remote. also, is it possible to distiguish between gamepad1, gamepad2, etc. if more than one is plugged in?
i've also seen | CODE |
| SETFUNC DVDSIZE FILESIZE D:DEFAULT.xbe |
and would also like to know if this will work to get a directory size as well. also, is there a function that returns disk freespace?
thanks again!
-------------------------
forum organization suggestion:
create pinned topics for the various aspects of scripting/programming. examples...
::Variables and Data structures
::Looping and Control structures
::Functions (starting with a table of the available functions)
maybe that's too much, but at least the table of functions.
geniusalz
Nov 9 2003, 02:27 AM
$DriveFFree$
Not sure what the formatting is in this, you might have to remove commas
You can replace "DriveFFree" with any variable used in skinning. (look in the skinningOverview.doc in the "Text" section)
Kthulu
Nov 9 2003, 02:47 AM
thanks geniusalz, but if there is a SETFUNC function, i'd rather use that as $DriveFFree$ returns a string "F: 29,000,000,000 bytes free". I want to compare the size of D: with the freespace on F: i really don't want to get into alot of string processing, but if i must, i must...
Kthulu
Nov 9 2003, 03:49 AM
ok, i used search before but didn't hit anything good. it got bumped and i saw this thread:
EDIT:
http://forums.xbox-scene.com/index.php?act...T&f=58&t=123064it answers my questions. i'm normally pretty good at searches, but on these forums, i'm a cluts...sorry.
BenJeremy
Nov 9 2003, 03:52 AM
Input from the remote, for ActionScripting, is not supported.... YET.
Perhaps on the next release.
Kthulu
Nov 9 2003, 04:11 AM
hey, since you're here

and we're talking about that Remote support...
i just noticed that the passcode screen accepts up/down input from the remote, but doesn't accept <select> as <A> or <back> as <B>...maybe you would knock that out at the same time?
geniusalz
Nov 9 2003, 04:12 AM
And since you are still here, check the pinned ActionScript Reference topic
Just an updated version of the one you linked.
Put it together right now.
Kthulu
Nov 9 2003, 04:20 AM
hehehe, thanks dude
BenJeremy
Nov 9 2003, 01:06 PM
| QUOTE (Kthulu @ Nov 9 2003, 12:11 AM) |
hey, since you're here and we're talking about that Remote support...
i just noticed that the passcode screen accepts up/down input from the remote, but doesn't accept <select> as <A> or <back> as <B>...maybe you would knock that out at the same time? |
I'll look into that, as well, but the input for the ActionScripting is handled in a different spot than the passcode main screen input handling.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.