ActionScript 2.0 :: [FlashCS3] Gallery XML With Thumbnails - Return The Id Of The Last Image?

Oct 13, 2009

I have this code and I want that when you click on each thumbnail returns its id (associated with i) but only get to return the id of the last image,

Code:

x = 40;
y = 200;[code]..........

View 1 Replies


Similar Posts:


ActionScript 2.0 :: When 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?

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

Image Gallery - Using MouseOver To Scroll Thumbnails

Nov 17, 2010

I'm working on an image gallery using a mouseOver to scroll the thumbnails. How can I limit the area affected by the mouseOver as at the moment it scrolls wherever the cursor is on the page.

View 2 Replies

ActionScript 3.0 :: MovieClip - XML Image Gallery With Thumbnails

Sep 4, 2011

I'm just beginning to learn AS3 and I'm trying to build a website in Flash. This is a photography website so it will have various image galleries. I'm able to have the images display. But I'm stuck when I try to add thumbnails to the movieclip. I've been using a for loop to loop through the total number of photo URLs in the XML, and add them to a thumbnail container. But either this will display, or only the image gallery will display. They will not display at the same time. Ideally, the thumbnail container will appear on top of the large image, so I guess I will also need to z-sort them.

Here's the code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import flash.display.Sprite;
var my_speed:Number;
[Code] .....

View 0 Replies

IDE :: Image On Top With Multiple Thumbnails Underneath In Gallery

Mar 22, 2010

I would like to make a simple flash file where I have one image on top with multiple thumbnails underneath it. The only thing I need to do is get the main image to change to another when I click another thumbnail. The result would be a basic thumbnail driven image gallery.

View 1 Replies

ActionScript 3.0 :: Image Gallery With Scrolling Thumbnails

May 25, 2011

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] .....

View 1 Replies

ActionScript 3.0 :: Image Gallery Using XML To Load Thumbnails And Images

Mar 5, 2008

I am building a website with an image gallery using XML to load thumbnails and images.

Firstly, I was going to try to make the thumbnails act like buttons, so the mouse cursor would change to a little pointing finger like it does in buttonmode but i could not get this to work.

Secondly, I also wanted the alpha properties of the other buttons to reduce to about 0.75 to highlight the selected thumnail that would stay at its full alpha value of 1. Yet again i could not get this to work either.Can you build this type of functionality into the imported xml data or am I just kidding myself here?

View 10 Replies

Flash Image Gallery - Thumbnails Not Showing Up Online

Jun 16, 2009

I've finally finished my flash xml gallery, and have tested it to my complete satisfaction using dreamweaver. When I do a preview from dreamweaver, or just open up the gallery html file from explorer the swf loads the xml file and all the images flawlessly, everything works. However when I move the site for testing on my mac laptop it loads the xml file but not the images. When I upload it to my test website it doesn't even load the xml file. I just copied the root folder over in all cases I dont understand why it wont work. You can see it here: [URL]

Could this be some export setting I am using incorrectly? Why would it work locally on a windows machine, and not locally on a mac or online on either. I tried re exporting the swf after saving it as CS3 from CS4 and changing the local playback security to only allow network. So now it loads the xml data online but not locally. Thumbnails still aren't showing up online though.

View 1 Replies

ActionScript 2.0 :: Image Gallery - Thumbnails With Same Height But Different Width?

Oct 19, 2008

I'm making an image gallery and are having some issues with the thumbnails. What I want is to be able to have thumbnails with the same height but different width. Attached the fla.

View 6 Replies

IDE :: Creating Image Gallery With Thumbnails - Graphic Symbol?

Mar 11, 2009

I am creating an image gallery with thumbnails on the right inside a symbol so that they can all fade in at the same time, and the bigger images on the left that also fade in. I can only fit 8 thumbnail images at a time, and want to have more than that. So I'll add an arrow below the thumbs so that when you click on it, you can see the other thumbs. I have the first 8 thumbs on the first frame of a symbol and the rest on the second frame.

My problem is that the symbol that contains the thumbs is a graphic symbol, so that the thumbs in it, that are button symbols can be clicked on. I tried using button and movie clip symbols for the thumbnails container but then the buttons (thumbs) can't be clicked any more. That was not a problem till I had to add more than 8 thumbs, cause i need to give the container an instance name, and graphic symbols can't have one.

Here is the link to download the .fla [URL]
In case I didn't make my self clear, what I need is to know if there's a way to have a movie clip or button symbol that can have buttons in it that can be clicked on.

View 1 Replies

ActionScript 2.0 :: Image Gallery - Set Thumbnails To Work As Links

Mar 20, 2005

