xboxscene.org forums

Pages: 1 ... 3 4 [5] 6 7 ... 26

Author Topic: Mxm Wip Releases  (Read 2081 times)

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Mxm Wip Releases
« Reply #60 on: February 03, 2004, 06:16:00 PM »

QUOTE (geniusalz @ Feb 3 2004, 10:56 PM)
Cool.  So you mean there will be a main loop, and events will be treated as GOSUBs from the main loop?

Can you also add timers as controls?

Yes, Events will be handled a lot like gosubs.

Scripters will call

CreateMenu <HandleName> <XMLHandle> or CreateDialog <HandleName> <XMLHandle>

then somewhere else call

ExecuteUIObject <HandleName>  <Label>


ActionScript will not execute any more commands until an event occurs. At that point, it will perform something similar to a GOSUB to the Label given, filling in event details into the local variable space. RETURN will pause ActionScript execution until the next event.

Events will be pumped into an event queue, so you shouldn't lose any events.

When the dialog or menu goes away, the script will resume where the ExecuteUIObject call was made - so you could, for example, call CloseUIOBject <HandleName> in your event handler to dispose of the dialog - the next Return would jump to the line following the original ExecuteUIObject call.

I have to take care, because a UI event can (and should) be able to create and execute new UI objects, so the return to execution of a cleared dialog, for example, should then pop the stack to the previous exeution thread.

Anyway.... I'm sorting all that out.


As for timers, sure.... shouldn't be a problem. I also have to consider the issue of modeless dialogs (no event handler, per se, but AS will manipulate them, such as a progress dialog, and perhaps read events from the queue)
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Mxm Wip Releases
« Reply #61 on: February 04, 2004, 03:06:00 AM »

QUOTE (flattspott @ Feb 4 2004, 07:50 AM)
Don't know if it's possible, but how an FTP only feature for safe mode. It could use a seperate xml file that has just FTP info in it.

Once dialogs are "in the system" - perhaps there will be an easy way to set up an emergency FTP session.

Let's see when all this starts to gel.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Mxm Wip Releases
« Reply #62 on: February 04, 2004, 04:48:00 AM »

That's why I mentioned it.
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Mxm Wip Releases
« Reply #63 on: February 05, 2004, 01:05:00 PM »

Well I still have the problem I mentions pages ago about the ftp server multiple drives and no memory card

Just as a thought why not keep the ftp the same as the current one and then auto mount everything from G and above
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Mxm Wip Releases
« Reply #64 on: February 05, 2004, 04:00:00 PM »

QUOTE (Jezz_X @ Feb 5 2004, 06:05 PM)
Well I still have the problem I mentions pages ago about the ftp server multiple drives and no memory card

Just as a thought why not keep the ftp the same as the current one and then auto mount everything from G and above

But that isn't a "bug" - it's a "feature"

There are many technical reasons for the memory card issue, and the "extra" drives are there as a result of the way MXM works. The fact of the matter is that MXM's FTP now gives a clean representation of the drive mappings, and the same code will provide utility for the File Manager as well.
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Mxm Wip Releases
« Reply #65 on: February 05, 2004, 06:35:00 PM »

QUOTE (BenJeremy @ Feb 6 2004, 02:00 AM)
There are many technical reasons for the memory card issue, and the "extra" drives are there as a result of the way MXM works. The fact of the matter is that MXM's FTP now gives a clean representation of the drive mappings, and the same code will provide utility for the File Manager as well.

Ok I never said it was a bug in that post just I forsee it as a problem.

Then might I point out that for non savy users that will probably never need access to anything but c,d,e,f,g and memory cards that you make an option not to auto path the drives like STUV etc or at least give them more friendly names like tdata udata etc etc

Also can someone tell me how to see the virtual keyboard I know its shift-y and it seams shift is right trigger but I cant get it to work
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Mxm Wip Releases
« Reply #66 on: February 05, 2004, 11:18:00 PM »

CODE
VIRTKEYBOARD ON
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Mxm Wip Releases
« Reply #67 on: February 11, 2004, 04:10:00 PM »

wink.gif
Logged

Yuyu

  • Archived User
  • Hero Member
  • *
  • Posts: 908
Mxm Wip Releases
« Reply #68 on: February 11, 2004, 04:37:00 PM »

biggrin.gif
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Mxm Wip Releases
« Reply #69 on: February 11, 2004, 04:43:00 PM »

mad.gif
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Mxm Wip Releases
« Reply #70 on: February 12, 2004, 02:11:00 PM »

OK, another "WIP" binaries update, just to clean up a few things - fixed SWITCH and some of the control behavior.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Mxm Wip Releases
« Reply #71 on: February 14, 2004, 06:29:00 PM »

Well, a new "WIP" update is available to testers. System UI stuff... see the ActionScript Read me for details. Also, the System UI White Paper has been updated.

Primarily, some support for modeless operation has been included, Timers in dialogs, ReconfigUIObject will refresh the dialog and controls using the XML used to configure it originally, and setting values with the XML commands will also do this automatically.

The TestDialog.xml and Test Script will demonstrate some of this goodness by updating static text controls.
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Mxm Wip Releases
« Reply #72 on: February 15, 2004, 01:20:00 AM »

The new WIP looks good, the only thing i may have spotted is that now when you try to run the 'launch game script' (this worked before the new WIP) the dvd drive just opens and closes about 8 times very fast.

The onscreen keyboard and the and the test script is looking good.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Mxm Wip Releases
« Reply #73 on: February 15, 2004, 04:39:00 AM »

QUOTE (chilin_dude @ Feb 15 2004, 06:20 AM)
The new WIP looks good, the only thing i may have spotted is that now when you try to run the 'launch game script' (this worked before the new WIP) the dvd drive just opens and closes about 8 times very fast.

The onscreen keyboard and the and the test script is looking good.

Weird.... I guess I'll have to check that out.
Logged

Jezz_X

  • Archived User
  • Hero Member
  • *
  • Posts: 2893
Mxm Wip Releases
« Reply #74 on: February 15, 2004, 07:54:00 AM »

QUOTE

BeginDraw UseCurrent
  MessageBox "Sample"
EndDraw
Input
  If %_GP_A% == "1" GOTO Example
QUIT

:Example
StringInput test SINGLE "testing"
QUIT


the A button push will get passed onto the virtual keyboard and automatically click the Done button before I even get a chance to change it
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 26