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
FlashKit > Flash Help > Flash Newbies
Posted on: 06-30-2002, 08:06 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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
Help On Pics Scroll
Hi,
I'm makeing a image scroll with images with different width.
I have a problem with defining the every pic _x position.
I tried and read the help, but I'm a kinda newbie in as and looks like I can't solve the issue.
the problem is I have no success in defining the previous images total width or the previous image _x position + the previous image width.
Please help!
here is the code:
Code:
_root.doc.onLoad = function ()
{
var container = _root.Container;
for (var i = 0; i < _root.doc.firstChild.childNodes.length; i ++)
{
var node = _root.doc.firstChild.childNodes[i];
var pic = container.createEmptyMovieClip("pic" + i, i + 10);
var picLoad = pic.createEmptyMovieClip("picLoad", 2);
picLoad.loadMovie(node.attributes.src);
pic.width = node.attributes.width;
var widths = pic.width;
for (var n = 0; n < i; n ++)
{
var l = pic._x + widths ++;
pic._x = l ++
}
pic.href = node.attributes.href;
pic._target = node.attributes._target;
pic.onRelease = function ()
{
getURL(this.href);
}
}
InitializeScroll();
}
I tried to make a variable which takes the neaded value, but it looks like it still takes the value for the current pic.
Help On Pics Scroll
Hi,
I'm makeing a image scroll with images with different width.
I have a problem with defining the every pic _x position.
I tried and read the help, but I'm a kinda newbie in as and looks like I can't solve the issue.
the problem is I have no success in defining the previous images total width or the previous image _x position + the previous image width.
Please help!
here is the code:
Code:
_root.doc.onLoad = function ()
{
var container = _root.Container;
for (var i = 0; i < _root.doc.firstChild.childNodes.length; i ++)
{
var node = _root.doc.firstChild.childNodes[i];
var pic = container.createEmptyMovieClip("pic" + i, i + 10);
var picLoad = pic.createEmptyMovieClip("picLoad", 2);
picLoad.loadMovie(node.attributes.src);
pic.width = node.attributes.width;
var widths = pic.width;
for (var n = 0; n < i; n ++)
{
var l = pic._x + widths ++;
pic._x = l ++
}
pic.href = node.attributes.href;
pic._target = node.attributes._target;
pic.onRelease = function ()
{
getURL(this.href);
}
}
InitializeScroll();
}
I tried to make a variable which takes the neaded value, but it looks like it still takes the value for the current pic.
Need To Scroll Through Pics Horizontally
Hi,
I'm working on a site for a photographer who wants the visitor to be able to scroll horizontally through a series of pictures.
She is also open to having thumbnails on the side, where a simple mouseover will change the picture in the center of the page.
Can someone direct me to a resource that will show me how to set this up.
Scroll Pane/bar MX :: Pics & Text?
Im a newbie to the world of components and i want to make a scrolling field that contains both text and images. Is this possible using components? I had no problems using the scrollbar for text, but not sure how to include pics.
thx in advance.
Scroll Banner With Long Pics?
Im making a picture scroller that has no interaction whatsoever just plays on its own. I have 4 images that are 800x100 each and have combined them into one movieclip. However i have a problem! Do to the size i dont want to have a huge timeline for this thing. Im fairly new to actionscripting and i know this would be an easy fix if i could code it. It needs to be seemeless so it continuously shows these 4 pics. Here is one of the images for reference.
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?
Dynamic Loading Pics And Variables?how To Change Pics Depending On Buttons Or Text
i want to load jpegs into a swf dynamically. I saw a post confirming u can do it w/load movie script. Heres my question:
first off: in the folder w/my movie, i have jpegs labeled
1-9
in the movie, when someone presses a button, var x is changed to the corresponding number, 1-9
what i want is to place this variable inside the loadmovie somehow so depending on the button pressed a new img loads
i dont wanna type out long if then statements seeing as how this will quickly extend to about 1-400.
im kinda brain dead rite now, whats a dynamic way of gettings imgs with relatively short, versatile code
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...
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!!!!
Dynamic Text For Multiple Buttons W/ Scroll Buttons/bar
HELP! I know a similar question to this has appeared multiple times before, but here is my situation:
i have four buttons, each of which will load a a separate text file into a dynamic text field (ie: button A to textfield 1, button B to textfield 1).
The other trick is, this also has a custom scroll bar. (I would rather just use an up and down arrow, but if i have to use a bar as well, I will not be too distraught.)
Is there a way that I can have all the text files loads in a dynamic text field PLUS have a scroll bar to aid with scrolling.
Any help would be greatly appriciated. I have been trying to figure this out for about a week now, and am still no where.
peter /slqu.net
ps: i am a designer, and for some reason, programming, even of the most simple nature, still eludes me. so please take pity me
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
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
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
Scroll Text With Image In Scroll Panel ? Help
Hi,
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
I need help to show dynamic text also in scroll pannel.
Thanks
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?
Change Horizontal Scroll To Vertical Scroll
Hi,
I've flash source code that is having a horizontal scrolling. Anybody can help me to change this to a vertical scroll.
Pls check the attached file.
thanks in advance...
Scroll Text With Image In Scroll Panel ? Help
Hi,
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
I need help to show dynamic text also in scroll pannel.
Thanks
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] 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.
Scroll Box And Buttons
iposted this in the newbie section, but nobody wanted to help me..hopefully someone in here will...
okay, so i started my first flash project..=)
problem is i have followed a tutorial on scrolling text boxes, and got it working after some time...
now i want the images inside the scroll box to be linked to movie that should appear on a different frame of that scene.
i have created buttons for the images that i want linked, but they will not work. it just stays on the same frame. I have tried changing the actions of the button to go to a url to test it and it works. But, when i try to link it to the same scene and a differnet frame number, it will not. Help!..
I have posted the movie here:
http://166.93.97.127/studio.html
I have tried to link the second and third images in the "our work" section. i want to have them all linked to their own movies on their own frames in the end. So if someone could help me out with at least one of the buttons, it would be much appreciated as I am sure i can follow along and get the rest working!!
I have also upload the fla I am using at
http://166.93.97.127/studio.fla if anyone wants to see it. I didn't think that this would be too complicated, but it has gotten me stuck. I am sure it is something simple that I don't know about yet. Thanks in advance!!
Scroll Buttons
This may sound a bit lame to some of you but I'm just getting started on Actionscripting. I have 2 buttons on the main stage (600 x 300), up and down, I have a MC in the main stage (depth 1000) with a mask above it. All I want to do is on mouse over make the MC go smoothly up or down and stop at top or bottom and for the other button to know where the MC is at when going in the other direction so that it too can stop at the top or bottom. To be honest, at the moment I don't even care if it stops or not as I can't even get it to move in the first place.
Any help would be greatly appreciated.
Buttons That Scroll?
I've seen a site where a person put buttons with arrows either going up or down. When I rollover the down arrow it scrolls the text downward and when I rollover the up arrow it scrolls the text upward. How does he do that? Is that all scripting? I want to learn how to do it for my site. Someone help me out please. THANKS!
Scroll Buttons
I am using version 5.
How can I make buttons that are shaped as triangles and are separate from each other to scroll a text box that has the code displayed below? The buttons are in a movie clip with the text box.
Code:
onClipEvent (load) {
this.loadVariables("textPolicy.txt");
Policy = false;
}
onClipEvent (enterFrame) {
if (Policy) {
// Text is loaded
Policy = false;
}
}
The text box code is on the movie clip not the text box itself.
Scroll Buttons...
Hi, is there any good tutorials or can someone explain how to make scroll buttons in flash..??
All I want is one button that would scroll up and one button that would scroll down...hopefully I can also scroll graphics and not just text..
thanks a lot.
Scroll Buttons
ok i have made buttons and i want them to scroll a dynamic text field, which has a external .html file thats loaded into it.
The field has an instance name of... Home
and this is whati have got on the actions for the scroll buttons
on (release) {
Home.scroll = Home.scroll-1;
}
and
on (release) {
Home.scroll = Home.scroll+1;
}
Am i wrong or am i wroooooooooong????
pls help
Tnx Livo
Scroll Bar With Buttons...
I've been searching the tutorials, but I'm not sure I can find exactly what I am looking for.
What I want is---> some images lined up that can be scrolled horizontally...each image is a link to something, so they need button properties.
One of the tutorials I read referred to having to create a movie clip in order for it to scroll, which I understand...but I need each scrolling image to have their own properties. Is this even possible?
Thanks in advance
Scroll Buttons
I have two buttons and know how to make text move down line by line every time you press the button. The problem I have is that I want text to be constantly moving when the button is press and held. can anyone give me the code.
Scroll Buttons
Hey!
can someone help me finding a tutorial on how to create some nice and simple scroll buttons? i don't want a scroll, at least for now.. still kind a newbie..
Scroll Buttons, Scroll Buttons...
Can someone please explain to me how I can make scroll buttons on a menu like this one?:
http://www.homestarrunner.com/sbemail.html
I just need a way for the menu to scroll while I am holding the button down, and to stop when I let go. Also, I want to know if I can make buttons scroll. Thanks!
Scroll Up/down Buttons
I need to know how to make a scroll up/down buttons...you know like a scroll bar but not really a scroll bar, because instead of having a huge scroll bar all i want is 2 up buttons (up and down) to make the text in the text field go up and down like some of those templates in www.5sec.com, i've had some tutorials URL but they dont explain it very well...plz someone help been looking for ages. (I'm using Flash 4..5...i know i know...old...ewww but i can only uses flash 4 for that matter lol...
Scroll Buttons
I have scroll buttons on my site that seem to work only after I go to a certain page. The site is done in Flash MX 2004 and the address is www.joshdamongoldberg.com. The site is built within the main movie and each page is loaded into the main .swf. The scroll does not work unless I click on the Works on Paper link. If I use the scroll on that page the scroll works site wide, but it will not work on the other pages until it is used on the Works on Paper page. Help would be greatly appreciated. Thanx
Scroll Buttons
the site is back up and I am still having problems with the scroll
Scroll Buttons
do you know what it could be, maybe something to do with the root movie
Scroll Buttons
yes, the only difference is the instance name on the movie clip
Scroll Buttons
Hi all
I have a little problem thats probably easy to sort out but my mind is like mush at the moment
I am using the following code on a scroll button
on (press) {
myText.scroll = myText.scroll += 1;
}
this works fine...ish but what I'd really like is that when you press the button it scrolls the textfield continuously until you stop pressing.
Is theire a stupidly ovbvious command that I have missed?
Look forward to some help on this
cheers
Scroll Buttons
Hi all, hope someone here can help with this small action script problem?
I have created two scroll buttons (up and down) and placed them next to a graphic with a mask layer over the top of it. I then used the code
on (release) {
press._y = press._y-10;
}
for the down button and..
on (release) {
press._y = press._y+10;
}
for the up button.
This gives the impression the graphic is actually scrolling. The problem is I want the graphic to scroll as I hold the button down and not have to press it over and over again. Also I would then need to specify when it should stop scrolling and go no further?
Hope someone can help as i'm totally stumped!
Scroll Bar Using Buttons
Hi,
I want to create an infinate scrolling menu, but i dont want it to be one where it moves depending on where the curser is, i want to be able to control it using left and right buttons (see the attached image). When i click either button i want the next image in the menu to move into the viewing pane in one movement.
would appeciate any help
thanks
Scroll Buttons
I seem to be having a problem with scroll buttons not working. basically I have an swf which loads a txt file called news.txt and the varieable inside the news.txt file is &news=
script for up button
Code:
../:text.scroll = eval("../:text.scroll") - 1;
script for scroll down button
Code:
../:text.scroll = eval("../:text.scroll") + 1;
script inside movie clip
Code:
text.scroll = 1;
I've tried replacing all the words text to news in both lines but cant get it to work
Anyone help
Cheers
|