Set the state of an interactive button

I would like to use interactiev buttons in my document, but set the state on each page so it seems like it is selected (similar to a web page). Is there a way to do this easily? I cannot seem to get it to stic when I export as a pdf. On screen it looks like the ocrrect state is active, but when I save as a pdf with interactivity selected, it goes away... Please help. I am attaching a pdf. I would like on the first page first button the state would be the "on click" state (reverse blue text on white), and then on page two the same

I guess you should create two separate buttons, one for normal state, another for clicked state. Place them stacked, normal state on the top. Then you place a Hide Button action to it. When user clicks it, it hides itself and clicked state button becomes visible....
(haven´t tried this, I just guess it could work....)

Similar Messages

  • How Do You Set the State Of a Custom Compent's Child Custom Compent?

    I'm starting to build very complex interface 'widgets' built by taking simple custom compents and creating more complex custom compents from these compents and then again grouping those to create custom components. However, I'm starting to lose access in Catalyst to set these sub custom compents. It maybe just a noob issue.
    Am I looking at this wrong?
    Should I not be nesting compents?
    Other wise how do I access these?
    I haven't jumped into the code part of FLEX yet but I figured it would be very OOP like, so... (psuedo code)
    myParentCustomComponent.my1stChild.state = myChildsStateOn;
    //( myChildsStateOn, myChildsStateOff, myChildsStateNotVisited )
    myParentCustomComponent.my2ndChild.state = myChildsStateOn;
    //( myChildsStateOn, myChildsStateOff, myChildsStateNotVisited )
    I hope I can set this in Catalyst so that I don't have to do a shallow and very wide state setup like ... (psuedo code)
    myCustomCompent.state = my1stChildIsOn;
    myCustomCompent.state = my1stChildIsOff;
    myCustomCompent.state = my1stChildIsNotVisited;
    myCustomCompent.state = my2ndChildIsOn;
    myCustomCompent.state = my2ndChildIsOff;
    myCustomCompent.state = my2ndChildIsNotVisted;
    PLEASE ADVISE, thank you.
    Best Regards,
    -Truce

    Hi Truce,
         Thank you for your feedback. You have run into a current limitation with the "play transition to state" interaction and the "Set Component State" action in the timeline. Currently the UI that allows you to pick a state only "sees" components that are direct children of your current context. The state picker doesn't allow picking states of components that are more deeply nested.
    We are aware of this issue and how it impacts user's ability to author more complex projects, so we are looking at ways to allow users to pick states deeper within the hierachy when creating interactions.
    One work around that works in *some* cases is to set the state of sub components in a parent component using the PI rather than using interactions.
    If you have a structure like this
    Application
        WidgetA (with state1 and state2)
              WidgetB (with state1 and state2)
              WidgetC (with state1 and state2)
    You can record what state WidgetB and WidgetC are in for each state of WidgetA. To do this double-click WidgetA, select WidgetB and change the current state in the properties editor for WidgetB. That state will be remember for each state of Widget A. Then when you have an interaction at the application level that changes the state of WidgetA, then WidgetB will change state as well. This works well if WidgetB is in the same state for each state of WidgetA. If you want to change WidgetB and WidgetC states directly from the Application level, there isn't currently a way to do this.
    - Ty

  • How to set the state of browser frame?

    hello all,
    can u suggest some way to set the state of applet broser from minimized to maximized.
    the class name for browser window is shown as
    "com.ms.applet.BrowserAppletFrame."
    i can type cast the browser frame reference to Frame class, but the method setState(Frame.NORMAL) is not working as this method is not available in micorsoft implementation of java.awt.Frame class.
    i would like to maximize the brower programatically..
    thanks in advance...
    regards
    Sojan

    Hi,
    Did you find a solution for this problem? I am trying to do the same thing. Thanks.
    J

  • How to set the value of an radio button using set_radio_button_property

    I'd like to set the value of an radio button dynamically, depending of the situation.
    (=> the value which the object returns to the radio group)
    Means: the 'radio button value' of my object 'rb_1' shall be 1, in other circumstances 99 and so on.
    Is it possible to set this value at runtime ?

    the problem is as Gerd wrote:
    there are two or more radio buttons in an option group.
    Their value depends on the text objext t_field.
    If t_field is "car" the value of radio button 1 shall be 75, button 2: 90 and button 3 115.
    if t_field is "bus" the value of radio button 1 shall be 250, button 2: 275 and button 3 300 and so on.
    My problem is to set the value of the radio buttons at runtime after choosing/typing the value of the text field t_field.
    Message was edited by:
    PatrickM

  • How to set the a  graphic ( 3 radio buttons ) in the report ?

    Hi  Exports,
    1.  How to set the a  graphic ( 3 radio buttons ) in the report ?
    Acutely  I  want to  fetch the record from MCHB-CLABS and MCHB-CSPEM , if the data read from MCHB-CLABS will show the green light otherwise if read from MCHB-CSPEM, it will show red light.
    (e.g :  if syntax error in report  it is showing red light signal , like that how to set in report program)
    Thanking you.
    Subash

    Hi,
    In your internal table declaration, include yet another field for lights..
    DATA: begin of itab,
               lights type light,
              end of itab.
    DATA: GV_LAYOUT TYPE SLIS_LAYOUT_ALV.
    GV_LAYOUT-LIGHTS_FIELDNAME = 'LIGHTS'.
    Use the GV_LAYOUT in your FM to display the ALV.
    IS_LAYOUT                         = GV_LAYOUT
    If itab-lights = 1 => Error
      itab-lights = 3 => Success
      itab-lights =2 => Warning

  • How to set the short cut key for buttons

    Hi
    I dont know how to set the short cut keys for the button...can u pls help me out

    Do you mean a short cut key for buttons at client side (web browser)? If yes, you could do it with JavaScript~~~ ^o^

  • Can I just add a state to bug work item and not set the state to the workflow

     Hi,
    Based on my team, we need to add a state/states to the bug work item, just add the bug state, and let it displayed in the state dropdown list. We don't want to add the state to the workflow. Can I do that? 
    Thanks,
    shmily

    Hi shmily,
    If you add a state for the bug in your work item definition file, you have to define the transition for the state. If not, when you change the state, the backlog page or task board will not display the work item correctly.
    Please check the links below for more information about workflow design guidelines and customization for work item type:
    http://msdn.microsoft.com/en-us/library/ms194981.aspx
    http://msdn.microsoft.com/en-us/library/hh409273.aspx
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My iphone5 hangs up. icant leave in general setting, the home and turn off button is unresponsive

    i have a problem with my iphone5 after i charged last night, then delete some application, it hangs up, the home button is unresponsive , even if i turn it off or unlock it theres no response at all,, help me guys? tnx .. , it stuck up in my general setting i cant leave there. i can click but icant leave...

    Hi there,
    You may want to take a look at some of the troubleshooting steps found in the article below.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    -Griff W.

  • This circuit has no power sources: unable to determine the simulation timestep automatically. Please add a power source or set the simulation timestep under "Interactive Simulation Settings" to proceed.

    Hi again.
    I built this circuit but I keep getting the error message in the title.  I have gone through the older threads on it but can find nothing to help.  If I run the digital smaples they work fine.  If I run other digital circuits I made they work fine.  I have tried this circuit on another PC and get the same error.
    Any help would be greatly appreciated.
    Ray
    Attachments:
    Five input TTL circuit.ms10 ‏81 KB

    Followed the procedure I just told you, and it works fine.........again.  I've attached the fixed version, see if it works there now.
    Signature: Looking for a footprint, component, model? Might be here > http://ni.kittmaster.com
    Attachments:
    Five input TTL circuit_fixed.ms10 ‏82 KB

  • Is it possible to set the firefox back button to a custom action in the context of a websocket connexion?

    Simply, is it possible to set the firefox back and forward button to custom javascript function to navigate in a websocket application.
    Thanks in advance

    You may get lucky, especially as Today is a "Sumo Day" with more contributors around than usual. Such a question tends to be slightly off topic, being a hack of a standard Firefox installation.
    What I would suggest is that you try other forums, either a specialist linux forum or the popular Mozillazine forums: http://forums.mozillazine.org/index.php

  • Setting the visibility of a button after a click on a TabbedPane

    I have a page with a Tabbed Pane.
    I would like to set the visibility of a command button when I click on a Tab.
    To do that I put a disclosureListener like this:
    <af:panelTabbed position="above" testId="Tab1" >
    <af:showDetailItem id="Tab1" text="Tab1" disclosureListener="#{prova.apri}">
    <af:outputText value="Table1"/>
    </af:showDetailItem>
    <af:showDetailItem id="Tab2" text="Tab2">
    <af:outputText value="Table2"/>
    </af:showDetailItem>
    </af:panelTabbed>
    In the backing bean I have the attribute bound to the commandButton and the listener method like this:
    public void apri(DisclosureEvent disclosureEvent)
    // Add event code here...
    RichShowDetailItem o =
    (RichShowDetailItem) disclosureEvent.getSource();
    this.commandButton1.setVisible(true);
    this.commandButton1.setRendered(true);
    It doesn't work !! I guess I'm missing something....
    Could someone help me??
    Thanks a lot.
    Alfredo

    Based on the code you provided it does not look like you are using a partialPageTrigger, which would be required in this case.
    --Ric                                                                                                                                                                                                                                                                               

  • 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"

  • Dynamically Setting the icon in a LinkButton

    I am using several link button controls as navigation devices in my app.  When the LinkButtons are created they are all given four icon properties like so:
         upIcon="@Embed(source='images/Off_1.gif')"
         icon="@Embed(source='images/Off_1.gif')"
         overIcon="
    @Embed(source='images/Over_1.gif')"
         downIcon="@Embed(source='images/Sel_1.gif')"
    The second LinkButton would have the same properties as shown except it would have it's own set of GIF's.  Because these are navigation buttons in my app I want to be able to click on a LinkButton and have it's downIcon GIF become the icon GIF.  That way it looks like the button has stayed selected and gives the end user some visual indication of where they are in the app.
    Problem is how do I set the state of the icon for a LinkButton and make it show???  I have tried this AS code but it hasn't worked...  It doesn't generate an error... it just has no visual effect.
        LinkButton_1_ID.setStyle('icon', 'images/Sel_1.gif');
    So if you have any ideas on how to change the icon on a LinkButton please let me know.  Thanks in advance for your help!!!
    Have an Ordinary Day...
    KomputerMan  ~|:-)

    You are probably better off just using a Button with custom skins.
    But if you do want to swap out the icon, you'll need to embed the asset as a Class:
    <mx:Script>
    <![CDATA[
        [Embed(source="assets/images/pie.jpg")]
        [Bindable]
        public var Pie:Class;
        [Embed(source="assets/images/bar.jpg")]
        [Bindable]
        public var Bar:Class;
         private function init():void
            myLogo.source = Pie;
    ]]>
    </mx:Script>
    <mx:Image id="myLogo" click="myLogo.source = Bar"/>

  • TS2795 When I set CALL FWDING  "ON" and I set the phone number and I back to CALL FWDING, the option returns to "OFF" status, why this is happening ?

    Hello,
    Can someone help me to activate the Call Forwarding option on IPhone 5, OS 6.01 ??
    Currently I am trying:
    * Settings -> Phone -> Call Forwarding -> "ON" -> SET THE PHONE NUMBER ->"Call Forwarding button"
    But when the screen returns to Call forwarding, the option returns to "OFF" mode.
    * I already try to call to *72 to "activate" the call forwarding option, just didn't work.
    I don't know if I need to do an additional configuration, If someone has an idea, please let me know!!
    Regards
    Cami

    Who is your carrier? Not all carriers support enabling and disabling call forwarding using the controls in Settings.

  • JButton - set down state (toggle like behaviour)?

    I'm sure this has been asked and answered.. as well as being something simple.. yet I can't find out how to set the state of a JButton to down.
    As in when you click a JButton and hold down the mouse, it's in a pressed down state, I'd like to preserve this state instead of it popping up again.
    So how do I get a JButton to behave like a toggle switch with it showing in the down state when "enabled" ?
    If anyone could tell me where to find the code of the original JButton class at the point where it's in the pressed down state that would be great to, as I'm guessing I can figure it out from there.

    err I'm going to hide under my desk in shame I think..
    Though I do wonder how google didn't bring that up, quite sure I did search for JButton toggle.
    Anyways.. thanks for answering this what now seems like an even sillier question then I expected it to be.

Maybe you are looking for