ActionScript 2.0 :: Kirupa XML Flash Gallery - Allow The Thumbnail Scrollbar To Begin Scrolling Once The Page Has Loaded
Nov 17, 2009
That said, I would like to alter some of the code to allow the thumbnail scrollbar to begin scrolling once the page has loaded. Here is what the code looks like as it is right now.
[Code]....
View 1 Replies
Similar Posts:
Aug 26, 2005
but is there a way to make the thumbnails like, grid form, like in the examplerather than scroller? because i dont really like the scroller, and im not sure how to set them to grid
View 3 Replies
Aug 4, 2007
I amusing the great Kirupa Flash gallery and have tweaked it so that I only am using the thumbnail scroll box to link to external html or asp pages.The xml file all loads correctly, though when I pass the "link" to the getURL the output is the entire XML "link" node.[code]
View 11 Replies
Oct 17, 2005
I'm getting quite comfortable with the XML thumbnail gallery here on the Kirupa site... but wondered if there was an easy way to have a preloader for the thumbnails? I don't really have an idea how to set up the code for that.
View 2 Replies
Feb 6, 2009
i was looking for gallery looking like this site [URL] i was looking gallery first page title gallery then Big image like this with description.
View 1 Replies
Nov 6, 2009
I want to incorporate a Horizontal thumbnail Scrolling Gallery to showcase the Special Menus of the concerned hotel. and on click of each image there should be a small popup to display other information of the menu. All this should be XML driven.
View 1 Replies
Aug 14, 2009
I've created a scrolling thumbnail gallery that draws images from a blog feed. I would like for it to loop itself after all the thumbs have gone through so the first image of the 2nd loop is immediately after the last image of the 1st loop.
View 6 Replies
Aug 14, 2009
I've created a scrolling thumbnail gallery that draws images from a blog feed. I would like for it to loop itself after all the thumbs have gone through so the first image of the 2nd loop is immediately after the last image of the 1st loop.
View 9 Replies
Jun 7, 2008
I am building a gallery which scroll the thumbs according to mouse position. It all works but I try to tell the scrolling to stop with the last thumb on each side, and there I am stuck. I attach the scroll function. The inner if statement is meant to stop the scrolling at a certain point (the 800 is just a number I try, I need to make it more flexible). It works when the mouse move to the right but does not work when it moves to the left.
View 3 Replies
Feb 12, 2009
i am currently building a XML gallery which works, and has one row of scrolling thumbnails to click on that display larger image in the centre of my site.
What I am trying to build is two rows of thumbnails that can scroll backwards and forwards; below is the code i have used to make the single line of thumbnails, could any one point out or help me how i would go about to have two rows of thumbnails please.
[Code]...
View 1 Replies
Jul 18, 2010
I'm having trouble getting my scrollbar to work with dynamically loaded movies inside the movie the scrollbar is attached to.An example of my working scrollbar code with static data and my broken scrollbar with dynamic data can be found here: [URL]
I have a for loop that pulls data from my database, populates a topMovie(contentMain) with 20 subMovies inside it. My scrollbar is attached to topMovie. Once the data is loaded and the topMovie is populated, the scrollFace(not ScrollTrack) dissapears and the dynamic movie is not scrollable.As a test, I populated the topMovie with graphic boxes and no dynamic movies and it scrolls just fine.
Scrollbar code:
Code:
scrolling = function () {
var scrollHeight:Number = scrollTrack._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
[code]....
View 2 Replies
Jul 18, 2010
I'm having trouble getting my scrollbar to work with dynamically loaded movies inside the movie the scrollbar is attached to. An example of my working scrollbar code with static data and my broken scrollbar with dynamic data can be found on a nice webpage I made, but I cannot post a proper link: www cryhavocguild com/actionscript php. Make sure to include the www as my flash file will only load the data with it (another problem). I have a for loop that pulls data from my database, populates a topMovie(contentMain) with 20 subMovies inside it. My scrollbar is attached to topMovie. Once the data is loaded and the topMovie is populated, the scrollFace(not ScrollTrack) dissapears and the dynamic movie is not scrollable. As a test, I populated the topMovie with graphic boxes and no dynamic movies and it scrolls just fine.
Scrollbar code:
scrolling = function () {
var scrollHeight:Number = scrollTrack._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
var maskHeight:Number = maskedView._height;
[Code] .....
View 1 Replies
Jul 22, 2009
To just add the articles will only make the page load slower so I used a scrollbar with a textfield and added text and pics to the article to scroll it. This works fine but I need a way where the scroll can call different textfields or movieclips. For instance, the main scroll opens with a textfield that scrolls articles 15 thru 10. I need on the bottom of the page buttons that link articles 9 thru 5 and so on. So when you click a button the textfield or movieclip changes and displays what is in that textfield or mc. I have looked for a tutorial, a video or anything on this and besides coming up with Flash 5 similar mentions but nothing to this point
View 1 Replies
Mar 30, 2006
I am having problems formatting the XML Flash photo gallery. I can't seem to get the photos to center on the page. Some of my photos are vertical and others horizontal, and they are all pushed to the left. I don't want to make all the photos the same width. Is there any way to use css to style the xml? Or is there some other way to do it? Url...Also, if anyone notices any other problems with the gallery,please let me know. This is only the second thing I've done in Flash, and I may have made some mistakes when I changed things.
View 14 Replies
Apr 18, 2011
I am building a photo gallery for a friend using Kirupa's tutorial (located here: [URL]). The gallery is working out great except for one problem and that is using the keyboard left and right button. For some reason when I press the right arrow on the keyboard to go the next image it jumps to the third image, then the 5th, 7th, 9th etc. As you can see it keeps skipping one image, the same thing happens going backwards. However, when I use the onscreen previous/next buttons it cycles through just fine.
View 1 Replies
Jul 19, 2004
I'm using Kirupa's Flash MX Photo Gallery located at [URL].When the script calls the images it's going to use, it says:
// fill this array with your pics
this.pArray = ["image0.jpg", "image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg", "image5.jpg", "image6.jpg", "image7.jpg", "image8.jpg", "image9.jpg"];
How can I call these images' names from a simple external text file? Purpose: I want to have the ability to change the photos in the gallery quickly without tweaking the Flash file.
View 6 Replies
Aug 7, 2010
I have loaded a swf into a fla. The page I loaded it on has a scroll bar. I need the loaded swf to stay at the top of the page and not move when the page is scrolled. Here is my code so far.
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest("calendar.swf");
myLoader.load(url);
myLoader.x = 100;
myLoader.y = 100;
View 3 Replies
Jun 28, 2006
In Kirupa's tutorial, Adding Thumbnails, when an image is loaded in the thumbnail viewer, you are able to click on it and load an external page. I've been searching for a while, but I am unable to figure out how to accomplish this.
View 3 Replies
Mar 24, 2006
I am using the kirupa xml foto gallery and I am loading different sized images... if they would load nicely centered the problem is solved... (not to stage width/height..!!) The movieclip "picture" has to load the images centered from its own registration point so that it can be placed anywhere on the stage.... now its loads the images from aka left top...
[Code]....
View 14 Replies
Aug 26, 2007
I have been reading through the Source/Experiments threads and trying to implement suggestions in the Content Scrollbar (Revised) [URL].. thread. I'm using Flash MX 2004, Actionscript 2.0 and throughout the course of this great thread the suggestions seem to shift and become geared for Flash 8. There are a few hints that MichaelxxOA kindly left for MX 2004 people loading content dynamically but I haven't been able to get to work. It's been a long work in progress but I feel like I am getting closer. At the moment I have been able to get the xml content to load into flash but I had to create a kind of dummy cell in the contentMain that is approximately the length of the combined images in the xml document. Is there a way to change the code so that it can read and load the content of the xml document so that when it varies flash loads into contentMain what ever combined height the xml includes? Here is the zip including .xml, .fla, .swf, .as and image with progress so far.
View 2 Replies
Aug 13, 2006
I am trying to modify Kirupa's Simple Custom Scrollbar to function the same as [URL]..I have managed to reposition / resize the scrollbar based on the Stage/Browser width/height but need your help to include these functions.When the Stage/Browser is resized, the "scrollFace" adjusts its scrollFace._y position to maintain its proportional position based on the new scrollTrack._height.Eg: The "scrollFace" is moved 3/4 of the way down the "scrollTrack".. When the Stage/Browser is resized, the "scrollFace" is still 3/4 of the way down the "scrollTrack" proportionally.When the Stage/Browser is resized, the "contentMain" adjusts its contentMain._y position to maintain its proportional position based on the new scrollFace._y.Eg: The "contentMain" is moved 3/4 of the way down via the "scrollFace".. When the Stage/Browser is resized, the "contentMain" is still 3/4 of the way down proportionally to the "scrollFace".When the "Mousewheel" of your Mouse is moved, it scrolls the content accordingly.Also it is a wee bit juttery in the scrolling, I'm not sure if it is anything I have done or just because its a large file?
View 5 Replies
Sep 9, 2009
Is there anyway to use ActionScript (and/or Flashvars) to tell a video page to begin with the Mute button toggled to off? We are creating a page for multiple-languages, and the client wants the sound to begin muted. I have yet to figure out what kind of variable is used by muteButton in the built in skin, whether its a boolean with true/false or what.
View 1 Replies
Feb 4, 2009
Mainly been making websites all these years, but in my last year at school i started to get interested in Flash Actionscript. I've been at home for over a year in 2008, unemployed. I got back to school in September 2008 but quit the education as it wasn't for me. Now I'm looking to get a job, but I need a showcase, so I'm building my portfolio at the moment.
I'm currently working on my portfolio which i wanted to make in Flash using XML generated content. I got as far as getting the content generated in my prototype. Now I'm trying to build the real thing. I currently got a scrollbar on the left which contains the thumbnails. I used the custom scrollbar from [URL] ([URL]). The content in it is generated with xml and actionscript though.
[Code]...
View 2 Replies
Jan 26, 2009
i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....
View 0 Replies
Aug 24, 2004
Scrolling Dynamically Loaded Text Tutorial[URL]..Best I've come across I can edit the scrollTrack-mc, but I need to edit the scrollpane window itself to change it's b/g colour ( always white ) or more importantly to make it transparent Somebody
View 1 Replies
Aug 24, 2009
I've been watching a tutorial on making a thumbnail photo gallery with Flash. Unfortunately the only tutorial I could find that explained everything step by step was for Flash MX and I'm using Flash CS4. It seems that the scripting code is different. I've never written Flash script before. I am trying at this point to give a rollover effect to a thumbnail image, so when the mouse goes over the thumbnail the thumbnail will get brighter. The code given in the tutorial didn't work, but by looking at the debugger messages it seems like the script should be something like:[code]I converted the thumbnail to a button symbol and then created an instance of the button called thumb1. The code is applied to a keyframe.
View 6 Replies
Sep 8, 2007
[URL] how to make a Flash Thumbnail Photo Gallery. I am designing a bigger photo gellery based on this code how do I have the photo gallery to list 2 rows of thumbs 5 accross and 2 rows. This code is the code that designs the thumbnail movie clip.
function thumbnails_fn(k) { thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth()); tlistener = new Object(); tlistener.onLoadInit = function(target_mc) { target_mc._x = hit_left._x+(target_mc._width+5)*k; target_mc.pictureValue = k; target_mc.onRelease = function() { p = this.pictureValue-1; nextImage(); }; target_mc.onRollOver = function() { this._alpha = 50; thumbNailScroller(); }; target_mc.onRollOut = function() { this._alpha = 100; }; }; image_mcl = new MovieClipLoader(); image_mcl.addListener(tlistener); image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k); }
View 11 Replies
Dec 23, 2003
I've created a dynamic scrolling text box using the kirupa tutorial. It's the tutorial that uses self-made buttons to scroll up and down. In my movie I've got 7 buttons, when one is pressed I want to display different text in the text box. I have it working by loading text from .txt files but it is slow and does not allow me to format the text as I would like. What I'm thinking of doing is creating 7 keyframes on the timeline of the scrollable text. Then in each frame have the different text that I want displayed. When I click on a button it would go to one of those frames thus displaying the corresponding text. I can't get it to work. I've changed the text box to a static text box. I can't get it to move the playhead to the next frame in the text movie clip which the scrollable text box resides in.
View 2 Replies
Aug 25, 2011
I have a flash image gallery that loads images through xml. Images have to be croped for thumbnails. So u have to have two folders, one for the thumbnails an another file for the big size images. I would like to know if there is a way to load only one image ( and not this image's thumbnail too) and with a script or something, to resize this image to get the thumbnail. To make my self clearer here is the xml code:
image../gallery_flash/imageGallery/images/watches/i1005.jpg image
thumb../gallery_flash/imageGallery/thumbs/watches/i1005.jpg thumb
(For some reason it doesnt show the xml right...) I dont want to have the line (thumb>../gallery_flash.), but only load one image and get the thumbnail also.
View 1 Replies
Aug 7, 2005
I learned from great kirupa tutorial and implemented the thumbnail gallery in my site.If I open the site in browser Opera or Firefox (FP 8.0.0.447) i see only 1 thumbnail image - is it bug in Player? In IE 6 I have FP 7.0.19.0 and I can see all thumbnails in the navigation bar - also correct.
View 8 Replies