xboxscene.org forums

Pages: 1 [2]

Author Topic: "error (line 1): (callfile) "actionscript File...  (Read 241 times)

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
"error (line 1): (callfile) "actionscript File...
« Reply #15 on: November 18, 2003, 05:53:00 PM »

Suppose you are using this:
<Action>
Callfile c:blah.xas
</Action>

Whenever any error occurs in blah.xas, you will get the message "error (line 1): (callfile) "actionscript File failed execution"
You don't see the proper error message.
The solution to get the proper error message would be to put the whole script inside the <Action> tag in your menu.xml

The next version of MXM fixes this annoyance, and reports proper error messages even for scripts in files.

The issue being discussed here was that the launchDVD command always throws an error message.  So if you have a launchDVD command in your script, change it to EXEC D:Default.xbe
Logged

yourwishismine

  • Archived User
  • Sr. Member
  • *
  • Posts: 325
"error (line 1): (callfile) "actionscript File...
« Reply #16 on: November 19, 2003, 09:55:00 AM »

QUOTE (Lonecrow @ Nov 19 2003, 01:50 PM)
ok this is exactly my problem, but where do i put the EXEC D:DEFAULT.XBE
??

Is it in here:
QUOTE

:LaunchDisk
SETFUNC DVDTitle XBETITLE D:default.xbe
MessageBox "%DVDTitle% Now Launching..."
LaunchDVD
QUIT

Because if its there that i have to change something, ive already tried it and i still get the error msg while still launching the DVD...

Based on what geniusalz just said...

I'd say you want it to look like this:

CODE

:LaunchDisk
SETFUNC DVDTitle XBETITLE D:\default.xbe
MessageBox "%DVDTitle% Now Launching..."
EXEC D:\DEFAULT.XBE
QUIT
Logged

Lonecrow

  • Archived User
  • Newbie
  • *
  • Posts: 29
"error (line 1): (callfile) "actionscript File...
« Reply #17 on: November 19, 2003, 10:43:00 AM »

QUOTE

SETFUNC DVDTitle XBETITLE D:default.xbe


instead of launchDVD, it should works, if it doesnt, ill wait until the newxt verison of mxm

Thanks!
Logged
Pages: 1 [2]