|
8-30-2007. Here are the screenshots of madness office edition. There's also a limited time preview on the animations page. You might notice that the characters are "smudged." If you don't know Flash, that's called the onion skin effect. It really helps to make smooth frame by frame animations. To activate onion skin, press the 2nd button to the right from the trash can, on the timeline. Madness Office Edition will be at newgrounds (and this site) by September 22, 2007(Which just so happens to be Madness Day on Newgrounds). Screenshot 1 Screenshot 2 Also, if you need/want an actionscript camera in your flash, here are the instructions below. 1) Create a box, with no fill. Make a crosshair in the middle, if you wish. 2) Convert the camera into a movieclip. 3) Double-click the movie clip. 4) On the first frame of the movieclip, press F9 to open the actions panel. 5) Copy and Paste the code below into the actions panel.
function camControl():Void { parentColor.setTransform(camColor.getTransform()); var scaleX:Number = sX/this._width; var scaleY:Number = sY/this._height; _parent._x = cX-(this._x*scaleX); _parent._y = cY-(this._y*scaleY); _parent._xscale = 100*scaleX; _parent._yscale = 100*scaleY; } function resetStage():Void { var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(resetTrans); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } // make frame invisible this._visible = false; // Capture stage parameters var oldMode:String = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX:Number = Stage.width/2; var cY:Number = Stage.height/2; var sX:Number = Stage.width; var sY:Number = Stage.height; Stage.scaleMode = oldMode; // create color instances for color // transforms (if any). var camColor:Color = new Color(this); var parentColor:Color = new Color(_parent); // Make the stage move so that the // v-cam is centered on the // viewport every frame this.onEnterFrame = camControl; // Make an explicit call to the camControl // function to make sure it also runs on the // first frame. camControl(); // If the v-cam is ever removed (unloaded) // the stage, return the stage to the default // settings. this.onUnload = resetStage;
This is in actionscript 2.0. It works in Flash 8, and should work in MX 2004, and CS3(just be sure to set it to AS 2.0). Basically, what the code does, is it takes the current document, and when you export it (ctrl+enter), it resizes the document to fit the camera view. It is a non-destructive process, though. You can delete the camera from the timeline, and your document will be back to normal. How to use the camera: Resize it with the sale tool. Make sure to press shift while resizing, so the camera view doesn't get distorted. Make the camera larger to zoom out, make it smaller to zoom in. To move it, just move it like you would any object. Here's a tip: Motion tween the zoom/move changes, which results in a smooth pan/zoom. I would prefer if you credited me in your movie as "DZine." But if you don't want to, you don't have to.
|