Re: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread beno -
On Fri, Feb 5, 2010 at 11:39 AM, Keith Reinfeld
wrote:

> "I do and do and do for you kids, and this is the thanks I get."
>- David Letterman catchphrase candidate, circa: back in the day.
>

Hey man, I do thank you and I've already been studying your code. You
probably wrote the above in jest, but just so you know :)
beno
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread Keith Reinfeld
"I do and do and do for you kids, and this is the thanks I get." 
- David Letterman catchphrase candidate, circa: back in the day. 

Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread Gregory Boudreaux
I tried to stay out of the Beno discussion... but this one is funny.  I
can just see all the "Team Beno" merchandise hitting the shelves in time
for Christmas.

gregb

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S.
Sent: Friday, February 05, 2010 8:27 AM
To: Flash Coders List
Subject: Re: [Flashcoders] [beno's eyes only] I Must Be Asking This
Question Wrong...

On Fri, Feb 5, 2010 at 6:59 AM, beno -  wrote:
> I should have thought to post yesterday that I finally
> got Cor's separate class concept working, so unfortunately I don't
need this
> code...for *this* project. (Thought to post after I went home.) But I
do
> need to study code! So I'll study it and use it somewhere else. Thanks

sorry Keith, your services are no longer required, someone else on
Team Beno(tm) took care of that. But your effort was appreciated and
will
be noted in your exit interview.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread Matt S.
On Fri, Feb 5, 2010 at 6:59 AM, beno -  wrote:
> I should have thought to post yesterday that I finally
> got Cor's separate class concept working, so unfortunately I don't need this
> code...for *this* project. (Thought to post after I went home.) But I do
> need to study code! So I'll study it and use it somewhere else. Thanks

sorry Keith, your services are no longer required, someone else on
Team Beno™ took care of that. But your effort was appreciated and will
be noted in your exit interview.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread Peter B
+1
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread beno -
Oh, and thanks Cor!!
beno
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread beno -
On Thu, Feb 4, 2010 at 5:02 PM, Keith Reinfeld wrote:

> > Glen Pike has kindly sent along some code...
> > Thanks for all your help, Glen! And next time,
> > make me work a little harder!
>
> How can I do any less?
>
> beno, the enclosed code contains comments which you should read as
> instructions (i.e. what you need to do.)
>
> NOTE:   beno, in your .fla, you will need to go into the library and edit
> mcCloseThumbTop and mcCloseThumbBottom to correct those graphics as they
> are
> way out of position relative to the registration point. Also, turn off
> Slice-9 on mcCloseThumbBottom.
>
> I hope I haven't made it too easy for you.
>

This is cool! Thanks! I should have thought to post yesterday that I finally
got Cor's separate class concept working, so unfortunately I don't need this
code...for *this* project. (Thought to post after I went home.) But I do
need to study code! So I'll study it and use it somewhere else. Thanks
again!
beno

>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-04 Thread Keith Reinfeld
beno wrote: 
> Kieth Reinfeld sent along a humorous version of my fla/as 
> that seems to have the element that I'm looking for... 
 
BTW, the rule is 'i' before 'e' except when it's my first and/or last name. 
 
> Would you mind sending your *.as file along? 
> Sure would like to see what you're doing!
 
I know. 
 
> Glen Pike has kindly sent along some code...  
> Thanks for all your help, Glen! And next time, 
> make me work a little harder! 
 
How can I do any less? 
 
beno, the enclosed code contains comments which you should read as
instructions (i.e. what you need to do.) 
 
NOTE:   beno, in your .fla, you will need to go into the library and edit
mcCloseThumbTop and mcCloseThumbBottom to correct those graphics as they are
way out of position relative to the registration point. Also, turn off
Slice-9 on mcCloseThumbBottom. 
 
I hope I haven't made it too easy for you. 
 
 
Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net
 

 
Character.as (document class) 
 
package { 
import flash.events.Event; 
import flash.display.MovieClip; 
import flash.utils.Timer; 
import flash.events.TimerEvent; 
import com.greensock.*; 
import com.greensock.easing.*; 
 
public class Character extends MovieClip { 
private var head:HatAndFace; 
private var leftEye:Eyeball; 
private var rightEye:Eyeball; 
private var leftHand:Hand; 
private var myThumbTop:CloseThumbTop; 
private var myThumbBottom:CloseThumbBottom; 
private var _character:MovieClip = new MovieClip(); 
private var _rightHand:MovieClip = new MovieClip(); 
private var _timer:Timer; 
 
public function Character() { 
addEventListener(Event.ADDED_TO_STAGE, init, false,
0, true); 
} 
 
private function init(e:Event):void { 
removeEventListener(Event.ADDED_TO_STAGE, init); 
_character.alpha = 0; 
addChild(_character); 
hatAndFace(); 
eyeball1(); 
eyeball2(); 
myLeftHand(); 
myRightHand(); 
TweenMax.to(_character, 2, {autoAlpha:1,
onComplete:onFadeInFinished}); 
} 
 
private function onFadeInFinished():void { 
// Instantiate the Timer. Tell it to run once. 
// Listen for the Timer event. 
// Start the Timer. 
} 
 
private function hatAndFace():void { 
head = new HatAndFace(); 
head.x = stage.stageWidth / 2; 
head.y = stage.stageHeight / 4; 
// Add head as a child of _character. 
} 
 
private function eyeball1():void { 
leftEye = new Eyeball(); 
leftEye.x = -30; 
leftEye.y = 15; 
// Add leftEye as a child of head. 
} 
 
private function eyeball2():void { 
rightEye = new Eyeball(); 
rightEye.x = 30; 
rightEye.y = 15; 
// Add rightEye as a child of head. 
} 
 
private function myLeftHand():void { 
leftHand = new Hand(); 
leftHand.x = head.x + 480; 
leftHand.y = head.y + 50; 
// Tell leftHand to go to frame one and stop.  
// Add leftHand as a child of _character. 
} 
 
private function myRightHand():void { 
theThumbTop(); 
theThumbBottom(); 
_rightHand.x = 120; 
_rightHand.y = 357; 
// Add _rightHand as a child of _character. 
} 
 
private function theThumbTop():void {  
myThumbTop = new CloseThumbTop(); 
myThumbTop.x = 0; 
myThumbTop.y = 0; 
// Tell myThumbTop to go to frame one and stop. 
// Add myThumbTop as a child of _rightHand. 
} 
 
private function theThumbBottom():void {  
myThumbBottom = new CloseThumbBottom(); 
myThumbBottom.x = 0; 
myThumbBottom.y = 0; 
// Add myThumbBottom as a child of _rightHand. 
} 
 
private function onTime