Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Flash Examples
Index -> Graphics and Design, Web Design -> Flash MX Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Corybu




PostPosted: Fri Sep 26, 2003 1:57 pm   Post subject: Flash Examples

Again, there wasnt one before, but there is now Smile

Heres an example of using 2 tweens togther.

I started by making a new symbol, and drew a circle, then put in 120 blankframes, and on the 120th frame, a new keyframe, and in the same spot as the circle, I drew a square. then I filled them with 2 different colours, and put a shape tween in.

Then on the main stage, I made a motion path, drew the line, and made a new layer, and put it as a sublayer to the motion path. Then again 120 frames, and click in the purple part and check off the 3 checkboxes near the middle of the properties menu on the bottom.

Then at frame 1, I put the symbol that I made earlier in, and put it at the start of my path, and then on frame 120, make a new keyframe, and put it at the end of the path.

I decided after to make this a continuous loop, so I had to make everything loop back to where it was, but thats easy. You just make another 120 frames on each tween, and turn the square back into a circle, and draw a new line from the end of line 1, to the start of line 1, and delete line 1 from frames 121 to 240.

Smile



2tween.swf
 Description:
A .swf containing a simple useage of a shape tween inside a motion tween.
 Filesize:  4.63 KB
 Viewed:  7106 Time(s)




Sponsor
Sponsor
Sponsor
sponsor
Corybu




PostPosted: Fri Sep 26, 2003 2:02 pm   Post subject: Oops!

There is a submissions section, lol.

Sorry, you can move this if you want.
Amailer




PostPosted: Fri Sep 26, 2003 2:32 pm   Post subject: (No subject)

its good, but why is it stuck up there at the end?
Tony




PostPosted: Fri Sep 26, 2003 5:02 pm   Post subject: (No subject)

looks good Very Happy

ohh... I didnt give out bits in a while. +20Bits for submition and explanation
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Corybu




PostPosted: Sat Sep 27, 2003 11:28 am   Post subject: (No subject)

Amailer wrote:
its good, but why is it stuck up there at the end?


Im not too sure what you mean.

If its just changing shape, and not moving, try right clicking on it and hitting play.

If its something else, let me know, and ill fix it. Very Happy

tony wrote:
looks good

ohh... I didnt give out bits in a while. +20Bits for submition and explanation


Thank you Smile

I know some pretty sweet things can be done when you combine multiple tweens, and I know they are quite difficult to explain, this was the simplest example I could think of, for explaining.

A practical example of this idea would be something like (assuming everyone has seen the korn video for freak on a leash) the bullet.

You could use the shape tween to 'rotate' it while the motion tween moves it accross the stage. (or for a better effect, use a shape tween to rotate, a motion tween to move the background, and shape/motion combo for the sweet bullet time ripples. Very Happy)

Thats all for now. Ill post some more later.
Radiohead




PostPosted: Wed Nov 12, 2003 8:31 pm   Post subject: (No subject)

yo.. corybu.. how did umake your name like that..
Delta




PostPosted: Wed Feb 04, 2004 6:48 pm   Post subject: (No subject)

Not bad cory .. you make me proud Smile ... lol
Corybu




PostPosted: Wed Feb 04, 2004 8:38 pm   Post subject: (No subject)

about the name: Its been too long, I dont remember.... spend bits on it... somewhere, lol.


And thanks Delta. Wink
Sponsor
Sponsor
Sponsor
sponsor
shorthair




PostPosted: Wed Feb 04, 2004 8:49 pm   Post subject: (No subject)

cool , i like it , how new were you when you did it , cuse it looks real good
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> Flash MX Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: