StateChangeEvent and events in general

Hello All,
I'm still fairly new to flex and despite some success I'm
still having lots of trouble with Events.
my application has 2 states.
I want to catch an event which occurs when the state changes
from one state to the other.
What I've tried to do is use addEventListener:
addEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
stateTransitionEventHandler);
and deal with the events in the function
stateTransitionEventHandler but I never seem to catch any events.
I've also tried using FlexEvent.ENTER_STATE with the same
problem.
There are sure to be other ways to solve my problem but I
really want to do it with Events so I can get to grips with them.
Any help appreciated
Jim

its almost funny, I've been trying figure this out a while
trying lots of things but as soon as I post on the forums I figure
it out :)
I simply wasn't attaching the addEventListener to the
appropriate object
so I just did
myObject.addEventListener(StateChangeEvent.CURRENT_STATE_CHANGE,
stateTransitionEventHandler);
and its working. I spose thats how these things go. Thanks
for replying anyway.

Similar Messages

  • How to use training and event functionality in  ESS  BP  in  ep 7.0   ?

    Hi all,
            We are using 
    1). sap portal 7.0  sp 9  and
    2). Using back end  ECC 6.0    
    3).  And using  Ess business package 
    Business Package for Employee Self-Service (mySAP ERP)   release 1.0
      The business package doesnot contain any  training and events module iviews.
    We want to use training and event management iviews on the portal.
    The document for this business package says that  to use  training and event management iviews  we should install   Sap  Learning solutions 
    I want to know?
    1.  How can we use training and event management iviews without  using Learning solutions?
    2. What is actually Learning solutions is  a seperate module  or it is the part of  Sap HR module?
    Please guide me..
    Rajendra.

    Rajendra,
    Have a look at SAP Note 870126.
    Here is a snippet:
    <i>The following international ESS applications based on Standalone ITS have been or will be converted to the integrated ITS Version 6.40, and can still be used with mySAP ERP 2005. You can integrate these applications using ESS Homepage Customizing if required:
    International ESS Services available on the integrated ITS as of mySAP ERP2005:
    Training Center (PV7I) (see Note 771196)
    myBookings (PV8I) (see Note 771196)</i>
    To answer the second part of your question, the Learning Solution is an optional component that can be deployed in ERP.  It complements and extends the existing TEM module.  You generally still use TEM with LSO.
    Is that what you were after?
    Regards,
    John

  • Alarm and Event Query Very Slow

    Group,
    I am using the DSC Alarm and Event Query vi to pull data from the SQL database (not the Citadel).  I have a filter set up that specifies the "Alarm Area" and the start and stop dates with maximun results set to 22.  These dates are set to only pull the last 24 hrs.  This vi will return around 10 to 20 entries out of perhaps 80-90 total events in the last 24 hours in the database.   This database is ~2M in size.   I have to set the timeout to almost 10 min for this vi to not produce a timeout error.  The results returned are correct but it just seems that the time to run this vi is excessive.  It is quering a database on the same system that the quering vi is running on.  Should I expect better preformance?
    Thanks
    Todd

    Verne,
    I have boiled down the code to this attachment.  This query took almost 7 min to return 22 results from a database size that is listed as 2.09877E+6.  I have also tried the Alarms and Event Query to spreadsheet vi also and it takes the same amount of time.  I am wondering if I place the Alarms and Events into the same (Citidel) database that the traces are going if it would be much faster.  I seem to get trace data back very fast.  If I recall correctly I seperated the alarms from the trace because I was having some sort of problem accessing the alarm data in the combined database...but that was several labVIEW versions ago.  Anyone else having this problem?
    Thanks
    Todd
    Attachments:
    Generate Alarm Log General Test.vi ‏19 KB

  • FM and events

    what are the function module nad events are generally used in reports

    Hi Abhay,
    <b>Function Modules :</b>
    1.Function modules are external subroutines with a transparent interface, optional parameters are allowed.
    2.Are central Repository objects, and are accessible system-wide. They are present as a set of function in a function module.
    3. Are developed and tested using the Function Builder
    4. Can be coded to RAISE exceptions
    What is a function group?
    A function group is a collection of logically related modules that share global data with each other. All the modules in the group are included in the same main program. When an ABAP/4 program contains a CALL FUNCTION statement, the system loads the entire function group in with the program code at runtime. Every function module belongs to a function group.
    <b>EVENTS – Report</b>
    http://www.itcserver.com/blog/2006/06/26/events-in-abap/
    Reward points if this helps.
    Manish
    Message was edited by:
            Manish Kumar

  • I hv lost my icon for iphoto on my Imac Mac OSX10.5.8.   I still hv my pics but can no longer creat albums and events.  If I upgrade to the latest Mountain Lion, will my pics go into the new iphoto?       I would like to update Mountain lion.Will

    I hv lost my icon for iphoto on my Imac Mac OSX10.5.8.   I still hv my pics but can no longer creat albums and events.  If I upgrade to the latest Mountain Lion, will my pics go into the new iphoto?

    From where did you lose the iPhoto icon? From the Dock? If so, then it's still in your Applications folder. Find it there then drag the icon back into the Dock. If it's no longer in Applications perhaps you've moved or renamed it. Use Spotlight to search for "iphoto."
    Upgrading to Mountain Lion will not affect your iPhoto Library unless you erase the hard drive first. Be sure you backup before any system upgrade.
    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • Training and event managment

    Hello Experts,
    I am configuring Training and event managment.i want to upload a document about training feedback for a particular training event in the training catalog. Is it possible and where can i do that.plz help me.
    Regards,
    Shilpa

    Hi Shilpa,
    There is no place as such but what u can do is u can store the different feedback forms in different subtypes and if u want you can change the test from General desciption to Feedback1 ....
    Hope it clarifies your doubt.
    Award points if useful.
    Regards,
    Bhupesh

  • Alarm and event notification DSC

    I can't understand the functionality of these DSC VIs:
    Acknowledge Alarms .vi
    Set user Defined Alarms .vi
    Request Alarm & Event Notifications .vi
    I appreciate any guide.

    Hi Maryam,
    Acknowledge is where the sequence action that indicates recognition of a new alarm.
    Where an alarm is an abnormal process condition. In the LabVIEW Datalogging and Supervisory Control (DSC) Module, an alarm occurs if a shared variable value goes out of its defined alarm limits or if a shared variable has bad status.
    This is the URL of the DSC module Glossary:
    http://zone.ni.com/reference/en-XX/help/370246D-01/lvdschelp/dsc_glossary/
    If you want to know more about the general functionality of alarms and events and what to use specific VIs for.
    The fisrst call as I said previously should be the context help, check the example library and the NI developer zone. Another reasource which you can check is the DCS module "VI, Function, & How-To Help".
    Click on the "Help" then "VI, Function, & How-To Help", expand the following items in the tree structure "DSC Module"> "DSC Module VIs & Functions" > "Alarm & Events VIs".
    For future reference it would be helpful in future if you gave more information in your posts eg what version of LabVIEW you are using - so can post back relevent versioned example code.
    And what you are trying to do - why are you interested in the DSC alarm VIs, could make more specific replies given this information.
    Sorry if my initial replies are basic but I had no way of knowing the level of information you were looking for and you did not say what you had already tried/ looked up.
    Alarms can be used in many applications but as I said their basic functionality is to alert the user to an abnormal process condition eg sub/super limit values or bad status.
    I hope the above helps but if you require more information please let me know what it is you specifically want to know.
    Regards,
    Emma Rogulska
    NIUK & Ireland

  • HT5149 Will uninstalling and reinstalling fcpx effect my pre existing projects and events? That is to say, will it delete them?

    Hey my FCP X has stopped working. It lasts about 30 seconds and then the beach ball comes up and it doesn't respond after that. It's pretty much unusable now. I was thinking of uninstalling and reinstalling it. Will that delete my existing projects and events or will they stay on my system?
    Thanks

    This is my pet checklist for questions regarding FCP X performance - you may have already addressed some of the items but it's worth checking.
    Check the spec of your Mac against the system requirements:
    http://www.apple.com/finalcutpro/specs/
    Check the spec of your graphics card. If it's listed here, it's not suitable:
    http://support.apple.com/kb/HT4664
    Make sure you're using the latest version of the application - FCP X 10.0.3 runs very well on my 2009 MacPro 2 x 2.26 GHz Quad-Core Intel Xeon with 16 GB RAM and ATI Radeon HD 5870 1024 MB. I run it with Lion 10.7.3.
    Check that you have at least 20% free space on your system drive.
    If you have not already done so, move your Projects and Events to a fast (Firewire 800 or faster) external HD. Make sure the drive's formatted OS Extended (journalling's not required for video). You should always keep at least 20% free space on the Hard Drives that your Media, Projects and Events are on.
    If you are getting crashes, there is some conflict on the OS. Create a new (admin) user account on your system. Do NOT import any of the settings etc from the old account - simply use FCP X from there - if it runs a lot better, there's a conflict and a clean install would be recommended - but remember, if you reinstall the system, and then use Migration Assistant (or anything else) to import all your old settings etc etc, you may well be importing the cause of the conflict in the first place.
    Keep projects to 20 mins or less (about half that for Multicam). If you have a long project, work on short sections, make them into Compound Clips and then paste these into a final project for export.
    If you ever experience dropped frames, I strongly recommend you use ProRes 422 Proxy - it edits and plays back like silk because the files are small but lightly compressed (not much packing and unpacking to do) - but remember to select 'Original or Optimised Media' (FCP X Preferences > Playback) just before you export your movie, otherwise it will be exported at low resolution.
    If you have plenty of processor power, for the ultimate editing experience, create Optimised Media - most camera native files are highly compressed and need a great deal of processor power to play back - particularly if you add titles, filters or effects. ProRes 422 takes up much more hard drive space but is very lightly compressed. It edits and plays back superbly.
    Hide Audio Waveforms at all times when you don't need them (both in Browser and Storyline / Timeline). They take up a lot of processor power. (Use the switch icon at the bottom-right of your timeline to select a format without waveforms if you don't need them at the moment, then switch back when you do).
    Create folders in the Project and Events libraries and put any projects you are not working on currently, in those folders. This will help a lot. There's a great application for this, called Event Manager X - for the tiny cost it's an invaluable application.
    http://assistedediting.intelligentassistance.com/EventManagerX/
    Unless you cannot edit and playback without it, turn off Background Rendering in Preferences (under Playback) - this will help general performance and you can always render when you need to by selecting the clip (or clips) and pressing Ctrl+R.
    The biggest single improvement I saw in performance was when I upgraded the RAM from 8 GB to 16.
    Andy

  • Business Event Brochure in Training and Event Management?

    Hi Guru's
    My client has a requirement as follows. The training administrator decides the Business Event Types which for which superiors can book their subordinates or not. Those events are stored at a particular place. Once the administrator stores them, a mail should be triggered to all the superiors. Thus superior can have a list of event types for which he can book his subordinates. When he books for such events, a mail should be triggered to his subordinates regarding the training event. If an employee books for an event, a mail should be triggered to his superior for approval.
    How is this possible? According to me, those events will be "Included in Brochure" (in Business Event Type Infotype). Am I right?
    Please suggest me.
    Points assured!
    Thanks in advance.

    Hello ,
    see the links it might help :
    Business processes of Training and Event Managment
    Training and Event Management
    Lots of workflow

  • TEM and FI/CO   (Training and Event Management)

    Hi All,
    I wish to track actual cost per event in PE (TEM - Training and Event Management).  Was considering having a Internal order per Instance of event. Have any Idea on how to set up something like this?
    Appreciate all ideas,
    LB

    Hi Dean,
    using internal orders you have to consider that sending and receiving cost center have to in the same company code.
    If you do not want to distribute the costs to FI/CO but only report them, you can use the cost items provided by TEM. We have set up something similar for our plants in South Europe.
    We have created some cost items and fill them manually with the training costs. Additionally we have created a report that evaluated this costs and combines them with the employee costs (derived from salary).
    Best regards
    Michael

  • How to incorporate training and event management module in ess1.0

    Hi all,
    I am implementing ess1.0 on EP6.0, NW7.0, ecc6.0.
    now in ess1.0 i could not find traing and event manag. module, but i found it in ITS version of ess.
    how can i incorporate 'traing and event manag' module in ess1.0??
    do i need to download two version of ess?...i doubt if its feasible!...can anybody guide me on this?
    I am new to portal, and hence trying to learn thing in EP ESS...please throw in your help ASAP
    Regards,
    JJ

    hi all,
    can anybody please throw some light on the above query?
    i m trying to search in forum but i am unable to find any reasonable answer to this.
    Regards,
    JJ

  • Course Catalog in Training and Event  Management

    Hi TEM Gurus,
    My client wants that users can see only courses of training and event management business catalog in ESS, they can't book or do any activities related to TEM. How we can put restriction for that requirement. We are using ITS services PV7I and PV8I.
    Could you please update me as early as posisble ?
    Thanks and Best Regards
    Puneet

    Hi Dear,
    Thanks a lot for quick reply. Could you please give me details inofmration .. How to do changes in the system..
    How to disable book and cancel functionality from the portal.
    Thanks and Best Regards

  • PMS and Training and Event Management

    Hi Gurus,
    Our one the of the client implementing PMS and Training and Event Management.
    Could anyone suggest me what are the questions need to be asked in initial meeting with the client.
    and if anyone has configuration documents on PMS and Training and Event management please forward to me,
    my id would be [email protected]
    Regards,
    Rajesh Soma 

    The prerequisites of PMS is OM and PA is mandatory,
    PMS is just like an interaction between the manager and the employees in an enterprise, based
    On his work they are going to put some rating etc.
      In the standard system employee called as “Appraise” Manager called as an “Appraiser” and Manager’s Manager called as Higher level manager “Part Appraiser “ can be a self-peer & customer they can save & provide their Comments to  the “Appraiser”
    First you take the requirement form client side what are the process and how Appraisal system in client then you have to prepare one sheet like Preparation ,Planning,Process
    for business functions and other check below :-
    HCM, Performance Management (Flexible) 01 - SAP Documentation
    HCM, Performance Management (Predefined) 03 - SAP Documentation
    check below once :-
    Tcodes for PMS Basic Setting
    OOHAP_BASIC      Basic Appraisal Template Settings
    OOHAP_CATEGORY      Appraisal Category Settings
    OOHAP_CAT_GROUP Category Group Settings
    OOHAP_SETTINGS_PA PA: Settings
    OOHAP_VALUE_TYPE Standard Value Lists
    T codes for PMS Process
    PHAP_ADMIN     Administrator - Appraisal Document
    PHAP_CATALOG     Appraisal Template Catalog
    PHAP_CHANGE     Change Appraisal Document
    PHAP_CREATE     Create Appraisal
    PHAP_PREPARE     Prepare Appraisal Documents
    PHAP_SEARCH     Evaluate Appraisal Document
    start your work with above things any other post here again ......

  • Appraisals & training and event management problem

    Hi gurus.
    I'm trying to configured the integration between Appraisal and Training & Event management (Appraising a Business Event and Attendee Appraisal
    I set an attribute HAP00 REPLA = A .
    But two problems occurred.
    1.
    The definition of Appraisal catalog for employees is no problem. But I have a problem with definition of Appraisal catalog for Business event and for Attendees.
    Through the definition of Appraisal catalog via SPRO (Training and Event Management/Recurring Activities/Appraisals/Edit Appraisals Catalog) its possible to create an appraisal templates only for employees (it looks like that, because there is only Category group Personnel Appraisals and it’s not possible to add new category for example Attendee Appraisal).
    Can somebody help me where I can define appraisal templates for Event management or how can I get the Appraisal catalog category groups - Appraising a Business Event and Attendee Appraisal?
    2.
    I set the attributes SEMIN EVAEV/EVAPA to the values 2/3 in connection with table T77BF.
    When I run tcode PV33 or PV34 the matchcode of appraisal templates contains the list of all object type VA. The problem is that when I run tcode PV33 I don’t want to see all appraisal templates, but only for appraising a Business Event.
    It is possible to configure that so? If yes, how.
    Thanks in advance.
    Regards

    Hi,
    1. transaction LSO_CATALOG
    Regards and Groetjes,
    Maurice Hagen

  • Regarding training and event management queries

    hi experts,
    in my company we have ess in which training and event management module is working fine.i need to develop a report in which training booked against employee through tc-psv1 means in sap-r/3 and through ess means tc-pv8i will come.means saggregation for sap r/3 and ess will come.
    please help me regarding this.
    how will i identifie that training has been booked against employees  through sap r/3 or ess on what paramenet we will identifie.
    plz help me....
    is there any function module;....

    solved by own

Maybe you are looking for

  • Home Hub 3 Locks up :-(

    I have a BTHomeHub 3 connected to a ADSL phone line. After some indeterminate period it locks up. What I mean by this is that I can no longer see the internet and I can not communicate with it using its IP address. However it is still connected as I

  • Abap selection-screen

    Hi friends, Is it possible in abap reporting,  from the first selection-screen input can we design the next screen where we can provide the details for first screen inputs. note: this should be done in abap report not module pool. Advance Thanks, Pur

  • Filesize diminished in iPhoto Library and "!" mark

    Like many others, all of a sudden a lot of my photos are just showing up as exclamation marks in iPhoto although I can see the thumbnails. As suggested by some, I tracked the original files for those photos in the iPhoto Library. My digital camera ta

  • Startup disk full: computer crashed

    I started getting a message saying that my startup disk was full, so I thought I would trash Microsoft Office as I have just installed a later version. I then discovered that my Word files wouldn't open, even those I had created on the new version of

  • Acquiring a measure every x seconds from a Keithley 2000 multimeter

    Hi everybody, I'm working on a program on labview which should acquire a measure every x seconds from a Keithley2000 multimeter. I managed to acquire a single reading using the "Single Read VI" from Keithley 2000 Instrument Drivers. To acquire a read