|
-
damn, im smooth
3 blobs walk into a bar...
whoakay.
i have 3 shapes in my movie, all the same height but different widths. the first shape (shape A) is 530 px wide, and the other 2 (shapes B and C) are 150 px wide. here's a visual of the scene: http://robkamphausen.com/3blobs.jpg
i want to make all of these shapes animate in a specific fashion, where one shape is always large and two are small. shape A will always start out as the larger shape.
when the user mouses over a smaller shape, i want that shape to stretch to be the larger size (530 px), and have the larger sized shape shrink to be the smaller size (150 px)
so, for example, when the user mouses over shape B, shape B will stretch to 530 px wide at the same time as shape A shrinks to 150 px wide. you can then quickly mouse over C or back to A, and the shapes will adjust as necessary.
aaaand... i am totally lost on setting this up
but, hopefully, one of you more talented flashies can help an old pal out here?
i'm not new to action scripting. i'm just bad at it.
-
put action code to each object
on(rollover){
code to enlarge object
}
on(rollout, releaseOutside){
code to make object smaller
}
The code is usually just a call to a tween sequence
-
damn, im smooth
i tried something similar to that. however, the code didn't really work cohesively.
the pieces didn't "grow" properly, never adequately filling the void that was being left open by the other piece that was shrinking. its kinda difficult to explain, but just imagine rolling over shape C in the image above -- it would have shape A shrink at the same time as pushing shape B to the left, yet not change it's size at all.
i just can't master that part
i'm not new to action scripting. i'm just bad at it.
-
Just for ease, could you possibly just make them look like they're moving to the side?
If there's even one small portion of each that stays put, you can change where their center is (the little white dot during resizing) and have it enlarge/shrink on that center. Could you post your fla? Maybe that will clear some things up?
I haven't been doing this long, and I'm not that good, but I'm willing to help.
-
damn, im smooth
unfortunately, i've deleted all of my own examples, as i've never gotten further than the image mockup: http://robkamphausen.com/3blobs.jpg
but i did find something on flashkit that sorta does what i want to do, here:
http://www.flashkit.com/movies/Inter...8786/index.php
can't really figure out the code on my own, tho
i'm not new to action scripting. i'm just bad at it.
-
Interesting... I like! I'll do a bit more research into it and see if i can find you a tutorial that is close. My first thought was the tsunami menu effect could be changed around for this effect, which might be possible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|