How Do I Toggle Quality?
Hi everyone,
Thanks for reading by the way. hehe, my question deals with toggling quality. I already know how to toggle high quality though. its like
on (release) { toggleHighQuality(); }
But my question is how do you toggle quality so it goes to low, medium, high, and best quality. anyone?
Thanks the help.
FlashKit > Flash Help > Flash Newbies
Posted on: 06-29-2003, 10:48 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Quality Toggle
does anyone know how i can create a button to toggle the quality of my animation/game
Quality Toggle
does anyone know how i can create a button to toggle the quality of my animation/game
Toggle Movie Quality
Hi, can someone teach me how to toggle the movie quality? i searched everywhere on this site and only found one which didnt really help me much. (it was 1 paged and didnt tell me where the stuff are).
if you can teach me how to set quality or link me to a good tutorial it will be very nice
by the way, i made 2 buttons for the quality toggle, 1 to set to high qual, and the other button to set to low qual.
thanks for your time
How Do I Make A Quality Toggle?
Ok in my game, at any point, you can click "Q" to toggle between low and high quality. But on the options menu, I want four buttons that let the player manually select low, medium, high, and best quality. I know it involves "_quality" but how do I use it?
Toggle High Quality
is ther a way to use the toggleHighQuality();
and just set some objects to be toggled and to leave others alone. When i toggle the quality of my movie, all my vector objects get messed up, and i only want to drop the quality of my pictures
rL
Quality Toggle Buttons
I searched the site and forums and couldn't find anything on this topic. I know it's probably ridiculously easy, but I don't know how to do it.
For my movie, I plan to have 4 buttons, low, med, high, and auto. I want to specify the points in the movie where the quality should be lowered for slower computers (auto button). The beginning of the slow part would be MED quality and then after it's passed, I want to reset it back to BEST.
Code:
_quality = "MEDIUM";
_quality = "BEST";
But how do I get the other 3 (low, med, high) buttons not follow the path I set for the auto quality?
How Do I Make A Quality Toggle?
Ok in my game, at any point, you can click "Q" to toggle between low and high quality. But on the options menu, I want four buttons that let the player manually select low, medium, high, and best quality. I know it involves "_quality" but how do I use it?
Toggle High Quality
is ther a way to use the toggleHighQuality();
and just set some objects to be toggled and to leave others alone. When i toggle the quality of my movie, all my vector objects get messed up, and i only want to drop the quality of my pictures
rL
Quality Toggle Buttons
I searched the site and forums and couldn't find anything on this topic. I know it's probably ridiculously easy, but I don't know how to do it.
For my movie, I plan to have 4 buttons, low, med, high, and auto. I want to specify the points in the movie where the quality should be lowered for slower computers (auto button). The beginning of the slow part would be MED quality and then after it's passed, I want to reset it back to BEST.
Code:
_quality = "MEDIUM";
_quality = "BEST";
But how do I get the other 3 (low, med, high) buttons not follow the path I set for the auto quality?
Toggle Quality Of Movie Clip?
hi, i would like to know if flash can lower ONLY THE quality of MOVIE clip.
Such as, the bubbles from the movie clip is of lowest quality, but the main flash running together with the bubble is of high quality.
If yes...how??
Flash Quality Toggle Button
im confused on the quality toggler for flash buttons. This is what I have
ActionScript Code:
on (release){ toggleHighQuality();}
but I need it to also toggle low and medium quality but i tried making the "High" in the code to "low" but it doesn't work.
Is It Possible To Toggle The Quality Of A Child Movie Clip Only?
hi,
is it possible to toggle the quality from a childmovie clip from high quality to fast quality while the childmovie clip is running? The quality change should only affect that specific child movie clip.
and if it's possible, how would the action look like?
thanks in advance
xant
What Is The Actionscript For Toggle Quality Mouse Click Buttons?
I've noticed that simple buttons in movies and games are starting to be used inwhich the user clicks on the button they want and it will switch through low, med, high, or best settings. For slower computers this is good. I think this would give a better effect to my flash movie but I'm not sure of the correct actionscript for this. I want it to stay at best for default but, the user can decide by clicking the button of their choice. The setting has to stay even after they click the play button. If the user only clicks play to start the movie then it should run at its default setting of best.
I've searched the forum although I can't seem to find the actionscript for actually making toggle quality buttons and I already have the quality set to best or high for my default while making my movie.
Image Quality Lost, Exported At 100% JPEG Quality
I am working on a Flash website for a design group to display their work. These designs needed to be scaled down to fit the format of the website and many of these designs have body copy with small text. In the FLA file they look ok, but when I export the SWF, the text looks really bad.I know JPEG compression isn't very good for text but even when I export at 100% JPEG quality it still ends up looking different. The text looks very "sparkly" with the thins of the letters have been lost. The original assets that they gave me were all in one photoshop file at 150dpi with one design per layer and some of the text were just slightly pixelated if you zoom in (all text were rasterized and flattened into the designs). Some of the same images supposedly from that file had been used on their previous site with no problem. On some of the images in the PSD I can see that some of the thin strokes in the letters had been lost a little from scaling the designs down. This has been really frustrating and I can't think of how to rememdy this problem. Anyone have any suggestions?
-Sorry I did not realize that someone had already asked the smae type of question. I am trying the suggestions from the other thread.
<param Name=quality Value=low> Plays High Quality Flash
I want to adjust some flash content on my site depending on user rights.
The systems shows a slide show with swf/images, if the user is logged in he will also see a list of thumbnails with all flashes that is going to appear in the sideshow. This list is contained within XHTML markup and has nothing to do with the slide show other than containing the individual slides.
It would be nice if I could set the quality for the swf's in the thumbnails to low since 10-20 high res flashes tend to use a lot of CPU. Using <param name=quality value=low /> to achieve this has so fare granted no success.
Things I've tried so far are:
1. Setting <param name="quality" value="low" /> for the individual flashes in the thumbnail list. The flashes are still displayed in high res. Tried using " ' and no hyphens.
2. Sending the flash var _quality=low through the src of the thumbnail list elements. <param name="movie" value="/src/flash/movie.swf?_quality=low" /> with and without hyphens.
3. Googling quality settings for flash which all say to use <param name="quality" value="low" />
Things to point out:
1. I have no control over the swf. These come from all sort of people so I need to be able to adjust the quality via the web page.
2. I've tried different ways of writing the quality strings. value='low' value="low" value=low and so on.
3. The quality settings change if i right click and select quality -> low but they always start at high.
4. The source code writes what I expect it to, the flash simply ignores the values I send it.
5. I'm using a windows based machine with Fire Fox 2 and CS2, the site uses XHTML and my flash player is 9,0,124,0
Edited: 08/28/2008 at 07:55:30 AM by Cbastus
Low Quality Movie With High Quality Files?
hello again...well in the meantime the only way i managed to keep my pixel fonts crisp is by putting the movie quality to low ...however...i have some graphics in it that really won't show with low quality. is there any way i can have the movie at low quality yet be able to show certain graphics in high quality? perhaps by importing them in a certain format, or can i apply a property to them or someting??? or is it all or nothing?
i would appreciate any suggestion!
TY!
Low Quality Mc In High Quality Movie
the thing is....
i have my movie which is in high quality then i want one movieclip within this movie to be low quality, so i gave it this action:
onClipEvent (load) {
_quality=low;
}
this didnt work and the whole thing is still in high quality.
i'd appreciate anyone telling me what i'm doing wrong!
THX!!
High Quality To Low Quality Question
I have a loader taking up frames 1 - 3 that I want to remain as high quality and then from there on in frames 4 - 19 I want as low quality.
I have added on frame 1
_quality=high
and then on frame 4
_quality=low
But this does not seem to work - it seems to always be low quality throughout.
Where am I going wrong? - Any help would be so so so so welcome
Thanks in advance
Jools
Changing Low Quality Back To Hi Quality
Hi
i am making a CD rom with a lot of levels in flash
the misic is on level0
submenus on level 1
mainmenu level 3
any way when i load one swf onto level 1
this swf is flash lowquality file
which is fine as this is needed to run the movie
however after i unload the movie or press another option on the main menu
everything stays in low quality mode
is there some script that will bring the whole flash movie and all levels back to high quality?
hope someone can help
cheers
Toggle MC On And Off...
hi guys,
I have a button that is nested within an MC. The MC is on the main timeline. Within the MC there are 2 frames, the first is when the button is 'off' and the second when it is 'on'. This works fine I can toggle the MC easily, but my problem is that I have 5 of these same MC/BUTTONS on the stage and if one is turned on and then another I want to turn the last one off or all of them of except the current MC,
thanks in advance,
tom
Toggle
very newbie question... whats toggle?
the toggle action didnt do anything to my button.
Toggle Between On And Off
I had a problem here with toggling.
I got 5 scenes each with a sound on/off button.
When i click on the sound on/off button to turn off the sound the button will change to Sound On. (meaning when you click on it again it will change back to sound off again which is the default)
Now the problem is, when i click on the button, it will be sound on.. but when i go to another scene the button will change back to sound off...(default). It shouldnt be that way, it should be display Sound On instead since i've toggled it.
How do i go about solving this problem? Anyone? Thanks in advance!
Toggle Key
I am trying to do a lever here, and have a toggle setting, but I can not find it. Basically, I got 3 different positions I want the lever to be in, and I'm using 3 jpg's. How do you set the toggle function? Thanks
Prindel
Toggle All The Way?
code:
function togglequality() {
if (control_mc._x == Math.round((Stage.width - control_mc._width ) /2)) {
_quality = "HIGH"
}
else {
_quality = "LOW"
toggleHighQuality;
}
}
togglequality();
hey,
I am abit confused at why this code will no work at the part where it is suppossed to toggle the swf quality back to "HIGH" once "control_mc" has positioned itself in the middle of the stage. i wrote it thinking that it would work, does anyone know the problem. here is the code for when "control_mc" repositions its self:
code:
control_mc.onResize = function() {
control_mc.tween(["_x"],[Math.round(( Stage.width - control_mc._width ) /2)]);
}
Stage.addListener(control_mc)
control_mc.onResize();
so when the "control_mc" moves it eases to the middle and while its easing the quality is set to "LOW" so when it gets to the middle "togglequality" is suppossed to toggle back to "HIGH"
anything i am doing wrong?
thanks
Toggle
how would i get one movie clip to toogle to diffrent things when pressed
like, play music, stop,
but not together just
*press* play music
*press* mussic stop
here is my action script so far
on (press) {
stopAllSounds();
}
on (release) {
aSound = new Sound(this);
aSound.attachSound("TATP");
aSound.start(0,999999);
}
thanks
3-way If/Else Toggle
I have several buttons which make visible different sub navigations - however some of the sub navigations are relative to more than one section.
The button code below works for the individual buttons, but I need it to say something like this:
- if Btn1 is selected myMC is visible.
- if Btn2 is selected myMC is visible.
- if both buttons are selected and the user deselects one of the buttons myMC is visible.
- if both Btn1 and Btn2 are deselected myMC is not visible.
Code:
Btn1.onRelease = function() {
if (myMC._visible == false) {
myMC._visible = true;
} else {
myMC._visible = false;
}
Btn2.onRelease = function() {
if (myMC._visible == false) {
myMC._visible = true;
} else {
myMC._visible = false;
}
does that make sense? thanks in advance...
Toggle
how would i get one movie clip to toogle to diffrent things when pressed
like, play music, stop,
but not together just
*press* play music
*press* mussic stop
here is my action script so far
on (press) {
stopAllSounds();
}
on (release) {
aSound = new Sound(this);
aSound.attachSound("TATP");
aSound.start(0,999999);
}
thanks
Toggle All The Way
function togglequality() {
if (control_mc._x == Math.round((Stage.width - control_mc._width ) /2)) {
_quality = "HIGH"
}
else {
_quality = "LOW"
toggleHighQuality;
}
}
togglequality();
hey,
I am abit confused at why this code will no work at the part where it is suppossed to toggle the swf quality back to "HIGH" once "control_mc" has positioned itself in the middle of the stage. i wrote it thinking that it would work, does anyone know the problem. here is the code for when "control_mc" repositions its self:
control_mc.onResize = function() {
control_mc.tween(["_x"],[Math.round(( Stage.width - control_mc._width ) /2)]);
}
Stage.addListener(control_mc)
control_mc.onResize();
so when the "control_mc" moves it eases to the middle and while its easing the quality is set to "LOW" so when it gets to the middle "togglequality" is suppossed to toggle back to "HIGH"
anything i am doing wrong?
thanks
Tween Ani Toggle
hi
i got two tween, when i click the button first tween has to appear and on second click the first tween has to disappear and second has to appear.
I have written the code
on (press) {
_root.edu._alpha=0;
_root.obj._alpha=100;
_root.obj.play();
}
it works fine when i double click on the button.
Sound Toggle Between On And Off
hi
I have created a MC and an invisible button
1.In MC I placed button.
2. frame 1 _root.sound=1;
3. In MC
OnClipEvent(EnterFrame){
if (_root.sound==0){
stopAllSounds()
}
else
_root.a.play();//where a is MC
}
4.In Button
on (release) {
if (_root.sound==0){
_root.sound=1;
}
else if (_root.sound==1){
_root.sound=0;
}
}
>> Sound On/off Toggle
i'm trying to make a toggle switch (not volume control) for the sound loop in my movie...
here's what i've got so far:
- - - - - - - - - - - - - - - - - - - - - - - - -
on (release) {
if (soundOn.music<1) {
_root.flick.gotoAndPlay("flickers");
soundOn.music = soundOn.music+1;
soundOn.soundback.gotoAndStop(1);
stopAllSounds ();
soundOn.gotoAndPlay(2);
} else {
_root.flick.gotoAndPlay("flickers");
soundOn.soundBack.gotoAndPlay("loop");
}
}
- - - - - - - - - - - - - - - - - - - - - - - - -
this will turn the sound off okay... and will toggle it back on again when pressed... but i cannot get the sound to turn off again after that. it just drops the sound loop over and over again (on top of itself) creating a virtual trainwreck of a drumloop.
any suggestions?
thanks...
.andy
Toggle Buttons?
Hi.. I am making an interface for a website and I have some sound.. I spent 4 hours trying to figure out the correct sequence for a toggle button to turn it off and on.. The toggle button will turn if on if the sound isnt playing and turn it off if it is...
Can anyone help me with this?
Thank You!
Sound Toggle
I am having a really hard time finding out how to create a sound toggle button in Flash 5. I created one that was a two frame movie clip. It works well until I click a button I have given a 'goToandPlay" previous frame action (my site is a small personal portfolio that works on a frame by frame basis instead of tell target). Can someone please help me? Thank you in advance.
Dave
Toggle Button
Hi guys,
I'm trying to create a toggle button that turns on/off a menu. I've tried a number of routes, including variables that are swapped when the button is pressed. i.e. if var=0 then display the menu and set var=1, if var=1 then hide the menu and set var=0. I cannot get this to work so if anyone has an idea then it would be greatly appreciated. p.s. I have the check to see what the variable is on the press action of the button and then swap the variable on the release action of the button.
Confused? I hope not.
Cheers
Keith
Toggle Button
I'm somewhat new to flash and I'm trying to create a pause button that toggles from pause to play. Here's the script I'm using on the button. It works but there's got to be a better way to do this. I admit, I suck at actionscript.
//brian
on (release) {
if (Number(button) == 2) {
tellTarget ("_root.MovieTest") {
play();
}
button = 1;
} else {
tellTarget ("_root.MovieTest") {
stop();
}
button = 2;
}
}
Sound Toggle
I have a Flash movie that begins with music playing and looping every 10 -15 seconds on the main timeline. I want to create a button that will turn off/on the music on the main timeline (scene 1) without affecting the other scenes. The tricky part is that the music is on its own layer on the main timeline, and is not contained inside the button I created.
So far, I've been able to create the button that turns off the music, but when I click the button again, I cannot figure out how to get the music to play again.
Please help...
T.
Sound Toggle
For the love of God, somebody please help me with this! I was advised from an earlier post to do a set volume action to create my sound toggle. In other words, pressing the button once will play the clip at full volume, pressing it again will play the clip at no volume. How exactly do I do that? I'm a newbie...
Thank you and Regards,
rheingold
Toggle Sound On And Off
Hello:
I would like to create a button that would toggle sound on and off, but when I press the button the sound would fade out and press it again would fade in.
Thanks in advance for anyone who replies.
X And Y Coordinates W/ Toggle
I have several buttons on the stage. When one of them is pressed I would like to move the position of all of the others. If it is pressed again, I want them all to come back.
What is the best way to set this up? Keeping file size down. I think it would be using x and y coordinates and a toggle? - if so, can anyone direct me to a good tutorial?
Thanks so much!
jd
HELP With Scripting X,y With Toggle For Mc
My query is this:
I have a mc call it A) on the stage when the file opens. on release of that clip (A), I want another clip (call it B) on the stage (placed outside the window) to move into the window. Upon releasing mc A a second time, I want mc B to move back out of the window.
I have the basics, but have simple clipEvent handler trouble I think.
Can anyone lead me to the right answer? Here is the script I am placing on mc A:
onClipEvent () {
}
i=1;
button.onPress = function(){
Cheers,
Christian
i++;
if (i==2){
mc_a._x = -94.6;
mc_a._y = 148.8;
i=0;
} else if (i==1){
mc_a._x = 137.5;
mc_a._y = 148.8;
}
}
Auto Toggle
UGhhh drivin me nuts,
I am (currently unsuccesfully) trying to create a simple auto on/off type toggle script in Flash.
What I have is a looping clip within my movie, with each loop, I wanted to alternate the alpha to 0 or 100.
Cheers Cylon
Toggle Buttons
Hi all,
Can anybody help me designing a Toggle button sort in Flash 5. Am a beginner so please stick with the action scripts.
What I mean by a Toggle Button is that : It stay s pressed when i press it once and pops back to released state when i click it again...
Also, how to detect a Double click....
Please Help me...
Thanx
Wishy
On/off Toggle Button
I have a button for turning music on and off. I see the command for stopallsounds, but I only want it to stop my background sound, not my mouseover sounds. And then I want it to turn the background sound back on the next time it is clicked (toggle).
Does this require an "if statement" of some sort?
Toggle Button
hi there,
is there any way to enable a button for toggle function???. on release, animation starts forward & on release again, animation starts backward
Please Help
Thanx in Advance
Rgds
Bhaskee
Sound Toggle
I need help. How do you make an on and off switch for the sound in your movie? I know how to make the buttons but I don't know the actionscript. Also where would you put the sound? Would the sound go in the same movie clip as the on and off switch or a separate scene or a whole seperate file altogether? Thanks
Toggle At Intervals
Hi everybody,
I've got a movie clip called "modes" with only two frames and a stop action on each one. I want to toggle between these two frames at 10 second intervals. The problem with my code is that is keeps looping back to the first frame without ever resting on the second one. Here's what I've got:
_______________
function switchModes(direction) {
modes.alphaChange = -3;
modes.destinationframe = modes._currentframe+direction;
if (this._currentframe = 1) {
direction = 1;
} else {
direction = -1;
}
}
//change modes every 10 seconds
setInterval(switchModes, 10000);
//fade
modes.onEnterFrame = function() {
this._alpha += this.alphaChange;
if (this._alpha < 0) {
this.alphaChange=this.alphaChange*-1;
this.gotoAndStop(this.destinationFrame);
}
if (this._alpha > 100) {
this.alphaChange = 0;
this._alpha = 100;
}
}
_______________
Any ideas?
Thanks.
Toggle Button
I have a multi track player,and i need to toggle the mute on/off button according to the animation on the timeline.was wondering if its possible
some help would be nice
thanks
Toggle Sound
Hi,
I have 2 buttons that stop or start a sound,
On release mysound.start(0,1)
and on the other button
On release mysound.stop()
Works fine, however I only want 1 button that toggles the sound on and off,
I cant seem to find a simple piece of code for this,
Cheers
|