First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
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!


  • 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: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
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: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.