Hi;
I'm trying to figure out how to do an alpha tween. When I run this code:

onClipEvent(enterFrame){
    if(this._alpha < 100){
this._alpha += 1;
};
}

I get this error after the first line:
Extra characters found after end of program

When I create an object on the stage and convert it to a movie clip named
"test" and run this script:

test.MovieClip = new MovieClip();
this.addChild(test);
var i:Number = 0;
test.onEnterFrame = function() {
while (i < 10) {
i++;
test.alpha += .10;
};
}

I get an error about test being an unidentified variable. Please advise.

Also, while we're at it:
1) How do I change the framespeed?
2) I have a motion tween between different 5 graphics. I want to put the
whole thing into a movie that I can place in the library and call as I will.
How do I do that? Also, how do I reverse the movie?
TIA,
beno
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to