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


Similar Posts:


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 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 :: 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 :: 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 :: 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 :: Kirupa Photo Slideshow Tute - Centering Image?

Sep 11, 2006

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

View 2 Replies

ActionScript 2.0 :: 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 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 3.0 :: Make The External Code For The Snow Effect In Kirupa Internal?

Feb 18, 2011

i was wondering if its possible to make the external code for the snowflake effect in kirupa tutorials (AS3 version) run internally, i.e. without the need for the snowflake.as file

im trying to add the effect to my flash movie via loading the swf file.

View 2 Replies

ActionScript 3.0 :: Flash - Generate An Isometric Grid Via Code Using Kirupa's Tutorial

Apr 8, 2011

I'm trying to generate an isometric grid via code using kirupa's tutorial but it's not quite working correctly as I'm trying to convert it. I am trying to generate a 5 x 5 grid with a unique coordinate to each square, but I can only get a row to form with the coordinates showing x = 5 and y = 5 for each square of the single row. There is also an unclickable square in the corner. Here is my code:

[Code]...

View 2 Replies

ActionScript 3.0 :: Vertical Shooter Game On Kirupa Site - Code Error Of If SpriteX -= Steps;?

Dec 21, 2011

I'm trying to work through the Vertical Shooter Game within the tutorials section of this site:[URL]I noticed an code error of if spriteX -= steps; (which should have been += steps)However there are further errors within the tutorial as on page 3 where the man should be able to move and shoot his arrows, mine just shoots his arrows and has stopped moving. I'm using CS5 ActionScript3 to do this tutorial.

//---- variables ----
var steps:Number = 5;
var spriteX:Number = 265;
var spriteY:Number = 265;

[code]....

View 2 Replies

ActionScript 1/2 :: Code To Insert To Loop Slideshow?

Aug 4, 2010

i have a slidehsow and my code is as follows"waitSec = 5;setInterval(Timer, waitSec*500);//function Timer() {gotoAndPlay(nextFrame()); }stop();"it has 5 frames as i have 4 pictures in my slideshow.but i need to loop it so it can go back to frame 1 in my slideshow after frame 4also when i click on a button on my slideshow it will go to that image but then instantly go to the nexct image and then carry on as normal why ndoes it do that?

View 10 Replies

ActionScript 3.0 :: Creating Code For A Slideshow With Movie Clips?

Oct 2, 2009

I am trying to create a simple 6 frame flashplayer type object, and I want a movie clip in each frame. So frame 1 has movieclip1 and frame to has movieclip2 and so on. I have a forward and a back button so if you are watching movieclip1 you can hit forward and watch movieclip2.This is the code that I have on my actions layer...

stop();
forward_btn.addEventListener(event:MouseEvent.CLIC K,forward)
back_btn.addEventListener(event:MouseEvent.CLICK,b ackward)

[code].....

View 3 Replies

ActionScript 2.0 :: Repeating Code - Use If / Else And SetInterval Statements On The Cross Fade Slideshow

May 9, 2008

how to use if/else and setInterval statements on the cross fade slideshow. I am trying to edit the code to have the xml slideshow loop back to the first image and play continuously. I am ok following existing code, not great at writing/editing my own. I thought I needed to work within the nextImage function, and add a slideshow (); function. I haven't been able to get it right. Here is the code minus the xml loading part:

[Code]...

View 1 Replies

Flash 9 :: Xml Slideshow Fade In And Fade Out Assistance (code Supplied)?

Oct 14, 2008

