First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Michael Georges

OK Flash Folks - I thought I'd send this in 'cos I have not seen it done in Flash before. If you want to resize a Flash 'Window' or mc by dragging (like a 'Windows' window) this works. I'm sure if can be refined but here's the basic idea...

Make a mc 'scaler'. On layer 1 make a square = 100 x 100. Fill it with a light easy colour. Put the top left hand corner at the cross hairs of the stage. On a layer above that put some type to fill the square. (Blakes poetry works best) Drop an instance on stage. Call it 'scaler' and put the top left corner at 0,0.

New symbol = mc = 'Triangle'. Make a right angled triangle. Sides about 20 px. Rt. angle = bottom right. Put this rt. angle corner at the cross hairs of the stage. New layer. Button symbol = similar triangle. Actions for the btn:

On (Press) 
Start Drag ("")
End On

On (Release)
Stop Drag
End On

We're still in the 'triangle' mc edit mode, so make a new actions layer:

Frame 1:

Set Property ("/scaler", X Scale) = GetProperty("",_x) 
Set Property ("/scaler", Y Scale) = GetProperty("",_y)

Frame 2.

Go to and Play (1)

Put the 'triangle' mc on stage. xpos. = 100, ypos. = 100, so it lies inside the bottom right hand corner of 'scaler'.

That's it.

» Level Basic

Added: 2001-01-30
Rating: 4 Votes: 36
(10 being the highest)
» Author
No author details available.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.