Be a Supporter!

I have a few ?s about flash effects

  • 309 Views
  • 5 Replies
New Topic Respond to this Topic
Numenos
Numenos
  • Member since: Oct. 5, 2004
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
I have a few ?s about flash effects 2006-12-18 06:25:06 Reply

yup, another one of these, what can i say? i just love to learn XD

1. i wondered of there is an effect in flash that lets onion skinning show up on the actual playing flash, to give a blurry type effect, or do i have to copy each frame and turn the alpha down?

2. when moving a sprite with the arrow or wasd keys, is there a script that swaps the sprite for something differant, but only when its moving/button is pressed down, so i have a unwalking symbol when he isnt moving and a running one when he is.

thats all i can think of for now, again, thanks in adance for any and all help given!

HandsomeJake
HandsomeJake
  • Member since: Feb. 10, 2006
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to I have a few ?s about flash effects 2006-12-18 06:33:57 Reply

At 12/18/06 06:25 AM, Base-16 wrote: yup, another one of these, what can i say? i just love to learn XD

1. i wondered of there is an effect in flash that lets onion skinning show up on the actual playing flash, to give a blurry type effect, or do i have to copy each frame and turn the alpha down?

i got this one

make a movieclip of an animation. then place the one MC on the stage, then in a later frame, place the same MC on the stage in the same place. lower the second MC's alpha to make it transparent.

InkyBoy
InkyBoy
  • Member since: Aug. 6, 2006
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to I have a few ?s about flash effects 2006-12-18 06:34:54 Reply

1. i wondered of there is an effect in flash that lets onion skinning show up on the actual
playing flash, to give a blurry type effect, or do i have to copy each frame and turn the
alpha down?

In the properties box there is a blur timeline effect. Mess around with it.

2. when moving a sprite with the arrow or wasd keys, is there a script that swaps the sprite
for something differant, but only when its moving/button is pressed down, so i have a
unwalking symbol when he isnt moving and a running one when he is.

Em, I don't fully understand the question, but I'm going to go with no.

:)

Numenos
Numenos
  • Member since: Oct. 5, 2004
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to I have a few ?s about flash effects 2006-12-18 07:26:55 Reply

thankyou very much for your help, yes i didnt know about blur timeline, that sounds like fun.

what i meant in the second question is swapping spritemaps

what i want for this game is to have a stationary, non-revolving ball that revolves when it's moving via the arrow keys, either through a script or by making two separate movieclips, one of the stoic ball and one of the revolving one

henke37
henke37
  • Member since: Sep. 10, 2004
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to I have a few ?s about flash effects 2006-12-18 09:12:50 Reply

Of cource the ball can be animated.


Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.

DarkMana
DarkMana
  • Member since: Apr. 4, 2005
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to I have a few ?s about flash effects 2006-12-18 09:28:00 Reply

Inside of the movieclip that you control, place two keyframes. In the first one, put the stationary image. In the second one, place a movieclip of the moving animation. Label the frames stopped and moving, respectively. Inside any script statement, alongside the script that causes them to move, place this:

this.gotoAndStop('moving');
//use this if the script is
//ON the mc which you control

The, in a statement block that activates when you aren't moving, place this:

this.gotoAndStop('stopped');
//same comments as above

Hope that suits your purpose :)


Asus P5Q PRO, Intel E8400 @ 3.60 GHz, 4GB DDR2-1000, ATI HD4850

BBS Signature