Rotating Gallery
I just built this to help someone in the MX 2004 forum, and impressed myself a little so I thought I'd post it here:
http://jsites.no-ip.com/Flash/exp/ro...ng preview.swf http://jsites.no-ip.com/Flash/exp/ro...ng preview.fla http://jsites.no-ip.com/Flash/exp/ro...ng preview.zip
The images are all under 100 kb, but they seem to lag the movie a little during loading
Just click the thumbnails
KirupaForum > Talk > Source/Experiments
Posted on: 03-12-2005, 09:13 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Rotating Gallery
I'm working on a rotating gallery and I want to have it spin continuosly until I click on one of the photos. I currently have the clicking working but haven't figured out yet how to get it to spin continuosly.
Please take a look at the code and see if you have any ideas.
Thanks,
Saveth
http://www.piitb.com/spin3.zip
Rotating Gallery?
hey guys,
I want to create a gallery with a preview image in the middle..
and thumbnails creating a circle aroudn the preview. IE click a thumbnail shows the preview..
What I want the circle of thumbs to do is rotate so the current preview thumbs is at the top..
any ideas? hints? suggestions?
cheers
vamps
Rotating Gallery
hey guys,
I want to create a gallery with a preview image in the middle..
and thumbnails creating a circle around the preview. IE click a thumbnail shows the preview..
What I want the circle of thumbs to do is rotate so the current preview thumbs is at the top..
any ideas? hints? suggestions?fla files please
cheers
Eric
Rotating Gallery
Hey guys,
I want to create a gallery with a preview image in the middle..
and thumbnails creating a circle around the preview. IE click a thumbnail shows the preview..
What I want the circle of thumbs to do is rotate so the current preview thumbs is at the top..
any ideas? hints? suggestions?
cheers
Eric
Rotating Gallery
I'm working on a rotating gallery and I want to have it spin continuosly until I click on one of the photos. I currently have the clicking working but haven't figured out yet how to get it to spin continuosly.
Please take a look at the code and see if you have any ideas.
Thanks,
Saveth
http://www.piitb.com/spin3.zip
Rotating Gallery?
hey guys,
I want to create a gallery with a preview image in the middle..
and thumbnails creating a circle aroudn the preview. IE click a thumbnail shows the preview..
What I want the circle of thumbs to do is rotate so the current preview thumbs is at the top..
any ideas? hints? suggestions?
cheers
vamps
Rotating Gallery
I just built this to help someone in the MX 2004 forum, and impressed myself a little so I thought I'd post it here:
http://jsites.no-ip.com/Flash/exp/ro...ng preview.swf
http://jsites.no-ip.com/Flash/exp/ro...ng preview.fla
http://jsites.no-ip.com/Flash/exp/ro...ng preview.zip
The images are all under 100 kb, but they seem to lag the movie a little during loading
Just click the thumbnails
Rotating Photo Gallery
Hi
Can anyone give me some tips or pointers to a tutorial that would show me how to create a rotating photo gallery like the one found at http://www.zekemccabe.com/ in the Portfolio section of the site.
Many Thanks
PK
Rotating Gallery Effect
Hi Teoma,
i would like to create a rotating gallery,
as in
http://www.anfyflash.com/gallery/rotatinggallery/
(it uses a flash applet)
i downloaded the rotatinggallery.fla file from this link and
tested movie using flash mx.
However there appears a message in the movie preview
"Sorry, this Flash Applet Has Expired."
What does this message actually mean?
Does it mean that flash file is no longer usable?
Is there a way to create the rotating gallery in another
way or simpler way?
Thank You.
Rotating Picture Gallery
Hi. I searched for this but had trouble finding answers since I don't knwo the name for what I'm trying to do. Is there a tutorial I could look at? It's an effect I've seen many times before but I don't know how to do it.
I'm trying to have three pictures that are links to outside URLs (open in seperate window). I want them to look like they are in 3d a little in space, like there is one in front and two that are smaller (look further away) and maybe less alpha that look like they're behind the first one. Then when you go toward one in the background with your mouse, it rotates forward. See what I mean? Like they are attached to an invisible horizontal ring suspended in space, and it rotates to bring the one you want closer. Seems like this would be easy but I'm only a beginner...
Thanks!
Help - 3D Rotating Gallery - So Close
Hi all,
Here my attempt at creating the Kirupa's Spinning Images gallery. Grrr... I'm so damn close it somewhat works, I'm still having trouble with the rotational calculations. Can some please advise? Not sure, but I think I might be passing the wrong values from the onRelease to the enterFrame loop? Any comments or suggestions are always greatly appreciated, thanks.
spin3a.fla
//
var world:Array = [];
var rotate = 0;
var fl = 1000;
var clip;
//
function spin()
{
for(var i = 0; i < world.length; i++)
{
var w = world[i];
rotate += (clip._x) / 4000;// WRONG VALUE?
var angle = w.angle - rotate;
var x = Math.cos(angle) * w.radius;
var y = w.y;
var z = Math.sin(angle) * w.radius;
//
var scale = fl / (fl + z);
w._x = x * scale;
w._y = y * scale;
w._xscale = w._yscale = 100 * scale;
w.swapDepths(Math.ceil(-z));
}
}
//
var thumbsAmt = 4;
var thumbCount = 0;
var step = (2 * Math.PI) / thumbsAmt;
var loadThumbs = function()
{
var th = 'th' + thumbCount;
var w = worldMc.attachMovie('thumb', th, thumbCount);
w.radius = 200;
w.angle = step * thumbCount;
w.x = Math.cos(w.angle) * w.radius;
w.y = 100;
w.z = Math.sin(w.angle) * w.radius;
w.onRelease = function()
{
rotate = this.angle; // WRONG VALUE?
clip = this;
};
w.tf.text = thumbCount;
//
world.push(w);
thumbCount++;
//
if(thumbCount == thumbsAmt)
{
clearInterval(thumbsInterval);
clip = worldMc.th0;
worldMc.onEnterFrame = spin;
}
};
//
var thumbsInterval = setInterval(loadThumbs, 0);
360 Degress Rotating Gallery
Hey guys,
Can anyone guide me or provide me references on how to go about building a 360 degrees rotating gallery like the following site at
http://www.adidas.com/campaigns/wome...in_init_08.swf > Showroom > Yoga
Any help is greatly appreciated. Hope to hear from you guys soon.
Thanks very much in advance.
Rotating Picutre Gallery
I need to create gallery of pictures that rotates (or orbits an imaginary centerpoint). Does anyone have a tip?
Gracias
MP
Rotating Gallery Problem.
Hi there.
I've been reading a tutorial about how to make a reusable preloader, that tutorial included how to make a gallery using it when you shift between the images using buttons, now this was close to what I was trying to create and make the gallery rotate between defined images, and if it was in a not random row it would be even better.
First the standard code without my interference:
Code:
bar._visible = false;
border._visible = false;
this.createEmptyMovieClip("container", "100");
my_mc = new MovieClipLoader();
preload = new Object();
my_mc.addListener(preload);
preload.onLoadStart = function(targetMC) {
trace("started loading "+targetMC);
container._visible = false;
bar._visible = true;
border._visible = true;
pText._visible = true;
};
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
bar._width = (lBytes/tBytes)*100;
pText.text = +Math.round((lBytes/tBytes)*100) + "%";
};
preload.onLoadComplete = function(targetMC) {
container._visible = true;
border._visible = false;
bar._visible = false;
pText._visible = false;
trace(targetMC+" finished");
};
//default image
my_mc.loadClip("1.jpg", "container");
ps. border, bar and pText are just instance names of stuff that is on the preloader.
now, I tried a bit myself(not being a expert in any way) and came up with this:
Code:
billeder = newArray("1.jpg", "2.jpg", "3.jpg", "4.jpg");
function change() {
my_mc.loadClip(billeder[math.Random(0-3)], "container");
}
myTimer = setInterval(change, 3000);
(I'm aware that i putted a math.Random(0-3) in the array thingy, just to see if it worked), but it won't work as intended, I tried putted "" around the billeder[math.Random(0-3)] and then errors popped up saying that the image of some wierd destination ending with "billeder[math.Random(0-3)]" couldn't be found, so it proves it runs every 3000 ms.
Now I'm asking you guys, do you have any tutorials, or could you add to/edit my code so I could make it work?
Thanks in advance :)
Casper Thomsen.
How To Create Rotating Gallery Effect?
Hi,
i would like to create a rotating gallery,
as in
http://www.anfyflash.com/gallery/rotatinggallery/
(it uses a flash applet)
i downloaded the rotatinggallery.fla file from this link and
tested movie using flash mx.
However there appears a message in the movie preview
"Sorry, this Flash Applet Has Expired."
What does this message mean?
Is flash file is no longer usable?
Would there a way to create the rotating gallery in another
way or simpler way?
Thank You.
Creating Rotating Gallery Effect?
Hi,
i would like to create a rotating gallery,
as in
http://www.anfyflash.com/gallery/rotatinggallery/
(it uses a flash applet)
i downloaded the rotatinggallery.fla file from this link and
tested movie using flash mx.
However there appears a message in the movie preview
"Sorry, this Flash Applet Has Expired."
What does this message mean?
Is flash file is no longer usable?
Would there a way to create the rotating gallery in another
way or simpler way?
Thank You.
Move Forward Rotating Gallery
I'm looking for a way to move an item when clicked on to the closest position with easing
An example of the code I'm working on can be found here http://www.kirupa.com/developer/acti...ra_panning.htm
here is my current code
Code:
this.createEmptyMovieClip("theScene", 1);
theScene._x = Stage.width/2;
theScene._y = Stage.height/2;
objectsInScene = new Array();
focalLength = 780;
spin = 0;
//TRANSFORM
displayPane = function () {
var angle = this.angle+spin;
var x = Math.cos(angle)*this.radius;
var z = Math.sin(angle)*this.radius;
var y = this.y;
var scaleRatio = focalLength/(focalLength-z);
this._x = x*scaleRatio;
this._y = y*scaleRatio;
// SIZE OF PANELS
this._xscale = this._yscale=((100*scaleRatio)/2);
this._xscale *= Math.sin(angle);
this.swapDepths(Math.round(+z));
};
//PLACEMENT
angleStep = 2*Math.PI/6;
for (i=0; i<6; i++) {
attachedObj = theScene.attachMovie("pane", "pane"+i, i);
attachedObj.angle = angleStep*i;
attachedObj.radius = 300;
attachedObj.x = Math.cos(attachedObj.angle)*attachedObj.radius;
attachedObj.z = Math.sin(attachedObj.angle)*attachedObj.radius;
attachedObj.y = 40;
attachedObj.display = displayPane;
objectsInScene.push(attachedObj);
}
panCamera = function () {
spin -= this._xmouse/20000;
for (var i = 0; i<objectsInScene.length; i++) {
objectsInScene[i].display();
}
};
theScene.onEnterFrame = function() {
panCamera();
};
Thanks for any help you can provide,
saveth
Image Gallery Rotating In 3D Space
Hi everyone,
I am designing an image gallery to show project screenshots for a portfolio. The horizontally scrolling screenshots technique is nice, but I want to do something similar in 3D space.
When the user clicks on the screenshot buttons for the selected project, I want the appropriate image to rotate around an imaginary center, increase in scale, and fade in to full opacity.
At the same time, the other images need to rotate around the same center point and scale down while the alpha decreases. The Screenshot furthest away from the viewer would have the smallest size and lowest alpha setting.
Here's a couple things that might throw a wrench into the works. I need to keep all the images facing forward (instead of rotating as if they were on a cyllinder). Also, not all of my projects have the same number of screenshots. Can I do all this with actionscript?
I've attatched a sample of what the gallery should look like.
Thanks to anyone who can help.
Image Gallery Rotating In 3D Space
Hi everyone,
I am designing an image gallery to show project screenshots for a portfolio. The horizontally scrolling screenshots technique is nice, but I want to do something similar in 3D space.
When the user clicks on the screenshot buttons for the selected project, I want the appropriate image to rotate around an imaginary center, increase in scale, and fade in to full opacity.
At the same time, the other images need to rotate around the same center point and scale down while the alpha decreases. The Screenshot furthest away from the viewer would have the smallest size and lowest alpha setting.
Here's a couple things that might throw a wrench into the works. I need to keep all the images facing forward (instead of rotating as if they were on a cyllinder). Also, not all of my projects have the same number of screenshots. Can I do all this with actionscript?
I've attatched a sample of what the gallery should look like.
Thanks to anyone who can help.
Rotating Pointer-sensitive Gallery In Flash?
OK i found one of these somewhere and i wanted to do something like it on a site i'm working on here...i'd post the link to the example but it doesn't appear to be up anymore...so i did a rough mockup in photoshop of what it looks like...it's attached here...
What i wanna do is make it like one of those slide-galleries, but this one rotates and it's the site navbar.
As the user would move their mouse to the image, the nav-"wheel" would stop spinning.
Moving the mouse up would make it spin "upward" (counter-clockwise). It would spin faster when the mouse moves further upward on the arrow.
Moving the mouse back to center would slow the spinning to a stop, of course...
And moving the mouse down would gradually increase the spinning in the other direction...you know what i mean...
I did a search on this site and didn't find any suitable FLA's, so please don't tell me to go there, as i didn't find anything. Searching the forums didn't do much good, either.
I've got no idea how to do this myself and i need some help; we're kinda under the gun here time-wise...thanx
Edit: It doesn't appear the attachment took, so i post a link to it instead:
http://www.tscdesigns.com/jayar/folio.jpg
Cool 3D Rotating Picture Gallery Effect
As seen on this site:
http://www.gringo.nu/
Where the video clips/pictures are rotating around the individual.
I've seen a similar effect on other sites, and have been trying to find a tutorial, but can't.
Would someone here be able to help me create this effect?
I would class myself as an intermediate Flash developer.
Thanks,
lllsynthtaxlll
Rotating Boxes-non-rotating Box/text
i have a rotating menu(boxes in circular motion). when a box is rolled over, all stop, but the text box that should appear in the middle between them, is not appearing where it should. it seems to be following the animation of its parent box.....any ideas?
jas
Moon Rotating Around Rotating Earth
I've got my earth revolving around the sun. I can't get the moon to revolve around the earth while it is revolving around the sun. Has anyone done this before, or is willing to help out?
Thanks
Rotating Menu With Non-Rotating Labels
I have a rotating menu that sets the selected button to the 3:00 position once clicked. I need the labels for the buttons to stay in the upright position as they rotate with the button. I have attached an image the help explain what I am trying to do. Anyone know of an action script that would keep the labels upright?
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.
Rotating Mc
hi, anyone knows hows how to rotate a mc in circle using an action script instead of keyframing.
Thanx Giano
Rotating
I want to rotate a basic line, not from the centre but from one end, using the mouse_drag.
I want the line to move only within a certain range of angle.
does anyone know of how this is done or can anyone direct me to a tutorial for this.
Rotating
i found a web site sunday night that had an image of a plane or somethin cant excatly remeber what it was, but there were 3-4 of the same image. it would rotate in a circular motion til the next one was in front. couldnt find it tonight. does anyone know how to do that? i want to do some hearts the same way. please help. thanx
Rotating A MC
hi.
lets say i have a graphic of a box and i set the behavior as a movie clip and gave it an instance name of 'box'
and lets say i have a two buttons on the stage...
now my question is... what is the actionscript or how do i make it so button 1, when clicked, rotates the box 45 degrees clockwise each time its clicked and button 2 would make the box rotate counter clockwise 45 degress each time it is clicked?
Rotating A MC
hi.
lets say i have a graphic of a box and i set the behavior as a movie clip and gave it an instance name of 'box'
and lets say i have a two buttons on the stage...
now my question is... what is the actionscript or how do i make it so button 1, when clicked, rotates the box 45 degrees clockwise each time its clicked and button 2 would make the box rotate counter clockwise 45 degress each time it is clicked?
using flash 5
also.. how would i make a MC 'flip' horizontally or vertically when clicking a button?
Rotating
I have created a circle and I want it to continuously rotate. I have received many suggestions about what to include in the actionscript, but none of the suggestions have worked. I am a newbie when it comes to flash, but I am completely clueless when it comes to actionscripting. If someone could help me out I would greatly appreciate it.
The object is the outline of a circle. Here is the actionscript I have so far.
actions for the frame:
function rotate (circle) {
eval(circle).rotation += 2;
}
actions for object:
onClipEvent (enterFrame) {
_root.rotate(_parent);
}
the name of the instance is "circle"
Rotating JPG
I have been asked to create a rotating JPG image that pulls the filenames from a configuration file or that can pull the image filenames from a directory. This way, the images can be changed without updating the Flash file. Any suggestions?
Rotating
Hi,
I'm working on puzzle project for my site.
I was hit on the wall when i need to rotate puzzle. I dont know how to achieve these with actionscript.
I need make option for any piece of puzzle to rotate whet user click on any edge. And then start rotate it with mouse still pressed.
CAN ANYONE HLEP ME HERE ?
regards,
dbMG
Rotating ORB
Anyone have a tutorial or know how to do the rotating orb effect in flash?
Thanks
Prophecy
|