ActionScript 2.0 :: Add More Galleries The Kirupa Photo Gallery?

Apr 21, 2007

I've been trying to add more galleries the Kirupa Photo Gallery but so far unsuccessfull - i've modified things alittle, but it's mostly the same.

Code:
function loadXML(loaded) {
if (loaded) {
image = [];[code].....

This is as far as i can get before i get errors i cant get out by displaying image[i] in gallery[n].at the current time i can only get the number of galleries and display the images in the first gallery - not change between galleries.

View 8 Replies


Similar Posts:


ActionScript 2.0 :: Kirupa Photo Gallery - Load 2 Instead Of 1 Photo?

Aug 26, 2006

I found the tutorial by Kirupa

[Code]...

View 2 Replies

ActionScript 2.0 :: Photo Gallery With Dropdown For Multiple Galleries?

Nov 23, 2006

I was working yesterday with the galleries from Scotty - http:[url].... - trying to add a dropdown menu for the different galleries, instead of the buttons (I'm talking about the V3 with Thumbnails). My skills are not that good I realized. Do you have any idea on how to achieve this?

What I need is a combobox showing the different galleries i have on my XML file and if the user chooses another gallery, the it loads the new set of pictures and thumbnails.

View 1 Replies

IDE :: Kirupa Xml Flash Photo Gallery

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

ActionScript 2.0 :: Can't Loop Photo Gallery On Kirupa

Aug 9, 2006

I found this photo gallery on kirupa but i need it to loop and i can't figure it out. It stops on the 7th image and doesn't go back to the first.

View 4 Replies

ActionScript 2.0 :: XML Versus Kirupa Photo Gallery?

Oct 10, 2006

I tried the tuto from Kirupa for photo gallery and xml .I modified the xml file with my own pictures.( I copied it and added the path to them)But when I try the swf this message appears :

Error opening URL "file:///C|/Documents%20and%20Settings/user/Desktop/divers%20flas%20et%20swfs/undefined".
Here is an example of one of my xml picture nod :
- <images>
- <pic>

[code]....

This of course means that the image 1.jpg is in folder allimages which is in the folder divers flas et swfs.So why this undefined message ? Is it a wrong path ?

Note : I work with flash 8.

View 4 Replies

ActionScript 2.0 :: Kirupa Photo Gallery Extended?

Feb 24, 2011

I wanna remove the XML data loading part and replace it with a PHP/MySQL backend for better security and maintance and because XML text handling isnt the best way (in my opinion it s*cks big time) to show text. HTML text through php gives better looking text.What do I already have:- MySQL database and table (containing the fields: "file", "ordercode", description") were "file" is the full path to a image and its name.- PHP script what fetches the data from the table and send it towards FlashFlash output when receiving the array ("nog niet te koop" = ordercode, "tekst volgt nog" = description)

Variabele _level0.myData = [objectnr. 1, klasse 'LoadVars'] {
onLoad:[functie 'onLoad'],
Array

[code].....

View 2 Replies

ActionScript 2.0 :: Kirupa Flash And XML Photo Gallery

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

ActionScript 2.0 :: Kirupa's Flash MX Photo Gallery?

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

ActionScript 2.0 :: [FMX] Kirupa Photo Gallery In Movie Clip?

Apr 22, 2003

Does any of the code need to be changed in the photo gallery tutorial to make it function inside of a movie clip? I'm specifically wondering in regards to the "_root" My gallery is in a movie clip which I can't seem to get working w/attatchMovie though all my others work fine.

View 3 Replies

ActionScript 2.0 :: Kirupa Photo Gallery, Add Numbers To Thumbnails

Mar 21, 2011

I have created a Photo Gallery based on the excellent tutorial, the only thing I would like to add is Numbers to the Thumbnails.

I assume I would need to use the attachMovie command but I am not sure of the Syntax and where it would be used in the Photo Gallery code.

View 1 Replies

ActionScript 2.0 :: Centering Pics In Kirupa Photo Gallery Using XML And Flash

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

IDE :: XML Gallery With Multiple Galleries Inside 3 Galleries?

Mar 15, 2009

I need a simple way to use xml and create a multiple gallery inside 3 main galleries so basicly like this: (Everything would be in the same page, list view, when clicking into one it would open it)

GALLERY 1 (Will include numerious galleries)
-Example 1
-Example 2[code]....

Basicly when clicking the link it would hover the pics with a scrolling effect in the flash file (that all should be sorted out)

View 3 Replies

ActionScript 3.0 :: Make A Flash Photo Gallery That Displays All The Image Files In A Certain Directory With The Usual Photo Gallery Functionality

Sep 1, 2009

Just trying to make a flash photo gallery that displays all the image files in a certain directory with the usual photo gallery functionality.

View 1 Replies

Flash Photo Galleries Without Xml Configuration Files

Jan 16, 2011

I saw many examples in jquery compenents which takes image urls from HTML DOM. But flash photo galleries always need xml configuration files as i have seen till now. I need flash compenents which doesn't need any configuration settings from server. If it is possible to do that flash can get image urls from DOM or even by javascript. Is there such as flash photo gallery compenents ?

View 1 Replies

ActionScript 3.0 :: Dynamic Photo Galleries Array

Sep 18, 2009

I've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. how would I make it so that different arrays could be loaded for different image galleries on the site? For example clicking a certain button would tell the movieclip to load different sections. It would load an array that goes

[Code]...

View 2 Replies

ActionScript 2.0 :: XML - Load Dynamically Specified Photo Galleries?

Feb 14, 2006

I have just started to learn more about XML in Flash but so far it's all a bit confusing. I have this photo site that I'm working on at the moment and I can't figure out how to load dynamically specified photo galleries. I load in my XML on the first frame of the root timeline with this script:

[Code]...

View 1 Replies

ActionScript 2.0 :: Combo Boxes, Photo Galleries, Xml, And Much Much More?

Jul 13, 2006

Right now, I have a successful combo box that loads an external jpg to flash from a folder where I store all my images. However the information that is given about the pictures are all in the flash code. I have an xml document, and I was wondering if there's any way I can load information from the xml file rather than supplying it in the flash code,

this is currently the flash code:
--------------------------------------------------------------------
combo_cb.addItem("0001 The Assasain", 1);

[code].....

View 3 Replies

ActionScript 3.0 :: Multiple Photo Galleries In Flash

Apr 13, 2011

I already have a photo gallery running on my website, but I would like to add 4/5 more. The script I am currently using is;

Code:
// USER CONFIG SETTINGS =====
var autoStart:Boolean = false; //true, false
var secondsDelay:Number = 6; // 1-60

[Code]....

I've obviously changed the first and last frame part of the script to suit where I have put my images. And I have also changed the next and prev button to be next1 and prev1, however the rest wont work, i'm guessing I need to change a lot more but I don't know enough about scripting.

View 1 Replies

ActionScript 3.0 :: Dynamically Loading 3 Photo Galleries Into File

Mar 26, 2010

I'm trying to dynamically load in 3 photo galleries into a file. They are all SWF files. When you click the button for the thai gallery, it'll pop up. But if you want to navigate to the alex gallery, the thai gallery is still visible underneath. And the same problem with the 3rd gallery only all 3 are visible at this point. Is there a way to make these not visible? I'm using CS4 with ActionScript 3.0. I've got 3 separate buttons set up for the 3 galleries. Is there a better method? I've tried using the removeChild(); but I don't think I've used it correctly as it throws errors all over the place when trying to use it.

Actionscript Code:
thai_btn.addEventListener(MouseEvent.CLICK, loadImages);
function loadImages(evtObj:MouseEvent):void {
var imageLoader:Loader = new Loader();
addChild(imageLoader);
var url:URLRequest=new URLRequest("thaipix.swf");
[Code] .....

View 2 Replies

Good Play To Download/purchase Flash Photo Galleries?

Sep 13, 2007

is there a site where you can download flash galleries for a portfolio.. ?

View 0 Replies

ActionScript 3.0 :: Modifying Kirupa's Xml Photo Slideshow?

Jul 17, 2009

I'm trying to modify Kirupa's xml photo slideshow by adding an extra text field, which if I understand correctly gives each element 3 children (image+text1+text2) instead of 2 (image+text). Even though I've added the third child correctly in the xml, I can't seem to get it to work at all. Here is what I did with the actionscript:

delay = 10000;
//-----------------------
function loadXML(loaded) {
if (loaded) {

[code]....

I've highlighted the parts I've added to the code provided by kirupa's tutorial. sub_text is the instance name I give to the new text field in Flash.

View 1 Replies

ActionScript 3.0 :: Gallery Works But Multiple Galleries Don't

Dec 10, 2009

I've created a simple thumbnail gallery script that my students can use for portfolio projects. I'm also making it available for public download along with video tutorials in how to use it. I had developed a nice AS2 script, but those days are over and I've been hammering away at AS3 with pretty good success, but am still learning.I have a workable gallery, but if I add a second gallery on a different frame, all the functions and variables of the second gallery conflict with the first one. I'm missing some simple way to reinitialize the gallery. It may be that I need a Gallery Class but this is just a hair beyond me right now. Can anyone take a look and point me in the right direction? Files can be downloaded from URL...The actionscript files are external and brought in with an include action.

View 2 Replies

ActionScript 2.0 :: Timer For Kirupa Photo Slideshow Using XML And Flash

Apr 16, 2006

how to add a sort of timer for the slideshow...one that counts down from fx 6 seconds to 0 every time a new image in the slideshow appears. something with a variable and a text area...but how to make the count down follow the image delay...i really would like to know if this is possible.

View 3 Replies

ActionScript 2.0 :: Kirupa's Photo Slide Show With Thumbnails?

Jul 2, 2008

I am customizing the Photo slide show with thumbnails from this site. It is great. I was able to customize it so it would work with bigger pics (640 width X 480 height) basically wider pics then they are tall, but I also have pics that are taller then they are wide (480 height X 640 width).

1. in the thumbnail area the taller pics load over top of the pic before it and then there is a large gap after it.

2. the movie clip that loads the full size image aligns the pics to the upper left corner of the movie clip. I would like it to center the taller pic. I know I will have the same problem with the wider pics when I make the viewing area 640x640 they will look to high.

here is the code that is used:

function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];

[code]....

View 5 Replies

ActionScript 3.0 :: Dynamic Image Gallery With Multiple Galleries?

Aug 18, 2010

I'm trying to create a gallery where each thumbnail you can click loads a different set of images (and unloads or removes the previously loaded gallery).

View 9 Replies

ActionScript 2.0 :: Photo Gallery - Photo's Start Automatically, Rather Than, On A Button Click?

Oct 27, 2011

its for a photo gallery that I downlowded,the images fades in and out, but only start that when you click a button(timer).I'm trying to founf out where in the script I can change this, so that the photo's start automatically,rather than, on a button click.I have pasted the script below, is that ok, or would people rather a zip file of the files?

// (c) Copyright by Andrew DiFiore. All rights reserved. DO NOT REMOVE.
fscommand("allowscale", "false");
Stage.scaleMode = "noScale";[code]......

View 4 Replies

ActionScript 2.0 :: Kirupa Photo Slideshow Tute - Centering Image?

Sep 11, 2006

I've been going through the tutorials and forum trying to build a photo slideshow. I managed to get the slideshow working with buttons, but am really stuck with trying to center the images ... I'm using portrait and lanscape images, and want them both to be vertically and horizontally centered in a 504x504 moive.

View 2 Replies

ActionScript 2.0 :: Modify Stringy's XML Gallery To Show 5 Rows Of 2 Galleries Instead Of 4?

Jun 20, 2007

I need to modify Stringy's XML gallery to show 5 rows of 2 galleries instead of 4. I know how to decrease the number of galleries to 6 because Stringy told me the following:

You can change the size of the boxes by changing these variables (or associated variables)

th = Math.round(sizeh/4-(5*spaceh)/4-30/4);
tw = Math.round((sizew/2)-(3*spacex)/2);
so to make say 3 rows/2 columns you could change to this
th = Math.round(sizeh/3-(4*spaceh)/3-30/3);

[Code]...

View 1 Replies

ActionScript 2.0 :: Adding Pause/play Buttons To Kirupa Photo Slideshow?

Feb 26, 2006

add the pause/play button along with a previous & next button (those got messed up when I added to slideshow) for the Kirupa photo slideshow...

View 1 Replies







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