I followed the xml slide show tutorial here on the site, and wanted to add buttons to it.(I did the autoplay tutorial) I have the buttons working, but the autoplay feature seems not to be agreeing with the buttons whenever I press left or right arrows on the keyboard it goes to it, but then the autoplayer becomes erratic and suddenly goes to various frames at random.I think the problem is that the timer which is set to 3000 miliseconds is not resetting. I was wondering how to reset this variable each time the user presses the left or right arrow.
I have this slideshow that I'm so close to having completed, but there's one issue I'm having with it not resuming after certain buttons are used. I've tried to figure out what could be causing this but I just can't see what it could be. I feel I'm so very close to having this completed if it weren't for this one issue.
In the slideshow buttons '1' and '2' work perfectly, however buttons '3' to '6' are not working completely as they should. During the slideshow, as it plays through the slides if you click on button '1' or '2' you are taken to the corresponding slide and then the slideshow automatically resumes, which is correct. However, if you click on any of buttons '3' to '6' you are still taken to the corresponding slide, but the slideshow does not resume and stays on that particular slide. I've looked over the Action Script 3 code several times and I just don't see what could be causing this but I'm not too experienced so there could be some error, no matter how minor, that I am missing.
First off let me say that this forum is a lifesaver. I managed to figure out the links in xml file myself, but I cant seem to get the next/previous buttons working the way I want them to. I have got them to work to the point where they will bring up the next image, this is until it gets to the end of the xml node, then it wont start over from the beginning if I hit next. Here is my code:
I'm trying to build a simple slideshow with AS3 consisting of one movie clip which should be controlled backwards and forwards using simple buttons. I can get the slideshow to play forward once but, apart from getting slide 2 to go back to slide 1, I can't get it to work with the remaining slides.
I followed a tutorial to build a click-thru photo gallery that is linked to an XML file. The tutorial set up the navigation as being controlled by clicking the images, but I wanted to add some more obvious navigation prompts for viewers on my website. The "next" button was easy to do as I just copied the actions for clicking the images on the main section of the stage, but when it came to building the "previous" button, the code was not working. I want the button to take the audience to the image before the image they are on when clicked.
I've pasted what I have below and highlighted the sections that I have altered. If you could please tell me what I'm doing wrong, that would be great.
I currently have a slideshow working with prev and next buttons, but would like to add numbered buttons for each slide at bottom of images, with a static number for the active slide that has a colored circle around that number.
I can create static number with colored circle in Photoshop and add that to a layer, but it's labor intensive to do that for all numbers.
Is there a better way to create the highlighted numbers for active slide?
For numbered buttons that link to non-active slides, I can create numbers in Photoshop and import images into Flash, then convert to symbols and assign actions for them, But that too is labor intensive to do for all the numbers.
Is there a better way to create numbered buttons for non-active slides?
I'd also like to have a hover function on the numbered buttons, that changes from plain image of number to number with colored circle like I want to use for active slide.
How do I assign a hover function to button symbol, that will load another image or symbol?
I just started to mess with Flash past week, however I will learn all that's necessary. This time I AM looking for a quick fix though, since I already know how to make the simplest slideshows with next, previous buttons, but I don't know how to make images fade into each other and add captions, as well as stop the animation when mouse is over the image. I may be ignorant - still a newbie - but I think it all has to do with just adding right tags in Actions.[URL]
I'm working on a slide show which I would like work automatically (fade in and out) as well as being able to be prompted to switch via buttons... I know this is a super simple thing, but I cannot get all the buttons to work. The buttons are copies of the same instance with different instance names and are located at the 3 respective frames in timeline where the pieces of slideshow should fade in/out. I get the first set of buttons to work:
import flash.events.MouseEvent; controls.bttn1.addEventListener (MouseEvent.CLICK, clickSection1); function clickSection1 (evtObj:MouseEvent) { // trace shows what's happening in the output window trace ("The Button 1 was clicked!")
But when I add more buttons that are located later on in a timeline, I get the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at INDEX_TEST_r3_fla::MainTimeline/frame1()
first off, i'm pretty new with actionscript so the answer to this question may be obvious. however, i cannot for the life of me figure out what i'm doing wrong or how to fix it. so, i went through the tutorial for the auto slideshow with xml [URL] everything is working great for the auto slideshow; however, my issue is with the "previous" and "next" buttons. the "previous" seems to work in that it will back up to the previous slide, no problem, but if my slides are times for 3 seconds each and i hit previous at 2.5 seconds into the current slide, i only have .5 seconds to view the previous slide and not the full 3 seconds.
OK next issue is with the "next" button -- i have 4 slides/photos it works fine from slide 1 to slide 2, but if i hit next to go from 2 to 3 the slideshow starts an endless loop from 1 to 3 to 1 to 3 to 1 and it never jumps out of that loop. the same thing happens from 3 to 4 -- the loop is 2 to 4 to 2 to 4 to 2. again, it doesn't break the loop and go back into the regular sequence. here's the actionscript as it appears in my flash file:
Anyone know of any examples (source files or tutorials) of XML image slideshows where the slideshow is advanced via "previous" and "next" buttons and that utilize cross-fades between images?
Note: im a beginner with AS. Im reading (yeah reading! ) the Actionscript Cookbook by Joey Lott to get better and more familiar with this language.Okay, first of all look at this linkand go to > photo > thingsWhat you get to see is a slideshow which you can browse through by hitting the Next (and / or Back button) button.Also you see "numberbuttons": 01 02 03 ..... 10 (there need to be 29 buttons since i have 29 ) that are not connected to the Next and Back button at this very moment.
My question:How can I link the numberbuttons to my slideshow AND next / back button?Say, I go to 05 by pressing the button and from there I continue viewing the photos by hitting Next: then i would like to have the square around the numbers to follow with me to 06 and so on. Quite obvious if you ask me.(to get a better idea of what i want, go here > portraits : browse the menu.. notice the moving square. and yes, this nav doesnt have a back nor next button... just an example to show what i want)Ofcourse, what i want depends on the script that ive been using. I have already tried out different codes but non of them wouldnt work proper (thats because of my lack of Actionscript knowledge). If you look at numberbutton 05 (notice .FLA below) you can see what ive been trying
I'm very newbie in Flash so I'm asking to have patience I'm trying to make my own slideshow WITHOUT buttons and WITHOUT preloaders. The idea is to preload all images from outside then to convert them to MovieClips and then using transitions between them run the slideshow.My question is: How to convert preloaded images to clips in order to avoid reloading images each time in every frame and make the slideshow without blinking? GIVE ME SOME ADVICE, PLEASE! you can download whole project without images (you can use yours instead to see how it work). This is slightly modifyed code of THIS tutorial that I'm using in my project:
I still can not get a basic slideshow with the either thumbnails or prev/next buttons to work. It seems that every tutorial either assumes I downloaded the correct libraries or understand when they are using AS2 or AS3.point me to a "FOOL" proof tutorial or template..I understand the basic part of what is going on but do not know enough AS yet to hammer out the actions myself.
I want to add a slideshow to a web page. I have made a slide show with flash however I really want to add the play controls. Is this possible using CS4 Flash
I'm working with a dynamic slideshow that was already set up. Instead of thumbnails each image has a button that you click to see the image. I cant get the buttons to turn off for the categories that have less than 26 images. he button instance names are imgB1, imgB2,etc... they are in a container that is called: mc,collection_menu with an instance name of: collection_Menu basically in the script bellow the: visible=false is not working, is this the right syntax... what is wrong here
Code: // this is the main button to start the slide show collButtHolder.Bali.onRelease = function() {
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:
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.
I am not a programmer, but have managed to combine the slideshow, image gallery and hover features of the provided scripts to create a slideshow that you can control with the previous and next buttons. I have also been able to connect it to an access database so you can control the images / info through Content Management console. once this has been sorted I will post the code here, if its any use to anyone. Here is the script!
I am making a website in flash for my business that consists of several elements. For example I have one menu on top with the usual "contact", "resume", "about" and so on, and so far this is not the problem as I only need some text to show up when the button is clicked. But on the left i have another menu with different sections called "animations", "layouts", "illustrations" and so on, and the point is that each link is supposed to start a slideshow with my artwork depending on the category. How to make the buttons show content, and I even created a simple slideshow (with prev and next buttons).
I used the following code for the slideshow: stop(); right.onRelease = function() { if (_root._currentframe == 5) { gotoAndStop(1); [Code] .....
Now the only thing left to do is to actually make the different buttons show the slideshows. I have tried to embed the swf of the slideshow in the frame of my content layer that is dedicated to the layout button. I've had to try a few things. at first the slideshow didn't do what I previously programmed it to: instead of me having to click next or prev, it just flipped through all the images continuously. That I fixed, but now the only thing that still doesn't work are the buttons. they seem active when I test the movie, but they don't take me anywhere- they're just stuck on the first image.
I created a basic slideshow with a Next and Previous button. I attach this code in the first frame of the main timeline: Code: stop(); next_btn.addEventListener(MouseEvent.CLICK, moveNext, false, 0, true); function moveNext(e:MouseEvent):void {nextFrame();} prev_btn.addEventListener(MouseEvent.CLICK, movePrev, false, 0, true); function movePrev(e:MouseEvent):void {prevFrame();} It works fine, until I get to the last frame of the timeline (10th frame in this case). Then both buttons cease functioning. Why? The listeners should still be working.
Having some trouble with a slideshow flash file. The snippet of AS is attached below. The play functionality is working fine, but when the slideshow is running, the pause button won't work.
NextFrame = function(){ if (whichPic<NumCount) { bLoad = true; whichpic++; } else { if (whichPic==NumCount){ [Code] .....
I am trying to figure out how to create a flash slideshow including buttons that interact with the slides. A perfect example of what I am trying to create is the flash slideshow on the Frito Lay's website[url]....I am sure there is some action code for the button that can do this, but being to to Flash code.
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 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.
I have a movie clip with 15 frames. Each frame has buttons on it (mc's)... I was going to put the actions on the main timeline/stage and navigate within the MC from the main timeline. Is that possible? I can get the buttons on the first frame of the MC to work, but I can't seem to figure out how to target/make the buttons on the other frames work? I was thinking I could identify the path of the MC with the frame labels, but that doesn't seem to work. like: _root.RMChanger.(frame label).buttonOnFrame = function
I have to move a text box in and out over the MC backgrounds on the main stage... which is why I was thinking to do it this way? I've been switching back and forth bwtween AS2.0 and 3.0