Chapter 1: Running Ride Runner Commands In Flash
Due to the level of implementation in Ride Runner's source code, running a RR command inside a flash skin could not be easier. Flash uses the function fscommand() to send the command into RR's queue. For example, if u wanted to run the AUDIO command in your flash skin the correct syntax would be:
Code:
onSelfEvent (press) {
fscommand("AUDIO")
}
or
Code:
on(press) {
fscommand("AUDIO")
}
This code can be used on any flash object, whether it be a sprite, text object, or shape. ALL ride runner and custom commands (from exectbl.ini) can be run this very same way. Very simple right?
Now there are ways within flash to change which command is run based on other events, variables, etc. More on this later