MenuItem event won't fire

Hi I have the following menu item and the script to go with
it. The itemCick event is not firing.
<menuitem label="Blogs and News" selected="false"
itemClick="itemClick(event);" />
<mx:Script>
<![CDATA[
import mx.controls.Menu;
import mx.events.MenuEvent;
// The event listener for the itemClick event.
private function itemClick(event:MenuEvent):void {
currentState="news";
test.text="click";
]]>
</mx:Script>
I don't know what is happening.

menuitem is not a component, is meere xml that menu default
item renderer can read and parse
you need to register your listener with menuBar itself:
<mx:MenuBar itemClick="itemClick(event);" lalala
/>

Similar Messages

  • Newbie: UITextField's "value changed" event won't fire

    I'm trying to get a UITextField's "value changed" event to trigger whenever it's value is changed with the keyboard or if some other control changes it via setting the myTextField.text property. For some reason, this event will not fire and call the event handler.
    I tried connecting the other events such as "Editing Did Begin" to the event handler, and it works. But "Value Changed" event never fires. Is it a supported event or am I missing something

    I had the same problem, this works:
    [myTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];

  • Events won't run at set interval

    I have about a half dozen events that are supposed to run at set intervals. When I first register them, the ones for the node run (check disk space) and I get the notification. They only run the one time. To get them to run again, I have to deregister then register again. They run once then not again. The one for Data Guard status will not run. Shutdown OMS and disabled then enabled eventhandler, restarted OMS. Bounced agents. All to no avail. Does anyone have any ideas why these events won't run at their specified interval?

    Need a bit info here.
    What exactly are you talking about, database control, grid control, OEM 9i?
    I'm guessing its the last one? If so, if you have a check disk space alert and it fires saying you have only x amount of space left. When you clear the space on the disk, the event will clear itself. It will only 'alert' once, until you have fixed the problem. Does this make sense to you?
    Cheers,
    Bazza

  • Event won't let drop Node, Manual Node won't let drop Event

    Hi, I am using OEM 9.2. I tried to register an event but the target was manually defined, so it went to pending state. I tried to drop the node to rediscover it, but the pending event won't let me. So the event won't let me drop the node and the node won't let me drop the event, so I'm stuck. Can anybody help please?

    Found it, have to bounce the OEM server with the Intelligent Agent stopped!

  • Accordion load event does not fire when accordion and load event created dynamically using actionsript

    I cannot get the accordion load event to fire when I have
    created the accordion and load event using actionscript . Here is
    some sample code:
    createClassObject(mx.containers.Accordion, "acc",
    getNextHighestDepth());
    acc.createSegment(mx.containers.ScrollPane, "sc1", "Number
    One");
    acc.createSegment(mx.containers.ScrollPane, "sc2", "Number
    Two");
    var accLis=new Object();
    accLis.load=function(evtObj) {
    trace("load");
    accLis.change=function(evtObj) {
    trace("change");
    acc.addEventListener("load", accLis);
    acc.addEventListener("change", accLis);
    I made sure to add the ScrollPane and Accordion components
    to my library. So the load event does not fire, but the change
    event does fire. And through further testing the other events do
    not fire, including the draw event. Can anyone help? The only time
    I can get the load event to fire on an accordion is if I put an
    accordion on stage, select it and add the actionscript to the
    objects actions like shown below:
    on(load) {
    trace("load");
    on(draw) {
    trace("draw");
    Can somebody help? Unfortunately I must create all my
    components dynamically. Thank you in advance.

    I'm having this issue also...but only apparently with Internet Explorer and only on some machines...ideas?

  • My speedlite 600 ex-rt will turn on but it won't fire. Any suggestions?

    My speedlite 600 ex-rt flash will turn on but it won't fire. The batteries work and were fully charged so that was not the problem. It also reads that it is ready to fire but no flash. It's about 1 year old, Is the flash worn out already or can it be fixed?

    Does the test button turn red (I still have no idea why red means ready and green means it's still charging)?  Does it fire a test flash when you push it?  In answer to your question, no, the flash shouldn't be burned out yet, not even close.  Though, if it doesn't fire a test flash then something is wrong.  I know there have been reports of some issues with rechargeables.  So much so that Canon actually contraindicated them in the labeling.  It's nonsense, but still, try fresh alkalines if the test flash isn't working just to be sure.

  • Icloud events won't show on outlook main page

    I have done the sync process,with Outlook (first)..then added iCloud panel, signed in, it merged my Contacts and Calendars...and now they calendar won'tshow on the main page of my Outlook 2007.
    Tried on phone with APPLE nobody seems to know why, is there a glitch?
    Windows 7, 64-Bit
    Outlook 2007
    iOS 7iPhone 4S
    Did the same on another computer/another phone and it worked fine.
    if you could reply with responses to better help with me would be great.
    this is quite the confusion
    see photo, normally on this main PST page you'd see the list of up to 7 days of events/appointments listed on left - but nothing appears.
    <Email Edited By Host>

    System Preferences > Accounts
    Click the lock and enter your password.
    Select Login Options (just above the lock)
    Change the selection near the top from 'list of users' to 'name and password'
    That will give you two blank fields on the login window instead of showing your name.

  • 2 Create bindings in 1 page, second Create event does not fire (ADF)

    I have an ADF, Struts, JSP master detail page and within that page there is a Create binding on the master view and this works fine.
    I added the detail list to the page and added a Create binding for this view underneath the list.
    The second create event does not seem to fire at all, when the button is clicked the page gets submitted and the request forwards to the correct page to display the input form but the contents of this form is the current selected detail row in the view and not a new row.
    I have created 2 new pages to test the detail view... I put a link in the original page to a test list page that displays the detail list and included a Create binding in this page which links to a test create page and this works fine.
    Has anyone else had this problem?
    Can there be only 1 Create event binding in a single page?
    Is there a way round this other than having to have my detail page on a seperate page?
    The Jdeveloper version I am using is as follows...
    JDeveloper Version 10.1.2.0.0 (Build 1811)
    Oracle IDE     10.1.2.17.84
    Business Components Version     10.1.2.17.96
    UML Modelers Version     10.1.2.16.71
    Versioning Support     10.1.2.16.71
    WebDAV Support Version     10.1.2.16.71
    Struts Modeler Version     10.1.2.6.15
    Designer Generators Framework     10.1.2.7.56
    ADF UIX     2.2.16
    java.version     1.4.2_04
    Thanks
    Al

    Can you do something like this?
    1. Look at the uimodel for your page and find the Create that is the action binding for the detail. Name it something like: CreateDetail
    2. Change the button on the page to create a detail to be named: event_CreateDetail.
    3. Change the forward from Master/Detail browser page to: CreateDetail
    Can you provide more details on:
    1. What are the names of the create bindings for master, then detail?
    2. What is the name of the forwards, that is the struts-config.xml action definition for this page?
    I hope this helps!

  • [Andrd]Touch event won't launch

    Here is my code:
    import flash.events.TouchEvent;
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    camBTN.addEventListener(TouchEvent.TOUCH_TAP, function(e){
            camBTN.tf.text = "touched!";
    Well, the button text won't change, no matter what.
    I'm working on Galaxy S 2.2 Froyo.
    Thanks

    @Joe
    It was my hold AIR 2.5 release (do you remember? You told me to download it for a bug of the las t release). Now with the newest everything works fine.
    Thx!

  • My event won't schedule or cancel! It's stuck!

    So I was planning an event and after going to my calendar and setting it up, I clicked the "done" button, but nothing happened. So I thought that it would work if I clicked "cancel". Turns out, it didn't. Nothing happened. So I'm stuck on the editing of this event and it won't let me exit out of the event. Not even pushing cancel, or done, will get me out of it. Please help!! I don't want it to be stuck!

    Reset the device. http://support.apple.com/kb/HT1430

  • Urgent : One Event alert Cause another Event Alert to Fire Aslo

    Dear Friends,
    i have two event alerts say :
    xx_employee_termination (After Insert - on PER_ALL_PEOPLE_F) -- Fires once i terminate any employee.
    xx_proposal_approved (after update - on PER_PAY_PROPOSALS) -- Fires once i approve any proposed salary
    my issue is
    When i terminate any employee it will update also PER_PAY_PROPOSALS which cause xx_proposal_approved alerts to fire if his status is (Approved)
    So, How to stop firing of Proposal Alert if i terminate any employee?
    Waiting for help friends,
    Regards,

    some would say why did you keep PER_ALL_PEOPLE_F instead of (per_periods_of_service)
    it is same..
    termination would affect Per_all_people_f ,per_pay_proposal ,,,,etc

  • Event won't display in Month View

    I put in an event lasting x days and it will display happily in day and week views but not month. Any ideas anyone?
    Thanks

    Hi David,
    The way this is implemented by iCal is a choice of the developer. You can send comments about iCal to Apple through this page http://www.apple.com/macosx/feedback/ .
    Alternatively, you could make the events into all day events. They would then show on all the dates in month view.
    Best wishes
    John M

  • One multiple day event won't show in month view

    I have noticed that every time I launch iCal an event (checked for all day event) beginning 9/1 and ending 9/4 will not show up in the month view until I open that day (and it's there) click it and then it will show up as a banner event. If I close iCal it goes away.
    I have other all day events spanning multiple days that don't appear and vanish.
    Any ideas what can be causing this? I don't want to schedule something way in advance and then forget it's there because it's vanishing.
    Thanks.

    Hi David,
    The way this is implemented by iCal is a choice of the developer. You can send comments about iCal to Apple through this page http://www.apple.com/macosx/feedback/ .
    Alternatively, you could make the events into all day events. They would then show on all the dates in month view.
    Best wishes
    John M

  • Help, Recurring Event WON'T Edit or Delete

    I've read the threads about the slow iCal, or SBOD, or not responding. I've tried deleting the plists, backing up then restoring the calenders. I've made all my recurring events end at a date instead of never.
    I think I have the problem narrowed down to one event. If I have the calender that this event is in deselected, iCal runs like a champ, no SBOD, no slow downs, just like the good old days. If I have that calender selected, even if it's the only one, SBOD with every input, takes to long to change month or anything. If I try to edit, or delete this event SBOD for as long as you can wait. If it happens to go away, nothing has happened. "The end on date" still has no were to input the date or if you tried to delete it it's still there.
    Any help would be greatly appreciated. I have installed all updates so I am up to date (kinda redundant)
    Thanks again.

    Ferd, You are a life saver. In  response to you suggestions.
    1) Folder did not exist on my HD. Must have been deleted at some past update.
    2) tried and tried again to no avail. Even deleted the iCal folder in HD/Users/Name/Library/Caches and it still didn't help.
    3)And the angels rejoiced. Had to go back to April 2001 and it took about 3 Min. of the SBOD before it happened but Waa-Lah. The evil event is dead. No spinning ball, no freeze ups, and even with all my calendars selected (10 of them) I can switch between months, events, days, views, whatever just like I used to.
    For anyone reading this that is having a slowdown issue with iCal, It was 1 repeated event out of many that caused the problem. I knew which one it was because if I selected it in Month View I got the SBOD for about 20 sec. every time. If I selected another event, that event highlighted immediately.
    Good Luck All and
    Thanks Again.

  • All my events won't show up on Apple TV from my computer.  How can I get them all.

    I have Apple TV hooked up.  I went to computer, photos, events.  Only 8 of my events show up and it will not scroll to view others.  How can I get them all to appear on screen for viewing.

    Hey diane41,
    Thanks for the question. After reviewing your post, it sounds like you want to share more photos with the Apple TV.
    Setting up Home Sharing for Apple TV (2nd generation and 3rd generation)
    http://support.apple.com/kb/HT4352
    To share personal photos with Apple TV, choose File > Home Sharing > Choose Photos to Share and select the option to share photos. Learn more about sharing with Apple TV.
    iTunes 11 for Mac: Play items in your iTunes library using Apple TV (2nd generation or later)
    http://support.apple.com/kb/PH12153?viewlocale=en_US
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

Maybe you are looking for

  • 6i release  4  problem to install

    I am currently using Oracle8i I am installing the Designer and Repository 6i Release 4 on Winnt. Please tell me: how can install designer release 4 in the same machine with oracle 8i. it's posible? Please help. Thank you.

  • Multi-Source Universe - Swapping Connections a disaster-Connection can not be registered

    Dear Experts, 1. What is the best way to swap connections with in an environment? For example, in DEV environment I want to use another environment like integrated environment's DB? I have to change all the table owners manually and if I have derived

  • Highligt a particular row in apex 3.0

    I have report region which contains records. When I click the image on the particular row. That particular row should get highlighted. I am using apex 3.0. I have a report which fetch records from database. For example, it should display like , first

  • Oracle conennection from BSP application

    I want to know how can I access to a Oracle database from a BSP application, my WAS System is 6.40 Thanks in advance.

  • Reg imprtant information

    being new to crm i would like to know few details 1.if ecc component is not there can we create sales order. 2.is there any possibility of creating sd order in isu without ecc 3.as we can do sd biilling/invoicing/ccs/devicemanagement in ecc then why