Flash confusion
- Started
- Last post
- 9 Responses
- Projectile
I have an object. Looking kinda like stage lazers. (trust me it'll look nice when finished) I want it to slowly rotate. So i made an 8th of the 360 degrees turned into graphic repeat and rotate until it looks like this (minus dude)
My swf is now 2kb. I rotate the fucker 360 and it becomes 200kb! WTF all i've done is add a frame!
I've gotten round the problem by making it radially symmetrical and rotating only an 8th.. but it still goes up to 35kb and if i make it twice the amount of frames, the file size doubles. Correct me if I'm wrong, but shouldn't the file size stay the same? All i'm doing is telling flash to rotate it, complex as it may be
- Autokern0
in the publish export options, check "generate file size report" have a look at it to see what is going on
- PonyBoy0
file size will increase as you begin to add to the timeline regardless if you're using the same graphic... you're adding animation information to the file
- flashbender0
also depends on what kind of tween you are doing - shape vs. mc.
either way - the file size report should shed some light on where the extra weight is coming from
- CyBrain0
Add a frame should not increase size by THAT much. Using a tween engine will help. You aren't using bitmaps, are you?
- Orbit0
Re-calibrate the bitflow to accomodate bi-parsal upsampling. You can use a twark app or splice it manually in the backstream.
- <Autokern
- jesus christ! I understood "accommodate" and "manually".Projectile
- I guess it depends on what level you are at.Orbit
- you idiot... you can't recalibrate the bitflow... you have to reROUTE it through bi-parsal upsampling systemPonyBoy
- With Twark you can do this. Its a little out there right now, but trust me, we are doing this with considerable success already.Orbit
- This is what Actionscript 3 sounds like to me sometimes.CyBrain
- hm mm that's the way to go. twark rules.satan
- Projectile0
no, not bitmaps. (tried that too but looks rubbish under 50k) about 10 shapes with gradient to alpha 0% converted to a graphic, then multiplied x24
Never heard of or used a tweening engine. Any good tuts on this? Is it possible for someone who struggles with stop(); to get his thick head around? hmmmmm I have seen "paste motion as action script" when I right-click a tween. Might that be an option.. at all, ever?
- PonyBoy0
yikes... your gradients are going to be murder on the animation...
... make sure you cache that movieclip as a bitmap
- CyBrain0
Tween engines are very easy to learn. This one is great. It works for AS2 and AS3. There are even flash demos on this page that generate code for you. http://blog.greensock.com/tweenl…