Interactive Button Coding

Hello
I'm trying to code a button that when you rollover it, it
pops up to display a list of links, ie more buttons. The problem I
have is that the containing button is always responding to the
click event when I try to click the link/button. You can view the
WIP site at
http://www.mountainmysteryschool.com
and click on the services button, the links never get activated.
Thanks

Here's an example that should get you going. It greatly
simplifies the code needed to do what I think that you want to do.
You don't really want to put a tween animation inside an enterframe
loop. That will just make it go over and over. Just call the tween
from the rollover and rollout events. Then you can use one
onRelease event to test for each of the buttons that you want to
use. I made a single movieClip to act as the object that holds the
text buttons, I named the instance "tongue". Then inside that
movieClip I placed two instances of another movieClip to act as the
text button. I named these "button1" and "button2".

Similar Messages

  • How I can see my interactive button on a tablet or smartphone?

    Hey folks - sry for my english...
    How I can see my interactive button, created in InDesign CC on a tablet or smartphone. It runs well on the computer but on tablet or smartphone i can't see the button. I save the InDesign file as Interactive PDF but it seems, there must be other things to know. Would be great you guys could help me :-)
    Greets!

    Moving this discussion to Reader IOS
    Regards,
    Ajlan Huda.

  • Interactive button in PDF file doesn't work with Adobe Reader for Mac nor Acrobat Pro

    Hello!
    I've to use a interactive form which has an interactive button that is supposed to send that form by email. If I open that PDF with my iPhone or iPad with the PDF Expert App, it works perfectly, but for any strange reason, when I try to open that same PDF in my Mac with Adobe Reader or Acrobat pro, that button doesn't do anything.
    Can this be a configuration error?
    Thanks!

    The problem is deeper than that. It's not reader. Now the same form I was creating in LifeCycle Designer ES2 yesterday, with the actions working perfectly, no longer work. None of the actions are working.
    Could it be realted to me trying to set the default version compatibility to Adobe 7. It gave me warnings, so I set it back to 9.
    Any help would be appreciated.

  • CS2+ JS -- convert item to interactive button

    Hi everyone:
    I was wondering if anyone had a script for converting multiple text boxes into interactive buttons in InDesign that will work in a PDF file?
    I'm primarily using CS2, but I do have access to CS3 and CS4 as well.
    Thanks!
    Theresa

    Hi Harbs:
    Could you please help me out with a script to perform that task?
    I'm current using JS on CS2.
    I need to add a hyperlink to several text boxes that are anchored in text.
    Thanks!
    Theresa

  • Interactive buttons in InDesign - for an iPad

    Hello!
    For a University project, I have an assignment of pairing up with someone and creating a childrens e-book. Thing is, we've not had that long on it due to other deadlines, and the deadline for this project is this coming Friday (22nd).
    We've created the layout of the e-book but the thing is, the buttons work on the Preview window box in InDesign, but it doesn't when using the Adobe Content Viewer app on an iPad - the assignment is creating the document for an iPad.
    It's apparently because the buttons use Flash, and iPads dont support that.
    We got given some artwork, and want to create a button/interactivity where the reader (a 3-6 year old?) needs to find a certain animal on the page, and then once they do, they need to tap it, in order for a fact to appear about it.
    E.g...
    This is one of the pages/screens. It tells the reader to find the seagull. Easy, I know, but when pressing onto the seagull, we want it to come up with the fact. The red box around the seagull is a button, and the box towards the top right of the seagull is the fact box which is activated after selecting the seagull.
    It works fine in the InDesign preview tab... This was after clicking on the seagull, which resulted in the box appearing...
    I've watched a video on the Adobe website about some converter from FLASH to HTML5 programme called Wallaby Technology Preview, but it didn't work with that. The person had a moving animation though I suppose, and not buttons.
    Something like a pop-up message would work in iBook Author but it needs to be created using InDesign. (This version i'm using is 5.5)
    Many Thanks!

    The popup panel (text description) would be your multiple state object. It can be an ordinary element, it does not need to be turned into an interactive object. Select the popup frame, and in the Object State panel flyout, select "New State". This will create an Object (you can name this) with two states. Select State 1 and colorize the frame and text to none (for the invisible state). Leave State 2 as is (for the visible state). Make the seagull art an interactive button. Then select your event: "On Click" and Action "Go to State" and Object "Popup Panel" and State "State 2"

  • Left Arrow Interactive Buttons in InDesign CS5.5 Backwards type

    Does anyone have a solution to the backwards type that appears in all left or previous page arrows in the InDesign Interactive Button Section?
    Is this a glitch in the software. It seems the left buttons were created by flopping the right arrows...thus the backwards type. I try to flop the type...but the whole button flips.
    Any work-arounds to this?
    Thanks.

    Are you talking about buttons from Sample Buttons library panel? You probably have tried to insert some text to graphic frame that creates the button´s appearance? I don´t know if that´s a good idea....
    How about converting button to object, adding text, groupping object+text and converting group to button again... and re-creating the action?
    Or another possible way would be write the text to it´s own separate frame outside of the button, put it to correct place onto the button and then drag it into the button´s Normal/RollOver states with Layers panel or use Cut/Paste Into commands.

  • Interactive buttons not working on interactive pdf when the Indesign links are set correctly

    Hi all,
    I have one Indesign CS6 manual containing 17 files, 126 pages. This has been set to a book file.
    This has been translated into 14 languages and now we are having problems creating the interactive pdfs.
    After fixing the broken interactive buttons within the Indd files, we are finding that when we create the interactive pdfs, not all interactive button links work. When we recreate the same langauge interactive pdf we are finding that the buttons that were not working the 1st time, are now working, and some buttons that were working, are now not working.
    Is there a bug somewhere.
    Any idea why the interactive buttons work one minute and then not the next, and vice versa.
    Any idea how we can fix.
    I’m using Indesign CS6 and Acrobat 9 Pro.
    Thanks in advance.

    Hi LoriAUC,
    Thanks for this. Very much appreciated.
    I have asked sagar-khanna from the other discussion is he knows more about the broken links etc.
    Thanks again.
    Julie :-)

  • Indesign CS6 - Interactive Buttons - Destination links changing when opened on another computer

    Hi,
    I have encountered a bit of a problem with Indesign CS6.
    I have a customer who has created an multi-chapter Indesign file which has interactive buttons within the each chapter in the book. These buttons are linking to each chapter. E.G., Buttons on the first page in chapter one, might link to the first page of Chapter three. This has been done by setting a destination, to the file and specifying the page number within the Interactive elements dialogue box. The client has created an interactive PDF out of this.
    When I have opened the file on my side, all of the interactive destination elements have reverted to Page 1 of Chapter 1 in every single chapter (this is the first file in the book). Obviously, this means me relinking all of the locations again (there are over 2000 in the file that would need to be fixed).
    Now, I am opening the file on a Windows PC in Windows 7 using CS6. However, the client has created the files on a Mac. Which could potentially be an issue maybe (I am testing this).
    However, has anyone experienced this before, and is there a workaround?
    James

    Hi LoriAUC,
    Thanks for this. Very much appreciated.
    I have asked sagar-khanna from the other discussion is he knows more about the broken links etc.
    Thanks again.
    Julie :-)

  • Delete interactive buttons on all pages

    Hello,
    I'm new here, and I'm from Germany, so I apology in case for any missunderstandtings.
    The Problem:
    I have a PDF with like 1000 pages. On every page, there are interactive buttons like "Next", "Previous", "Contact" and so on...
    Now I'd like to delete the "Contact" button only, on every page in the document - in one single hit. All the contact buttons have the exact same settings, they have been duplicated throughout the whole document. So the button should be the very same on every page.
    There must be a way to delete all of them Contact buttons again - in one hit. So just like saying "duplicate onto all pages" I would just like to say "delete this button on all pages".
    Is there a Javascript code to handle it? Or any other way?
    Just to say it again: In one hit means all at the same time. I do not want to go through every page highlight every Contact button and then delete. That would take me ages for 1000 pages. And I have several dokuments to do that in...
    THANKS FOR ANY KIND OF HELP
    Using Adobe Acrobat Xl Pro
    Document createt in Xl Pro, not in Indesign.

    Sort the fields in the list alphabetically, not by page number, and then
    they should all appear one after another. If they have the same name they
    should even appear under a single item in the list, which you can select
    and delete with a single click.
    On Wed, Oct 16, 2013 at 12:30 PM, Thunderstruck200 <[email protected]

  • Interactive Buttons in PDF not working when in iPhone

    Hello!
    I used CS3 to turn an InDesign document into an interactive PDF with buttons. It works just fine in a computer, but when I tried to view it in an iPhone, all interactive buttons are gone. Does anyone know why? Thanks! Here's the link for the PDF so you can try to view it on your own iPhones:
    http://www.cgu.edu/PDFFiles/Creative%20Service%20PDFs/Visitors%20Guide/VisitorsGuide2010B- Web.pdf

    Unfortunately there are no pdf reader which support this on neither the iPhone or the iPad.
    You have to create an App or rely on the limited functionality of the the pdf readers.
    I would like to see a pdf reader for the iPone, iPad ios supporting InDesign buttons and basis interactivity.
    :-) Nina Storm

  • Adding interactive buttons in Acrobat X Standard disables the Commenting and markup tools

    Why does adding interactive buttons to PDFs in Acrobat X Standard disable the Commenting and markup tools in the PDFs, but only when they are viewed in the Reader, not when opened in Acrobat?  When the buttons are removed, the Commenting and markup tools are re-enabled in Reader.
    Thank you.

    Which version of Reader are you testing with?

  • InDesign 6 Interactive Buttons Not Displaying Correctly in Acrobat X

    Forgive me if this has been asked. When I create interactive buttons in InDesign 6, their display is erratic in Acrobat X. Sometimes they display correctly. Sometimes, their display is erratic and sometimes they do not display at all. I have noticed that in Acrobat X, the cursor changes to the hand over the correct area, but nothing happens when I click. Oddly enough, the buttons always display correctly in Reader. This is fine for my users but makes my job in doing the final prep very difficult.

    I’ve seen this reported in this past. It’s not an InDesign issue or the files wouldn’t work in Reader.
    If you get any answers in the Acrobat forum, please come back and share them.
    Bob

  • InDesign / Acrobat Mystery - interactive buttons misinterpreted as form fields by Acrobat

    hi everybody
    I am quickly approaching a deadline and have only few hair left... i stumbled upon a bug or whatever in InDesign... After countless hours of pinpointing the root of the error i am able to reconstruct the error scenerio in few steps that go like this:
    1 - create a blank ID document with 37 pages
    2 - go to Master Page A in that document
    3 - create 3 interactive buttons with the button tool anywhere on the Master Page A, leave the buttons blank
    4 - export all pages to PDF with all interactive options ON
    NOW !
    what i get when i open this PDF in Acrobat is an annoying pink bar across the width of the page saying this:
    Please fill out the following form. If you are a form author, choose Distribute Form in the Forms menu to send it to your recipients.
    NOW WHERE THE HACK IS THAT COMING FROM AND HOW TO TURN IT OFF !!!
    TO MAKE YOUR HEAD TWIST !
    try exporting the same ID document but only pages 1-20 and the annoying pink stripe does not appear in this case... crazy - no changes to the document...
    please help ASAP i wasted two days figuring this out...
    since this is a king of ID/ACRO combined problem appearing on PC or MAC i post it on all related forums... sorry i see no other options...

    -------------------- PROBLEM SOLVED -------------------------
    ok so to make it quick the whole ill behaviour seems to be a bug appearing only in combination of InDesign 5.0.x and Acrobat 8.0.0 for Macintosh, the problem could be solved using Acrobat 8.1.2
    since most of the bug fixes in Acrobat 8.1 and 8.1.2 updates are according to Adobe "bug fixes of Form-Related Issues" this makes total sense...
    -------------------- QUICKEST SOLUTION ------------------------
    1 - upgraded to Acrobat 8.1.2 for Macintosh
    2 - exported the PDF -WITHOUT- any buttons
    3 - opened the PDF in Acrobat 8.1.2 and created the buttons manually inside Acrobat 8.1.2
    ANYBODY WITH ACROBAT 8.0.0 FOR MACINTOSH WILL STILL SEE THE PINK BAR !!!
    EVERYBODY ELSE (READER 9.0, ACROBAT 8.1.2) WONT SEE THE PINK BAR OR ICON ANYMORE!!!
    GOOD BYE EVRYBODY AND THANKS TO ALL WHO HELPED ME SOLVE THE PROBLEM...

  • PDF for Print with interactive buttons

    In ID CS4 when exporting a book to PDF, the buttons were automatically added when "interactive elements" were checked in the export dialog box. In ID CS5, the export book to PDF requires you to select the "for Print" or "Interactive". I want to create a single file that can be used for print and has some interactive elements included.
    When I select export for PDF "Interactive" the two page spreads (8.5 x 11) turn to one large spread (11 x 17). I don't want the large spreads, but I do want the interactive buttons (return to last page viewed) I have at the bottom of the page.
    Is there a setting I am missing?
    This worked in CS4, why is it not letting me do the same thing in CS5??
    Thanks for your help!

    ghf232 wrote:
    Interactive pdfs don't support facing pages, so you'll have to tweak your design first...
    See here:
    http://indesignsecrets.com/interactive-pdf-from-indesign-cs5-always-has-spreads-on.php#com ment-485137
    and here:
    http://indesignsecrets.com/new-script-to-output-single-pages-to-interactive-pdf.php
    Harbs

  • IDCS4: Major bug creating interactive buttons

    I have a number of IDCS3 files with interactive buttons which jump to a specific page of the document using bookmarks. These buttons no longer work when the file is opened in IDCS4.
    In CS4, the button has a "Go to text anchor" action applied however the Text Anchor pop-up below is greyed out and says None. All the Bookmarks that I've created are present and correct. It would appear that CS4 is ignoring page bookmarks and will now only work with text anchors.
    This bug is also very easy to recreate with a new document in CS4:
    1. Create a new two page document.
    2. Go to page two and add a bookmark.
    3. Go to page one, create a button and add the "Go to Anchor" action.
    4. The Text Anchor pop-up should show the bookmark that was added it step 2 but it remains greyed-out.
    I've submitted this to Adobe and reverted back to using CS3 for any interactive work.
    Graham.

    Hi Sandee,
    Thanks very much for confirming the bug and for the workaround however this is a lot of work for my existing projects and easier to simple update them using CS3.
    Hmmmm... now, your comment "...bookmarks have never been recognized as part of making buttons." - try telling that to IDCS3, it even indicates that you've linked to a bookmark when you add a "Go to Anchor" behaviour to a button. I found this method more flexible and, to my simple way of thinking, more logical - a Bookmark goes to to a page in a document while a Hyperlink goes to a URL. For new CS4 projects I will now have to use the Hyperlink Destination (Type: Page) option instead. Oh well...
    So the problem isn't insurmountable for new projects but is still a bug in that it "breaks" legacy CS3 files opened in CS4 - and that's the argument I'll focus on when I hear back from Adobe.
    Cheers, Graham.

Maybe you are looking for