I'm working with the following code, and want to have my slideshow images fade into each other. At the moment, the picture before, after it's reached its delay setting, just switches off and the next one fades in, meaning the background displays (which isn't desirable)

CODE BEGINS ------------------------------------------------------
delay = 4000;
//-----------------------

[code].....

View 4 Replies

ActionScript 2.0 :: Incorporate In A Xml Based Slideshow(slideshow.zip) To Show Image Loading Process?

Feb 6, 2008

I have created a pie preloader(preloader.zip) which is working fine. Same preloader I am trying to incorporate in a xml based slideshow(slideshow.zip) to show image loading process but some how I got stuck. I am new to flash. Suggestions are welcome.

1. How to solve the problem of preloader2. Is it possible to integrate everything in a movie clip (including AS). I mean no AS on main time line but inside the movie clip. It would be much easier then to to create multiple slideshows by duplicating mc and changing the xml file.

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

ActionScript 2.0 :: Tut Kirupa Or Other On Controlling One Swf From Another

Feb 1, 2004

I've done the search on tuts.Is there a tut kirupa or other on controlling one swf from another.so clsic example having a loaded playback bar then loading vid or mucis and the universal playback bar can control it.

View 3 Replies

ActionScript 2.0 :: Kirupa Thumbnail Gallery?

Aug 26, 2005

but is there a way to make the thumbnails like, grid form, like in the examplerather than scroller? because i dont really like the scroller, and im not sure how to set them to grid

View 3 Replies

IDE :: Kirupa Xml Flash Photo Gallery

Mar 30, 2006

I am having problems formatting the XML Flash photo gallery. I can't seem to get the photos to center on the page. Some of my photos are vertical and others horizontal, and they are all pushed to the left. I don't want to make all the photos the same width. Is there any way to use css to style the xml? Or is there some other way to do it? Url...Also, if anyone notices any other problems with the gallery,please let me know. This is only the second thing I've done in Flash, and I may have made some mistakes when I changed things.

View 14 Replies

ActionScript 2.0 :: EF EX On Kirupa Home Page?

Apr 11, 2006

There is always really cool special fx on the kirupa home page banner. But I can never find out where I can find FLA's with them. Can someone give me a link to where I might be able to find them...If not. This would be a perfect place to put banner ef ex. So post them if you have them!

View 4 Replies

ActionScript 2.0 :: Modifying A Kirupa Tutorial

Jun 21, 2006

modify this tutorial ([URL]) so that it does this: one of the external swf's has a button in it that loads another external swf in a different area of the stage, so now there would be 2 external swf's displayed on stage. Then, when one of the main buttons is clicked, the exit animation of the 2nd swf is played, then the exit animation of the 1st swf is played, then the new external swf is loaded in the same spot that the 1st one was.

View 2 Replies

ActionScript 2.0 :: Kirupa's PHP Socket Tutorial?

Oct 6, 2006

Will this tutorial work on servers like this? I read through the tutorial and the author links to his own socket server. Do we have to pay big bucks for our own socket server or can a regular cheap host's server be converted to one?

View 9 Replies

ActionScript 2.0 :: Extending Kirupa's XML Menu?

May 30, 2007

Alright, I've been tasked to build a menu system similar to the one on 2Advanced V5. I know, I know, don't mess with copying peoples' stuff, but my arm's being twisted to do so, by the management. I've started with Kirupa's XML menu, modified the XML to my liking, and have added some sliding code in there. I'm having a hard time with1. Getting the sliding code to interact with the submenus.2. I've got no idea how to adjust the submenus so they don't scroll too fast or too slow.EDIT: All I need is for each submenu to be scrollable, and not scroll too fast, based on how many buttons are in there. XML source can be set to the XML example in Kirupa's tutorials.The FLA is attached, and here's the Actionscript:

Code:
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu

[code]....

View 7 Replies

ActionScript 2.0 :: Using Preloader With Percentage From The Kirupa Tut?

Jun 22, 2003

Using this preloader w/percentage from the kirupa tut.

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;

[code]....

I'm having trouble calculating the getBytesTotal method to return less that the total. In other words, I'd like to start the movie before it has fully loaded. Lets say, 75% loaded then gotoAndPlay.

View 3 Replies

ActionScript 2.0 :: Kirupa'a Adding Thumbnails?

Jul 6, 2008

i have been able to customize this tutorial for my needs but i am still having one problem with the thumbnails. Unlike in the tutorial i have thumbnail that are two different sizes. most of them are 100 pixals wide but some are 75 and when they are different sizes like that it screws it up...they overlap or leave big gaps between thumbs.

below you can find the code i am using. the line of code that places the thumbs in there position is

target_mc._x = hit_left._x+(target_mc._width+5)*k;

i was able to stop the thumbs from over laping by replacing target_mc._width with 100 but that doesnt fix the big gaps between the images that are 75 wide.

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

[code]....

View 4 Replies

ActionScript 2.0 :: Modifying PhotoGallery From Kirupa?

Sep 1, 2003

Trying to get my head around all of the variables, functions, etc. Anyway, I want to modify the Kirupa photo gallery AS <http:[url].... to have my movie go to another movie or scene after the images have been viewed one time instead of playing through the array over and over. Printing out the AS and going through my references I am getting an understanding of what things are doing.

View 8 Replies







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