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


Similar Posts:


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

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 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 :: 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

ActionScript 2.0 :: Figure Out Xml And Found A (old) Tute On KIRUPA?

Jan 26, 2009

i'm using FLASH8 and i've been trying to figure out xml and found a (old) tute on KIRUPA, so i'm using the xml and AS exactly. heres the tute with the simple xml/AS:[URL]..What do i need to add to the xml and the actionscript to allow formatting(using tags)?

I've found countless other tutorials stating how easy this is with cdata but each one is different and doesnt even resemble the xml/AS in the kirupa tute. i understand i need to embed fonts etc but but can't make this work. If someone could post the xml/AS code from the tute with formatting or help in any way, i would be eternally grateful as i've been on this all day with nothing to show for it.

View 1 Replies

ActionScript 2.0 :: Kirupa Slideshow - How To Center The Image

Jun 10, 2011

I am working on a flash project right now with the help of the tutorials found on this website and decided to use and modify this existing slideshow by Kirupa.

[URL]

What I did was, I resized it according to my projects demands, which is 1024x650 [URL]Everything is working perfectly except for one drawback.

Some of my images are sized 440x650. Normally, when I link that to the XML file provided, it is aligned by default to the left. My current solution was to resize the entire file into 1024x650 creating the illusion that the image is at the center because I included the seamless background on the saved jpeg.My question is this, is there any way I can center the 440x650 image to be displayed in the slideshow?

Kirupa's original code is this one:

[code].....

View 1 Replies

ActionScript 2.0 :: Get Photo Gallery Tute To Work?

Feb 18, 2003

I was able to get photo gallery tute to work. However, I want to have photo gallery (picture in dump is not going to be used, just example) on my web page under my portfolio section, when I tried this I found the movie clip moved from position when I previewed movie? What do I do? I've just started on Flash so be kind!

View 1 Replies

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 :: Image Loading Problem In Photo Slideshow Using XML And Flash?

Aug 27, 2010

Hello All,
I have made a photo slideshow following exactly the following page:[URL]..It works very fine in my local computer. But, after I uploaded the files (SWF, XML, JPGs) to server it does not work well. Some photos are loaded, some not. There is no problem in path settings in XML. All images are in the same folder. Moreover, the photos are not same which loads sometimes, sometimes not. For example, I can see that photo no. 1, 3, 5, 9 are loaded and rest are not loaded. Again, if I visit the page/slideshow after some times, photo no. 1, 4, 6, 8 are loaded, rest not.

Is there any way to force the SWF to load all the images one by one and not to skip an image.

Even, if I visit the tutorial page [URL].._slideshow.htm I can see that the example SWF file given at the starting of the tutorial is doing the same behavior as that of mine. For example, right now I can see that the slideshow in this page is stopped at the image "Boston" (image no. 8/10) and it skipped the image "Dome" (image no. 6/10). Sometimes, it will stop at another image and may be, skip another image.

View 1 Replies

ActionScript 2.0 :: Text In A Slideshow - Make A Basic Photo Slideshow With External Images

May 29, 2008

i have a question about text in a slideshow. i know how to make a basic photo slideshow with external images. but now what i want to do is add 4-5 paragraphs of text next to each photo (with possible scrolling). the text will be different on each photo.

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 3.0 :: Using Kirupa Xml Slideshow Code?

Oct 18, 2008

I am using the Kirupa XML slideshow code and making somechanges so that I can use it with my images. I can change thedocument size and movieclip size to hold my larger images(830*400). The problem is that I don't want the white borders atthe top of and on the left of the image. How do I adjust this?

View 5 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 :: 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

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 :: Adapted Kirupa Xml Slideshow Tutorial

May 9, 2007

I have adapted the kirupa xml slideshow tutorial.However I would like to create a up and down buttons that jog the thumbnails + or - 3 thumb images either way.Is this a case of creating an on (release) action that tells the slider to advance a specified distance??[code]

View 2 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'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 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 :: Make Four Buttons On The Bottom Of The Kirupa Xml Slideshow?

Nov 28, 2006

I have been trying to make four buttons on the bottom of the kirupa xml slideshow. I am trying to write a function that states on release advance to slide #? I was trying to use a similar function to:

Key.addListener(listen);
image1.onRelease = function() {
p=1 ? (p--, loadPic(p), slide=0) : null;
stop_btn._visible = 0;

[code]....

There are four images that are dynamically linked. The function is not recognizing that the image is p=1. Do I need to do something like total-3 or something.

View 1 Replies

ActionScript 2.0 :: Stopping Auto-slideshow After One Run Through (Kirupa Tutorial)?

Aug 1, 2007

I'm using the Kirupa tutorial of the xml auto slideshow. I need it to stop after it runs through all the images one time.How should I modify the code below in order to do that

delay = 3000;
//-----------------------
function loadXML(loaded) {

[code].....

View 3 Replies

ActionScript 2.0 :: Centering A Photo That Is Resizeable In Fullscreen?

Sep 24, 2009

I am having a problem centering a photo that is resizeable in fullscreen. Meaning it adapts to your monitor size. How would I keep the aspect ratio? I would not mind having black bars at the top and bottom as well.

Example is like this here:

[URL]

It may look fine if you have a normal monitor but if you have a widescreen the photo is distorted. The photo is saved as a movieclip.

View 1 Replies

ActionScript 2.0 :: Photo Gallery - Centering Images?

Apr 26, 2007

i have both vertical and horizontal pictures... The horizontal pictures work great! But what code and where would I add it if I wanted to tell Flash to center the vertical photos in the large gallery.

View 1 Replies

ActionScript 2.0 :: Stopping Auto-slideshow (kirupa Demo - ACv2)?

Jul 26, 2007

I'm using the auto slideshow with xml that you guys demo on your site (which I love BTW) -I need it to stop at the end of the last slide and the demo is set up for it to loop -It looks I need to alter the parse command but I don't know how to do that - Is there an explanation on the site of how to alter the AS so the slide show will end after it runs once through all the images?

View 2 Replies

ActionScript 2.0 :: Kirupa Xml Gallery Thumbs - Slideshow Starts Automatically - Fading

Jan 4, 2009

i have an xml driven photogallery with thumbs and the slideshow starts automatically and is cross fading and it has a next/play/pause/for buttons. Everything is fine but i don't like the way the thumbs scroller operates, it's way to mechanical and i would love to add an easing effect to it. How do i do that? this is the code of the whole gallery:

[Code]...

View 0 Replies

ActionScript 3.0 :: Flash Resizing And Centering Child Holder On Stage, After Loading External Photo?

Apr 5, 2011

im loading photos of different aspect ratios with a loader onto a child holder frame_mc. I wanted to know what AS3 commands do i need to work on to get the frame_mc to resize to the new childs dimensions and centerize itself on the main stage? (as in event listeners, functions, vars etc)

View 3 Replies







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