Change color to the overview and click

Hello

I have stock dynamics created symbols:

MouseEnter: change color when the mouse is on the button.

Mouseout/mouseouthandler(): to reset the color when the mouse is in progress to another button.

And I have problem on the click event, because I can't keep the blck color, which means clicking on the symbol, as I have a mouseout/mouseouthandler() that reset.

Here is the code:

$.getJSON ("menubuttons.json") (.the)

function (data) {}

$(données, fonction (index, item) {} .each)

var menubtn = stage.createChildSymbol ("templ-menubuttons", "Stage");

var menubtnelem = menubtn.getSymbolElement ();

menubtnelem.Attr ("id", item.title)

. CSS ({"background-size': 'contain', 'left': 1256," top":"95px","cursor":"pointeur"});})

menubtn.$("txt").html (Item.title);

MouseOver

menubtnelem.on ("mouseenter", function () {}

If ($(this) .attr ("id") = "Exit") {}

TweenLite.to (menubtn.$("imageholder"), 0.3, {backgroundColor: 'red', left: '2px'});

}

else {}

TweenLite.to (menubtn.$("imageholder"), 0.1, {backgroundColor: 'black', left: '2px'});

}

});

Mouseout/mouseouthandler()

menubtnelem.on ("mouseleave", function () {}

TweenLite.to (menubtn.$("imageholder"), 0.1, {backgroundColor: '#ffcf00', left: '0px'});

});

Click

menubtnelem.on ("mousedown", function () {}

With 'for' I'm trying to reset the color of all the yellow buttons and then one that is clicked to be black - but does not work - how is Possible to work?

for (var i = 0; i < data.length; i ++) {}

TweenLite.to (menubtn.$("imageholder"), 0.1, {backgroundColor: '#ffcf00', left: '0px'});

}

TweenLite.to (menubtn.$("imageholder"), 0.1, {backgroundColor: 'black', left: '2px'});

});

});

});

This may help - it's not created dynamically well symbols, but it can give you an idea how to solve your problem

Bind / unbind help please

Tags: Edge Animate

