| Welcome to Brackenwood. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Quality Changer; Help! | |
|---|---|
| Tweet Topic Started: Sep 19 2004, 06:01 AM (218 Views) | |
| Neo_uk | Sep 19 2004, 06:01 AM Post #1 |
|
Smellheadface
|
Could anyone please tell me how i can make a 'Quality changer'...? (e.g. high quality, medium quality, low quality) |
![]() |
|
| Ranoka | Sep 19 2004, 06:41 AM Post #2 |
|
Teacosy is watching you! ♂
|
Here you go, found an old thread I answered this question in: http://s7.invisionfree.com/Brackenwood/ind...p?showtopic=879 hope it helps! |
![]() |
|
| chluaid | Sep 22 2004, 07:56 PM Post #3 |
![]()
Bitey's Daddy
![]()
|
I didn't answer that last thread either so I thought I'd better answer this one... Make a movie clip (not a button) on the stage and give it the instance name: low_btn then unlike a button where you put your code on the button itself, put the following code on frame1 of the movie:
|
![]() |
|
| alexsmolik | Sep 22 2004, 09:17 PM Post #4 |
![]()
The Prince of Troy
|
Well, if you're too lazy to go to Ranoka's link, and you find Adam's advice way too difficult, just follow these steps : Make 3 buttons. Each button will be for a quality setting. (i.e: LOW button, MEDIUM button and HIGH button). So there you go, once you are done with the buttons, you can make them neat the way you want to by double clicking on them. Now to every button, you'll add this code, if medium button, replace LOW by MEDIUM. If high button, replace LOW by HIGH. Pretty simple stuff. I thought that Adam's way was too difficult. :
|
![]() |
|
| chluaid | Sep 22 2004, 10:43 PM Post #5 |
![]()
Bitey's Daddy
![]()
|
I learned mine from Sham.. apparently having all the code on the first frame of your movie makes the whole thing run faster, and keeping the code all in one place makes it easier to debug your scripts. Probably doesn't speed things up too much for a small thing like this, but it's still good practice
|
![]() |
|
| Ranoka | Sep 23 2004, 12:01 AM Post #6 |
|
Teacosy is watching you! ♂
|
Interesting techinque Chluaid, I haven't been shown that before... Will try it out in my next project. |
![]() |
|
| Neo_uk | Sep 23 2004, 07:04 AM Post #7 |
|
Smellheadface
|
Cool, thx guys Dont understand adam's way... coz if its on the first frame wont it ONLY be that quality setting? |
![]() |
|
| Markham Carroll | Sep 23 2004, 10:56 AM Post #8 |
|
Custom member title
|
It's a function. Functions can be called from anywhere in that scene. |
![]() |
|
| mwc | Sep 23 2004, 01:07 PM Post #9 |
|
Duyid Afryt Milish
|
SO what would the code be for the auto quality? ie: Prowlies |
![]() |
|
| Chungus | Sep 23 2004, 01:19 PM Post #10 |
|
Psilocybe Cubensis
|
Flash just quit on me. This is from memory. Say, one frame 374, something intesive starts. You'd put something like:
When I get flash started, I'll get the actual code. WHen you come to something non intensive, Same thing, but _quality = 'HIGH'; |
![]() |
|
| chluaid | Sep 26 2004, 01:00 AM Post #11 |
![]()
Bitey's Daddy
![]()
|
yep that's right... when I make the movie, I test each scene as I finish it for playability. Lag most often occurs when there are a lot of gradients and heavy detail on the screen during a camera move. So at the frame the camera starts moving, I simply put a keyframe with the action:
At the frame that the camera move stops, I make another keyframe and put quality to HIGH again. Occasionally it's not necessary to go all the way down to LOW so I just put MEDIUM in those scenes. .. that's all there is to it
|
![]() |
|
| FhqwhgadsE2TL | Oct 26 2004, 03:58 PM Post #12 |
![]()
Flash Anim8r
|
Don't forget if you want to manually go through and "set up" the _quality settings throughout the movie for an "auto" setting, you need to have a test condition for each "auto override" throughout the movie.
ELSE it would use the _quality = "LOW", "MEDIUM" or "HIGH" that was set up on a button press, or otherwise, at the beginning of the movie. When you click on the AUTO button you need to set the variable auto=true, and by default you would initialize it to auto=false. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Application Support · Next Topic » |










6:19 PM Jul 11