Is there a way to make it stop whenever the mouse is over a thumbnail?
#  /  posted on May 27, 2009
Home / Forum / Components Discussions / Scrolling-Loop Images Horizontal Bar
Started 3 years ago by dtwins
Last reply by potzo
Is there a way to make it stop whenever the mouse is over a thumbnail?
to dtwins
ya, you can edit code in as layer in slider from library
add “rollover=true” after line 79 (“item.onRollOver = function() {”) and “rollover=false” after line 96 (“item.onRollOut = function() {”)
and change lines 206 and 207:
slider._x += speed;
chk_slider();
to
if(!rollover){
slider._x += speed;
chk_slider();
}
Along the same lines as the last comment, can I as easily turn all mouse events on/off? even making it just images scrolling?
I’m looking for a simple scrolling loop of images using XML like what your component does. But I don’t necessarily need the interactions of the mouse. Can I easily edit the code to inactivate them? I’m a bit of a noob on downloading components and am not familiar with what can or can’t be edited or modified.
Thanks
to gt90
you need edit code (F9) in “as” layer in “slider” from library(F11)
remove or comment next section:
item.onRollOver = function() {
if (newlayer != true) {
sel_item = this._name;
this.tb_tween_in();
this.title_show();
} else {
//flag
newlayer=false
//title
this.title._y = this.title.y;
//image
this.img._alpha = 100;
if (this.bw == “Yes”) {
this.img.MakeGray(0);
}
}
};
item.onRollOut = function() {
this.tb_tween_out();
this.title_hide();
};
item.onRelease = function() {
getURL(this.link, this.target);
};
dhunter Thanks for the help.
How can I make a title appear all the way across the bottom of the entire slider? (Instead of on each image)
I made it appear off of the image, but I can’t seem to get it to show at an absolute position. Is there a way to make the text appear at some absolute position (outside of the target), or in the parent movie?
I don’t know how to do Flash Actionscript, but it might be possible: Modified Scroller
to dtwins
ok, send me fla source(with your modification) and some image or screenshots with text position place you want
my contact dhunter@xata9.com
Thanks for the help. I finally got back on my project and reviewed the file. The code with your comments really helps. Works very nicely.
hi dhunter,
The scrolling has been working nicely. I do have another quick question. Am I able to load in transparent gifs or pngs? I would like to have some images scroll on top of some other graphics. Currently, when I load a transparent gif or png, it dsiplays it with a white background.
Thanks
gt90
This component not support transparent images, but i can check and modify for support it
please send me few example of your transparent images
Hi,
Great component however I can not get the size to work properly. I have the height set on the SWF and in the data.xml to 200 however it does not show up at the correct height. Is there another setting I need to change somewhere to get the slideshow/images to be at the height of 200?
I too am having a problem with sizing of the component outside of its default 600×140. This is a crucial piece of information for us.
—
dhunter, I sent you an email, I hope it arrived. Please advise if you did not receive.
Can I make the Black&White feature stay B&W even when the mouse is over the image?
2 tadum
1. U need set bw=“Yes” in xml file
2. Edit code, remove “this.img.MakeGray(this.counter/100);” in 230 and 251 lines (in tb_tween_in and tb_tween_out functions)
another question: does the “thumbnails resize” section at the end of the action script allow me to resize the thumbnail when rollover? And can I actually show a larger version of the same pic – which would be referenced from the same XML file?
2 tadum
> does the “thumbnails resize” section at the end of the action script allow me to resize the thumbnail when rollover?
no, this function can’t be used for it
> And can I actually show a larger version of the same pic ??" which would be referenced from the same XML file?
you can use <link></link> for it (example: <link>big_image.jpg</link>), when user will click to thumb it will open new window with image
Does this or any horizontal image scroller that you know of support
a mode where the images come in random rather than in the same order each time.
I cant seem to find one that states a random image option in the features.
I would greatly appreciate it if someone can point me to one that does.
Miki
This component works great when I view it in Flash or the swf separately but when I import the swf into dreamweaver, it won’t play. Any thoughts on what I am doing wrong?
2 bbfrench, can you send me your html (of your project) files with swf and xml files, my email dhunter[at]xata9.com
Hi, anyone knows how to disable links in photos so no action when mouse click?
Thanks and great component!
2 hugop
try edit as code, remove item.onRelease function
item.onRelease = function() {
getURL(this.link, this.target);
};
is it possible to stop the animation if there are less than 3 Images?
Thanks!
And is there a way to put the text somewhat higher.
(Because my new Flash should bee 40px high at least)