Similar Questions

  • A button that changes color on the release and the rest of the way

    An example

    Two executives.  First image, main menu.  In the main menu, a button to take me to frame two.  Box 2 red text.  Once clicked on the red text that turns green.  If you click New back to red, back to the Green and so on.  Also on the frame 2. A button to take back me to frame 1 (main menu).  Now, if I let the text on the 2 green frame and move to frame 1, then in the main menu go to box 2 again. The text contains default back to red.

    Could someone help me to keep this Green text all the time unless the user chooses to change back to red?

    Thank you

    If you use the same instance on frames, which means only to have a ketyframe for the Framework 1 button and apply it along the timeline with ordinary managers, he shouldn't be affected by changing managers unless you have the code in the timeline that ensures.

  • 40L5443DG TV: how to change the color of the menu and the guide?

    Hello
    I'm happy with my new TV 40L 544 3 DG.
    But there is a but.

    How can I change the color of the menu and the guide?
    The grey of the text with blue-gray background is not good for my eyes.

    I can change the color by editing a css file in the firmware?
    Please give me a solution.
    Thank you very much.

    Mike

    > Can I change the color by editing a css file in the firmware?

    N °

  • When firefox redirects and asks 'allow', which is the essential feature 'allow' compared to having to use the mouse to go up to the right and click on allow all the time?

    Firefox for mac tells me often (for security reasons I've enabled in preferences) that "firefox prevented this page automatically redirecting to another page. To 'allow', I have to move my mouse to the right of the screen and click "allow." There are not the essential functions, which is the same as the click of a mouse? With the help of the mouse is slow and takes off the navigation on productivity.

    You should be able to support on the a key to do so.

    The underlined characters informed program buttons the user that these characters are the keyboard shortcut.

  • Firefox bookmarks bar does not allow me to drag-and - drop Web site icons. I went into the display and click on "bookmarks bar".

    Firefox bookmarks bar does not allow me to drag-and - drop Web site icons. I went into the display and click on "bookmarks bar". bookmarks bar but her but its not allowing me to drag and drop the icon on the toolbar. I tried everything it is supposed to do, but his does not work. his frustration.

    Stef. /. \

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible.

    • View > toolbars
    • Right click on empty toolbar space

    Use the toolbar (Customize) to open the Customize and set the toolbar to display items.

    • Make sure the "bookmarks toolbar items" are on the personal bar
    • If "Bookmarks Toolbar items" is not on the bookmarks toolbar, then FRY it in the palette of the toolbar in the window the bookmarks toolbar Customize
    • If the missing elements are in the toolbar palette then drag them from the window, customize the toolbar
    • If you do not see an item on a toolbar in the toolbar palette and then click the button "Restore default" to restore the default toolbar configuration

    You can check the problems caused by a corrupt localstore.rdf file if the above didn't help.

  • Yahoo password email changed computer but the iPhone and iPad can always GET mails without updating the password

    Yahoo password email changed computer but the iPhone and iPad can always GET mails without updating the password...
    Normally, it should show as 'could not load the mail' or 'impossible to download the mail' or 'Please verify your password... "
    It's really wired.

    You are probably using IMAP

    Update contained in one place - it synchronizes across devices - all as is your email

    With POP accounts, you'd see what shows your question

    Instructions on how do to vs in IMAP POP3 - IMAP

  • using the '+' I'm unable to open additional tabs. If I use the file and click New tab it will open. I don't have the Ask toolbar. How can this be corrected?

    Before today, when I clicked on the '+' opens a new tab. She is no longer doing this. However, when I open the file and click on 'New tab' it opens fine. I don't have the "Ask Toolbar" as far as I know (this has been mentioned as a problem before). What can be done to fix this? Thank you.

    Can't really tell if it was useful or not. Before I had the answer, I rebooted and the problem disappeared. I appreciate the quick response and it will keep on file for future reference if the problem happens again.

  • I'm trying to export contacts as vcards icloud.  However, after that select the contacts and click on "Export as vcards" nothing happens.  Why?

    I'm trying to export contacts as vcards icloud.  However, after that select the contacts and click on "Export as vcards" nothing happens.  Why?  I tried this using edge and chrome and I run Windows 10

    I just tried with edge on Windows 10. I selected all the contacts, and then click Export, as vCards and nothing happen. Clicked on it again, still nothing. After 4 or 5 click on about 10 to 15 seconds he finally uploaded to the file Edge uses for downloads. I saw it happen before you go to a Mac using the Safari browser, but only 2 clicks were necessary.

  • Gel after the start and clicking on browser

    Recently, my computer hangs for a while after the start and clicking on my browser, why and what can be done?

    Hello

    See if this helps you improve performance.

    Search for malicious software with the FREE version of this program.

    This is the right link to download included.

    And does not accept the option "Pay for the version" trial installation

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And it is not recommended to use a register or a program of cleaning/TuneUP/utilities they can do more harm to your any good operating system that they claim to be able to do.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Make sure you have the latest updated drivers:

    Access the site on your computer or equipment manufacturing > Driver and Software Support Section > search your computer or hardware model number > then your operating system > locate the correct drivers > download and install.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    What are the other steps, which does not include some of the above:

    "Optimize Windows for better performance.

    http://Windows.Microsoft.com/en-us/Windows/optimize-Windows-better-performance#optimize-Windows-better-performance=Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    It would be a good idea also run the System File Checker tool to check that everything is correct in the system files.

    "How to use the System File Checker tool to fix the files on system missing or corrupted on Windows Vista or Windows 7"

    http://support.Microsoft.com/kb/929833

    Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. Open an elevated command prompt. To do this, click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
    2. Type the following command and press ENTER:
      sfc/scannow

      The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    See you soon.

  • When I try to open the keyboard screen, I get the prompt and click to connect, but it does not connect.

    OT: On the keyboard interface.

    When I try to open the keyboard screen, I get the prompt and click to connect, but it does not connect. My hard keyboard is dysfunctional and now I can't type my password to connect. Is there a way to get around this? Thanks for any help.

    There is a problem with the KB3004394 update that causes what you see as well as other issues.

    Uninstall this update, your system should return to normal.

    While in Windows Update, select View Update History then installed updates. Go to the bottom of the list to KB3004394, right-click on it and choose uninstall.

    Microsoft has removed the update of the distribution.

    I would try to borrow a keyboard if you can so that you can perform the uninstall.

  • How to add the same name of datagrid records, while I'm by selecting one of the check and click Add end to end

    Hi friends,

    I do flex mxml 4 web application with as3, I am struck upward in the next concept, shar your suggession thereon.

    I use datagrid with 3 columns NUMBER, NAME, AMOUNT. an and a box Add button and a delete button.

    I have two records in the same name in the grid, when I click on a record in the grid and click ADD means of button this year, both AMOUNT WILL ADD records that record with the same name and give this value in a text box.

    How to do this?

    useful suggesssion or sample modal

    Thanks in advance,

    B.Venkatesan.

    Hello

    var totalsum:int = 0;

    var index: int = db.selectedindex;

    var selname:string = bd.dataprovide.getItemAt (index) .name;

    var totallen: int = (db.dataprovider) .length;

    for (var i: int = 0; i<>

    {

    var checkduplicate:string is bd.dataprovide.getItemAt (i) .name;.

    if(checkduplicate==selname)

    {

    totalSum += bd.dataprovide.getItemAt (i). AMOUNT;

    }

    }

    textfield_id. Text = totalSum

    ---------------------------------------------------------------------- ----------------------------

    Gallot Hiroji | [email protected] | www.isacglobal.com

    ---------------------------------------------------------------------- ----------------------------

  • Change the border color of the overview image

    The search for solutions on the web at this problem seems only to show manual changes in the CSS code. I'm looking for the solution of how to proceed in Dreamweaver. Being new development web I want to keep my code run by Dreamweaver rather than beginning to hack the code myself who could create an uncontrollable mess!

    The problem

    ------------------

    I have a developed page which is a gallery of thumbnails.

    When the user clicks on a thumbnail, I want to launch a new window and display the magnified image.

    It's easy to work in Dreamweaver with the behavior Add < window >.

    However, if you use Add-behavior you lose the 'hand' when you move the thumbnail image.

    So as a workaround to lose the 'hand', I would like to change the color of the border of the miniature of the "bubble".

    I have a CSS govern together 'thumbnailBorder' to the top (in a model) that correctly gives a gray px border 3 any thumbnail images with this style is applied.

    The Question

    -------------------

    How can I change the "thumbnailBorder" CSS rule (using Dreamweaver) so that it changes the color of the border when the image is hovered over?

    Thank you very much

    As soon as I remove the link in the field of the Properties tag disappears.

    Of course, so put it back.  You can even simply enter "#" in the link of properties field and press return to do this.  Now you have a link here and use it.

    But tell me again why the first method (which also works) was not working for you?  You simply apply the behavior of Windows OpenBrowser directly to the image.  After clicking on OK, and with the selected image, override you the onclick onclick EVENT behavior.

  • visited links not changing color using the latest Firefox and windows 10

    running windows 10 and the latest firefox freshly downloaded and installed.
    have checked the visited_links is enabled, and I'm not running in private mode
    I know it's only a problem of firefox like links change color using other browsers

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

  • Web Page color - can't change the color of the browser and tab

    original title: color of Web Page

    I can't change the light blue color for my browser and or tabs when you type in the address bar, but can change the rest of the color of the page of the color light blue need assistance so that everything is a color. Thank you.

    Hi dominicalexander,

    You can follow these links & check if it helps:

    Change the colors on your computer

    Change the colors and fonts used for webpages

    Change desktop theme

    Hope the helps of information.

  • How can I change the color of the fill and sign tool

    I want to change the color of the font, how do I do this?

    Salvation;

    The police more formatting options is something we would like to add, but is not yet supported.

    Thank you

    Josh

Maybe you are looking for

  • Problem, radio won't start after update to Mozilla Firefox 12

    I have problem with a radio to a Web site after the update of Mozilla Firefox 12 when I connect to the webste radio starts, when I use Internet explore the radio starts. Check the image http://img859.imageshack.us/img859/3150/egweggwe.PNG

  • RALink Bluetooth driver for windows 8.1

    Dear concern, I have HP Pavilion G6 model 2312ax. I just upgraded my windows 8 8.1 the store Windows. After improvement, the bluetooth software does not work. Please design software for windows 8.1 or tell me the link to download the software.

  • OfficeJet Pro K850: After the installation of Win10 print number

    After each print job, my printer now prints a page of "test" of bars, blocks and lines.  Takes a third of a page.  Big waste of time and ink.  Any help would be appreciated.

  • Logins stolen and is used for broadcasting pending when I log in webmail.

    Every day I receive dozens of returned spam email msgs sent with my login id. Most likely, this happens when I connect to the mail window and you want to check my msgs. Many of my friends, accquantainces feel they receive msgs recommend some websites

  • Design of ADF problem

    Scenario is,I have problem of design. My text entry field showing width according to my wish but this width field looks like an illusion that I put the back ground color to check the actual width. as picturedThe actual width of the input text creatin