I wrote a bit of actionscript to dynamically create an image gallery based on how many images are in a given directory. As of now, I've got it to display thumbnails in rows. My next step would be to get these thumbnails to link to the fullsize images.

Code:
endingNumber = new LoadVars();
endingNumber.load("end.txt", 0); //loads text file with # of images in directory
endingNumber.onLoad = function(success) {
if (success == true) {
var num1 = endingNumber.e1;
[Code] .....

So as of right now, I have a rough-looking set of thumbnails that don't function as links. is there any way to make those thumbnails act as links, using only actionscript? or, is there any better(easier) way to create a dynamic image gallery with flash so that my client will never have to open an .fla file to add more images?

View 7 Replies

ActionScript 3.0 :: Create An Image Gallery By Toggling Between Different Sets Of Thumbnails?

Feb 15, 2012

I'm trying to create an image gallery by toggling between different sets of thumbnails and thus loading the appropriate images.I've set up the first 9 okay and they all load at first but when I toggle back and forth in the toggleThumbnails function using addChild I can no longer load these same movieclips.I'm loading the same movieclip with their associated instance names? How come it no longer interacts with the thumbnails?

ActionScript Code:
import flash.events.MouseEvent;
var thumbnailSet = "setOne";[code].....

View 2 Replies

Actionscript 3.0 :: Dynamically Load In .png Files As Thumbnails For An Image Gallery?

Nov 19, 2010

I'm developing an app that needs to dynamically load in .png files as thumbnails for an image gallery. I have studied up on the bitmapData.hitTest() method for being able to setup an alpha test in order work around the .png bounding box issue, but have a problem.

I get an as3 error 2005, which OK I can understand in some cases, but it is pointing to a parameter that makes no sense at all. Here's the error:

ArgumentError: Error #2005: Parameter 0 is of the incorrect type. Should be type BitmapData.
at flash.display::BitmapData/hitTest()
at folio_fla::MainTimeline/checkAlphaForHit()

View 2 Replies

Actionscript :: Replace Image Thumbnails With Numbers In Xml Driven A Gallery Using (flash)

Nov 26, 2011

i've designed an xml driven photogallery using actionscript 3.0. First when the swf file is run, all the thumbnails load in, Then I have thumbnails below, when i click them the large image loads in. I wanted the thumbnails to be replaced with the numbers which form dynamically from the xml file. i.e I simply want the numbers, on clicking them loads respective images Please give a solution to this, or please suggest a good tutorial. here's the code i've worked on and im stuck replacing

[Code]...

View 1 Replies

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.

View 14 Replies

ActionScript 2.0 :: Modify The Kirupa Image Gallery To Use Numbers In Place Of Thumbnails?

Jun 19, 2007

I am trying to modify the Kirupa image gallery to use numbers in place of thumbnails.So far I have been able to place buttons on the stage using attachMovie()and I have been successful in getting them numbered properly. Where I am failing is in getting the individually placed buttons to load an image.A more detailed list of what I am trying to do:

I want to attach a button that has a text box to the stage.In that button�s text box I want a sequential number to appear.When a button is pressed I want the corresponding image to display(button 1 loads image 1).I have the first two working; not doing so well with the last.Here is what I have:

PHP Code:[code]...

View 8 Replies

IDE :: Make A Simple Gallery With Thumbnails That Show A Larger Image Once Hover Over The Thumbnail?

Apr 20, 2009

I have flash CS4 and some time ago made a simple movieclip in an older version of flash.I now want to make a simple gallery with thumbnails that show a larger image once you hover over the thumbnail.[URL]I forgot most of the workings in flash, so it's difficult to make what I want.

View 2 Replies

ActionScript 2.0 :: Hiding Thumbnails For Gallery?

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

ActionScript 2.0 :: Modify Gallery - Get The Thumbnails To Appear In A Row

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

ActionScript 2.0 :: Create Thumbnails For A Pic Gallery

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

ActionScript 2.0 :: Using Thumbnails In XML Photo Gallery?

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

ActionScript 2.0 :: Loading Thumbnails To Gallery?

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

ActionScript 2.0 :: Adding Thumbnails To XML Gallery?

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

ActionScript 2.0 :: Possible To Make XML Gallery With Thumbnails?

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

ActionScript 2.0 :: Messed Up Gallery Thumbnails

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

ActionScript 2.0 :: How To Get Same Sized Thumbnails In Gallery

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

IDE :: Multiple XML Photo Gallery Thumbnails?

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

ActionScript 3.0 :: Add A Preloader To A Thumbnails Gallery (XML)?

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

IDE :: Flash Photo Gallery With Thumbnails ?

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

ActionScript 3.0 :: XML Photo Gallery - How To See Next Set Of Thumbnails

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







Copyrights 2005-15 www.BigResource.com, All rights reserved