Skip to main content
Participating Frequently
September 3, 2008
Answered

strings

  • September 3, 2008
  • 4 replies
  • 583 views
Is there a cool aproach to making a string look like it is vibrating?
-Steve
This topic has been closed for replies.
Correct answer
Did you mean like a piece of string? And not a string of characters?

If so, try this code out (paste it into new AS 3.0 document). Set the document frame rate to 30 fps.
Click and drag the string and then release it to make it 'twang'.

Cheers,
FlashTastic

4 replies

Inspiring
September 3, 2008
FlashTastic - that is so flashtastic! Love it.

Darn those crazy words with more than one meaning!
September 4, 2008
Haha, thanks Rothrock.
Correct answer
September 3, 2008
Did you mean like a piece of string? And not a string of characters?

If so, try this code out (paste it into new AS 3.0 document). Set the document frame rate to 30 fps.
Click and drag the string and then release it to make it 'twang'.

Cheers,
FlashTastic
Inspiring
September 3, 2008
> put the string in a textfield, wrap it in a movieclip, and
> animate a filter effect?

Text field would be fine. The TextField class features x and y values,
so it can be moved without being wrapped inside a movie clip. Text fields
also accept filter effects directly, which is kinda nice.

Not sure what the OP means by vibrating, though. Could mean anything.


David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."


Participating Frequently
September 3, 2008
put the string in a textfield, wrap it in a movieclip, and animate a filter effect?