Multi-State Button

Hello,
I have a multi-state button in my movie. I want it to pause and play but I don't know what to enter into the "Parameters" box.
-COMMAND SENT - when switched ON           sendAllSprites #Toggle_On, the currentSpriteNum
                             when switched OFF           sendAllSprites #Toggle_Off, the currentSpriteNum
Please help!
Thanks.

> Thank you. Now, where do I put this code?
It can be used in several ways to tell the button to toggle -
as long as the
button sprite is drawn on stage, and have the multi-state
script is
attached.
Put in a framescript, like this:
(assuming that the button is in spritechannel 1)
on exitFrame me
sendsprite(1, #toggle, true)
end
or
Put in a script attached to the button sprite, like this:
property spriteNum
on beginSprite me
sendsprite(spriteNum, #toggle, true)
end
As a simple test:
- start the movie
- open the message-window (ctrl-m on windows..)
- write: sendsprite(1, #toggle, true), and press return
change 1 to the correct spritechannel, and toggle the button
on/off by using
true/false

Similar Messages

  • Is there a way to create a multi-state button or have a pict ring behave like boolean?

    Does someone know of a way to make a multi-state button say (function one, function two,function three, off) or implement boolean-like behavior for a pict ring? I want to be able to cycle through the states without a menu popping up for all possible values. So when I press this button or ring it will go from state-1, to state-2, to state-3 etc.

    > Does someone know of a way to make a multi-state button say (function
    > one, function two,function three, off) or implement boolean-like
    > behavior for a pict ring? I want to be able to cycle through the
    > states without a menu popping up for all possible values. So when I
    > press this button or ring it will go from state-1, to state-2, to
    > state-3 etc.
    Place a transparent button over a ring. On button value change events,
    or via polling, increment the ring indicator. Better yet, put the value
    in a shift register that gets incremented and displayed in the ring
    indicator.
    Greg McKaskle

  • Multi-state button in on state at start

    I used the multi-state behavior from the library to set up my
    nav bar. How do I set a button to be in the on state at the state
    of the movie?

    > Thank you. Now, where do I put this code?
    It can be used in several ways to tell the button to toggle -
    as long as the
    button sprite is drawn on stage, and have the multi-state
    script is
    attached.
    Put in a framescript, like this:
    (assuming that the button is in spritechannel 1)
    on exitFrame me
    sendsprite(1, #toggle, true)
    end
    or
    Put in a script attached to the button sprite, like this:
    property spriteNum
    on beginSprite me
    sendsprite(spriteNum, #toggle, true)
    end
    As a simple test:
    - start the movie
    - open the message-window (ctrl-m on windows..)
    - write: sendsprite(1, #toggle, true), and press return
    change 1 to the correct spritechannel, and toggle the button
    on/off by using
    true/false

  • Multi state buttons and video/audio

    I am working on an interactive pdf. Right now I have audio set to automatically play on page load. I need the ability to be able to make this button multistate. In that its appearance when the page comes on is a pause button which pauses the audio ( I have it set to this right now and it functions fine), but then I need to have it shift to a play button and perform the action of resuming the audio when the user clicks on it.
    Also I have set a button to load video, its an mp4 file. Is there a way I can set an action to the button that takes it off the screen along with the audio completely? Currently I am able to set an animation over it so that when you click or hover over it, it will go away, but the sound that is in the video doesn't go away.
    I am having problems also with buttons that should link to open a pdf file. One works fine. All the others do not??? Little hand cursor does not even appear when I hover over them to show that they are link, but when I check in the file they are.
    Help needed for deadline of tomorrow! Help!
    Thanks

    Here is a workaround I posted a couple years ago for a two-function button which might help you:
    http://indesignsecrets.com/creating-a-two-function-button-for-interactive-pdf-or-swf.php
    I don't believe your second request is possible.
    Setting buttons to open up other files is extremely tricky and hard to set up because the file hierarchy must be maintained. It works best if all the files can always be in the same folder.

  • ID 5.5 Interact. PDF, cannot remove white background for Multi-States and buttons.

    Hi
    I am working on an Interactive PDF Portfolio document. The problem I have is with Multi-State object feature with several buttons going to states that need to be exported as a SWF and imported back into InDesign 5.5. See, the background of my entire doc. is GREY, but when I import the SWF (as directed in Lynda.com videos correctly) and export the entire doc as Interactive PDF and view it in Adobe Acrobat Pro (version 10.1.1) is when all the trouble starts.
    When I try to get rid of the WHITE background around the Multi-State objects and the buttons for them (using Select Object Tool and then control+click on it to change the Properties to Transparent Background Appearance) it does not change, even when I go forward and backward to the page.
    Does the option of removing white background and making it transparent work only for Animation, but not Multi-State feature with buttons?
    Can anyone suggest any other tecnique to create a nice slide show that works in Interactive PDF in ID CS5.5? Please..
    Sincerely,
    in need of help,
    Eve

    I have 8 Multi-State objects in one stack on the left and the 8 buttons for each state in the stack on the right. The background of my document is dark grey. There is space inbetween Multi-State objects and the buttons that show the grey background. But after exporting as SWF the Multi-States together with the buttons and placing the SWF back in the PDF file, the space inbetween Multi-States and buttons that is supposed to show the grey background appears white. The problem is that I cannot even change this white background to transparent in Acrobat Pro, as well. I used to do that to animations and it worked, but not in this case.

  • Image buttons in multi-state-object

    Hello,
    I created 3 articles in Indesign for the iPad. The 3 articles come in a liquid format (landscape and portrait) and are all quite picture heavy. Nevertheless, I am very surprised of the folio file size, it's over 500 MB big.
    The biggest Indesign file of these 3 articles has 115 MB as there are many statuses (multi-state-objects) (please see screenshots attached). I checked these resources out: Digital Publishing Suite Help | Best practices for creating overlays and Structuring Files for DPS
    According to these resources, the images in my 9 big circles should be resampled when I export the folio in PDF format. So by theory the image sizes cannot be the problem here. But what else can be the problem? I can't think of any other issues.
    What can I do to reduce the folio size. Please help!

    I don't have any web overlays, no. Just normal URL links (In-App-Browser opens). I have 1 video file embedded (nearly 400 MB), so I am well aware of that. But 150 MB for the rest when it's only 3 articles (despite having 2 formats) seems a bit too much to me. I did add the articles to the folio once at a time, yes. And it is the article with the many buttons and MSOs (as seen in the screenshots above) that is so big. This is also the article with the video in it, but still. I have the feeling buttons or the images in the buttons are making the folio so big. I often do app magazines with approx. 15 articles and 3-4 videos embedded (200-300 MB per video!) and that is normally 650 MB or so. So comparing that with my 3 articles makes me wonder.
    Do MSOs and buttons make a folio big, is that possible? Or is it the images in the 9 big buttons not being resampled correctly (even though the documentation - 2 links in my original post - say something else). When I export the article, I always export it as PDF and when looking at the loading bar, it says "saving as PNG". So that should mean that all my buttons are resampled, I don't have to worry about image file size and it's exported as PNG in the PDF. Hm...

  • Button/multi state query

    Hello all
    I’m encountering a challenge which I believe has been discussed on these forums.
    This relates to pixelated, blurry text within buttons and multi-state objects.
    One solution to this issue is not using the objects containing text as buttons or multi-state objects. Instead, you insert shapes with no fill/stroke on top of text graphics and then grouping them.
    This ensures the text is sharp and clear.
    However, if you wish to have a roll over state, with a different fill/stroke/text colour as part of the roll-over state, then this poses problems as the shape serving as a button has to have no fill/stroke or text within them.
    Has around a work around for this problem?
    Many thanks
    H

    For clear buttons with click states, the easiest workaround is to place a dummy button over the image and change the stroke and perhaps even add a transparency fill. There is another more complicated workaround as well. For examples and instructions, see DPS Tips > Advanced Overlays > Sharp Buttons.
    http://contentviewer.adobe.com/s/DPS%20Tips/7f80a0ffed3a4ff08734bc905aac4a29/Advanced_Over lays/12_button_crisp.html

  • Interactive pdf - Buttons within multi-state objects

    Hi,
    I seem to have a problem. I dont know if it is even possible, but I made a button that goes to a status of 2 multi-state objects. Within one of those multi-state objects is a button that closes that multi-state object. So now I am wondering if it is possible to make that same button close the other multi-state object aswell?
    Marc

    Yes, you can attach multiple actions to one button, but there´s a bigger problem... based on your title I guess you are trying to use multistate objects with interactive PDF and that´s not possible. MSOs are supported only with SWF exports and with Adobe DPS / Folios....

  • My multi-state object disappear's when I export to PDF but works in Preview mode?

    I created a multi-state object which is a series of logos that appear when a button is clicked. There are two buttons one is set to go the the previous state and one is set to go to the next state. When I view it in the preview mode it works fine but when I export it to PDF nothing happens when I click the buttons. Any help would be greatly appreciated.

    Multi-state objects are NOT supported in PDF. The PDF standard preceded the development of multi-state objects. It's now under the control of the ISO so may be slow to adapt.
    They work when exporting to SWF or with the Adobe Digital Publishing Suite.

  • Multi-state scrollable text frames

    I've created a multi-state object with 5 different articles the problem I seem to be having is after scrolling half way down on one and switching to another it remains half way down the scrollable frame. Is there a way to have it return to the top of each state when switching between the states ?

    Sorry for the misplacement,
    I'm making a portfolio and have 5 separate projects to display, I was hoping to display them on one page with 5 separate buttons allowing the viewer to switch between them seamlessly than to have them on 5 separate pages.
    I've got the desired effect thus far using 5 scrollable text frames combined into one multi-state object but switching between states keeps it relative to where the person was in the last state. Due to some articles being smaller vertically than others this can be a problem as it shows up blank which will probably create an impression of the information being non existent or the program not working.
    I would appreciate any help on resetting the state to the upper left between changes and not just on the initial opening, or any alternative methods that would create the desired effect.

  • Slideshow Using Multi-State Objects

    Hi,
    I created a slideshow in an Indesign document using multi-state objects. The slideshow has foward and backward buttons to navigate the slideshow. The slideshow works fine in Indesign but when I export the document as an intereactive pdf, the slideshow no longers works. What am I doing wrong? I'm using Indesign CS 5.5.
    Thank you,
    Kristie

    What you're doing wrong is expecting it to work. MSOs are for SWF and DPS output only.
    The only workaround is doing it in its own file, exporting to SWF and placing that in the PDF.
    Bob

  • DPS HTML to activate multi state object

    Is there a way to have an HTML asset placed in a DPS folio, to activate a specific state of a multi state object?

    I don't think there is a way to use hyperlinks to change an MSO's state.
    Two approaches you might try:
    1 - Lose the MSO and create it as an html overlay and use jQuery to create a similar MSO change state experience
    2 - Try overlaying a blank button on your html link and use that to change the MSO state

  • Video above multi-state object

    hi guys,
    We always tried to avoid this kind of problem on our designs, however, this time we are just converting a publication so we cannot change the design and we are facing an issue, basically we have a video and a calendar that opens fullscreen when I click on a button. The problem is that the video remains above the calendar (see attached image)
    I found some posts talking about this, but they are related to the same object, not different objects. Is there any way to fix it?
    Thanks!

    >
          Multi state object - once my video finishes it takes me back to
          the 1st state. Can I stop this?
    created by ross_macintyre
    <http://forums.adobe.com/people/ross_macintyre> in /Digital Publishing
    Suite/ - View the full discussion
    <http://forums.adobe.com/message/4967946#4967946ross_macintyre <mailto:[email protected]>
    Friday, January 4, 2013 11:21 AM

  • Are Multi-state Objects Supported in Version 11 DPS tools?

    Hello Everyone!
    I was wondering if multi-state objects are supported in V11 of DPS tools for example if i create a multi state object and build it for an iPad,
    Will the MSO work with V11?
    On Another note,
    Horizontal Swipe won't work on V11 right?
    Thanks!

    Hi Bob,
    I was given the green light to proceed with MSOs and on their spec sheet it said they supported multi state objects.
    Here's a quick mock up of something similar we did.
    The arrows are part of the state, as well as the image and text, so there's buttons within the states.
    Something like that would not be possible?
    The reason we did it this way was because they wanted everthing in one page, so the only way to fit multiple pages into one was to create MSOs, i originally had it as seperate pages were the user would click the arrow and it would take you to the next page instead of the next mso.
    Thanks bob!

  • Image on top of multi-state object

    Is it possible to put an image on top of a multi-state object? I have tried converting the image to a button, but it won't go on top of the MSO.

    Convert the image to an MSO. By default it will have two identical states. Have it run automatically once and put it on layer above the other MSO.
    Bob

Maybe you are looking for

  • I want to upgrade my MacBook's graphic to the brand new apple graphics, what should I do?

    I want to upgrade my MacBook's graphic to the brand new apple graphics, what should I do? coz mine doesn't supports CAD, or any high graphic game pls don't tell me, that ain't possible.

  • Re: Problems

    It is not the standard web browser error page that appears: it is the robohelp server error message that is displayed. Do not recall the exact message as the machines have been taken offline. --> When initially tested, I tested each server individual

  • Ipod is messed up

    when i am syncing all my music and videos it isn't putting them all there like it will only put 974 songs out of 5250 items any idears that would fix and i have already tried restoreing it too

  • I can't turn my email or message notifications off.  I have used the off settings, but still no luck?

    I can't turn my email or message notifications off.  I have used the off settings, but still no luck?

  • CFContent Situation

    Hello community! I am working on an export file which is a pipe (|) delimited file and I am running into some issues. First of all the file is not being generated with the file name that I am specifying. Second, I am getting a ton of HTML in addition