ActionScript 2.0 :: Get A Border OnRollOver In Thumbnails Gallery?
Jul 20, 2007
get a border onRollOver in my thumbnails gallery. I've tried the photo and thumbnails gallery and played with stringy's files to accomplish this but still haven't been able to get it to work.
View 14 Replies
Similar Posts:
Sep 18, 2007
What would be the best way to swap images onRollover inside a thumbnail gallery dynamically loaded into contentMain?
View 9 Replies
Dec 5, 2007
I've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.
View 1 Replies
Jul 29, 2007
I'm using Flash MX 2004 and actionscript 2.0 and have been working with the xml and adding thumbnails to the photo gallery tutorial in Kirupa. What I'd like to do is only show the thumnails onRollOver and then have them go to open a new page outside of the flash site onRelease. So far I found one solution for the onRollOver but I'm not sure it's the best one:
Code:
clip.onRollOver = function() {
this._alpha = 100;
};
clip.onRollOut = function() {
this._alpha = 0;
};
This works great but with one big hitch. It loads all the thumbnails first and then once I run over all of them it hides and shows them onRollOver and onRollOut. Is there a way to hide them when the page first loads and then only start showing them onRollOver? Is there a way to create a mask hiding everything until onRollOver or possibly a setting for the initial mc.borderFill that would create that effect? Or would it be better to try to figure out how to load them onRollOver. The other part is the link to another site onRelease. I have the links setup in my xml but not sure how to set up a geturl onRelease with _blank to read into the actionscript. I'm very new to working with xml and actionscript.
View 3 Replies
Apr 7, 2007
This question has probably been asked a number of times in this forum. I searched and searched, read every reply, but there is nothing satisfactory posted till now. I tried out all solutions posted, but almost every implementation was incomplete. So, here is my question: In the xml photogallery tutorial, if I want to have a border around a thumbnail (which is dynamically loaded), how do I do that?
[Code]....
View 6 Replies
Nov 6, 2006
I have been using the tutorial on the Photo Slideshow Using XML and Flash, and think it is fantastic. It is really clear and easy to follow. However I have encoutered three things with it. Firstly I would love to be able to add a border around each thumbnail accross the bottom, that would change color when the user rolls over the thumbnail.I would also like to be able to highlight which thumbnail is currently being shown as the top image.The third issue I have had is when a user moves the mouse to the right of the first image, it scrolls about 5 pixels to the right even though there is no other image before it.
View 1 Replies
Dec 18, 2007
how i would deactivate a carousel gallery until rollOver? reason being it doesnt look to good when the page loads with something spinning real fast.is it possible
View 5 Replies
Jun 27, 2005
Just thought I'd see if this is possible with the XML Photo Gallery.1. Is it possible to create a dynamic border for the loaded image depending on the size of the image being loaded? 2. Is it possible to move the Y position of the caption text box depending on the height of the loaded image? ie if the image is 200 pixels high, then the text box should be positioned at 220 pixels.The current code I have which loads the images then automatically scrolls through them is:
Code:
delay = 6000;
// -----------------------
[code].....
View 1 Replies
Jul 31, 2005
I have a cool xml gallery designed by Scotty. I was wondering what actionscript could I use to add a gray border around each thumbnail and whenever the user rolls over the thumbnail, the border turns to white? Has anyone done this sort of thing before with an XML gallery? [code]...
View 1 Replies
Oct 23, 2009
I have added 3 staggered backgrounds behind each picture that act as a tri-color border around the image, named borderOuter, borderMiddle, borderInner. When i click on the thumbnail, i would like the border to disappear. [code]...
View 2 Replies
Dec 15, 2005
Currently I am using the gallery that has been posted on a link on Kirupa.com where it uses XML and loads in my case .swfs into a border that resizes according to the size of what is loaded. The reason I am using .swfs is because I plan to somehow make it so that the artwork being loaded can be zoomed in on once they are loaded, how I am not sure quite yet. Anyway, I was wondering if anyone could please tell me why that sometimes the .swfs load once or twice and then when clicking on other artwork thumbnails they do not load at all. THis just happens for the swfs and not when I would use the jpegs instead of swfs. The swfs just do not seem to be loading as planned, sometimes one or two load sometimes none. Was wondering if someone knew why this is happening and could please give me some help if possible, maybe pertaining to actionscript?[code]
View 1 Replies
Feb 3, 2009
I'm have set up a photo gallery using the 'Kirupa Xml and flash gallery tutorial' and I wanted to use this but implement the border resizing function featured in the galleries on in the 'Howd he do this? Resizing slideshow' thread.
Here is the code for my gallery:
Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
[Code].....
View 4 Replies
Feb 16, 2007
I'm encountering a weird glitch when I try to use a more complex image border: the image container and the text caption both jump into place at the last moment. A bad effect. All I've done is add two more variables, "w2" and "w3" to the code:
Code:
var w = container._width+spacing, h = container._height+spacing;
var w2 = container._width+space2, h2 = container._height+space2;
var w3 = container._width+space3, h3 = container._height+space3;
border.resizeMe(w, h, id);
border2.resizeMe(w2, h2, id);
border3.resizeMe(w3, h3, id);
The only way I can find to keep the border shapes in correct proportion is to create 3 different border clips and apply the "resizeMe" easing function to each of them.
View 3 Replies
Sep 13, 2010
I'm doing this: flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/
tutorial but I want all the thumbnails behind the full-sized image to be hidden when one of the thumbnails is clicked to show the full-sized image and I want them to reappear when the full-sized image is clicked to make it disappear. I can't figure out what I have to add to the given actionscript code to do so.
View 4 Replies
Feb 6, 2004
I have downloaded a dynamic gallery from flashkit. I have tried to modify but cant. What i need to do is to get the thumbnails to appear 3 in a row, then the next one i loaded in a row under. When say 2 rows are loaded the scroller appears. In the gallery alla pics are loaded in one row.
View 1 Replies
Jan 24, 2003
This is question is a take off of my post in the Flash MX forum regarding creating thumbnails. I'm trying to create thumbnails for a pic gallery and would like to have an over-button state that will make my little thumbnail increase in size a little to indicate that this is the picture the viewer is going to view. I don't know how to go about making this button and I'm trying to figure out if there is a way through action script to do this. This way I don't have to make the over state a movie and increase the size manually...
View 5 Replies
Feb 6, 2007
how to use thumbnails to navigate to a specific photo within a series. The slideshow is set up to display photos from an XML file (starting with the first photo) and then you can click forward and back in the series. But I need to navigate via a thumbnail to any photo in the series and then play forward and back from there.
Action script:
//photogallery
function loadXML(loaded) {
if (loaded) {[code].....
View 1 Replies
Apr 8, 2007
I am having a little trouble with some code:
Code:
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
[Code]....
The problem I think is on the bolded part. If I replace ref["thumb"+i] for say thumb0, it loads the first thumbnail into the first movieclip. I have on the stage ten movieclips with instance names of thumb0. thumb1, thumb2, etc. What I would like to do is to load a thumbnail in each movieclip without having to write the bolded line ten times.
View 3 Replies
Jun 5, 2007
I was adding the thumbnail gallery to my website, but the rollover to scroll through the thumbnails must is offset somewhere. I would like to just add left and right buttons to scroll if possible.http:[url]......
View 1 Replies
Jun 27, 2007
this is the main script that I'm using in my gallery :but I want to put description to every thumbnail, not only to show with the big picture. Like thumbnail [0] and at the bottom edge description [0], thumbnail [1] and at the bottom edge description [1], and etc.
View 4 Replies
Sep 26, 2007
I am following the XML/Flash Photo Gallery with Thumbnails [URL] Everything works great except the thumbnails. The first few thumbnails (the ones originally visible) are fine, but then the rest are all smashed up on top of one another. Is this a problem with my code? The pictures aren't all exactly the same width, so that might be the problem.
View 1 Replies
Oct 3, 2007
I followed tutorial [URL] on making a gallery with thumbnails. However, each thumbnail has to be of same width....if not the order of the thumbs gets mixed up. I've been trying to alter the thumbnails_fn(k) function, or more precisely this line:
target_mc._x = hit_left._x+(target_mc._width+5)*k;
View 1 Replies
Jan 30, 2009
I have it set up to load multiple XML files, but, when you select a new book/xml, i want it the thumbnails to refresh starting with thumbnail #1, instead of wherever it left off in the arraythis obviously has something to do with the variable k, but i am having a lot of trouble figuring out where to fix this at.
// Buttons to call each Gallery and reload data
bookone_btn.onRelease = function() {
xmlURL = "book1.xml"; // sets xml file
[code]......
View 5 Replies
Apr 12, 2009
I've been trying to add a preloader to my thumbnails, but it has been quite difficult (really considering the idea of buying an AS3 book).
Well, this is what I have First the code to call the Thumbs from the XML file.
function callThumbs():void {
for (var i:Number = 0; i < my_total; i++) {
var thumb_url = my_videos[i].@THUMB;
[Code].....
What I really need to know is how to add a MovieClip to container_mc and when the Thumb is loaded, remove this MovieClip from it?
View 1 Replies
May 7, 2009
I'm trying to use the flash gallery with thumbnails that was in one of the tutorials on this site. See here:
http:[url]....I wanted to make the flash player bigger, so I changed the doc size and then scaled the area mask that shows the image. I don't see why this would scale the image; it should just make the viewing window larger.But when I make an image the size I want it in photoshop, it is displaying the image far larger (blurry and cut off) than it is supposed to.Does it have to do with the action scripting, or the graphics in the document?
View 2 Replies
May 14, 2009
I create a photo gallery from xml using AS3 and it loads fine. I want to limit 5 thumbnails on stage. To see more you have to click the next button to see the next set of 5. Click prev button to see the previous 5.
View 5 Replies
Jun 4, 2009
I am using a slightly modified version of [URL]. The problem I am having is that my thumbs get arranged out of order because they aren't all the same width. The way the code from the tutorial works is it reads the width of the image onLoad, then multiplies it by the number image it is.
Code:
target_mc._x = 10 + (eval("thumbnail_mc.t" + k)._width + 5) * k;
This doesn't work, cuz some images are much thinner, so the thin images end up way too far left.
My method was to define a starting width (curWidth), then set the position of my thumb by using that value. once that is postioned, add the width of the image to curWidth plus a space. Reapeat for each image.
Code:
curWidth = 10;
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t" + k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
[Code].....
The problem with this is it puts the image out of order. In fact, it orders them based on the order they download. I understand why (cuz of onLoadInit) but I am not sure what to do about it.
View 1 Replies
Nov 26, 2009
How can I add links from the XML file to My large image? I tried inside the functions prevImage, nextImage e first Image the code and didnt work:
picture.image[p].onRelease = function (){
getURL(links[p], "_blank");
}
picture is the movie clip that receives the large images and links is the array that I created to recevie the nodes with links from the XML file.
View 4 Replies
Apr 27, 2010
i am using the code to build the flash gallery (the one without XML),everything is working but now i need to add some thumbnails that load a specific pic from the array, without loosing the alpha animation or the array order, does anyone knows how the code for the thumbnails buttons should be? i have tried some stuff but its not working at all.
View 5 Replies
Jan 27, 2005
So i tried modifying the xml gallery code a bit to include thumbnails that load up ynamically. Here is the code i'm using, not that much of it has changed except the loadXml function:
Code:
function loadXML(loaded) {
if (loaded) {
[code].....
View 10 Replies