ActionScript 1/2 :: Create Buttons For Each Slide In Slideshow?
Jun 20, 2010
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 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 was wondering how would i go about making a simple application that can be run on a website that can: -show a opening page that will stay for 5 seconds (for advertisments)
-show random pictures (well they will only be text)
I've got the code below running fine which loads and displays my slideshow images with a global timer. What I want to do is change it so I can control each slide's speed independantly, so it fits in better with some background music I want to add later.I've also added the XML file code below too, to show you what I have.[code]
I have a Flash slideshow presentation that I created for my company's website, which can be seen on our frontpage.The slideshow has NEXT and PREVIOUS buttons, as well as other buttons that are used to link to other parts of our online store. The problem that I am running into is that after the first cycle, the slideshow doesn't cycle through every slide anymore! And then eventually, after about 5 minutes, the flash plugins completely crash and my browser locks up. I think I found out that it has to do with the intervals that I put in the Actionscript 2.0 coding. I didn't put any "clear intervals" into it and that's why it's screwing up, but every tutorial that I used to integrate the clearInterval function didn't work.
stop(); timeInterval = setInterval(nextphoto, 7000); function nextphoto(){[code].....
I have downloaded an excellent slide show tutorial from Slideshow.as[URL] and being new to As3 I very basically attached and removed the downloaded slide show on and off the stage with a simple button which fired the following code: addChild(); to make the slides appear and a removeChild(); to remove them. This worked fine until I quickly realised that each time the slide show was re added it had doubled in speed until after a few re loads it was wizzing through
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:
I can't seem to find a clear explanation specifically relating to forwards/backwards tween with buttons.
I have a menu bar that I want to slide down, on Rollover and slide up, on Rollout... and have buttons on it/or appear on it.
So if someone wanted to navigate around the movie they would move their mouse to the top right, a bar would slide down and then they could access the buttons on it. However if the mouse is rolled off at any time the bar slides back up.
I've managed to get the bar sliding up and down but my problem is with the buttons. When the mouse rolls over the buttons that have loaded in front of the menu bar, the bar flickers... I guess because the menu bar can't see that the mouse is still rolledover, when the mouse is over the button in front of it.
I was thinking that the code could tell the MC containing the menu bar to pause when the buttons are rolled over - but I may be barking up the wrong tree.
I've attached my fla/swf to show the simple example of where I'm up to.. it may have been overcomplicated by my attempts to load the buttons on frames of the tween.
I have a problem about my scriptI am doing a image slide which moves from right side of the screen to the left side of the screen at all time. The Slide is about 1000 pixel, within the Image Strip I have 5 images that are buttons. I want to be able click on the image and make the slide to stop.
//In the strip moive clip I have: onClipEvent(enterFrame){ this._x -= 5;
I am looking to create a flash based image slide show, but have some restrictions. Can't use XML to store the images, b/c this is going into powerpoint, and the client uses an older version which doesn't support external files. Also, this won't be advanced by a button, click, but will need to be timed between transitions. There is voice-over, music involved so the transitions times may not all be the same. I did a Google search, but every example involved XML and/or button controls.
I'm trying to create mono slide show, but I managed to be in some strange trouble. Namely mono slide show works nice, but something is wrong or missing in the code, because it puts the picture, that is pulled thru xml on top of everything. One solution is to do picture smaller, but i want to have buttons and info on the picture. It is not layer problem, because layer with picture container is on the last one. Heres the code:
I have a line of 12 horizontal placed buttons. I want whatever button is rolled over to get larger (no problem), but I need the other buttons to slide over to allow for the new size that the larger one would bring. I have no idea what type of code I should be looking for here.
I'm trying to create a slide show type animation, the slide will advance every 20 sec. here is my code:
var timelinePause:Timer = new Timer(20000, 1); timelinePause.addEventListener(TimerEvent.TIMER, timerHandler); timelinePause.start(); function timerHandler(evt:Object):void { this.overlay_mc.nextFrame(); }
My question is; How can I get this timer to reset and run again after the nextFrame() has triggered.
I would like to know, in which dimension create such a site like this.
I can create the slide show, but I do not know which dimension of the *.fla shall I use for creating images in such a big size like on this site: [URL]
I am making a slide show for the company I work for, and they want to have a slide that is seen frequently.My slide show is currently 9 slides, and they want a certian slide to show up every 2 slides.Is there a way to do that? For example say if I wanted a slide that showed a bike to show up every 2 slides it would look like this: slide, bike slide, slide bike slide, slide bike slide
I have to start with a slide show with dissolve transitions how do I make the change in my action script. I have a ten slide action script in which I have a loader class declared in the first frame alongwith the url which is distinct in every frame of the TL. I want to change the transitions from CUT to dissolve... Do I need to produce the action script here for every frame.
I've been having a bit of a hard time understanding how to get a button which I have created in Flash to navigate to the next slide of the PowerPoint presentation which it has been added into.
I understand that I somehow need to make use of fscommand in ActionScript, but I'm not sure how I can get Flash and PowerPoint to communicate between themselves.
I'm trying to create a simple slide gallery with one main canvas + thumbnails.Usually the main canvas has auto slide feature.Users can choose the picture on main canvas from thumbnails.When the mouse is over thumbnails I want Canvas to stop auto slide show until that mouse is outside of thumbnails.So I start creating this, and I finish coding for auto slide show and choosing picture from thumbnails. Now I need to code if the mouse is on the thumbnail then temporary stop auto slide show.I thought the right way is to write the code like this,[code]but when I do this, the timer won't stop.
I'm trying create a simple image slide show using the MovieClipLoader and setInterval, and I can't get a reference back to my dynamic MC logo containers.
I want to create a sort of slide show with several SWFs and 1 html page. The SWF itself has FORWARD and BACK buttons (its a long story, but I can't just have FORWARD and BACK coded in the html), and upon hitting them, i would like the SWF to call another SWF to replace itself. (again another long story, but each SWF has a low size maximum, which is why I just cant make the entire thing one large SWF).
Annnnd, to make it all smooth and easy, I would like the forward and back buttons to be coded not with the specific SWF that they are calling, but rather with a function which will determine which SWF is currently displayed and then call the appropriate next or previous SWF from an array or list....
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.
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 am using currentSlide.gotoNextSlide to change between slides, however I can't make it stop playback on load of each slide.I have a motion tween with I need to NOT play automatically when the slide loads... but no matter how many iterations of stop(), gotoAndStop(), etc I use, nothing will stop the clip from playing when it is loaded!
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.