xboxscene.org forums

Author Topic: Actionscript Explanation  (Read 255 times)

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Actionscript Explanation
« on: October 23, 2003, 10:48:00 AM »

great idea to start this vexx.

recommendation:  provide examples with the explanation.  If a function has more than one options.. lets break it down for each function and provide an example for each:

FILE SYSTEM
SETFUNC SKINDIR FILEEXISTS "c:\mxmskins"
IF# %SKINDIR% == 0 GOTO CREATESKINDIR
IF# %SKINDIR% == 1 GOTO MainAllowVideoSound

SETFUNC GAMETITLE XBETITLE "f:\games\pong\default.xbe"
IF %GAMETITLE% == "Pong" GOTO MSGBOXGAME


just a quick sample... but the idea here was to toss the idea of color-coding the specific items in the examples... ie.. system strings, function names, variables, paths, labels, inputs ...... Then as the post is read, it would be easier for someone to understand what the little snippet of code is suppose to do and what each part of the snippet is.

Some of the rules need to be added too..  like escaping of special characters, quoting paths with spaces, etc.


I will try to help you out with this thread by posting replies as I can make them.
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Actionscript Explanation
« Reply #1 on: November 08, 2003, 07:29:00 PM »

If you are no longer updating this...
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Actionscript Explanation
« Reply #2 on: November 08, 2003, 08:10:00 PM »

Check the pinned thread.
ActionScripting Reference
Logged