how do you do rollovers llike
- Started
- Last post
- 72 Responses
- smartK0
thanks jevad!!
it seems I'm not popular enough for my suggestion to be accepted ( ;but I don't get it why you guys don't just try it, it's simple as hell
- piperboytoy0
choke u still working? I've been up since 8 this morning. getting a bit sleepy too. I haven't left my apartment all day.
don't work too late. I'm ready for bed.
ciao
- kpl0
mmm...
I always thought that the flash player never did the actual tweening, but instead when things are tweened, each and every frame is drawn out and specified. flash (authoring) does the tweening and writes it all out for flash player.
thus timeline tweens are larger in k size but faster to process since the cpu doesn't need to figure where to place things.
that would explain why when you import swf files, they never show tweening, just only a series of keyframes.
am I right or wrong?
- agentfour0
i couldnt be bothered reading all the posts so this may have already been posted. Just make the fade-out movie clip and put this in the up state of the button. Is that what you mean?
- kpl0
agentfour: that has the added side-effect of the mc playing when the movie loads.
- agentfour0
oh yeh forgot bout that
- hollowcube0
hey kbl,
- hollowcube0
woops... here's the rest of my post:
"thus timeline tweens are larger in k size but faster to process since the cpu doesn't need to figure where to place things."
hey kbl,
i couldn't find any articles to back this up, but here's what i've observed in my 'flash' dealings:
- keyframe tweening results in a *smaller* file size because the swf only contains the keyframes that are tweened between. for example (• == keyframe):
|•---------•|
- on the other hand, if you do an animation where each keyframe has posiitoning/alpha information, it takes up more storage space because of all the info:
|•••••••••••|
so, using keyframes reduces file size. it IS true that when importing an swf, it creates keyframes for each frame (even when you have a tween), but this is becuase you are importing somewhat of a 'flattened' swf. you can't see actionscript in imported swfs - but it's still there (before you import it).
it is the client machine that has to process the mathematics that determine where to position the objects (or what alpha to use), and then it must render that on the screen.
not sure if i'm doing a good job explaining... :)
- hollowcube0
sorry folks, it's late and i need sleep. here's an edit:
OLD: "so, using keyframes reduces file size."
NEW: "so, using LESS keyframes results in a reduced file size."
- kpl0
i see. i got it. thanks, hc. if you (or anyone else) runs into an article or book on it, let me know...always wanted something definite on how swfs are constructed.
it's a P, not a B, by the way, in kpl :)
- hollowcube0
oh, sorry kpl - i must have hit the 'b' key accidentally :-)
Okay, I found one article that states that tweening *adds* to the file size:
"Motion Tween, however, requires Flash to create in-between keyframes (even though you won't see them)."
- http://atl4.hostvelocity.com/~pr…---
But I found quite a few more that state tweening *reduces* file size:
"Tweening not only saves time but it reduces file size."
- http://www.mtsu.edu/~rnewman/wor…"As Flash creates the transitional animation from the first keyframe in the animation to the last, these frames do not take up additional space. They just change values. Only the Keyframe information is stored in the Movie."
- http://www.cuckoografik.org/teac…"A frame-by-frame animation has an image for every frame and it increases file size much more rapidly than tweened animation. In tweened animation, you create starting and ending frames, called keyframes, and let Flash create the frames in between."
- http://www2.ncsu.edu/ncsu/cep/me…---
more results:
http://www.google.com/search?q=k…
- piperboytoy0
I love you guys! Seriously, you guys have so much passion, it's incredible.