Scroll Mc
I have a vertical menu that is created dynamically from an xml file.
I create a movie clip that contains the menu item buttons.
If there are more buttons that fit on the screen / movie then I want the menu movie clip to scroll (or any other suggestions) as at the moment they just disappear off the end of the screen / movie.
Is this possible? If so how?
Any pointers appreciated,
thanks.
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-18-2005, 09:33 AM
View Complete Forum Thread with Replies
Sponsored Links:
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
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!!!!
View Replies !
View Related
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!!!!
View Replies !
View Related
Scroll Gallery [doesn't Scroll After Particular Point]
Hello guys,
I have got this script from one of the opensource files on flashkit and want to use it for one of my requirements. Basically all I want to do is, scroll images vertically based on mouse movement. I've done that already but the issue is that when I have over 10-15 images, it doesn't scroll as there is no place left for the mouse to go further down. If you have a look at the attached file, you'll know what exactly I am talking about. Ideally, if mouse is held downwards, the images should keep scrolling untill it reaches it's end.
Can anybody have a look at the fla and help me out.
Cheers,
D
View Replies !
View Related
Scroll Wheel - Control Page Scroll?
Alrightly... So I have a flash file that is 750 x 1000 px and is embedded into an html page. Since it's height is a 1000px in order to see the whole flash file one needs to scroll down on the page. This is fine except that when people are working with the flash file (have clicked on it) and then want to use the scroll wheel it won't scroll the html page..
I realize this is because in flash you can assign your own properties to the scroll wheel. But is there a way to have the scroll wheel perform it's normal function of scrolling the html page?
I'm not sure if there is an easy way or if I would have to write some code for flash to call javascript to scroll the page? I know people must have run into this problem before and probably have some good solutions.
Thanks in advance
View Replies !
View Related
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?
View Replies !
View Related
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?
View Replies !
View Related
[scroll] Scroll That Reacts To The Mouse Wheel
Hy guys,
Do you know how can I make a scrollable text that reacts to the mouse wheel. Here you can see an example: link here
Look at the news section, or at the about us section.
The majority oh the text scrollers on the web didn't react at the mouse wheel. I found this site and I was surprised when I found that I can scroll with my mouse wheel.
Hope some one knows how they do that.
Thx.
View Replies !
View Related
Scroll Box Buttons - Constant Scroll?
Yo,
I've made a scrolling text box, but I cant figure out how to have it so when I simply hold my cursor over the up or down scroll button the text box will constantly scroll in the corresponding direction. I've tried while/for/do loops and I'm stuck, how would you do this utterly simple task?
Also, does anyone know how to make a working scroll bar? One that a user can click like a real windows environment window?
View Replies !
View Related
Scroll Bar With Buttons To Pics That Don't Scroll
Hi, I'm trying to make a scroll bar that has buttons in it, so that when you click on one of the buttons a pic shows up in the back ground...Trouble is that My pictures scroll also with the bar and I would like for them to stay stationary behind the scroll bar...Does this make any sense?
Thx Ezekiel
View Replies !
View Related
Scroll Pane Scroll Speed.
Can anyone tell me how to change the speed of scrolling for the scroll pane in MX? I have looked all over for it, but find nothing. When I am scroll it moves like half a line at at time...I'd like to see it faster.
Thanks
View Replies !
View Related
OnRollover Scroll Down...ondrag Scroll Up
Hey guys,
I was wondering if you guys could help me create a flash component for a site I'm working on right now. What I need is a scrollpane type thing, where when the user rolls over the content area, the content will begin to scroll down, and when the user rolls out, the content stops scrolling. Also, the user will be able to drag the content up (not down, they will only be able to drag the content up, they will rollover to make the content go down).
Could you please help me with this?
Thanks.
Nick
View Replies !
View Related
HELP: Trying To Add A Scroll Bar To So User Can Scroll Text
HELP
Hi Guys!
I am in need of help! I am using Macromedia Flash MX 2004 pro, and trying to create on online portfolio for my work.
I have a section which has a large amount of text and would like to know how to set up a 'scroll' bar. So the user can scroll the text like at the side of the a word document. I have set up a mask so the text is contained but thats as far as i have got!
If you know how or know anyone who could help me PLEASE REPLY!!
MANY THANKS PHIL
View Replies !
View Related
Scroll Bar - Scroll Pane Issue
I have a scroll pane issue that I can't seem to solve. The issue is, if I load my scroll pane with an image and then on mouseover of the scroll pane change my cursor, I can no longer use the scroll panes scroll bars with my new cursor. If I remove all of my zoom code and just change the cursor the result is the same.
this is my code:
Code:
this.zoom_in.onPress = function() {
var zoomin = false;
pictures.onRollOver = function() {
zoomin = true;
Mouse.hide();
this.attachMovie("mag_in", "cursor_mc", this.getNextHighestDepth(), {_x:this._xmouse, _y:this._ymouse});
};
pictures.onMouseMove = function() {
this.cursor_mc._x = this._xmouse;
this.cursor_mc._y = this._ymouse;
};
pictures.onRollOut = function() {
zoomin = false;
Mouse.show();
this.cursor_mc.removeMovieClip();
};
pictures.onMouseDown = function() {
if (zoomin=true) {
if (pictures.content.myLoader.scaleX>=1600) {
this.zoom_in.enabled(false);
bgSound.start();
} else {
pictures.content.myLoader.scaleX *= 1.5;
pictures.content.myLoader.scaleY *= 1.5;
trace(Math.floor(pictures.content.myLoader.scaleX));
}
pictures.invalidate();
}
};
};
View Replies !
View Related
Scroll Pane Scroll Bars
I would like to know the action script that I can use to simulate pressing the up and down arrows on the scroll bars within my scroll pane. Does anyone know how to do this. This code would go inside another button I have outside the scrollpane.
And if possible how to simulate the scroll bar too.
thanks
View Replies !
View Related
OnRollover Scroll Down...ondrag Scroll Up
Hey guys,
I was wondering if you guys could help me create a flash component for a site I'm working on right now. What I need is a scrollpane type thing, where when the user rolls over the content area, the content will begin to scroll down, and when the user rolls out, the content stops scrolling. Also, the user will be able to drag the content up (not down, they will only be able to drag the content up, they will rollover to make the content go down).
Could you please help me with this?
Thanks.
Nick
View Replies !
View Related
Scroll Pane Scroll Bars
I would like to know the action script that I can use to simulate pressing the up and down arrows on the scroll bars within my scroll pane. Does anyone know how to do this. This code would go inside another button I have outside the scrollpane.
And if possible how to simulate the scroll bar too.
thanks
View Replies !
View Related
Scroll, Scroll, Scroll, But Not Working
Okay, so I have this dynamic text box that needs to scroll. I have it working perfectly in a movie by itself. But when I do the same thing in my main site, no scrolly.
See the file called events2.fla. It works flawlessly, but in the other fla file, dud. No scrolling. I think it may have to do with the _root tags, but I dont know any other way to fix it.
Please flash guru's, tell me where I went wrong!
thanks everyone,
download the zip file here
View Replies !
View Related
[F8] Freezing An "Infinite Scroll" Menu When The Mouse Exits The Scroll Area?
Hey folks,
I found this great script that adds a fun "infinite scroll" menu to my page. Problem is, the scroll continues to spin even when the mouse cursor moves outside of the scroll's box area. Can anyone recommend an amendment to the script which would allow me to freeze the scroll menu in place when a user moves the cursor outside of the box? I'm new at this stuff, is this a job for "if" and "else if" statements? Any help would be appreciated.
The scroll box is sized to 157 px wide x 355.2 px high. I've uploaded the file I'm working, if that helps at all.
Also, here's the address to the page -
http://seanmurphydesigns.com/illus_page.html
...and the script...
onClipEvent (load) {
ycenter=285;
speed=1/20;
}
onClipEvent (enterFrame) {
var distance=_root._ymouse-ycenter;
_y-=(distance*speed);
}
onClipEvent (enterFrame) {
var distance=_root._ymouse-ycenter;
_y-=(distance*speed);
if (_y > 0) _y=-355.2;
if (_y < -355.2) _y=0;
}
View Replies !
View Related
HOW? >> Scroll Menu With Proximity Effect And Fluid Scroll Effect...
Hi all,
I'm a rookie action scripter who needs the help from someone who knows it backwards.
I want to create a thin horizontal menu for a simple site.
I need this bullet shape to follow the mouse movement along the X axis - simple enough.
When you click on one of the menu options the bullet will then smoothly scroll to that option and sit behind it. It must seem to click into a position so it is centre aligned behind the menu option.
As soon as you start moving the mouse again, no movement will happen until you get outside the shape the bullet then it will start following the position of the mouse again...
Do you know of any examples out there that may put me on the right path. Or any quickly lines of script you could pass along.
Thanks.
View Replies !
View Related
Make A Movie Scroll In When One Button Is Clkd N Scroll Out When Another Is Clkd
ok heres the thing...
im fairly new to the whole flash thing, i can do the really basic stuff...
but theres one thing i cant get my head around...
on the site i am creating, i have a menu (6 buttons vertical)
on each button click it loads a different page...
i have the pages set to scroll in from the right in a movie...
what im wanting is that so when u click a different button (for a different page) it will scroll the page in view out again...and then sequencially scroll the page in question in...
(am i making any sense)
ive looked all across the forum and cant find anythign remotely relating to what im after...and also tutorials/user uploaded movies etc on this site and still nothing...
i know its possible because ive seen it done else where...
if anyone has any sites...or any example movies of what im talking about please could i see them...im in serious desperation here :S
Thanks...
Goa
View Replies !
View Related
2 Areas To Scroll - 1 Scroll Bar
this may have been asked somewhere on the boards already - and if so, i apologise for the repetition (i didn't find anything that answered this question). anyway, here goes:
i'm trying to create two areas: one with dynamic text and one with images that will be scrollable by 1 scrollbar. i've seen how to add the scrollbar component to text, but i am unsure how to have these two somewhat separate areas scrollable by just the 1 scroll bar. i hope i have explained this well enough to be understood.
i'm rather new at all of this, so i appreciate your time and assistance with probably a very simple question.
thanks!
View Replies !
View Related
Can't Scroll With Scroll Bar From Component
Flash Gurus,
I have a dynamic text field that loads txt from an external source. I slapped a scroll bar next to it ( from the components menu) when I command enter nothing happens . I see the text ( the part that fits in) but can't scroll.
Properties as follow :
Dynamic Text field has var assigned ( for the external text) and an instance name
Scrollbar Has above instance name in target Text filed
I don't know what else I can include.
Can anyone help ?
thanX
View Replies !
View Related
Scroll Pane Or Scroll Bar ?
If you want a smooth scrolling effect on text so that instead of each line of text dissapearing as it goes over the boundry it should actually look as if it is gradually moving under the boundry (hard to explain) and/or you want buttons/hyperlinks in the text is there any other way than to use a scrollpane and a movie clip with text in it?
Also how do you hide the rest of the clip so that it does not show up even after it has gone over the boundry. Why does the text/movie clip dissapear when you put a mask on the layer above to hide the edges?
Syk
EDIT:
Having tried some things I realize that my second question should have been:
Why does dynamic or input text in a movie clip in a scroll pane go out of the edgesof the scrollpane and can you stop this without changing the text to static??
View Replies !
View Related
Scroll Bar (or Scroll Pane) Help
I downloaded this: http://www.flashkit.com/movies/Inter...6224/index.php
Now what I'v been trying to do all day is figure out a way to make the popup windows for the buttons have a scroll bar (or pane? Im not sure which I should use). I want the text to stay in the popup window.
Also if anyone could tell me or point me to somewhere I could find relevant information on how to do this and possibly have the text in a separate text file thatd be great.
Thanks
View Replies !
View Related
How Do I Get A Scroll Bar To Scroll Through Pictures
I am in need of serious help. I just started learning flash about a week ago and I am having trouble. I need to create a scroll bar that can scroll through pictures. I have set up my timeline with a series of pictures, each in a different frame. I am trying to use the position of the scroll bar to set the frame in the timeline and therefore setting which picture will be displayed. I am having problems in that when I move the scroll bar it will not change the picture, I am not sure if I can do this or if I am doing something wrong. Please help me; I have put my code below.
//set scroll size and initial position
scroll.setScrollProperties(36, 0, 36);
scroll.setScrollPosition(6);
//enable scroll bar
scroll.setEnabled(true);
//change handler
scroll.setChangeHandler("bar");
//get scroll position
function bar()
{
x = scroll.getScrollPosition();
trace(x);
}
//set frame
i = x-5;
trace(i);
gotoAndStop(i);
Thanks
View Replies !
View Related
Scroll Bar And Scroll Pane Help
Please help!
I'm trying to attach a scroll bar to a text box and it's not working. The bar is not attaching itself to the text box. Very strange. I thought it was supposed to attach itself and automatically resize to be the length of the text box.(Home layer)
Also, on the photo gallery layer, I have a lot of pictures and plan to add more. I was told that I could make the page scrollable by making the pictures and captions into a movie clip and then dragging the scroll pane from the components tool box onto the movie clip and it would automatically attach itself. That isn't happening there either.
Am I cursed when it comes to scrolling? (Maybe i'm just doing something wrong.)
Please advise!
Thanks!
View Replies !
View Related
Scroll Pane Vs. Scroll Bar HELP
Hi,
I'm trying to put a resume that needs to scroll. I used the dynamic text with the scroll bar, but it wont show any of the text formatting. Whatever the first line of text is (size, bold, align etc.) it forces the entire text to look the same. I can't have this.
So... I made a movie clip of the text, but I'm having trouble entering the right parameters for the content to load in the scroll pane. I also have this file online already, so if there is an easy way to load the URL that would work too. I just keep getting the empty white box!
Thanks for the help!
Lola
View Replies !
View Related
Scroll Pane Scroll Bar
How do you move the vertical scroll bar in a Scroll Pane from the right side of the Scroll Pane to the left side of the Scroll Pane? Is this possible Im using Flash 8 professional....Thanks
View Replies !
View Related
Image Scroll With Scroll Bar
Hi,
Please look at the image here first:
http://www.visualplane.com/projects/...r1_300x250.jpg
I need to have the weight and height be scrollable where the weight and height is highlighted when the viewer mouses over. After that, it needs to be clickable button with a clicktag.
Can someone show me where I can grab a file to make this work? I don't want to use components because it's for a banner and the size needs to be under 30k. I been searching for hours without luck.
Thanks
View Replies !
View Related
|