Button activation

I am embarrassed to ask this question. But how do you
activate a button that is embedded in a movie clip? Do you use the
linkage properties to export for ActionScript or is there another
way?
Gizay

My apologies, Shandy. Sometimes it takes knowing the solution
before knowing if you are experiencing the same problem or one best
asked elsewhere.
Nonetheless, I'll summarize my solution here rather than make
a new post to simply do so.
In my case, I created the problem by attaching a onRollOver
call to the parent movie clip. By doing this, I couldn't assign new
button states to it's children. The solution is to use another,
perhaps invisible button that is not part of the parent, or create
the button with something that is a child just like the other
children, which will be buttons in themselves.
Gizay, there a lot of things that could potentially cause you
to not be able to target your sub-buttons (like my example), but in
general, you can simply target it using a relative path from you to
the target. For example, in my case, I'd target the sub-button from
the root like:
parent.child.onRollover=function(){trace("hi")};
but if I were writing my code from the parent's timeline
(which I try not to do), it might look like:
child.onRollover=function(){trace("hi")};
You can also target from a child of the parent, to another
child, which might look like:
this._parent.child.onRollOver=function(){trace("hi")};
Hope it helps.
-Greg

Similar Messages

  • How to keep the save-button active all the time?

    Hi!
    I'm using mobile sales 4.0.
    On a tile i've only fixed questions and combo boxes with yes and no ...
    When i write manually a "yes" in the combo box field the save button is active - When i use the combo box with a mouse click the save-button isn't active.
    What are the settings i've to do to keep the save-button active all the time?
    Thanks a lot in advance.
    Best regards,
    Ingo

    Hi Ingo,
    If your combobox is a bound control, then when you change a value in it, the save button should be enabled. Strange. But anyway, you can do this.
    In the <b>combobox_OnValueChanged2</b> event, make a call to makeDirty method in the tile:
    If boundAttributeChanged Then
         <b>anchorthatyourcombotiedto</b>.bo.MakeDirty True
    End If
    This will make the Save button enabled.
    Regards, Vadim.

  • How can we make the save button active in standard toolbar in outout of alv

    Hi experts ,
    I am using factory method to print alv with oops .
    Cancel , Exit and Back button are active by default in Standard tool bar  in output of Report , But Save button is not active , How can i make that save button active .
    Also Pls tell me how i can make editable to the cell in output , 
    My Code is like this :
    cl_salv_table=>factory( IMPORTING r_salv_table = gr_table CHANGING t_table = ispfli ).
      gr_functions = gr_table->get_functions( ).
      gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'This is the heading' ).
      gr_columns = gr_table->get_columns( ).
      gr_column ?= gr_columns->get_column( 'CITYTO' ).
      gr_column->set_long_text( 'This is long text' ).
      gr_column->set_medium_text( 'This is med text' ).
      gr_column->set_short_text( 'This is sh' ).
      gr_column ?= gr_columns->get_column( 'CITYFROM' ).
      color-col = '6'.
      color-int = '1'.
      color-inv = '0'.
      gr_column->set_color( color ).
      gr_sorts = gr_table->get_sorts( ).
    *gr_sorts->add_sort( 'CITYTO' ).
      gr_sorts->add_sort( columnname = 'CITYTO' subtotal = abap_true ).
      gr_agg = gr_table->get_aggregations( ).
      gr_agg->add_aggregation( 'DISTANCE' ).
      gr_filter = gr_table->get_filters( ).
      gr_filter->add_filter( columnname = 'CARRID' low = 'DL' ).
      gr_layout = gr_table->get_layout( ).
      gr_layout->set_key( key ).
      key-report = sy-repid.
      gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
      gr_table->display( ).
    Rgds,
    Premraj

    Hi,
    1)you need to give the function code to that save in the Function Keys of that screen from the GUI Status.
    2) while filling the field catalog of that field you need to put the        
    wa_fieldcat_edit-edit = c_x.
    i.e use the edit and append to that field catalog internal table.
    for more infomation you can refer to below links:
    problem with alv edit and save
    *Edit* and *Save*  for the selected records in ALV
    solves your problem
    Thanks!!

  • Button Activation Sequence.

    Hi Everyone,
    I am creating a program which controls a voice coil controller.  In the program, I have a series of buttons that need to be pressed in a specific order, in order for the controller to operate correctly.  Various users will be using this program so it's imperative that they are used in the correct order to prevent controller malfunction.  I was wondering if there was a way, for when the program starts, all of the buttons except one be disabled.  Once that first button is clicked, a second one becomes enabled, and so on.. until they all have been clicked in the right order.  Finally, when a stop or reset button is clicked, the initial state of only one button active becomes true.  I have attached the project if anyone would like to view the GUI.  "Updated GUI Fretter" is the program and the "Test Control" tab is the one I am referring to.  I'd initially like the "Download Program" button to be active, then once that is clicked, "set home position" becomes available for use, and so on to the right.  
    Any ideas or suggestions on how to make this function are greatly appreciated.
    Attachments:
    UPDATED GUI Fretter.vi ‏63 KB

    I take it back. Event structure is just what you need:
    Attachments:
    buttons.vi ‏15 KB

  • Batch Master Classification View - Inconsistent button active

    Hi
    We are encountering a problem of the Inconsistent button getting active in the Batch Master Classification tab (Material is batch controlled). We know the reason why this is getting active : Due to a wrong inbound value for a field called 'Sterilization Site' in the classification data (data element: ATWRT) through an interface from a legacy system.
    We also know the solution to get around this: Go into the batch master in edit mode and delete the inconsistency by clicking on the Inconsistent button and then the delete button on the pop-up screen which gives the inconsistent value.
    My requirement is: <b>How do we identify all the 'inconsistent' batches in the system?</b>  Is there a way to identify a batch having an inconsistent characteristic value?  (inconsistent value => value not existing in the allowed list of values for the particular characteristic)
    When I try to do a F1 on the 'inconsistent' button, I get a help screen giving "Program: SAPLCHRG; Function: VCON".
    Thanks
    Chandra

    Steve,
    You have given me the right solution, but in this one particular case that I am tracking, I think there is an aberration.
    I've got an output of all batches by using the option 'Show Incomplete Status' in CL2A. But this particular batch has the 'Inconsistent' button active, yet the classification status is showing as 'Released'
    Any idea how to deal with such batches and extract this information?
    Regards
    Chandra

  • Make "create transfer routine" button active

    Hello Gurus,
            for infoprovider of infoobject, under transfer routine of general tab,
           " transfer routine exists" is checked, but is grep-coulored
           "create transfer routine" button is grey-coulored.
           how can I make "create transfer routine" button active ?
    Many thanks,

    Hello,
    Click on the Pencil Icon in the InfoSource/Transfer Rules screen. Then click on the transfer routine you will be able to create and change.
    Thanks
    Chandran

  • Automatic button activation

    Hi
    I know very little about Flash and must apologise in advance
    for what may be a very stupid question.
    I am using Dreamweaver to create a simple website and have
    used one of the standard Flash buttons from within Dreamweaver
    itself. After viewing it online and hovering over any of the link
    buttons, "Click to activate and use this control" appears and you
    have to click twice for navigation.
    I think the buttons should change color just by and look
    active just by moving over them.
    Could anybody got a simple solution please?
    Thanks
    Jerry

    Read here:
    http://www.smithmediafusion.com/blog/?p=114
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "nonads" <[email protected]> wrote in
    message
    news:ed9mlb$abk$[email protected]..
    > Hi
    >
    > I know very little about Flash and must apologise in
    advance for what may
    > be a
    > very stupid question.
    >
    > I am using Dreamweaver to create a simple website and
    have used one of the
    > standard Flash buttons from within Dreamweaver itself.
    After viewing it
    > online
    > and hovering over any of the link buttons, "Click to
    activate and use this
    > control" appears and you have to click twice for
    navigation.
    >
    > I think the buttons should change color just by and look
    active just by
    > moving
    > over them.
    >
    > Could anybody got a simple solution please?
    >
    > Thanks
    >
    > Jerry
    >

  • UI: Toolbar - (F?)AQ about toolbar button activation and usage

    <b>Q:</b>
    How can I add functionality of the two SAP toolbar buttons shown on the screenshot?
    <b>Reply:</b>
    Please note that the clicks on the toolbar buttons are translated into MenuEvents!
    I.e. if the button is active at the time you want to use it - just declare a MenuEvent handler for it... (find the Menu ID e.g. in the UI help - or from version 2005 on through hovering over the corresponding menu item).
    If the toolbar button is inactive - activate the corresponding menu item first.
    Please note that you cannot:
    - add or remove toolbar buttons (you can just disable them)
    - add or remove top level menu items

    Just a FYI

  • Ribbon Button activating when a field in the Document / List item metadata = 'Yes'

    Im hoping this is an easy answer as Im sure it must be, but my mind has gone blank!
    Basically I have created a button to run some javascript code to fire a custom (manual) workflow on an item that is selected in a Document Library (or List)
    I have set the ribbon button to only be active IF one item is selected in the Library but what I want now is to only activate the ribbon button if one item is selected AND IF a specific field in the item = 'Yes' (The field in this case being called 'DraftDoc'
    [Choice field]).
    Ive tried a few methods but none seem to work and VS2012 errors on debugging.
    My code to enable the button so far is:
    // Method to enable/disable the button on the ribbon.
    function EnableSubmitDraftDocument() {
    // request number of selected items.
    var items = SP.ListOperation.Selection.getSelectedItems();
    var count = CountDictionary(items);
    // only return true is a single item is selected.
    return (count == 1);
    Can anyone help me with the extra code I need?
    Cheers

    Hi,     
    According to your description, you have been able to set the ribbon button to be actived if one item is selected. Now, you want to activate the ribbon button if there is one
    item selected and the value of "DraftDoc" column is "Yes".
    We can achieve it by getting the value of this "DraftDoc" column of the selected item to check whether it is "Yes".
    Here is a code demo about checking whether the value of "DraftDoc" column of the selected item for your reference:
    function retrieveSelectedFiles()
    this.clientContext = SP.ClientContext.get_current();
    var web = this.clientContext.get_web();
    this.selectedItem = SP.ListOperation.Selection.getSelectedItems();
    this.selectedList = SP.ListOperation.Selection.getSelectedList();
    if (CountDictionary(selectedItem) == 1)
    this.listItem = web.get_lists().getById(this.selectedList).getItemById(this.selectedItem[0].id);
    this.clientContext.load(this.listItem);
    this.clientContext.executeQueryAsync(Function.createDelegate(this, onRequestSucceeded), Function.createDelegate(this, onRequestFailed));
    function onRequestSucceeded() {
    str = listItem.get_item('DraftDoc');
    if(str == 'Yes')
    str+="Yes";
    alert(str);
    function onRequestFailed(sender, args) {
    alert('Error: ' + args.get_message());
    Best regards
    Patrick Liang
    TechNet Community Support

  • Button activation in Java vs windows

    first, let me say I am a novice programmer.................
    I am attempting to activate a "push button" in a java application (AWT) which is deployed on a windows 2000 environment (a commerical software package which controlls a piece of equipment). I am attepting to activate a button in this application by establishing a windows level control over the window with the push button and acivete the button with windows commands all writtin in C#.net. I wrote a routine to esstablish a focus on the window with the "push button" and am able to manually depress the space bar to activate the button, however when I try to simulate this by activating the windows "space bar" key stroke command the java button depresses but the background java application does not activate. Is there a special command sequence that JAVA recognizes to initiate an action via "spacebar" press?

    crosspost

  • Trophy:Back button activation area not as wide?

    i dont know if its supposed to be designed this way but with my back button i have to push the screen/button about 1mm from the left side of that arrow. but with the search button i can push/activate from the area about 3mm on the right of the image. testing it from the sides of the screen it seems like the search button has a wider activation area. is yours like that too?

    today i tried the phones in two of my local vzw stores and the area you have to press is similar to my phone. the area you need to push the back button is farther from the left compared to the right with the search button. i wont be able to get a replacement for my current trophy yet. (gotta call #611 later)(for that high pitch tone when the screen is on (i got a post about my issue in the forums))

  • Mouse button activation of Spaces stops working requiring reboot to restore

    I am using a Kensington Expert Mouse with 4 buttons. I have the upper right mouse button mapped to "Button 4". I have Spaces configured to be activated by Button 4.
    Everything works great. I love it. However, periodically it just stops working - meaning I hit the mouse button and nothing happens. I can still hit F8 to get Spaces - just no mouse button.
    I have checked both the configuration of the mouse and of Spaces in preferences to make sure nothing has changed. It is all setup the same way. It just doesn't work.
    BUT ... if I reboot, the functionality comes back.
    I can't tell is this is part of the problem but I do put the laptop to sleep frequently and it may be that this functionality doesn't come back after a sleep. I haven't paid close attention.
    Any ideas?
    Thanks.
    -Steve

    I am also experiencing this problem. For me, the Dock seems to crash every once in awhile and then the mouse binding for Spaces no longer works. When this happens, the OS still recognizes me pushing that mouse button so I don't think it's a mouse problem. F8 works while the mouse button won't work.
    This is what I saw in my logs last time it happened:
    Dec 18 00:44:09 mdma ReportCrash[3762]: Formulating crash report for
    process Dock[96]
    Dec 18 00:44:09 mdma com.apple.launchd[82]
    ([0x0-0x9009].com.apple.dock[96]): Exited abnormally: Segmentation
    fault
    Dec 18 00:44:12 mdma ReportCrash[3762]: Saved crashreport to
    /Users/mike/Library/Logs/CrashReporter/Dock2007-12-18-004407mdma.crash
    using uid: 501 gid: 20, euid: 501 egid: 20

  • Delayed button activation

    In all of the DVD's I've made so far, I've noticed that it takes one cycle of the animated menu before the buttons are active. For example, if the play time of the menu is 20 seconds, it takes 20 seconds before the buttons are active. This happens both if the menu is set as 'first play' and/or the menu is accessed using the remote's 'menu' button. I noticed this doesn't happen in the 'Simulator'. Could this delay possibly be a 'feature' of DVD players, or am I missing a setting some place.
     20" Intel iMac (2.0GB RAM, 500GB HD + 1.5TB external, 20" Cineama Display)   Mac OS X (10.4.7)   All tools, no talent!

    Hi:
    I've noticed that it takes one cycle of the animated menu before the buttons are active.
    Look at the Loop Pointsetting. In animated menus, the buttons overlays appear when the Loop Point time arives. That could be a reason for such behaiour, ... but ussually you must see that in simulator too!
    Did you build the animated menu by yourself or are using a template?
      Alberto

  • Button activation from within track

    Any suggestions on how to create an active invisible button within the entirety of a track? Working on a project here that uses a track ball for navigation and we want to allow the user the ability to exit the program at any point to return to the main menu.
    Any suggestions are welcome!
    Thanks,
    Drew

    Hi Drew
    You can do this using buttons-over-video, the manual can give you a better description of how to do it than I can. The buton operates in the subtitle stream so if you want the button to be invisible it's easy. BTW, your viewer could always just hit the menu button on their remote and do the same thing.
    Cheers
    B

  • Create Activity same as button Activity on TAB Activity of Service Call

    Anyone can lead me on the right track with the DI API to create an Activity which is the same as
    going in the Service Call , tab Activities and pressing the Activity button at the bottom ?

    Hi Marc,
    You can try this it will help,
    Dim oActivity As SAPbobsCOM.Contacts
    oActivity = vCompany.GetBusinessObject(oContacts)
    oActivity.Activity = SAPbobsCOM.BoActivities.cn_Conversation
    oActivity.CardCode = ""
    oActivity.Subject = ""
    oActivity.ContactPersonCode = ""
    oActivity.ContactDate = ""
    oActivity.Notes = ""
    oActivity.Add()
    Thanks & Regards,
    Amit

  • Tracking button active state?

    Hi -
    I have three pages within a section of a site - when the user
    clicks on a text button to go there, I'd like the text link to show
    active. In this case, the text is black - when you rollover it
    becomes red. So, when you're on a page, I'd like the text button
    for that page to be red, the other two to be black - and so on. Is
    there a way to do this with AS?
    Thanks

    I'm surprised this isn't possible...I'll keep looking.

Maybe you are looking for

  • ITunes 11.1 running in Task Manager but does NOT Open

    I have looked areound and no one seems to be having this problem (that I can tell). My problem started when I upgraded to iTunes 11.1 running Windows 8. When I tried to open iTunes, it never opens but if I open the Task Manager I can see it running (

  • USER EXIT or BADI BY MIGO

    Hi to all I need do it a validation in the transaction code MIGO, by the serial numbers. For example: When I put 5 in amount, appear 5 serial numbers, and I need validate that all de 5 fields of the serial numbers. Which user exit, or badi I have to

  • My itunes erased all my music, how can i get it back?

    After i imported new music from a cd, I synced my iphone with itunes on my computer. I've done this before with no problems but this time after I ejected my iphone, all my music, videos and everything was erased from itunes on my computer. how do i g

  • Clearing docs profit center wise

    Dear Expert We clear customer billing documents by SM35 transaction and billing documents are created with different profit centers used by differernt departments and at the time of clearing we need to display those profit centers but as profit cente

  • There is a xml parser written in pl/sql

    Hi everybody, We know xml parser for pl/sql is based on xml parser for java, that is, we need the Jsever running. However, Jserver needs 60-80 MB of memory and initially we don't need Jserver, except for xml parsing. Then: There is a xml parser writt