solar3d replace deprecated and fix type bug

The exception "type 'double' is not a subtype of type 'int' of 'value'." is thrown on the wheel event.

The bug can be recreated by clicking the solar3d canvas and using the mouse wheel to scroll.  The wheel event sends a double instead of an int.  The declaration for the wheel event value has the type num.