How to make a click null event

All-

I have a button on the main stage with a success inside event.  This area called lables framework on other symbols (these 'other symbols' are also on the scene, not dynamic).  How to make the click event of the affected area null if one of these symbols is / are visible?  I have added another button to set the visibility to false, but then I also need that the click event automatically resets to its original state

hope that make sense

THX

It's very simple & easy!

Let me explain you more:

for example, we want to run this code by clicking on a button

SYM.$("mySymbol"). Show();

but we want to disable the button click after that, quite simply, we can use variables to make the if() statement more

If we write this line to the stage > compositionReady

Flag = 0;    We define a variable named flag and we set its value to zero

now back on the button click, change us or button code for this:

If (flag == 0) {/ / this line check us the value of the indicator to see if its value is zero by}

below the actions

SYM.$("mySymbol"). Show(); We do our work

Flag ++; then we increase our flag a value / / now or flag value is equal to 1

}

So next time, we click on the button it would not work because it would run or if statement our flag have the value zero, so our flag is not so it won't run!

for example, if you add this code to the stadium > click

Flag = 0;

After that click on the scene then now our button is active again, because clicking on the scene, we changed from 1 to 0 indicator value and if we click on the button again, it would execute our code for once more! because the flag will have the value 0 now!

It's very simple and easy, if you have a problem let me know, I'll help you

Zaxist

Tags: Edge Animate

