Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Animation and Effects

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-11-2001, 07:06 AM   #1
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

I've had to post this as a separate thread for the minute because the forums are playing around and not letting me answer your thread via any brwoser... wierd.

Yes it's possible.
Frame 1, draw a gradient (there can be NO BOX AROUND IT, so delete the box), Frame 15, draw the same gradient on a different angle. Then go back for Frame 1 and create a SHAPE (not motion) tween via the Frame Inspector.

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 05-12-2001, 12:28 AM   #2
tranterra
Registered User
 
Join Date: May 2001
Posts: 24
Default You could also try this.

The ups of this way of doing it is that you rotate the graident only, not the shape. Plus you can "morph" the gradients. PLUS you can use the effect on any shape.

Again use the shape tween. You don't have to change the shape, or even the rotation, but you can change the gradient of the shape to get a nice blending effect. If you use multiple keyframes with different gradients that lead into eachother, you can simulate gradient movement.

As for a rotating gradient, use a mask. Make a symbol that contains a shape with a gradient fill of your choice. Motion tween it to rotate it, and mask it. Remember, the shape the you make the mask will, of course, be the shape you ultimately end up with, so you'll need to make the symbol bigger than the mask to eliminate gaps.

If you want to combine the two effects, create an MC with the SHAPE tween (to "move" the gradient) and code it to loop with the goToAndPlay(#) action. Then all you have to do is use that MC as the rotating symbol behind the mask.

BTW, I'd love to see what you are going to do with this effect. Would you post a link to the finished product when you are done with it?

//: tranterra :\\
tranterra is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamicaly read variable in embed tag drliebs ActionScript 1.0 (and below) 1 05-23-2006 10:40 AM
actionscript to read from command line hp77 ActionScript 2.0 0 11-12-2004 02:10 AM
Read a text file line by line, storing lines in array... Debug2626 ActionScript 2.0 3 10-03-2004 02:45 PM
read jpg header information from flash? daarboven ActionScript 1.0 (and below) 0 10-16-2003 09:08 AM
read TXT file izwack ActionScript 1.0 (and below) 9 07-28-2003 03:10 PM


All times are GMT. The time now is 02:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.