ActionScript 2 issues: previous button not working

Hello,
I am trying to create a slideshow in Flash CS4 using ActionScript 2.
I have imported "pause" and "play" buttons from the libraries, and I have created "next" and "previous" buttons by using the PolyStar tool.
Here is my problem: The "previous" button is not working. However, the other buttons (even the "next" button, which only really has the opposite code) do work.
I am writing all of my code in the frames, which probably isn't the best idea, but it would be hard for me to change now.
Code (an example code frame)(currently on the 1st frame):
prev.onPress = function(){
gotoAndStop("14");
begin.onPress = function(){
play();
pause.onPress = function(){
stop();
next.onPress = function(){
gotoAndStop("2");
previous.onPress = function(){
gotoAndStop("14");
"prev" is an instance of "previous". "begin", "next", and "pause", are instances of a play button, "next", and a pause button. I am using frame labels that go from "1" to "14".
What am I doing wrong?
feffer1218

Thanks for your advice, but it didn't work.
1. I changed all of my frame labels so that they have the letter "p" in front of all of them. (ex: "p1" instead of "1")
2. I commented out the "previous.onPress" code.
2 examples of code:
//p1 (first photo)
prev.onPress = function(){
    gotoAndStop("p14");
begin.onPress = function(){
    play();
pause.onPress = function(){
    stop();
next.onPress = function(){
    gotoAndStop("p2");
/*previous.onPress = function(){
    gotoAndStop("14");
//p2 (second photo)
begin.onPress = function(){
    play();
pause.onPress = function(){
    stop();
next.onPress = function(){
    gotoAndStop("p3");
prev.onPress = function(){
        gotoAndStop("p1");
I don't know what I'm doing wrong! The Properties window says that "prev" is an "instance of: previous."
Any ideas? Thanks for the attempt, though.
feffer1218

Similar Messages

  • Home button not working on iPad 2 after iOS5.1.1

    I got iPad 2 updated with ions 5.1.1
    It worked fine for a week and now the home button does not work. I followed all posts here to reset, restore etc. but nothing helps. This is already a replacement iPad I got for my previous non functional iPad 2 which had battery issues, which apple swapped in store last week.
    Any advice ?

    Update -
    Called apple support and did not get steps to try and was asked to visit apple store. Went to apple store and since the problem is intermittent they did nothing.
    Now the problem is back.
    Also, I notice there are lot of Low memory diagnostics logs which I thik may be leading to home button not working BUT that iOS should handle as part of memory management. I restarted iPad 2 and still memory issue/ home button not working which seems weird
    I am really disappointed and not sure how to get this addressed.
    Apple, please help!

  • Buttons not working correctly/consistently

    I am working with a template that has 5 buttons on each slide Back, Next, Help, Pause, and Play
    The Help button is set up to Jump to Slide with the correct target, but for some reason it doesn't work. In fact, sometimes when I click Pause and then click the Help, it actually resumes instead of  jumping to the slide.
    This is pretty basic stuff, so I am at a complete loss. The only thing I am wondering about is whether the fact that the lesson was originally done in Captivate 5 could be causing an issue.
    Here's the way the action is set up.

    I have had issues with buttons not working properly in Captivate 4. When it happens, it is completely random and not consistent. To get my buttons to work properly, I usually just exit out, and go back to the project and then they work.
    Sometimes it takes me going back the next day for them to work. There's no rhyme or reason to it. The settings are all correct. I don't change a thing. I save, and go back to the project and the button is working all of a sudden. At least that has been my experience the last couple of months.

  • Anyone had issues with on/off sleep button not working anymore

    Anyone had issues with on/off sleep button not working anymore?

    If there is Warranty or AppleCare make Genius reservation or set up Service and take or send to Apple for resolution. If no coverage, use virtual Lock Button, tap Settings App > General > Accessibility > Assistive Touch > ON > tap new white screen button > Device > Lock Screen. This can even turn OFF iPhone. To turn ON, connect iPhone to power, charger or USB of computer.

  • HT201412 my ipod 4G power button and volume button not working after updated to ios6. i also experience wifi issue. so deppresing!

    my ipod 4G power button and volume button not working after updated to ios6.
    i also experience wifi issue. my ipod can't detect any wifi signal.
    so deppresing!
    what should i do?
    i can't put my ipod to sleep, can't adjust volume, can't shut off.
    should i update to ios 6.1?
    HELP

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    When iOS 6.1 comes out I would update.

  • Power button not working with 7.1 update

    Power button not working with 7.1 update

    I take it your phone was still under warranty then?!
    Unfortunately I was not so lucky, and my experience was rather poor service-wise. They're called Apple Geniuses but I beg to differ...
    I'm not sure where in the world you are located, but my "experience" involved visiting the Leeds store and confusing everyone with this issue. I can tell you, just by the looks on their faces, they had never been faced with this problem before!
    I suggested my phone was rolled back to the version it was previously to establish whether this was the underlying issue. I was asked whether my phone had been backed up and as it had the "genius" proceeded to restore the phone "as it came out of the factory" to quote him.
    When this was completed the phone was still doing the same thing and I was advised "the software update must have highlighted a hardware issue." I was told it would have to be physically repaired and was told to have this done by a third party as Apple would charge approximately £160. Incidentally, I work in IT and repair PC's, laptops and mobile devices for a living and made a point of raising that a sleep/wake button ribbon cable for an iPhone 4S can be bought on eBay for as little as £3.00...if indeed it does need replacing, which I suspect it does not.
    Anyway, so now I was left with a phone for the rest of the day which was blank and still the problem remained. On the train, on the way home, you can then imagine my disbelief when I actually took the time to look at my phone's configuration and realised that iOS version 7.1 was still installed, so obviously the issue would still remain. So the visit to the "genius bar" was a complete waste of time as I'm still in the very same position, and I still blame the 7.1 update for this...let's home 7.2 is released very shortly and this solves the issue...
    I have downloaded the package to roll the version back to 7.0 but I'm a little reluctant to carry this out yet as I would expect Apple to so the issue they have caused. This is NOT hardware related but software.
    I seriously think Android is calling me...

  • Logitech mouse buttons not working in photoshop cc 2014

    logitech mouse buttons not working in photoshop cc 2014 winds 8.1. Is this a common problem?
    I have updated the latest drivers and have a few buttons programmed with keyboard shortcuts that used to work in previous versions of Photoshop but don't work now.
    Scrolling with mouse in bridge stopped working in cc butI see it is now working.
    any ideas?

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • Iphone 4 Home button not working after upgrade to OS 4.3.5

    Iphone 4 Home button not working after upgrade to OS 4.3.5.Please help!!!!!!!!

    It seems that settings of mail accounts have something to do with it. I've delete my gmail account and am now using Microsoft Exchange. It seems better, yet not perfect. The issue is definitely due to OS 4.3.1
    Apple answer is - no answer. It is a shame that the quality of their products, in terms of design and concept, is not match by a care for customers. It is not normal that I, as a customer, have to spend hours reading Apple Discussions forum to try to understand what the problem is. A little more respect for a customer that spend big $$$ buying their products wouldn't hurt.

  • Iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • Iphone 4 home button not working, called never fixed, then cracked screen before bringing it back again, will they blame the cracked screen if i bring it back?

    I bought an iPhone 4 less than a year ago, then one day the home button randomly stopped working, I bought the warranty so I decided to call in and see what was wrong with it. The girl said that restoring the phone would correct the problem which it did. But it is only a temporary fix, it happens more often now. So I was meaning to call in soon, but the other day my phone fell out of my pocket IN CASE from a foot height and cracked the screen. I nearly threw up. All the years I have had a phone I have never cracked or broken one, strongest screen my ***. Anyway, if I contact them again now will they fix the home button problem? or will they say that the cracked screen is obviously the cause of the home button not working? which it is not!! I don't care about the screen being cracked its not on the actual screen just on the side so its irrelevant to me. Plus I heard it is outrageosly pricey to replace.

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • Iphone 4 Home button not working after upgrade to OS 4.3.1

    I've just upgrade my iphone 4 to OS 4.3.1 and I'm having issues with home button not working. Need to hit it several times before I can close an app or wake the iphone. Any one having this issue?

    It seems that settings of mail accounts have something to do with it. I've delete my gmail account and am now using Microsoft Exchange. It seems better, yet not perfect. The issue is definitely due to OS 4.3.1
    Apple answer is - no answer. It is a shame that the quality of their products, in terms of design and concept, is not match by a care for customers. It is not normal that I, as a customer, have to spend hours reading Apple Discussions forum to try to understand what the problem is. A little more respect for a customer that spend big $$$ buying their products wouldn't hurt.

  • TS3694 No sound and ringer button not working. I cannot play music but when I put my Iphone 4 on the dock it plays music. This happens when I updated my phone to IOS 6.1.3..The phone doesnt have any carriers we only used this just like Itouch. Please help

    Please help. Since I updated my Iphone4 to ISO 6.1.3...The ringer button not working, can't play any music (but ok with the dock), headphone sound is muffled. What can I do? I tried restoring and downgrading but it won't let me.

    Hi there,
    Thanks for reaching out to the community.
    Please help. Since I updated my Iphone4 to ISO 6.1.3...The ringer button not working, can't play any music (but ok with the dock), headphone sound is muffled. What can I do? I tried restoring and downgrading but it won't let me.
    It appears like you may have a hardware issue with your ringer button and internal speaker that came to light after the update. If you have already restored your iPhone back to factory settings using iTunes, you may need to have your phone serviced.
    Some potential good news... Check your headphone jack for lint. There may be enough to cause a muffled connection. You can try to blow it out with compressed air or very carefully pulling out any solid objects that may affect the connection.
    Best of luck!

  • Next button not working in advanced table

    HI ,
    I have created an advanced table programatically.everything is working fine but the navigation buttons for next and previous are not working properly.If I click on next 20 records I am getting the first 20 records.Do i need to set anything for this.Please hepl me.

    Hi,
    This may be the problem in your InternetExplorer.
    Mini

  • Navigation button not working in JSP

    JDeveloper10g JSP:
    "NestSet", "PreviousSet" button not working after a search is done on a read-only table. Is this a know bug?
    Please help!!!

    Vishal,
    I dont think the Notification Create Button from line item is pretty much dependent on the Customization Settings or any sap note concerning this has not been as yet brought into my notice. In my system, this is working appropriately. The problem with this which i can think of is either an authorization issue or you should raise an oss for this.
    Regards,
    Usman

  • Title & Menu Buttons not working correctly on remote control/ set top player but work in preview.

    Title & Menu Buttons not working correctly on remote control/ set top player but work in encore preview. This only happens for a Blu ray project. When a user presses the menu button it should go to the previous menu they were on but it goes to the main menu. When they press the title button they should go to the main menu but it doesn't do anything. My DVD projects work as expected.I've tried creating a new "test" project with different footage and still get the same undesirable results.
    Overrides grayed out and set to "not set" for timelines and menus.Project settings and build are set to blu ray. Also I've noticed when I preview a Bluray project the preview window shows a red colored disc next to the Title button when viewing the timelines and green when playing the menus but not so for a DVD project it displays red if motion menus and or timelines are not rendered/encoded. I'm not using motion menus and all the media is encoded according to the project specs.
    I've searched this forum but couldn't find the answer. Any help or redirects to a solution would be appreciated. Working with CS5. Thanks.

    I found out on my Samsung Blu ray player the remote has a tools button on it that brings up audio, angle, chapter selection etc.and also title selection which is actually the menus and the timelines unfortunately. It's not as easy or direct as last menu selected but it's a workaround at least. I also plan on using a pop up menu. I'll let you know.

Maybe you are looking for

  • Can I set up albums in photo stream

    I want to set up several albums in my photo stream in the cloud and be able to access photos in these albums from iphone

  • Why can't I use iMovie with iOS6?

    I use iOS5 on my iPhone and 6 on my iPad. Since the last update I can't download iMovie anymore. Any chanche that the developpers think of their older iOS users or don't the give a xxxx about them?

  • Does Illustrator CS5 support LAB colors

    Hi, Newbie question. Does Illustrator CS5 allow colors to be speficied using their LAB values?  I have CS4 and know that it doesn't. If CS5 does, and if I have my RBG and/or CMYK "Working Spaces" set up correctly in "Color  Settings", can I expect th

  • Indexed columns became unusable. how to resolve it

    Hi All, i have truncated the data using alter command as follows . alter table table_one truncate partition (partitionname); After that i was trying to insert data into that table am getting an error. And all indexes columns became unusable. i think

  • Older dual processor 2 gig OS 10.4.11 and eratic fan behaveior

    In the last day or two my Mac's fan has been kicking in and out in an erratic behavior. Now it's fine. But at least it's starting to do this a few times a day. My CPU temp goes as high as 163 F