Optional StuffTo make the window-open button,
- Create a button
- Add the following code:
On (Release) Duplicate Movie Clip ("/window", "/window" & x, x) Set Variable: "x" = x + 1 End On
How about having the window change color? You got it. Copy all the frames in the 'window' movie, skip a frame, and paste them. Edit the maximize and minimize stages, so that they're a different color from the first window. Repeat this until you have as many colors as you want. Make some buttons that correspond to the colors. If' they're in the main movie, give them this action, only change (frame number) to whatever frame number the different colors start at.
On (Release) Begin Tell Target ("/window") Go to and Stop (frame number) End Tell Target End On
If they're not in the Main movie or any other movie clip, and are only in the 'Window' movie clip, Insert this code, only change (frame number) to whatever frame number the color starts at.
On (Release) Go to and Stop (frame number) End On
Come closer to the monitor and i'll tell you a secret. Closer. Closer. Closer. *Bonk* Not that close! Back up a little bit! Ok. So, if you want to be able to resize the window just... *Loud Train Passes By* ...and that's all you have to do! Enjoy your new window!
|» Level Intermediate|
Rating: 7 Votes: 87
|No details available.|
|Download the files used in this tutorial.|
|Download (60 kb)|
|More help? Search our boards for quick answers!|