as3: fixes to inner method handling