Flash :: IDE - XML + Photo Gallery Tutorial - Image Open Up From The Scrolling Thumbnails
Nov 1, 2006
i want each image that opens up from the scrolling thumbnails below to have another set buttons relating to the main image. for instance:
[Code]...
numbers = buttons linked to another set of external images that are related to the big image. the problem is i don't know what controls the thumbnail/main image when i click on the scroller (i'm kinda lost in the code). so right now i have only one set of numbers regardless of which big image opens up.
original: I really just need to figure out how to center the pictures. here is what I did I have modified the tutorial that I finished to have a bigger stage for bigger pictures. Everything is working properly but the pictures are displayed on the left side, I want to have them centered in the stage for the images, after clicking on the thumbnails, plus my images are different sizes as well. ranging from 200x410 to 744x410 but all are the same height of 410. i will post up what I am talking about at the end. I believe it is something within either the action script or the xml coding that allows the position of the image to be differently? please help here is what i am talking about[URL] Continued: Here is my coding in action script:
I saw the tutorial here on how to make a Flash XML photo gallery with a scrolling thumbnail bar. Awesome!
The thing is, the example he DIDN'T choose to illustrate is the one I want make - exactly.[URl]..Is there somewhere else I can find this? The problem is that I have say, 16 photos and I want 4 displaying on the stage at one time. I want a forward / back button available to switch through the remaining 12 images, when the user clicks the buttons (as opposed to a scroller, which I find difficult to control and therefore less useable).
The problem comes when loading the four images from my XML file. I am able to load the first four, but how do I indicate in AS that the next four images are to be loaded, until there are no more images left? What if I add 5 more, I want to be able to have that AS load them. I was using a mod function in my script, but I keep getting the wrong remainder. I'll have to post the code later.
I modified a version of the xml photo gallery tutorial featured on this website, and am using that. But when my images pop up the quality is horrible. I've gone through and checked everything I know to look at. Then I decided to build my flash site twice as big, and use pictures that were twice as big to get some quality. This didn't work either..
I have this project. It is an image gallery with scrolling thumbnails that when you click them will load the larger images. However, I can not get that part to work. The thumbnails load and scroll, but when I click them I get an error message.
TypeError: Error #1009: Cannot access a property or method of a null object reference. at BannerVer3_fla:mcThumbsInside_6/imageLoadedThumbThree/BannerVer3_fla:gotoPage()[BannerVer3_fla.mcThumbsInside_6::frame1:124]
This is the AS3 for the thumbnail image. Code: var fader:MovieClip; var photos:MovieClip; var loaderThumbThree:Loader; function loadImageThumbThree(url:String):void{ //Set properties for this loader loaderThumbThree = new Loader(); [Code] .....
i am trying to put some things together following the tutorials on this site. I did the tutorial 'Photo Gallery Using XML and Flash'and I followed it step by step and uploaded it with all the necessary files onto my remote server (xml file, Gallery folder, fla, swf, and html) - however, when I test the movie with flash, it seems to work fine (except the description test, my question to that later), but when I test it online it shows only the first image (but displays the correct number of images in the gallery); even when clicking the next button, it keeps loading the first image the first image. In other galleries (I use the structure for multiple galleries for my portfolio) the first image never loads at all.
Also, about the description text, in between the <caption> and </caption>, can I use <strong> and <em> and <br /> to change the appearance of my text? All it says is 'null'.If you want to look at what I mean check out my portfolio in the making. The problem with the first image displaying only is under 'paintings' and both the projects in 'design - packaging'. The second problem (no picture loading at all) is on some of the buttons in 'design - identity' (where I have not changed the description text of the tutorial yet). Again,
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?
Based on the Photo Gallery using XML and Flash tutorial found here:I�m having trouble with loading thumbnail images of various sizes which overlap if they are smaller than the previous image.The specific line that causes this is target_mc._x = hit_left._x+(target_mc._width+5)*k;I�ve tried all sorts of things with the closest being the following which put the images in the right size, but with the omission of �k� their order is backwardstarget_mc._x = (thumbnail_mc._width+5);Here is the full function block as per the tutorial
Regarding the XML and Flash Photo Gallery with thumbnails tutorial
Instead of scrolling thumbnails, I would like to have a Grid but I don�t how to archive that. I have 8 pictures and I would I like to have a Grid with 3 images in each row.
What I want to do is to make a gallery based on the tutorial gallery here (thumbs), but I want the user to be able to choose different galleries from within the movie. I figured that I could make a loop to cycle through the galleries, then nest another loop inside it to cycle through the pics, captions and thumbs. While I wrote, I constantly tested the output with trace commands, but when I tried nesting the loop I lost all output.. I'm pretty new to both Flash and Actionscript, so if theres an obvious solution I havent been able to see it.. This is my temp XML file:
I need to make a XML Driven Photo slide in Flash CS5.It needs to have a Box that contains 5 Thumbnails(by XML) act as buttons.The Box sits on top of the Main photo area and shrinks (or close out) when user click its close button. And it opens out by clicking on a open button.I'm sure it can be done by using timeline, Tweening or you name it..But what about the Thumbnails that run from the XML file?Can they disappear with the Box and retrieve when it opens?[code]
I'm having some problems with the XML/FLASH Photo Gallery Tutorial ([URL]). When I load the swf file into another movie the dynamic text will not display. Any thoughts to why this is happening.
I remember seeing a few tutorials here and there for using php to generate an XML file of all the pics in a directory. I tried looking for one but can't seem to find any. Does anyone have any links to one?
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].....
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
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.
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:
I am trying to produce a photo gallery with thumbnails. I cant work out whats wrong i keep getting these 2 compiler error codes, 1021: Duplicate function definition & 1023: Incompatible override.
I was working with the XML Photo Gallery Thumbnail Tutorial on this site: [URL] And I modified it for my own usage, making it a vertical gallery instead, and had no problems until I came upon the thumbnail images. When I replaced the original thumbs with my new thumbs (that I sized based on width, as it is a vertical gallery) it got all screwed up. The images are of all different shapes. So when it loads up, some of them had huge gaps in between them, and others were even overlapping. So I fixed it by making the heights of all the images the same, resulting in a working thumb gallery, but now half my thumbs are cropped off by the mask. I'm looking for a way to fix it where I still have the same spacing between the images, and that they are all the same width, but can vary in their height. Here's the section of the code I am using:
I was working with the XML Photo Gallery Thumbnail Tutorial my code i a little bit different, modified for easing thumbnails.How do I make this work for thumbs with different width??[code]
Ok basically I want to create a simple Gallery one that has small thumb nails at the side where when clicked on will show in a larger movie clip. I also need to beable to scroll down on the thumbnails as there will be quite a few. Also on the larger image I want left and right buttons to scroll between the images aswell and when clicked on the large image it will load that image in a new window for people to save the image or just simply be able to click on it to download. I have searched everywhere for a tutorial or template and cant find one that is simply this and in AS3.
Kind of like this but instead of scrolling to mouse move, the user would have to click the arrows. And it would be vertical instead of horizontal: [URL]
I need to make a XML Driven Photo slide in Flash CS5.It needs to have a Box that contains 5 Thumbnails(by XML) act as buttons.The Box sits on top of the Main photo area and shrinks (or close out) when user click its close button. And it opens out by clicking on a open button.I'm sure it can be done by using timeline, Tweening or you name it..But what about the Thumbnails that run from the XML file?Can they disappear with the Box and retrieve when it opens? is it possible? Here is the ActionScript.
I'm trying to create the simple photo gallery with thumbnails which is in the tutorial Adding Thumbnails, but I'm having a bit of a problem. I've just done the Photo Gallery Using XML and Flash tutorial [URL] which worked perfectly . I've then gone on to the Adding Thumbnails tutorial, [URL] which follows on.I've been working my way throught the tutorial, but when I get to point ix. on page three, I don't get the thumbnails loading at all. I have checked, and double checked the code I have, and I've copied the code from the tutorial assuming that this is right, but nothing appears to work.I'm using Flash MX, not MX 2004.