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

RE: [Flashcoders] scope question...

2006-05-15 Thread Jim Tann
D] On Behalf Of grimmwerks Sent: 15 May 2006 01:06 To: Flashcoders mailing list Subject: [Flashcoders] scope question... And the answer is NOT Listorine. I'm going a bit nutty here. I've got one major .fla which has a lot of birthing movieclips. I've been VERY careful not to do th

[Flashcoders] scope question...

2006-05-14 Thread grimmwerks
And the answer is NOT Listorine. I'm going a bit nutty here. I've got one major .fla which has a lot of birthing movieclips. I've been VERY careful not to do this at the root level, instead in it's own container, because it's supposed to be loaded wtihin another shell flash file... Well, I'm act

Re: [Flashcoders] scope question

2006-02-01 Thread Flash guru
Got it, I was calling the clip wrong. thanks all. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] scope question

2006-02-01 Thread Josh Trout
My guess would be these lines: var xdiff:Number = _root._xmouse-this._x; var ydiff:Number = _root._ymouse-this._y; Unless the center of your holder mc is at (0,0), then your code will be off. Try changing this._x to _parent._x and the same for the _y. You could also build a more flexible v

Re: [Flashcoders] scope question

2006-01-31 Thread thotskee
Tuesday, January 31, 2006 8:03 PM Subject: [Flashcoders] scope question Hey all, Simple question that I just don't get. I have a simple movie clip of an arrow and my code works fine when it's on stage. For some reason when i put the movie clip in a holder clip my code doesn't work

[Flashcoders] scope question

2006-01-31 Thread Flash guru
Hey all, Simple question that I just don't get. I have a simple movie clip of an arrow and my code works fine when it's on stage. For some reason when i put the movie clip in a holder clip my code doesn't work as it should. I know it's a scope thing just don't know how to fix it. Delagate maybe?