ActionScript 2.0 :: Slideshow Not Showing Fourth Image
Feb 14, 2011I have try everything but no can do. The 4th image wont show up
Here's the file [URL].
I have try everything but no can do. The 4th image wont show up
Here's the file [URL].
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.
I want to create a slide show by making a loop that loads images one by one, pauses at each photo before removing it, and then adds the next one. However, the code (shown below) seems to race to the very last picture without pausing.
for(var i = 1; i < 5; i++){ //pics 1-4
var pic_name:String = "pic" + i + ".jpg";
trace("Loop "+i+" "+pic_name); //traces pic1.jpg,...pic4.jpg
var loader:Loader = new Loader();
[Code].....
I have created a simple site in Dreamweaver, I have uploaded the site to a remote server and everything is great but for one thing. I have inserted a Flash image viewer that should show a selection of images, it works fine when launched from Dreamweaver into a browser window such as Firefox. However if I access the site using its domain name and recieving from the remote server no images/slides play.
I have done several things to try and rectify this. Made sure the images are in the root folder. entered 'base' and '.' in the parameters and made sure all image names start with a lower case (linux) and it still doesnt work.
The end result is going to be a "photo-stack" with each image layered on top of one another, all cycling through the list of images. So container 1 would start of showing image 1, then image 2, and so on. Container 2 would start with image 2, then 3, and so on. One the container gets to it's final image, it loops back to the first image. I've duplicated all the necessary functions and duplicated all required variables with different names so there shouldn't be any overlap, however when I run my SWF, only one of the galleries loads. If I try and load the galleries as external SWF's, only one gallery appears.
Here is my actionscript code:
Code:
var id, current;
var k = 0, p = 0;
var slide = 1;
[code]....
how do i use the fourth parameter of the attachMovie method (or function or whatever it's name is)?coz i need to attach a movie into the stage, but it has parameters (it's a component); so the deal is i attach the movie and set parameters to this new instance. How do i do that?
View 3 RepliesI have a gallery where passing over the image a rectangle drops down showing the caption for the image. The informations are read from an XML file and some of my images don't have a caption, for those emails I want to avoid the tween.
[Code]...
I attempting to make a slideshow like the one on this page: [URL] But i was wondering if it is possible to change the code so that if you click on the main image, another image could come up next to it? (I'm making a portfolio site, and i want people to click on one of the main images to then see a detail image next to
it).
I'm fairly new to ActionScript 3.0 so forgive me if this question is easy, but I'm having issues with my portfolio slideshow. I have a few thumbnails and when you click on one the image slides in from the right. That part is fine. What I really want is for the user to click on a different random thumbnail and have the current image slide out as the new image slides in. My code so far:
[Code]...
Ive just completed the Kirupa XML Slideshow today and have it all working well. But i cant figure out how to fade out the previous image as the next image fades in.
[Code]....
I have made this Pictures Gallery script for my website, but I'm searching the reason of the 1109 error.
NB: bordureImage=border of the picture
imageCourante=current image
The error:
TypeError: Error #1009: Il est impossible d'accder la properit ou - la methode d'une reference d'objet nul.
at index_fla::MainTimeline/clic()
Also, there is a fourth blank picture appearing after the third but normally it should return directly on the first one, because there is only 3 pictures. There 1009 error appears when we click on the last picture (the third one) already on the stage to return to the first.
pic1 - clic - ok - pic2
pic2 - clic - ok - pic3
pic3 - clic - error - blank pic
blankpic - clic - ok - pic1
I'd like a button to load a movie but only every third or fourth click. Is this possible? I don't know much about variables.
View 1 Repliesthis is my code for photogallery.there will be 61 images loaded in this array.how can i make an AUTO button which will make a slideshow,showing all the images in array?
arrayrow = new Array()
arrayrow=[
["00.jpg","0","sajkad","hjsgadhj"],[code].....
I want it to while still easing into place like the iphone does. For example my stage is 550px. The drag and throw MC is 1650. That's 550x3. If the first image is showing starting at x axis 0 and you drag to the left it will ease into place stopping and showing the second image stopping the image at x axis 0. And the same thing scrolling to the next one and scrolling back. So the code is below and I've attached the movie that I'm working on.
[Code]....
I am trying to use a magnifing glass to sweep over an image and actually show the image underneath as the enlargement rather than just increase the pixels of the original image. Is this possible? is flash the place to do it?
View 2 Repliesi hv made 2 classes One is document class contains button events only and another class is imageLoader.as which is loading jpg images externally.My document class is[code]....
View 5 RepliesI have been trying to use the XML image slideshow posted here and everything works but one thing. The images to load which have the same px dimensions as the mask for the container will keep scaling up for a reason I can�t find in the code. I have been trying to fix this all day without any luck and I am about to go mad here. I am using FCS3 but saving a F8 doc with AS2. Could anyone take a look to the file and tell me what the problem could be?
View 3 Repliesokay, I know most slideshows have more than one image, but when the slideshow only has one, it blinks on and off. The problem is I am using this in a cms tool that pulls the files dynamically so i will sometimes have more than one,but other times, only one.
[URL]
Image of tile only shows once, how can I make it show more than once with my newTile MoiveClip object?
Game.fla
Actionscript Code:
import myPackage.GameBoard;var Map1:Array = [[1, 1, 1, 1, 1, 1, 1, 1],
[1, 0, 0, 0, 0, 0, 0, 1], [1, 0, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 1, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1]];
var Game1:GameBoard = new GameBoard(30, 30);
Game1.setTile(1, waterTile); Game1.setTile(0, dirtTile);
Game1.buildMap(Map1); addChild(Game1);
[Code] .....
I have made a random image loader for a slideshow, but the preloader does not work for it (I grabed the preloader from a previous website I made) Is there a way to preload the images or the slideshow and/or have the next image pre-load while the current image is playing. I have attached a zip file of the random image loader
View 10 RepliesI am trying to create a "slideshow" in flash CS4 and I have set it to fade out one image is it fades in another (using alpha) for about 10 - 15 images.However, I want to add a "border" to my slideshow, that stays there throughout the entire process without it fading in and out along with the pictures.
View 1 RepliesIm new to as3 and am looking for a similar result toI've had a look around the web but cant find anything (maybeim searching for the wrong thing).
View 1 RepliesIm trying to create a xml gallery for her images. The slideshow is working but they want a button on the stage that when clicked, it will go to the last image in the xml file.
View 6 RepliesI am wanting to make the Images in the XML Slideshow Tutorial a clickable link. So that a user can click on the actual image when it is displayed and be redirected to another page. It would be good if the URL that the images redirect to are also embedded in the XML file with the other image info. This would be similar to the News Ticker Tutorial where the URL for the News Text is in the XML.
View 3 RepliesI'm working on and xml loaded slideshow. I have a script that I got off of this site where the image fades out before the next one is loaded. The only problem is that the last image does not fade out, it just goes back to the first image which makes it inconsistant
Code:
delay = 4000;
function loadXML(loaded) {
[code].....
this relates to the tutorial posted by kirupa on creating an image slideshow using xml with actionscript: [URL] this slideshow is great, but i'm wondering whether it is possible to start it in the middle of the sequence. so, for instance could one button load a swf file with code that would start the slideshow at, say, frame 5 out of 10? i understand how the actionscript for this works, but am running into deadends on how to get the xml more specific. oh, and i'm using flash 8 for this.
[Code]...
My slideshow works, but on my website it keeps getting stuck when the 1st image is fading out. But if you click the Next button, it will go to the next one, then the slideshow will cycle perfectly, even through the 1st image just fine. I'm attaching a zip file with my FLA and my XML file.
View 1 Repliesi've been trying to work with this actionscript to make it random and i just can't seem to do it
Code:
var id, current;
var k = 0, p = 0;
[code].....
This is a continuation of this post: [URL] I wouldn't post a second time, but the deadline for this project is approaching quickly (and I fear that cbeech has moved on, determining that my problem has been resolved since i was on vacation last weekend). I seem to be having another problem. The first photo now fades in and out beautifully.. but the next image does not fade in. The first image just continues to fade in and out.
[Code]...
i want to change image size in slideshow.
View 2 Replies