Changing Quality On Scroll :: Scroll Plane
Hi There,
Does anyone know a easy way of getting the flash movie to change quality when a scroll plane is scrolling... I have loads of content in the plane and need to set the quality to low whilst scolling to improve performance....
at the moment I have this code.
Code: var dragQual:Object = new Object(); dragQual.scroll = function(eventObj){ _quality = "LOW" } tDragObject.addEventListener("scroll", dragQual); but it only sets the quality to low, once the user has finnished scolling I want the quality to go back to best....
Any Ideas?
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 10-19-2004, 11:34 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Changing Quality On Scroll :: Scroll Plane
Hi There,
Does anyone know a easy way of getting the flash movie to change quality when a scroll plane is scrolling... I have loads of content in the plane and need to set the quality to low whilst scolling to improve performance....
at the moment I have this code.
Code:
var dragQual:Object = new Object();
dragQual.scroll = function(eventObj){
_quality = "LOW"
}
tDragObject.addEventListener("scroll", dragQual);
but it only sets the quality to low, once the user has finnished scolling I want the quality to go back to best....
Any Ideas?
Scroll Plane
I am having a problem....I would like to know what im doing wrong....I want to change the colour of the bars....so I go and edit them....but then when I go back to the main page...nothing has changed....and when i preview it....its still the same colour....so i think im doing something wrong. I would like to know what.
I also go back then to see if its edited and it still is how i want it....just not in the main and published form.
Scroll Plane
i dont like using scroll bars, but i am in great need of a scroll plane, and have no idea how to use the thing. a little insite would help greatly. thank you
=ryan=
Scroll Plane Problem
I am using a scroll plane which has a movie clip inside the moviclip dynamicaly generates a list which are repeated below each other.
The scroll plane does not recognise the dynamic part of the moviclip and assumes that the height is just the original size of the moviclip
Preloader And Scroll Plane
I need help with a problem, I am having problems getting images to scroll in flash. I have the images in a movie clip being loaded into a scroll plane, that works but in order for me to get the images to show up in the scroll plane I have to export the movie clip and have it load on the first frame. I can't do this because I have a preloader and its messing up my preloader. Is there anyway I can load that movie clip later in the movie and still have it show up in the scroll plane.
Any ideas please let me know.
Preloader And Scroll Plane
I need help with a problem, I am having problems getting images to scroll in flash. I have the images in a movie clip being loaded into a scroll plane, that works but in order for me to get the images to show up in the scroll plane I have to export the movie clip and have it load on the first frame. I can't do this because I have a preloader and its messing up my preloader. Is there anyway I can load that movie clip later in the movie and still have it show up in the scroll plane.
Any ideas please let me know.
Targeting Inside A Scroll Plane
Ok I have a movie clip inside a scroll plane. I also have a menu which I want to target the movie clip.
how should I do this?
_root.scrollplaneInstance.movieInstance....
Is this right?
as it doesn't seem to work.
Scroll Plane Is Not Working Properly HELP
Hi, I'm designing a site for a friend's business. And I'v cotaloged heeps of information into external *.swf files. I'v had it' working fine on my HD, But now when i have uploaded it to the site it is not working properly. Is this because that isp dose not support shockwave properly. Or is it because i have not put the code in the right order for the internet? Here is my site address www.masons.org.nz. Plz I'm stuck on this and i need to get this site up for my goto the first option on the scroll plan and you'll see what i meen friend!
Text In Scroll Plane Not Working
hi,
i'm having problems with text inside a symbol not working inside a scroll plane, basically i have a symbol which has a list of glasses i put this in a scroll plan via the parameters. the first section of writing is there but then as you scroll across it disapears i have added the fl file if anyone would like to look and see whats going on. thanks a lot
Changing Scroll Size
I am using a Flash component scrollbar with a Dynamic TextBox. I need to have the scrollbar to automatically the size when the content is changed. Any ideas?
I know there is a script to set the exact size of the scroll bar but that won't help cuz this is for a guestbook and I don't know how long the file will be...
PLEEEAASSEEE... ANY IDEAS WILL BE HELPFUL!!!
Changing Scroll Bar Colors
Hello to all I am wanting to know how can i change the colors of the scroll bar and arrows in the scrollbar component in Flash MX?
Changing Scroll Bar To Just Two Arrows Help
hello,
first of all i am using flash mx 2004 version 7.2
and I have created a scrolling text box:
http://www.cherieseleveneleven.com.au/Aboutus1.htm
but would like to remove the scroll bar and make two arrows appear to perform the same function. Im sure it is harder than it sounds!
but how do i do this?
Changing Colors Of The Scroll Bar
I'm using the V2 component scroll bar.
I tried to change the border and the background color but no joy.
Code:
_global.style.setStyle("themeColor", "0x7A99E0");
scroll_cp.setScrollTarget(text_txt);
scroll_cp.setSize(16, 300);
scroll_cp.setStyle("backgroundColor", "0x0099FF");
scroll_cp.setStyle("borderStyle", "none");
Changing Scroll Bar Color
I'm sure that there is a way to do this, and I looked at the flash help, but it didn't help much for this beginner.... I am using a scrollPane component, and want to be able to make the scrollbar a different color. I know there is a default "green" color, but that actually is only showing up on the arrows anyway, not on the middle bar thingie... can anyone help?
Changing The Explorer Scroll Colors?
In mx how do you change the colors for the main explorer scrolls? is it just a matter of simple code? or is it more difficult to set up? any help is much appreciated.
rawkem
Help Changing The Color Of Scroll Bar On Browser
can anyone tell me the html code to change the color of the scroll bar on the the internet explorer browser -------------->
that bar thats over the right.
And can you tell me how to put the html code in , like where ?
would be a big help
Thizanks
Scroll Pane Changing The Appearance
when i see many web sites i note that they use flash component such as scroll pane but with personnel appearence the color of the bar etc.
how do they do it
Help Changing Scroll Menu Values
Hi,
I've got this scroll menu system in my web site. I was wondering if anyone could lend me a hand understanding why I can't get my scrollMenu to start and stop at these coordinates, which you can see here:
http://www.redi2play.com/testing/redi2play.jpg
Code:
if (this._x>= -600)
{
this._x = -1500;
}
if (this._x<= -1501)
{
this._x = -601;
}
What I want to have is 10 Icons scrolling, but if they don't totally got off screen it looks like they skip. Does anuyone have any ideas?
Thanks In Advance
[CS3] AS2 - Changing A Scroll Bar To Simple Arrows?
I have some xml content being loaded into a movie clip. Currently, I've got it working with a scroll bar. I'd like to change the scroll bar to simple up & down arrows. It seems like this should be pretty straight forward but I think there must be some trick to it with the code or I'm having a very bad week with flash! I thought i could just modifiy the dragger code but no such luck. Here's my code with the scrollbar.
Actionscript
Code:
/////////////////////////////////////////////////////////////////////
Stage.scaleMode = "noscale";
/////////////////
// Loading XML //
/////////////////
myXML = new XML();
myXML.ignoreWhite = true;
myXML.load("portfolio.xml");
myXML.onLoad = function(_status) {
if (_status) {
tempxml = myXML.firstChild.childNodes;
var path1 = myXML.firstChild.attributes.path1;
var path2 = myXML.firstChild.attributes.path2;
var space = 25; // Space between items you can increase this to whatever
for (var i = 0; i<tempxml.length; i++) {
var item = list_mc.attachMovie("clip", "clip"+i, i); // In the library, rightclick on item and choose linkage. You'll see that our items are represented in the code the "clip" name
item._y = (item._height+space)*i; // This places our items on y axis
item.title_txt.text = tempxml[i].attributes.title; // For i<total, attaches a title i to our item
//item.date_txt.text = tempxml[i].attributes.date; // For i<total, attaches a title i to our item
item.descr_txt.text = tempxml[i].attributes.description; // This attaches a description i to our item
//item.url_txt.text = tempxml[i].attributes.url; // And this one a url i to our item
//item.thumbHolder.loadMovie(tempxml[i].firstChild); // Attaches thumbnails to each item
item.thumbHolder.loadMovie(path1 + tempxml[i].firstChild); // Attaches bw thumbnails to each item
item.thumbHolderC.loadMovie(path2 + tempxml[i].firstChild); // Attaches color thumbnails to each item
item.onRollOver = function() {
this.alphaTo(100, 2.0, "easeOutExpo");
this.thumbHolder._visible = false;
};
item.onRollOut = function() {
this.alphaTo(100, 2.0, "easeOutExpo");
this.thumbHolder._visible = true;
};
//item.btn.id = i;
//item._alpha=75; // Sets an alpha = 50 to our items. This can be increased or decreased. It serves for the fade in/fade out effect
//item.onRollOver = function() {
//this.alphaTo(100, 1, "easeOutExpo"); // When I rollOver each item, alpha goes smoothly to 100
//};
//item.onRollOut = function() {
//this.alphaTo(75, 1, "easeOutExpo"); // When I rollOut alpha goes back to 50 as it was. This value should be the same with the one above
//};
//item.onRelease = function() {
//item.btn.getURL(this.url_txt.text,"_blank"); // When I click on an item, it opens an url (wich I set in the xml for each button) in a blank window of my browser
//};
}
delete myXML;
}
};
////////////////////////////
// Setting our scroll bar //
// We'll call it dragger ///
////////////////////////////
targY = 50;
abstandDragger = -195; // If you resize the items, or whatever you'll have to modify this value in order to have your dragger in the right x position
dragger._x = mask_mc._width+abstandDragger;
dragger.onRollOver = function (){
this.colorTo("0xFFFFFF", 1, "easeOutExpo"); // The color code from here makes our dragger white. Change this to modify color
};
dragger.onRollOut = function (){
this.colorTo("0x999999", 1, "easeOutExpo"); // The color code makes our dragger grey as it is in fact. This should be the same as dragger's color as shape ;)
};
dragger.onPress = function() {
startDrag(this, false, this._x, 0, this._x, mask_mc._height-this._height); // Doesn't allow our dragger to get out of some coordinates
};
dragger.onRelease = dragger.onReleaseOutside=function () {
stopDrag(); // Stops the mouse drag action
};
list_mc.setMask(mask_mc);
list_mc.onEnterFrame = function() {
scrollAmount = (this._height-mask_mc._height)/(mask_mc._height-dragger._height);
targY = -dragger._y*scrollAmount;
this._y -= (this._y-targY)/10; // Scroll delay - Ease. Change this value to experiment
};
/////////////////////////////////////
// Setting the mouse wheel support //
/////////////////////////////////////
var dragger:Object = new Object();
dragger.onMouseWheel = function(delta) {
if(this._y >= 3)
{
this._y -= delta;
}else{
this._y = 3;
}
if(this._y <= mask_mc._height-this._height)
{
this._y -= delta;
}else{
this._y = (mask_mc._height-this._height);
}
}
Mouse.addListener(dragger);
/////////
// End //
/////////
Help Changing Scroll Menu Values
Hi,
I've got this scroll menu system in my web site. I was wondering if anyone could lend me a hand understanding why I can't get my scrollMenu to start and stop at these coordinates, which you can see here:
http://www.redi2play.com/testing/redi2play.jpg
Code:
if (this._x>= -600)
{
this._x = -1500;
}
if (this._x<= -1501)
{
this._x = -601;
}
What I want to have is 10 Icons scrolling, but if they don't totally got off screen it looks like they skip. Does anuyone have any ideas?
Thanks In Advance
Changing Color Of Made Scroll Bar
i've just finished reading the scrolling dynamically loaded text tutorial and created my own scroll bar in my flash but i was wondering if the color of this could be changed...? or would you have to make the scroll bar through a different way? thx for your help
Help Changing Scroll Menu Values
Hi,
I've got this scroll menu system in my web site. I was wondering if anyone could lend me a hand understanding why I can't get my scrollMenu to start and stop at these coordinates, which you can see here:
Code:
if (this._x>= -600)
{
this._x = -1500;
}
if (this._x<= -1501)
{
this._x = -601;
}
What I want to have is 10 Icons scrolling, but if they don't totally got off screen it looks like they skip. Does anuyone have any ideas?
Thanks In Advance
Help Changing Scroll Menu Values
Hi,
I've got this scroll menu system in my web site. I was wondering if anyone could lend me a hand understanding why I can't get my scrollMenu to start and stop at these coordinates, which you can see here:
Code:
if (this._x>= -600)
{
this._x = -1500;
}
if (this._x<= -1501)
{
this._x = -601;
}
What I want to have is 10 Icons scrolling, but if they don't totally got off screen it looks like they skip. Does anuyone have any ideas?
Thanks In Advance
Help Changing Scroll Menu Values
Hi,
I've got this scroll menu system in my web site. I was wondering if anyone could lend me a hand understanding why I can't get my scrollMenu to start and stop at these coordinates, which you can see here:
Code:
if (this._x>= -600)
{
this._x = -1500;
}
if (this._x<= -1501)
{
this._x = -601;
}
What I want to have is 10 Icons scrolling, but if they don't totally got off screen it looks like they skip. Does anuyone have any ideas?
Thanks In Advance
Scroll Window Fonts Are Changing
http://hombru.com/test/whole.html
if you click on the beer tap and then select one of the options that pull down the text on the left side was suppose to be larger on the persons name and the text on the instrument that they play was supposed to be smaller. I have checked this a few time and I have republished it several times but the text always comes out looking incorrect. I remember making other scroll windows.. in fact here,
http://hombru.com/
click on the lyrics page and the song titles are bigger like they are supposed to be.
I am at work and not in front of Flash at the moment but might that have something to do with making the text static or dynamic?
Changing The Color Of Scroll Panel Component
I was wondering if anyone could help me out with this. I'm using MX2004 and I can't figure out how to change the skin on the Scroll Panel component. Currently when you publish it the scroll buttons turn green. I followed all the instructions on changing themes and skins in the flash help but it is not working. Please Help.
Changing Postition Of Scrollbar In Scroll Pane?
Hello there,
I have put together a scrollpane with a MC playing buttons for a portfolio site. I have in the past left the position of everything the way in comes in the component but this time wanted to move the up and down arrows to center over the scrollpane. This has created a problem as now whatever I do, part of my MC is covered up by the scrolltrack on the right. I have tried widening the scrollpane but that doesn't seem to help. I suspect I have to change the coordinates set in the actionscript for the scrollpane but am a little lost as to how to go about it...I would really appreciate some help.
Thanks.
Changing Infinite Menu To Scroll Vertical
I followed at tut at:http://www.kirupa.com/developer/mx/infinite.htm but i wanted to make it scroll vertically.
i can realign the buttons and text vertically, i just cant get it to scroll vertically.
here is the code in the menu:
Code:
onClipEvent (load)
{
xcenter=137.15;
speed=1/10;
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
if (_x > 0) _x=-300;
if (_x < -300) _x=0;
}
i know i probably have to just switch the x and y values, but I tried that and can't seem to get it to work, can somebody alter the code so it scrolls vertically for me?
Any help is appreciated. Thanks in advanced!
Changing Direction Of Vertical Scroll Menu
Plase if someone could help me,
I made a vertical flash menu and I would like to change a direction of its movement. When I drag my mouse down from the center, I would like links ( in my case photos to move upwards, not downwards). You can see what am I talking about at
alarmi 555. You can download one of the menus to check out the code if you need HERE.
The code that is causing scrolling you can find below.
Thank you all, and wish you HAPPY NEW YEAR.
Attach Code
onClipEvent (load) {
ycenter = 120;
speed = 1/20;
}
onClipEvent (enterFrame) {
var distance = _parent.mask_mc._ymouse-ycenter;
if(_parent.mask_mc.hitTest(_root._xmouse, _root._ymouse, false)){
_y += (distance*speed);
}
if (_y>0) {
_y = -2293;
}
if (_y<-2293) {
_y = 0;
}
}
Changing Location Of Movie In A Scroll Pane
Hi,
I would like to reset the location of the movie that will be scrolled inside a scrollpane component. How can I do that? I assumed this will have to be done in actionscript, where should I put the code? the frame which contains the scrollpane? or?
Please help. Thanks.
HELP Changing The Color Of My Scroll Bar...( ACTION SCRIPT INCLUDED)
how can i change the color of this scroll bar?
where it says 0xffcc00 is this hex color code ??
i want to change my bar and track to WHITE
or Gray or dark gray..
help
//Choose Color for Scrollbar, Track, and Arrows
myColor = 0xffcc00;
//Set Variables for Scrollbar and text box
top = (track._y-((track._height)/2))+((sliderbutton._height)/2);
left = sliderButton._x;
right = sliderButton._x;
bottom = track._y+((track._height)/2)-(((sliderbutton._height)/2));
initY = sliderButton._y;
//How fast to scroll the slider
speed = 10;
//Setting bounderies for the text box
textH = (textBox._height);
boundsH = (bottom-top);
size = textH-boundsH;
ratio = size/boundsH;
sliderHome = sliderButton._y;
sliderDist = (bottom-sliderHome);
//Check to see if text box requires a scroolbar
if (textBox._height<boundsH) {
sliderButton._visible = 0;
track._visible = 0;
arrows._visible = 0;
}
//Sets color for scrollbar if needed
if (textBox._height>=boundsH) {
sliderColor = new Color(sliderButton);
trackColor = new Color(track);
arrowColor = new Color(arrows);
sliderColor.setRGB(myColor);
trackColor.setRGB(myColor);
arrowColor.setRGB(myColor);
}
stop ();
Changing Code To Make Menu Vertically Scroll
Hi ok ive downloaded this menu from this site which is free to use and modify etc.
The problem is that there's a blue box that follows the cursor as it moves over one of the links (buttons) It's goes horzitionally across the screen, but i actually want it to be a vertical menu, so instead of moving across it does the same thing but downwards.
The code for the box that follows the cursor is;
onClipEvent (load) {
col = new Color(this);
var tx=this._x;
loc=tx;
}
onClipEvent (enterFrame) {
this._x += (loc-this._x)/4;
}
And the code that is an invisible box which i imagine is the parameters of where the box moves and how fast etc etc. That's
onClipEvent(load){
mpoint = new object();
}
onClipEvent (mouseMove) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
mpoint.x = this._xmouse;
mpoint.y = this._ymouse;
localToGlobal(mpoint);
_parent.dragger.loc=mpoint.x;
} else {
}
}
Now i'm not good with code and don't have any clue what needs changing to make it go down instead of across.
Any help would be amazing.
Thanks a lot
Dave
Scroll Bar Show Up If Needed And Only Scroll To Dynamic Text Input Bottom... HOW
I have attached a copy of my scroll bar that i am currently using how can i make the scroll bar not show up unless needed (really not all that important but would be nice.)
The important thing is that i can setup a dynamic text box inside my item_holder movie clip but my scroller always scrolls to the bottom of the scroll box not matter if inside my scroll box i have on line of text loaded dynamicly or i have 100. So if i have 1 line of text and a large dynamic text box the scroll bar will scroll to the bottom of the scroll box even though it only has one line. See attachment and see if anyone can help. Thanks in advance. Brian
Scroll Text > Button > Load Txt File > Reset Scroll Bar...?
Hi i am looking for a tutorial or an explanation of how you can load an external text file into a text field and have...let's say 3 buttons that load the .txt files...when they are loaded...i want the scroll bar to be reset to the top of the text field/box....
any help...welcome...
ta...tiger...
Linking Text Buttons In Scroll To Image Outside Scroll Area
Hi,
I am desperately hitting my head against a brick wall - so please help me!
I have created a flash area that is divided up with an image on top and a scroll area under.
I am trying to get the text buttons in the scroll area to each change the image above and cant seem to get it to work because of the masking.
I have tried heaps and heaps of different ways and am going crazy!
PLEASE HELP ME!!!!
thanks,
kova
Change Vert Scroll Script To Horiz Scroll
I found this tutorial for a scrollbar. It works great for vertical scrolling (ex:http://www.matthewterry.net/safetyguide.html click any section), but I want to change it to scroll horizontally, for another project.
Can someone help me change it to affect horizontal scrolling?
On the content's movie:
onClipEvent(load){
goY = this._y;
myY = this._y;
ySpeed = 0;
clicked = false;
delay = 2;
barDis = 380;
barPercent = 0;
}
onClipEvent(enterFrame){
if(math.round(myY) != math.round(goY) || clicked == true){
barPercent = (_parent.scroller.scrolllever._y/barDis)*100;goY = 116.7 - ((340/100)*barPercent);
myY = this.setonescroll._y;
ySpeed = (myY-goY)/delay;
this.setonescroll._y -= ySpeed;
}
}
On the scroller:
on(press){
startDrag(this,0,0,0,0,_parent._parent.setone.barD is);
_parent._parent.setone.clicked = true;
}
on(release, releaseOutside){
stopDrag();
_parent._parent.setone.clicked = true;
}
Thanks,
Matt
Please Help Me Place The Arrows Of My ScrollPane Scroll Bar Together On One End Of The Scroll Track
I have a scrollpane component with a movie clip of some thumbnail images.
I just want to have its scrollbar arrows together on one end of the track (or together ANYwhere) instead of having them at opposite ends of the scroll track.
I have been able to customize the appearance of the scrollpane and its scrollbar using the HaloTheme library, but that approach has so far been of no use in getting the arrows together.
I cannot tell you how deeply any help will be appreciated. I will probably sob and mewl with gratitude, the way I imagine someone lost in a vast rain forest for many weeks mewls when rescued. I am desperate. I am going insane. Please, please help me.
Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...
I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!
HELP!!!!
Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...
I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!
HELP!!!!
Scroll Bar Component Doesn't Scroll When Dynamic Txt Is Used?
I have a dynamic text box with the Flash UI component "Scroll Bar" attached to it. It works and scrolls fine when you enter text directelly into the dynamic box but when you use the loadVariables command to load an external txt file into it, it fails to scroll the text?
Is there a way to get it to scroll?
thx Bk9
Text + Image Scroll Function With Scroll Bar. Help
Hi, tring to create a scrollable text window that can also include different text colours, styles, links and images. I have tried a few tutorials but they only seem to work with dynamic text without different colours, styles, links and images. is there an easier solution i can use..
Please help
|