Similar Questions

  • How to make a click right a link included to record on my Android phone?

    How can I simulate a "right click and save the target under ' on a link embedded in a web page? I am recording 2 videos, one is a demonstration of the product and the other is an Assembly and the installation of a product that I plan to buy. The vids are click embedded able links in the description of product web page. I am under android OS KitKat on a samsung gn3.

    Figured it out. Never mind.
    Clicked on the link I wanted to download.
    Long supported on window of the video, not the link itself. Used "save video" option in the context menu which appeared after the long press. Find the file by using the Gallery App selected the file from there, selected the player to use. Voila. Play a downloaded video offline.
    Happy. Happy. Happy.
    Hope this helps someone else who is new to the Android and/or Mobile FF files.
    I have been using Android smartphone for about 2 months. Before that, I used a Windows laptop exclusively. Android is really a paradoxical catharsis. Difficult, but not insurmountable.

  • (RH9) 'See also' - how to make * not * clicks when only one entry in the list?

    I have several topics (A, B and C) in which I want to place a control 'See also' that has two subjects (B and C) inside.

    In the A section, click on the control see also appears a list of "A" and "B". Click each item in the list to access the topic.

    In the B section, click on the control see also jumps directly to heading C.

    In the C section, click on the control see also go directly to section B.

    Is there a way to force the control to * always * bring up a list of subjects "see also"? For example, in section B, I would like to control to display a list containing just heading C.

    Hoping that...

    Thank you.

    Hello

    Administer a test.

    Click your related topics in WYSIWYG button and switch to HTML view.

    You should see a quantity of larg of the code presented in green, followed by a small amount of what looks like the code repeated in dark red.

    Copy the following line (including the < and="" the=""> and add the following line to each area.)

    Give it a go and see how you rate.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • How to make CTRL + click to find the layer within a group

    I searched the web, but am not finding what I need:

    How the hell do you control click to select a layer in a group? Whenever I have ctrl + click on a layer in a group, it only selects the entire group. I want to find the layer I'm clicking on, not the entire group.

    I don't speak from the Options bar (it's in the upper left corner)

  • How to make an object follow the mouseX when clicked on

    How to make an object follow the mouseX if clicked? Help, please.

    You should think it through - your code does not match your very simple explanation of what you say, it should do so, and it should... click an element and follow the mouse.

    A game loop (ENTER_FRAME) could work, but in this case it wastes unnecessary treatment if the mouse does not move.  And in your code example, it does not expect the clicks.

    Use a MOUSE_MOVE instead of an ENTER_FRAME event listener.  Inside of the event by clicking on the handler function is where you must be defined the MOUSE_MOVE listener.  The MOUSE_MOVE listener Manager is where you assign rock1Cnt.x = mouseX.

    public void Main (): void {}

    rock1Cnt.addEventListener (MouseEvent.CLICK, mouseClickHandler);

    }

    private void mouseClickHandler(e:MouseEvent):void {}

    stage.addEventListener (Event.MOUSE_MOVE, followMouse);

    }

    private void followMouse(e:MouseEvent):void {}

    rock1Cnt.x = mouseX

    }

  • How to remove a click event

    Hello

    I created an ID picture = "MyImage" in flex with a click event, i.e. Click = "MyFunction (e)" "

    MyFunc I want to delete or disable the click event in the handler (ActionScript). I tried

    myImage.removeEventListener ("click", myFunction, false);
    and

    myImage.removeEventListener (MouseEvent.CLICK, myFunction, true);
    myImage.removeEventListener (MouseEvent.CLICK, myFunction, false);

    myImage.click = NULL; is not allowed... ;-(

    Can you help me?

    Thank you

    TimN

    I think that the problem may be that click mxml rating makes a Manager on your behalf, and you provide the body (think anonymous function). If you provide the body of the click handler that calls your handler, but your manager isn't actually the name of the Manager click itself.

    If you want to be able to remove the service, explicitly create a Manager using addEventListener rather than the convenience of mxml mechanism, or you can also create a flag for the Manager to check to see if it needs to do something or not.

    Paul

  • How to make a text field required at run time when the user clicks on the box?

    I had a form, there are several checkboxes fields and the text associated with the check boxes. If the use clicks on the checkbox then partner

    text fields should become mandatory. I tried the change event and the click event of the boxes. There is error in the onChnage event and I got some odd results in the click event on. Sometimes, if the user clicks the check box, then for the 1st time the field is not required, then the user onclicks the box and when the user clicks the check box for the second time the field becomes necessary, but if I turns off the option highlight the field and selects the field becomes necessary even if the user onchecks I am totally confused! To add that I have also written an incorrect code always I reached the goal? How it can be possible. I write the codes below, please help me because I am working under a deadline from the client.

    onChange event:

    var = this.boundItem (xfa.event.newText) newVal;
    if(newVal == 0)
    {
    xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = "disabled";
    }
    on the other
    {
    xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = 'error ';
    }*/

    For the onClick event:

    var a = xfa.resolveNode ("form1..") RawValue Subform0.Subform1.Subform9.Subform10.Table48.row2.CostItemRecovere d_OnlyEnergyCharges");
    App.Alert (a);
    if(a == 0)
    {
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = 'error ';
    }
    if(a == 1)
    {
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = "disabled";
    }

    Please help someone!

    Hello

    You may need this resolved at this point, but here are a few tips.

    An example of a loop in a dynamic array is here: Re: how to make invisible/visible or hidden columns with checkbox?

    You are usually not necessary to resolve the nodes, especially when the script object is in the same table as the target objects.

    For example if the table was not static your script could be simplified:

    if (this.rawValue == "1")  // this object is in Row2
    {
         Row4.ComplianceCheck_L1_1.mandatory= "error";
    ...
    }
    

    However because you will be to loop through all the rows in the table repeatable instances / then you need to resolve the nodes. Take a look at the example above.

    In your script, you have to Row8 Row4. I don't know if this is repeatable or just some of them. If we take Row4 as being repetitive, then you can apply the following to all repeatable lines.

    var vRow4 = Table48._Row4.count;
    console.println("Row4: " + vRow4); // You can delete this or comment it out after testing
    
    if (this.rawValue == "1")  // this object is in Row2
    {
         for (var i=0; i
    

    I have not tested, but it should be close to work.

    Good luck

    Niall

  • How can I make double click to single click to open files?

    How can I make double click to single click to open files?

    See:

  • Since the installation of 4.0.1 I can't do a right-click on the icon in my taskbar and have Firefox give me the option "close and save" tabs. Only let's me know, I'm about to close several tabs. How to make 'save &amp; close' return?

    Before installing 4.0.1 I could right click on the Firefox icon in the task bar of my computer and press on the window. He would then give me the option to "save the tabs and exit" or "close all tabs".
    Now he comes and tells me I'm going to close several tabs.

    It was convenient to be able to close Firefox and open it with all the tabs in place. There is nothing more annoying than to have several tabs lost because your computer has is an update of the day overnight and restarted. It is also useful when you want to run a tun - up or cleaner who asked that closing your browser for best results.

    How to make 'save and exit' return?

    Thank you

    Firefox stores now always the old session, and you can access it by going to the history menu and selecting "restore previous Session."

    If you want Firefox to display the message to save the session, it can be turned on again by changing some preferences.

    1. Type of topic: config in the address bar and press on enter
    2. Accept the warning message that appears, you will be taken to a list of preferences
    3. Find browser.tabs.warnOnClosepreference, if its value is set to false, double-click on it to change its value to true
    4. Repeat this for 3 preferences browser.warnOnQuit, the browser.warnOnRestart and the browser.showQuitWarning

    If you always open the last set of tabs, another approach is the following:

    1. Click on the orange button Firefox, then select options to open the options window
    2. Go to the general Panel
    3. Change the setting "When Firefox starts" to "show my windows and tabs from last time '.
  • whenever I click on something on that I get pop up as I'm right click how to make this stop?

    whenever I click on something on that I get pop up as I'm right click how to make this stop?

    Cindy,

    What should I have selected in system preferences... > mouse > Point & Click > secondary click?

  • How to make the Subvi when I make use of the structure of the event

    Hello everyone

    I don't really understand how to make use of Subvi when I use the event structures in vi?

    When just make buttons on the controls Subvi connectors and assign them the vi stops working as I expected.

    I've added an example vi I do not operate as a Subvi.

    Thanks for advantage.

    I think raise you an event to change value via the input connector, that you hope to do. One ugly semi solution is to get the button references and make a Value property (Signal).

    A better solution if you want Hasina events in a subvi is to record user events and send the registry-event thread for the sub - vi, where you can use these events to the event structure. Check that the user created events and examples of dynamic event.

    /Y

  • New on board - how to make a box to move on click?

    I have two symbols, which is a button and a box.

    I want to do like this:

    Click on a button

    Box of slides < -.

    Text appears to display information on the place (button)

    Ability to close with another image of symbol

    It's so different from tumult Hype :/ because I was told it was similar.

    I just don't understand. I searched all over Google/YouTube on something like how to make a pop-up window and I find nothing.

    This is the edge animate 2015.

    Like this?

    Dropbox - example.zip

  • How to detect the Click event outside of a component

    Hello guys

    could you please guide me how to detect a click outside of the event?

    I have a component that has a textinpu now I want when the user clicks outside the component anywhere, textArea should get deselcted.

    How I achieve that?

    Example of project

    http://isolatedperson.googlepages.com/clickOutsideEvent.zip

    Thank you

    Flex will not take focus away from something unless the discussion is going on elsewhere.  Maybe assign focus to a "submit" button or something like that.  Capture phase listeners can see mouse events and affect the focus.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Simple question - how to make an onchange event occur in a select list

    Simple question - how to make an onchange event occur in a list to start a process of selection?
    Thank you

    (1) with the ApEx selection about to submit list.
    You create a PL/SQL process after Submit. -> Request for conditional Type = Expression1. -> Expression1 is the name of your selection list. Treat the Source - > procedure you like. For example based on your select list value you add rows in different tables.
    (2) Javascript this example will change a system parameter value when changed

  • I managed to remove the menu bar of NoScript and NoScript option when I right, click on a page, how to make them come back?

    I tried to allow a Web site in NoScript menu, when I must have accidentally pressed something and the bar menu all disappeared. While I was trying to fix it, I managed then to remove NoScript option in the context menu. So now I can't access my NoScript, and I tried to re - install but nothing works. How to make a comeback?

    menu bar is missing:

    https://support.Mozilla.com/en-us/KB/menu%20bar%20is%20missing

    You can see in TOOLS then modules noscript

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

Maybe you are looking for

  • How can I talk to a real person. I can't find any help on the internet

    Firefox has stopped opening, I uninstalled now won't let me recharge.

  • Question about the Bios Tecra 8100 2.5

    HelloI installed the latest version of the Bios on my tecra 8100. My Question is, what is the maximum size of hard drive for these phones? Now I have 13 GB hard drive, but I want to have a bigger. And 512 MB of Ram is the maximum, right (2x256mb)? Ca

  • I have a problem when I try to change existing contacts?

    Help I have no problems on my BACKFLIP new contacts entry, but if I make a mistake by entering the contact that I can't change it. I also have a problem, try to change existing contacts? When I select and hold on contact, it brings up a drop down con

  • How can I delete under condition of items in a table

    Hello I have a table 1 d of the values (approximately 1000 items), I need to delete some items from. I need to calculate the mean and the standard deviation of the table and if all the values in the table are outside of a multiple of the gap the aver

  • Without drop-down menus

    My computer crashed. I reinstalled it, but now all my in drop-down menus (in all programs) do not display unless I scroll over them. I can see the dim outline of a border that should contain the menu...