2 quick question, animation and size change

So I've been playing around with wck and I've REALLY come to like it, yet I still do most of my creation in Flash Develop.

So my first problem is that I wish to change and objects width and height in real time. I can change the MovieClip's width and height, but I really didn't expect it to turn out right.
The MovieClip is resized but the actual physics take place around the old shape.
So is there a way to like make wck shape the physic so it matches my MovieClip again?

Secondly I'm at a utter loss with it comes to animating using the frames and making it work is the physics engine, all I know to do it to set it to "type = animated" and "tweened = true" and animate away, I'm probably missing quite a bit, and I don't really see any documentation on this.

I thank you all in advance.

PS. If you guys want to see what I've been working on it's here, it's just a little test. (width and height don't work yet due to obvious reasons.)
1. Box2D doesn't officially support vertex resizing, but I've seen cases of it working reasonably well. I may take a stab at this feature in the future: have BodyShapes monitor their transformation matrix and resize the Box2D shape. For now you'll have to do it manually.

On second thought... you could try just recreating all the shapes. This sequence of calls should destroy and recreate shapes based on the new transform:

Code:
destroyShapes();
createBufferedShapes();
shapes();


2. All you need is type = "Animated" (tweened is depreciated). And yes, you just animate things on the timeline. Make sure all your keyframes have the same component property values. e.g. Don't animate everything then set type = "Animated" on your first keyframe or you'll have to set type = "Animated" for all your keyframes. If the properties are different, Flash will create a new instance and destroy the old one.
Ok I've fixed the first part by simply calling destroy() followed by create()
Still working on the animation.

And now I've run in to another problem, I'm trying to change the gravity of the whole world, I cannot for the life of me figure this out. I've tried:

world.gravityX Doesn't work if the world is already created.
world.gravityY Doesn't work if the world is already created.
world.b2World.SetGravity() "SetGravity is not a function."
world.customGravity Want's a "Gravity"?
world.BaseGravity = new V2(10, 0); Does nothing that I see.

And that's it, I can't think of anything else. There's so many functions and vars that I can't seem to use. >.<

Also I can't destroy and create the world because obviously I want the objects inside it to still function.
Actually this should work for simple linear gravity:

Code:
world.baseGravity = new V2(5, 6);


If that doesn't work take a look at the world's "getGravityFor" function.

The gravity stuff is probably way more complex than most people need. There are radial, capsule, etc. gravity movieclip components that you can add to the stage and hook up to sensors (or act as the base gravity for everything), and individual BodyShapes can also alter their gravity.
Ah, ok I see. The problem was that the b2Body's have to be awake or the gravity change to effect them, I just ran a loop to set everything to SetAwake(true) after each gravity change.

Original thread: https://box2d.org/forum/viewtopic.php?t=6168