Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Gallery



Hi!I have seen a gallery where the images glides into eachother... I mean that one fade out and the other comes in, This is something that I want to do also. But Instead of using a lot of frames, I guess there is a command that I can us for this.Can somebody point me in the right direction? Tutorial somewhere???



Adobe > Flash General Discussion
Posted on: 01/26/2007 01:59:19 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Scottys Resize Gallery The Gallery With Thumbnails And Multiple Galleries Problem
Hi all,

I'm relatively new to flash and was looking through the forums and found Scottys cool resize gallery which i am trying to implement in a dreamweaver website.

This is probably a stupid question but i was wondering if anyone could tell me how to add in a fifth gallery to the program - i'm probabaly doing something stupid but i can't seem to access the actions panel at all to look through the code??

Any help would be greatly appreciated!!

Also, does anyone know if this gallery will take forever to load onto a webpage or will it load relatively quickly!??

Thanks a mil in advance
Derm

This Is A Fix To The Image Gallery Tutorial - Makes It A Fully Dynamic Gallery
After searching and reading a couple of hundred post on the truly GREAT Kirupa image gallery tutorial - and wondering why nobody has written a new tutorial or at least updated the "old" one to avoid overloading the net with flash image gallery questions.

Im trying to create a new thread that will serve as a basic startingpoint for all Kirupa gallery questions. Im no überscripter nor do I know a lot about flash, but with a little common sense and perhaps some help from all of you... oh well - here goes:

Quick Checklist:

If your JPG's wont load - Make sure you don't save them as progressive JPG's, as they wont load in Flash.
If your images dont align to the photo container movieclip it is probably because your registration point of the photo MC is set to center instead of topleft.
Below is the code I have pieced together from different posts on the subject (I would like to credit all the authors, but that would require me reading all the posts again, as I have forgotten where I got them.

It produces a gallery that loads files dynamicaly thru a phpscript and checks for maximum image height/width and scales the images to fit within the photo MC. It also sets the center of the displayed images to a given coordinate (x,y).

All in all this is a install and forget image gallery, where the only maintaining required is uploading new pictures to the image folder.

On the server the file/directory structure is:
gallery swf
filearray.php
images/file_x.jpg
file_y.jpg
etc...

This is the filearray.php - modify this to check for files in the path set in the actionscript line: this.pathToPics = "images/";


PHP Code:



  <?php  if ($dir = opendir("images")) {    while (($file = readdir($dir)) !== false) {          $cont++;      if ($file == "." || $file == "..") { } else {              $string.= ($file);          $string.= "&";          }        }      closedir($dir);  }  print($string);  ?>





This is the modified actionscript from the original Kirupa gallery script:


ActionScript Code:
// This loads the array created by filearray.php and puts it into pArray   lv = new LoadVars();  lv.load("filearray.php");  lv.onData = function(text){  pArray = text.split("&");  for (i=0; i<pArray.length-1; i++) {  trace(pArray[i]);  }  }    // variables ------------------------------------------  // put the path to your pics here, include the slashes (ie. "pics/")  // leave it blank if they're in the same directory  this.pathToPics = "images/";  // fill this array with your pics (set from filearray.php)  this.pArray = pArray;            this.fadeSpeed = 20;  this.pIndex = 0;    // MovieClip methods ----------------------------------  // d=direction; should 1 or -1 but can be any number  //loads an image automatically when you run animation  loadMovie(this.pathToPics+this.pArray[0], _root.photo);    // Center the photo at (x,y) the coordinates are set in line 69  MovieClip.prototype.centered = function(x, y) {  this._x = x-this._width/2;  this._y = y-this._height/2;  };  // Makes sure that the image fits within (wMax, hMax)  MovieClip.prototype.resize = function(wMax, hMax) {  while (this._width>wMax || this._height>hMax) {  this._xscale = this._yscale -= 1;  }  };  // This line sets max width and max height (wMax, hMax)  photo.resize(397, 297);    MovieClip.prototype.changePhoto = function(d) {      // make sure pIndex falls within pArray.length      this.pIndex = (this.pIndex+d)%this.pArray.length;      if (this.pIndex<0) {          this.pIndex += this.pArray.length;      }      this.onEnterFrame = fadeOut;  };  MovieClip.prototype.fadeOut = function() {      if (this.photo._alpha>this.fadeSpeed) {          this.photo._alpha -= this.fadeSpeed;      } else {          this.loadPhoto();      }  };  MovieClip.prototype.loadPhoto = function() {      // specify the movieclip to load images into      var p = _root.photo;      //------------------------------------------      p._alpha = 0;      p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);      this.onEnterFrame = loadMeter;  };  MovieClip.prototype.loadMeter = function() {      var i, l, t;      l = this.photo.getBytesLoaded();      t = this.photo.getBytesTotal();      if (t>0 && t == l) {          this.onEnterFrame = fadeIn;          // This line sets the (x,y) center of the image on the stage          this.photo.centered(249, 213);      } else {          trace(l/t);      }  };  MovieClip.prototype.fadeIn = function() {      if (this.photo._alpha<100-this.fadeSpeed) {          this.photo._alpha += this.fadeSpeed;      } else {          this.photo._alpha = 100;          this.onEnterFrame = null;      }  };


This should do it - the only thing I (think) I need some help with is changing the script to actually load the FIRST image, when the gallery loads. For some reason beyond my knowledge you have to click the next button for a image to load... What part of the script needs to be changed to make sure that a image is loaded on startup???

I hope someone will take the time to help develope this gallery tutorial / help file... It would be great if you added som more steps to the quick checklist... and of course fixed the load image on start problem....

This Is A Fix To The Image Gallery Tutorial - Makes It A Fully Dynamic Gallery
After searching and reading a couple of hundred post on the truly GREAT Kirupa image gallery tutorial - and wondering why nobody has written a new tutorial or at least updated the "old" one to avoid overloading the net with flash image gallery questions.

Im trying to create a new thread that will serve as a basic startingpoint for all Kirupa gallery questions. Im no überscripter nor do I know a lot about flash, but with a little common sense and perhaps some help from all of you... oh well - here goes:

Quick Checklist:

If your JPG's wont load - Make sure you don't save them as progressive JPG's, as they wont load in Flash.
If your images dont align to the photo container movieclip it is probably because your registration point of the photo MC is set to center instead of topleft.
Below is the code I have pieced together from different posts on the subject (I would like to credit all the authors, but that would require me reading all the posts again, as I have forgotten where I got them.

It produces a gallery that loads files dynamicaly thru a phpscript and checks for maximum image height/width and scales the images to fit within the photo MC. It also sets the center of the displayed images to a given coordinate (x,y).

All in all this is a install and forget image gallery, where the only maintaining required is uploading new pictures to the image folder.

On the server the file/directory structure is:
gallery swf
filearray.php
images/file_x.jpg
file_y.jpg
etc...

This is the filearray.php - modify this to check for files in the path set in the actionscript line: this.pathToPics = "images/";


PHP Code:



  <?php  if ($dir = opendir("images")) {    while (($file = readdir($dir)) !== false) {          $cont++;      if ($file == "." || $file == "..") { } else {              $string.= ($file);          $string.= "&";          }        }      closedir($dir);  }  print($string);  ?>





This is the modified actionscript from the original Kirupa gallery script:


ActionScript Code:
// This loads the array created by filearray.php and puts it into pArray   lv = new LoadVars();  lv.load("filearray.php");  lv.onData = function(text){  pArray = text.split("&");  for (i=0; i<pArray.length-1; i++) {  trace(pArray[i]);  }  }    // variables ------------------------------------------  // put the path to your pics here, include the slashes (ie. "pics/")  // leave it blank if they're in the same directory  this.pathToPics = "images/";  // fill this array with your pics (set from filearray.php)  this.pArray = pArray;            this.fadeSpeed = 20;  this.pIndex = 0;    // MovieClip methods ----------------------------------  // d=direction; should 1 or -1 but can be any number  //loads an image automatically when you run animation  loadMovie(this.pathToPics+this.pArray[0], _root.photo);    // Center the photo at (x,y) the coordinates are set in line 69  MovieClip.prototype.centered = function(x, y) {  this._x = x-this._width/2;  this._y = y-this._height/2;  };  // Makes sure that the image fits within (wMax, hMax)  MovieClip.prototype.resize = function(wMax, hMax) {  while (this._width>wMax || this._height>hMax) {  this._xscale = this._yscale -= 1;  }  };  // This line sets max width and max height (wMax, hMax)  photo.resize(397, 297);    MovieClip.prototype.changePhoto = function(d) {      // make sure pIndex falls within pArray.length      this.pIndex = (this.pIndex+d)%this.pArray.length;      if (this.pIndex<0) {          this.pIndex += this.pArray.length;      }      this.onEnterFrame = fadeOut;  };  MovieClip.prototype.fadeOut = function() {      if (this.photo._alpha>this.fadeSpeed) {          this.photo._alpha -= this.fadeSpeed;      } else {          this.loadPhoto();      }  };  MovieClip.prototype.loadPhoto = function() {      // specify the movieclip to load images into      var p = _root.photo;      //------------------------------------------      p._alpha = 0;      p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);      this.onEnterFrame = loadMeter;  };  MovieClip.prototype.loadMeter = function() {      var i, l, t;      l = this.photo.getBytesLoaded();      t = this.photo.getBytesTotal();      if (t>0 && t == l) {          this.onEnterFrame = fadeIn;          // This line sets the (x,y) center of the image on the stage          this.photo.centered(249, 213);      } else {          trace(l/t);      }  };  MovieClip.prototype.fadeIn = function() {      if (this.photo._alpha<100-this.fadeSpeed) {          this.photo._alpha += this.fadeSpeed;      } else {          this.photo._alpha = 100;          this.onEnterFrame = null;      }  };


This should do it - the only thing I (think) I need some help with is changing the script to actually load the FIRST image, when the gallery loads. For some reason beyond my knowledge you have to click the next button for a image to load... What part of the script needs to be changed to make sure that a image is loaded on startup???

I hope someone will take the time to help develope this gallery tutorial / help file... It would be great if you added som more steps to the quick checklist... and of course fixed the load image on start problem....

Movie/anim Gallery? (not Image Gallery)
Ive come across this gallery and preloader

http://www.flashkit.com/movies/Scrip...7797/index.php

I love the way I can just dump my images in a folder and with a few tweaks it will put these images in the gallery.

What I am looking at is a way to do this with seperate .swf animations.

What I want to be able to do is dump a number of linear animation swf files into a folder, then when I launch the gallery, the first animation plays, and when it reaches the end it automatically plays the next animation in the folder. Then I want the whole thing to loop.

Any ideas?

Photoshop CS2: Web Photo Gallery: Flash - Gallery 1
I'm interested to know the code that Adobe Uses with one of their Web Photo Gallery (Photoshop CS2) - it's the one called "Flash - Gallery 1".

Here's a sample of it:

http://www.newrisedesigns.com/charlie/060416/

What I'm interested in, is how to do the thumbnails...when you roll over them - they move all of the other thumbnails around - and also show the name of the external jpg file.

Anyone know or have the source code to do that? What about any kind of tutorial out there that can do this?

Help please?

Gallery Tut: End Of Gallery, Making NEXT Button Disabled
Hi all,

i've been looking at the XML photogallery tutorial and was thinking, is there a way to set the PREVIOUS and NEXT buttons to be disabled/invisible on the FIRST and LAST images in the gallery respectively?

This would be fantastic if I could do it, but I can't, so I'm crying for some help now!

XML Gallery - Generate XML Path For Image Gallery
I learned from great tutorial of kirupa .
I tried to create own image gallery, now I stay in front of problem.
How can I generate path for my images and thumbnails for XML file.
E.g. I have 110 images paths and 110 thumbnails path.
Manually takes it lot of time , how can I make this code for XML file?


<pic>
<image>images/img/ref/img/img_001.jpg</image>
<thumbnail>images/img/ref/thm/img_001.jpg</thumbnail>
</pic>

next node, next node,
...
last node:

<pic>
<image>images/img/ref/img/img_110.jpg</image>
<thumbnail>images/img/ref/thm/img_110.jpg</thumbnail>
</pic>

Product Gallery, Image Gallery Or Portfolio..
Hi! This is probably insanely much to ask for but I do it anyway This is for us designers that want to learn some action script to help us show some xml driven data in our flash projects.

I’ve been searching the web for tutorials that can help me with a specific project that I want to develop. I’ve found a bounce of things that is close to what I’m looking for but not right on the spot. And I think that there are many out there that are looking for the same tutorial as I am. For me the best way to learn is to deconstruct example files with code hints. So if any of you flash gurus out there could help us with an example .Fla for this project I think many would be very happy!

The project:
I want to create a gallery of “what ever”. It could be a product gallery, image gallery or a portfolio. This can be used for many things. I’ve attached an image (template.jpg) that pretty much explains what I’m looking for. I also included an example of how the xml file could look like.

I think this could be an excellent example for many designers/developers that are new to dealing with xml, images and flash.

Thumbnail Gallery Tutorial - Gallery Within Movieclip
I've taken the Adding Thumbnail tutorial http://www.kirupa.com/developer/mx2004/thumbnails.htm and it works perfect. However when I play the photogallery swf file within a movie clip (playing as externail swf from main timeline) and the gallery pulls up. The links work and all is good. All until I try and scroll to more thumbnail files. It's now scrolling. Scrolls fine when swf played indendently.

This couldn't have come a worse time as my finals are due in hours.

Please help if you can.

Thanks

Populate The Multi-Gallery Ver. Of Josh's Gallery From A Db?
I'm getting a little lost in all the technologies available. I would like to have the actual buttons for the multi-gallery version of Josh's gallery (it's in his original post, about half way though) to be populated by my db, for the 'entire site' version of a photographer's homesite I am building, to be available for all when it's done (i.e., it will be entirely open source and free). I have a LOT to learn. For now, I have a db, and also within the original post, someone wrote a php script to generate the xml from a db, using PHP, which I was lucky that someone converted to ColdFusion for me. And it led me to think...is there anyway the actual gallery buttons cal be populated on the fly based on my db such that anytime the page is loaded, it reads the db and loads the proper buttons? I guess a similar approach would work...put the gallery names and id's into a db, have a script to convert the galleries into an exl file (i.e., where it currently is an 'album' node in the multi-gallery version, and read that and populate the gallery appropriately. Read the albums available from the script, and populate the buttons accordingly, is what I'm trying to say. I can show you an example of where I'm going with Josh's gallery, which has been a god-send for me (I owe this man BIG TIME) but it's, as usual, a work in progress: http://shawngibson.com/faceitphoto.c...ii/index2.html The buttons (under portfolio)...the main page is blank cuz I've no idea what she would want as an intro)...are hard-coded to the xml (you manually add them as per the original, not changed anything yet, and only thefirst 2 are coded I think), but I'd like them to be based on a db because that php script seems to offer me the chance to load the galleries themselves dynamically. It will be HOPEFULLY based on ColdFusion, but right now I can do either CF or PHP, because I can pay someone to do the conversion if necessary. I loathe PHP because I can't for the life of me make sense of it, CF is much easier to try and understand. Are any of you inclined to help with this? I am lost with the whole remoting thing. It will be an open-source project for all to have, with all proper credits when it's done. Currently, I'm using my best friend as my testing bed - it's her gallery I'm trying to build. If this is clear as mud, please let me know. Shawn

Problem Loading Thumbnails From Gallery To Gallery
Hello,

I've finally published our site (many thanks to all that helped from the forum).
I have two problems :
First: It was just brought to my attention that the site doesn't load in IE. I believe this is an html thing.

Second: I have multiple galleries that load from different points in the timeline.
But if you scroll the thumbnails in one gallery then click to another gallery. It doesn't load the thumbnails from the first thumbnail but from around the same point the last gallery was left. (I hope this makes sense).
Anyways I need the thumbnails to load at the start every time.

Any thoughts??

thanks

Gallery Tut: End Of Gallery, Making NEXT Button Disabled
Hi all,

i've been looking at the XML photogallery tutorial and was thinking, is there a way to set the PREVIOUS and NEXT buttons to be disabled/invisible on the FIRST and LAST images in the gallery respectively?

This would be fantastic if I could do it, but I can't, so I'm crying for some help now!

Converting This Photo Gallery To A Video Gallery
I have made an attempt at converting the below referenced Photo Gallery to a Video Gallery and need help with two things:

1. Have the FLVComponent call the video from an XML file
2. Move the Title from the top to the underneath the Thumbnails when the mouse hovers over

The FLA project can be downloaded from:

hxxp://members.cox.net/dgtlmik/Video_Gallery.zip

Thanks in advance!

Photo Gallery = Video Gallery?
hi
I was just wondering if it would be possible to show video files with some modifications in photo gallery?
Please post what you know...(format etc.)

Thx

LF...

Photo Gallery = Video Gallery?
hi
I was just wondering if it would be possible to show video files instead of jpgs with some modifications to XML photo gallery?
Any clue?

Thx

LF...

Project Gallery...not Just Photo Gallery
Project gallery...not just photo gallery
Hello, I'm looking for a project gallery. The projects could be for example, websites.

I want the list of projects down the left side. When you click one an image of the project pops up to the right AND below the image would be the description of the project, which pops up at the same time.

I've see photo galleries that kind of do this, but not a project gallery. Emphasis is on both the photo and description.


Any demos available or thoughts?

Thanks.

Jpeg Gallery Help: Slow Loading + Trouble With Loading Gallery Swf Into Other Swf
HI (PC MX2004)

I am using the code below to load dynamically load jpegs into the swf. I am then loading that swf into another swf using loadMovie on a button. I have two unavoidable problems. Firstly when I click a button to load the swf all I get is the 'loading' text. then I click a different button for a different swf gallery and those images work fine. Then I click back on the first button and the images. I have attached a test file to illistrate this.

Secondly with the code below, the jpegs are fine up to about 7/8 then it slows down. I need to be able to have up to 25 images in each gallery. Is it something in the code or am I better off changing to an xml gallery? Much appreciated

link to show patheticness of transitions is http://www.louisasloan.com/gallery/drawings.html




Code:
code: //on layer called var//

var totalNumPics=1;
var maxDepth=1000;
var cpicnum=0;
var xi=50;
var yi=20;
var btnWidth=25;
var path="pics/1image";
var currentpic=0;



//on layer called functions//


function fadeout() {
if (this._alpha<0) {
this.onEnterFrame = undefined;
} else {
this._alpha -= 15;
}
}
function fadein() {
if (this._alpha>95) {
this.onEnterFrame = undefined;
} else {
this._alpha += 15;
}
}
function loadNextPic() {
if (_root.cpicnum<_root.totalNumPics) {
var pic_mcl = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
trace(target+".onLoadProgress with "+bytesLoaded+" bytes of "+bytesTotal);
_root.percent = int(bytesLoaded*100/bytesTotal);
};
listener.onLoadComplete = function(target_mc:MovieClip, httpStatus:Number) {
_root.percent = "Done!";
var param = {_x:(_root.xi+_root.cpicnum*_root.btnWidth), _y:_root.yi};
var temp = _root.attachMovie("btn", "btn"+_root.cpicnum, _root.getNextHighestDepth(), param);
temp.num = _root.cpicnum+1;
if (_root.cpicnum == 0) {
_root["picHolder"+_root.cpicnum].onEnterFrame = _root.fadein;
}
_root.cpicnum++;
loadNextPic();
};
var temp = _root.attachMovie("picHolder", "picHolder"+cpicnum, maxDepth--, {_alpha:0, _x:50, _y:50});
pic_mcl.loadClip(_root.path+_root.cpicnum+".jpg", temp);
pic_mcl.addListener(listener);
}
}
loadNextPic();
// I added the below code to solve previous problem of loaded swf taking charge stage and emptying all other swfs. i am not sure if that is correct terminology but it fixed problem somehow on stage
this._lockroot = true;

XML: Add Gallery Title To V3 Gallery
Hi,

I am trying to figure out how I can load the title of each gallery from the XML file yet still retain the function of the MC.

Any help or tutorials would be great.

Right now each button says gallery. I know that I could just change the text but I am trying to keep the file dynamic.

Thanks

Ponyack

Flash Gallery? Like An Image Gallery, With Flash Files.
The title pretty much says it... I'm looking for a flash gallery for sites. Like an HTML or PHP gallery that can upload thumbnails and flash files, put them together on a page and display them like your average image gallery. Please and thanks.

How Easy Is It To Convert A Flash Gallery To An Xml Flash Gallery?
I have made a photo gallery using the newest version of flash and using AS3, however I have very little knowledge of xml and html, and am struggling to learn. How easy is it to apply xml to a normal flash gallery? What or where is the best for learning xml?

Help With Gallery..--> Example...
Hey..I am an editor for http://www.arttreats.com & I would like to add a gallery like the one here...
http://www.roborobo.com/myreality/myreality.html
..I like how the images fade into one another...
...I know some Actionscript.., but I am not very good yet..
Does anyone have any simple suggestions on how to accomplish this effect??
Thanks, Artthreat

Gallery
Can anyone help me with making a gallery that loads external jpgs and automatacally creates thumbnails so once built all i need to do is upload the pictures to my server and it works.

Thanks guys

Gallery
Does anyone know the actionscript code to make the picture gallery function like this? http://www.ponygirl71.com/flash.html . I like the way the box moves into the shape and size of the pictures it is displaying .. any help would be grateful!!

Thanks

Gallery
My question is probably obvious for all the experts out there.
I try to send photos or images in a specific window on my movie clicking buttons. I can't find the way to do it ???

My model is this site (featured here as one of the best in August 2003). On the page "company" a series of photos show up on mouse fly over. (furthermore random...but that's not my immediate problem)

http://www.periscope.com/flash/main.asp

Mispe (London)

Gallery Example
I want to make some sort of picture gallery for my site. Could someone point me in the right direction ? Ideally, i would have around 10 thumbnails on a sliding menu and then a holder for the full size pic after the thumbnail is clicked on. I know this is beyond me right now but if someone could point me to an example script or tutorial I might be able to work this out for myself. I have already done a search on this site but there does'en't seem to be any finished versions.
Your help is greatly appreciated

Greg

Gallery
I am trying to create a seamless scrolling pic gallery but have run into problems. What happens is the first instance scrolls and when it reaches the desired point it duplicates itself but the first instance just stops on stage, does not continue scrolling. All functions for the initial clip are gone once the new clip is created.

Below is the script I am using:
/*scrol1 is the starting clip on stage // holder is the clip i load the pics into*/

i = 1;
function slide() {
_root["scrol"+i]._x -= 20;
updateAfterEvent();
}
_root["scrol"+i].onRollOver = function() {
hold = true;
};
_root["scrol"+i].onRollOut = function() {
hold = false;
};
if (hold) {
} else {
slide();
}
_root["scrol"+i].onMouseUp = function() {
if (_root["scrol"+i]._xmouse>0 && _root["scrol"+i]._xmouse<80) {
_root.holder.attachMovie("pic1", "pic1", 1);
}
if (_root["scrol"+i]._xmouse>80 && _root["scrol"+i]._xmouse<160) {
_root.holder.attachMovie("pic2", "pic2", 1);
}
if (_root["scrol"+i]._xmouse>160 && _root["scrol"+i]._xmouse<240) {
_root.holder.attachMovie("pic3", "pic3", 1);
}
if (_root["scrol"+i]._xmouse>240 && _root["scrol"+i]._xmouse<320) {
_root.holder.attachMovie("pic4", "pic4", 1);
}
if (_root["scrol"+i]._xmouse>320 && _root["scrol"+i]._xmouse<400) {
_root.holder.attachMovie("pic5", "pic5", 1);
}
if (_root["scrol"+i]._xmouse>400 && _root["scrol"+i]._xmouse<480) {
_root.holder.attachMovie("pic6", "pic6", 1);
}
if (_root["scrol"+i]._xmouse>480 && _root["scrol"+i]._xmouse<560) {
_root.holder.attachMovie("pic7", "pic7", 1);
}
if (_root["scrol"+i]._xmouse>560 && _root["scrol"+i]._xmouse<640) {
_root.holder.attachMovie("pic8", "pic8", 1);
}
if (_root["scrol"+i]._xmouse>640 && _root["scrol"+i]._xmouse<720) {
_root.holder.attachMovie("pic9", "pic9", 1);
}
if (_root["scrol"+i]._xmouse>720 && _root["scrol"+i]._xmouse<800) {
_root.holder.attachMovie("pic10", "pic10", 1);
}
};
if (_root["scrol"+i]._x<=-100) {
_root["scrol"+i].duplicateMovieClip(["scrol"+i]);
_root["scrol"+i]._x = 700;
_root["scrol"+i]._y = 320;
i++;
}



Thanks Much!!!

Help Gallery
Hi guys, I hope that somebody help me.

Could somebody explain to me how can I make a gallery/slide show where I can load different images and at the same time create a menu of those photos as those got loaded. I hope that make any sense, you can see an example of what I'm saying at the gallery of: Image Dive and
cnn
Thank you!

Gallery
Good Day All!
I came across this button setup:

http://www.joshuadavis.com/

I am actually looking to find out about the buttons in the main window.

Page: 1 2 3 4

I am curious to figure out how they made the movie play forward or backward depending on the button pressed. Did they us IF and Else statements? I am fairly new and would love to learn how to do this. Any direction would be appreciated.

Thanks

Gallery Help
Hi there!

I'm building a gallery that loads jpg's dynamically. So far so good. My problem are the transitions between the images.
I'd really like them to change using a tint effect to get the highlights in hte images before it "tints" to white and the next image tints from white to normal...
I haven't been able to find anything on scripting a tint dynamically to use as transition in a gallery.

I'd really appreciate any help that could at least guide me in the general direction. Scripting is not really my strongest side, so my guess would be some sort of prototype perhaps?...

Gallery Help
Hi,

I have a photo gallery that I created a while back, that I want to make more dynamic. I want it to be able to read from a txt file the number of images and then load and play them.

I have been trying to do this for the last few weeks but as I'm not very good at scripting I keep tying myself up on knots.

Would someone mind having a look at the attached gallery and point me in the right direction.


thanks

Paulo

Gallery Help
Hi does anyone know any good tutorials to make a gallery .

Thanks

Gallery Help Please
Hi
does anyone know of a real good flash gallery that i can use on my site?
It MUST be customizable ?
I don't mind following tutorials to make it.
Im just having no luck finding one that is suitable.
I want to have thumbnails that when clicked show large image and then possibly when the large image is clicked it opens an even bigger one in a new window. (but not essential)

thanks !!!!!!!

Gallery Help
K I asked some of these questions before though I couldn't figure out how to make these images on these buttons fade out after they fade in on a rollover rollout. I also want to do a slide show through all the pics if the mouse isn't over the buttons and when you rollover one of the pics the slideshow stops and the pic of the button comes up. Also after the mouse rollout of the button the slideshow starts up again. One more thing I am also trying to figure out the way to have a little sound button in the page where you click to start and stop it.

It's alot to ask and I feel bad for it. Though I thank who ever helps me with all the thx in the world.

Gallery Like This 1...
The gallery on this site is great and perfect for what i want to do with my site but can't find any script that produces the same thing like it to download anywhere!

http://www.billytalent.com/bt_flash.html

Check it out and let us no if u no of one you've seen that i can download like it.

+ the site is pretty cool aswell.

Cheers.

XML Gallery
Hi there,

I'm just starting to create an xml gallery that loads into a swf. Hopefully when it's finished it will load however many thumbnail images listed in the xml file into the gallery swf. Does anyone know of a tutorial that could help me? I've not had much luck finding the type of gallery i'm looking to make that will be able to edit the number of images in the gallery from the xml file.

Thanks all,
Jon

XML Gallery Within An MC
I am using FMX (not 2004).
I have been trying to create a gallery which uploads pictures into an MC via an XML script, and found this helpful file in the Movies section. The problem is that I need the whole thing to be within an MC on the main stage, rather than created in the timeline. The link to the movie is:

http://www.flashkit.com/movies/Scrip...0203/index.php

I think I need to change the _root hierarchy somewhere here (Frame14 on timeline), but I am not sure where. If anyone has any ideas about how I can transfer the whole process into an MC and actually get the pictures to appear, please let me know.

Cheers
Boxx42

//Frame 14 actionscript
function getLabel(_arg1) {
return (baseNode.childNodes[_arg1].childNodes[0].firstChild.nodeValue);
}
function getLink(_arg1) {
return (baseNode.childNodes[_arg1].childNodes[1].firstChild.nodeValue);
}
function getWidth(_arg1) {
return (baseNode.childNodes[_arg1].childNodes[2].firstChild.nodeValue);
}
function getHeight(_arg1) {
return (baseNode.childNodes[_arg1].childNodes[3].firstChild.nodeValue);
}
function getPic(_arg1) {
return (baseNode.childNodes[_arg1].childNodes[4].firstChild.nodeValue);
}
function alphaIn(_arg1) {
if (_arg1.txt.txt._currentframe<9) {
_arg1.txt.txt.play();
}
}
function alphaOut(_arg1) {
_arg1.txt.txt.gotoAndStop(1);
}
function launchProject(_arg1) {
myURL = new String(("'popup"+_arg1.launchURL)+"'");
myHeight = new String(("'height="+_arg1.launchHeight)+"");
myWidth = new String(("width="+_arg1.launchWidth)+"");
getURL((((("javascriptpenNewWindow("+myURL)+",'H MX',")+myHeight)+myWidth)+"toolbar=no,scrollbars=n o')");
}
baseNode = featXML.firstChild;
var child = baseNode.firstChild;
while (child != null) {
numItems++;
child = child.nextSibling;
}
this.createEmptyMovieClip("featuredProjects", 1);
featuredProjects._y = 6;
featuredProjects._visible = false;
i = 0;
while (i<numItems) {
featuredProjects.attachMovie("thumb", "thumb"+i, i);
myN = eval("featuredProjects.thumb"+i);
myN.hitArea = myN.hA;
myN.createEmptyMovieClip("pic", 1);
myN.createEmptyMovieClip("txt", 2);
myN.txt._y = -5;
myN.hA._visible = false;
myN.attachMovie("thumbLabel", "thumbLabel", 2);
myN.thumbLabel.txt = getLabel(i);
myN.thumbLabel._y = -33;
myN.thumbLabel._alpha = 0;
myPic = getPic(i);
myLabel = getLabel(i);
myN.pic.loadMovie("images/"+myPic, 1);
myN.txt.attachMovie("txt", "txt", 2);
myN.txt.txt.txt = myLabel;
myN.launchURL = getLink(i);
myN.launchWidth = getWidth(i);
myN.launchHeight = getHeight(i);
myN.onPress = function() {
};
i++;
}

Gallery
Alright Guys,
I know this is probably been asked loadsa times but i've never been able to find an answer. Basically im creating a web site for contracting (buildings) firm and they want to show photos of their work so im thinking a gallery should do the trick. The only difference is that if they wanted to add more photos after the site has been created i would have to open the original .fla file and edit and re-compile so im thinking flash could load the images dynamically. Well i got this working fine on my computer but since the images were on the same computer which was running the flash file in the first place there next to no loading time of the jpegs and so latency was noticed. When i uploaded them to a website and tested it...big problems and the gallery would have to loop a couple of times in order for all the images to be loaded into flash's/browser's cache. So i've had to come up with a preloader. The simplist thing i came up with is simply on frame run, it loads the jpegs into flash and then unloads them (since the jpegs are stored in flash's cache or the browsers cache the next time i call them to be loaded they take no time). No so simple as i'd thought...take a gander at what i've got:

Code:
stop();
var gallerylistingXML:XML = new XML();
gallerylistingXML.ignoreWhite = true;
gallerylistingXML.onLoad = function() {
for (var i = 0; i<gallerylistingXML.firstChild.childNodes.length; ++i) {
var loaded:Boolean = false;
var tempurl:String;
temparray = new Array();
temparray[i] = new Object();
temparray[i].data = gallerylistingXML.firstChild.childNodes[i].attributes.URL;
tempurl = temparray[i].data;
trace(tempurl);
loadMovie(tempurl, "placeholder_mc");
unloadMovie("placeholder_mc");
trace(gallerylistingXML.firstChild.childNodes.length);
while (loaded == false) {
trace("complete");
var loadedbytes:Number = placeholder_mc.getBytesLoaded();
var totalbytes:Number = placeholder_mc.getBytesTotal();
if (loadedbytes == totalbytes) {
loaded = true;
preloader_tb.text = tempurl+" loaded";
}
}
}
};
gallerylistingXML.load("gallerylisting.xml");
-the gallery gets the list of pictures from an XML file and loads it into an array where each location in the array is accessed in turn to load the URL of the photo.

Gallery
can anybody help me find out how they did the gallery on this website?
http://www.silvestrorugolo.com/

i want to know how he does the loades in the jpgs and fades them in. and hes makes them reversed with a black tint and a black line that separates it. i also need to find out how he does the thumbnails and the slideshow.

can anyone please help me out?

thanks!
austin

Gallery Help
Hello,
Im trying to recreate a gallery such as the one seen on:

http://www.jessica-johnston.com/

When you choose a gallery, my first obstacle seems to be that I cannot load the gallery as an external movie since the flash movie moves as it is loading.

Any ideas on how this one was done?

Thanks
Jesse

Gallery
Got in a bit deep,

am palying around with a gallery that I down loaded from the kit and I am trying to make it show a large image on entering. The gallery is all action script.

here is the code.



any help would be a great help

cheers

tim

Gallery Help
I am attempting to put together a web photo gallery. I have created thumbnails and I want the image to display in the viewing window when I rollover the thumbnail. You can see an example of what I am attempting to make at:
http://www.morganhawaii.com/hawaii-w...otography.html

I am not sure whether I should turn the thumbnails into rollover buttons and show all of my work on the main timeline or if I should create movie clips. I have a rudimentary knowledge of flash but at this point I am just guessing my way through. Help!

Thanks,
Miche

Please Help With Gallery
I need to make the first image appear
when you enter the gallery.

the rest of the gallery works fine it's just making the first image open on enter frame

cheers

tim

Gallery Help
Hi folks need help with a gallery I'm using.
created a gallery and it works fine as stand alone movie ( or built in
a bigger movie).
http://www.dezineasite.co.uk/test/scrolling1.html

The trouble comes when I try to load it in to another movie.
http://www.dezineasite.co.uk/test/test1.html
the scrolling movie does not work properly (or it does, just not the
way I want it to).

I'm using the following code to load the gallery:
loadMovie("scrolling1.swf", "loader_mc");
works fine

I think I have to change this bit of code:

_root.onEnterFrame = function () {
this.buttons_mc._x = (-587/360 * _root._xmouse) +13;

To what though that is the question?


Here is the full code:

bigpic_ldr.contentPath = "standard.jpg";

_root.onEnterFrame = function () {
this.buttons_mc._x = (-587/360 * _root._xmouse) +13;
}

buttons_mc.standard_btn.onRelease =function () {
bigpic_ldr.contentPath = "standard.jpg";
}
buttons_mc.firg3_btn.onRelease = function () {
bigpic_ldr.contentPath = "fig3.jpg";
}

buttons_mc.back_btn.onRelease = function () {
bigpic_ldr.contentPath = "back.jpg";
}
buttons_mc.goodback_btn.onRelease = function () {
bigpic_ldr.contentPath = "goodback.jpg";
}
buttons_mc.fig1_btn.onRelease = function () {
bigpic_ldr.contentPath = "fig1.jpg";
}
buttons_mc.jaws_btn.onRelease =function () {
bigpic_ldr.contentPath = "jaws.jpg";
}
buttons_mc.fig4_btn.onRelease = function () {
bigpic_ldr.contentPath = "fig4.jpg";
}
buttons_mc.front1_btn.onRelease = function () {
bigpic_ldr.contentPath = "front1.jpg";
}
buttons_mc.front2_btn.onRelease = function () {
bigpic_ldr.contentPath = "front2.jpg";
}
buttons_mc.rearside_btn.onRelease = function () {
bigpic_ldr.contentPath = "rearside.jpg";
}
buttons_mc.rearback_btn.onRelease = function () {
bigpic_ldr.contentPath = "rearback.jpg";
}


Thanks in advance
Dai

Gallery
Hello all. I am attempting to create a photo gallery. This is my actionscript:

frame11:
cmc= 1;
nmc= 1;

frame12:
tmc = "pix/tn"+nmc+".jpg";
imc = "mc"+cmc;
loadMovie(tmc, imc);

frame13:
if (cmc >= 3) {
gotoAndPlay(14);
};
;
cmc=cmc+1;
gotoAndPlay(12);

frame14:
stop();

There are MC's on the stage with the naming conventions "mc1", "mc2", etc. My problem is that right now "tn1.jpg" loads into every movie clip, instead of loading "tn2.jpg" into "mc2" and so forth. I have used trace and the numbers are advancing appropriately & sequentially. I'm stumped, can anyone assist? Thank you.

Web Gallery
trying to create a web galllery.....any tutorial suggestions??

Need Gallery
Hello
I need a gallery like: http://www.creation3d.org/galerie_dynamique/#en

It's very important that it's dynamic and that the pictures dont need to be included in the .fla file.
I hope somebody can send a .fla file or a link to one so that i can make this gallery.

I hope it vere the right forum to ask!

Thx!

Gallery Help [MX]
Hello all, I'm new to this forum. I have been tinkering with DreamWeaver and Flash for some time now. Was wondering if someone could point me in the direction of info regarding the creation of photo galleries with flash. I'm looking to do something along the lines of the artist galleries on this site: http://www.funcitytattoo.com/. Any help would be greatly appreciated. Thanks!

Xml Gallery
Hi,

I really like the Simple Flash Xml Photogallery and I'm wanting to know how I
can add a preloader that loads all the images at once or that preloads each image individually using this existing code from Tutorio. Preferably loading with a percentage symbol.

Tutorio Simple Flash Xml Gallery



Code:
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.load("xmlphoto.xml");
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
numimages = this.firstChild.childNodes.length;
spacing = 70;
for (i=0; i<numimages; i++) {
this.picHolder = this.firstChild.childNodes[i];
this.thumbHolder = thumbnails.createEmptyMovieClip("thumbnail"+i, i);
this.thumbHolder._x = i*spacing;
this.thumbLoader = this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
this.thumbHolder.title = this.picHolder.attributes.title;
this.thumbHolder.main = this.picHolder.attributes.main;
this.thumbHolder.onRelease = function() {
loader.loadMovie(this.main);
title_txt.text = this.title;
};
}
};





thanks in advanced.


W123.

Gallery Help
Hi, I'm Melinda and i'm literally just new to this site.

I'm hoping that somebody could help me out regarding a flash template i have.
I'm not too technical, but I will try my best.

I have a picture gallery.

There are 10 small pictures to the right, (it's a movie button). Lets call the small gallery, "Gal 1" When clicked on each one, it brings up a large picture which is too the left. Lets call this movie "Pic_Big"

There is a 'Next' button

When I press this button it's the same layout but brings up 10 more small pictures, where i have added different images. Lets call this "Gall 2"

My big problem is that when i've clicked the next button and I am in the "Gall 2", after I press one of the small pictures to display the bigger picture it only shows the big pictures from "Gall 1". So i have 20 photo's but the big only shows the first 10.

I'm sure it's an easy solution, but it is driving me crazy!

I know i have given a very basic outline, if you need more information please let me know.

THANK YOU!!! and desperatly waiting for a reply...

Melinda

Need A Gallery Like This....
hi guys,
im looking at making (or preferably finding a free .fla file around that will do it for me?) a gallery for a site im doing that works like the digram attatched to this thread. I'm VERY new to flash...

If any one could help with this it would be much appreciated. Any more details you need, just ask me?
cheers,
Josh
SATRAH

Copyright © 2005-08 www.BigResource.com, All rights reserved