RE: [Flashcoders] Scope question: class, movieclip, & webservice result

2006-09-05 Thread Merrill, Jason
>>Have you tried attaching the .target to wsResult.onResult? Ah, good idea, I was attaching to wsResult. Thanks I'll give that a try. Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions ___ Flashcoders@

Re: [Flashcoders] Scope question: class, movieclip, & webservice result

2006-09-05 Thread Mark Winterhalder
I'm not familiar with WebService, so please excuse me if I'm way off. Have you tried attaching the .target to wsResult.onResult? AFAIK functions are always dynamic. Alternatively, you could keep it in a local var, it could be accessed by wsResult.onResult if you declare it where you currently do.

[Flashcoders] Scope question: class,movieclip, & webservice result

2006-09-05 Thread Merrill, Jason
My question can be found in the 2 comments in the code below. Thanks for considering: import mx.services.*; class Whatever{ private var target_mc:MovieClip; private var button_mc:MovieClip; private var proj_ws:WebService; public function TestScope(target:MovieCli