Use private attribute to define instance variable
package com.java2s { public class MyClass { private var varName; public function MyClass ( ) { } } }