* AnMaster -- Friday 07 December 2007: > <script>aircraft.HUD.cycle_color()</script> [...] > Yet I get this for button: > Nasal runtime error: No such member: HUD > at /input/joysticks/js/button[3]/binding, line 1
You probably defined a variable named "aircraft" somewhere else in the joystick driver file, and this overwrote the "aircraft" namespace created by $FG_ROOT/Nasal/aircraft.nas. You have to know that all Nasal in a joystick driver is in a common Nasal namespace. m. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel