Hi;
First, a bit of a rant. A lister here offered to help me by looking directly
at my code and resolving my problem. That was 10 days ago. I was patient. I
kept in touch with him. He kept saying he'd get to it. He never did. The
result is that I am now 10 days further behind on a project I'm now 2.5
months behind on. The moral of the story is that if you're not sincerely
going to help, do not offer to "help", because you're just creating even
more problems.
Ok, I tried googling wherever we were on this without success, so I'm
starting where I knew the problem was. Here is an abbreviated version of my
code:
package
{
import flash.events.Event;
import flash.events.MouseEvent;
import flash.display.MovieClip;
import com.greensock.*;
import com.greensock.plugins.*;
import com.greensock.easing.*;
public class Main extends MovieClip
{
public var mcHandInstance2:mcHand;
public function Main():void
{
}
public function init():void {
hatAndFace();
eyeball1();
eyeball2();
myRightHand();
var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2)
mcHandInstance2.addFrameScript(20, myLeftHand)
// myLeftHand();
}
private function myLeftHand(e:Event=null):void
{
var mcHandInstance2:mcHand = new mcHand();
addChild(mcHandInstance2);
mcHandInstance2.x = 800;
mcHandInstance2.y = 200;
// if (e.target.currentFrame == 40) TweenMax.to(mcHandInstance2, 2,
{x:200, startAt:{totalProgress:1}}).reverse();
}
}
}
No errors are thrown. When I step through the code to check for errors I
still come up empty "handed". myLeftHand doesn't do anything. It doesn't
print to the screen. Please advise.
TIA,
beno
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders