Dont really understand what you meant. Would be helpful if you can share a demo.

Kind Regards,

Keni, Lam

On 4 Nov 2009, at 23:48, beno - wrote:

I think I'm good to go on all of this *except*...

I have a motion tween that goes from object A to object B, then C, D and finally E. How do I make the whole shooting match one big (small) movie? I've tried highlighting all the frames then pressing F8 but that doesn't seem to work (just makes the first frame a movie). Please advise.
beno

On Wed, Nov 4, 2009 at 1:02 AM, Chi Kin lam <[email protected]> wrote:
Beno,

Because:

the 1st half of your codes:
test.MovieClip = new MovieClip();
this.addChild(test);
var i:Number = 0;

(specially (addChild(test)) is actionscript 3

whereas:
test.onEnterFrame = function() {
while (i < 10) {
i++;
test.alpha += .10;
};
}

is actionscripts 2

are you making it in ver 2, or ver  3, check your document profile.
And I think that is the problem!!

If you are trying to do some tweening on codes, check out Tweener - an opening source online.

http://code.google.com/p/tweener/

those remain questions, try to figure out yourself. Here are some hints:

1) framespeed == frame per second (fps)
2) to call a object to use on stage, you need to give a linkage name to the object from their property 3) try gotoAndPlay() per frame?? but that is not the ideal way of using frame for me

Kind Regards,

Keni, Lam
E: [email protected]
U: http://www.ki-cl.com
Skype: keni_lam
MSN: [email protected]

On 4 Nov 2009, at 01:08, beno - wrote:

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


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to