Is there any event that triggers when you switch between components?

is there any event that triggers when you switch between components?
like for example... when i switch between components, i need a function to fire everytime i switch...
ive tried show, hide, and initialize... and none of them work...
any ideas or help is greately appretiated!!

Depends on what you are trying to do,
you have mouseover and mouseout and mouseclick events which you can use on the component and write code to deal with what you want to happen when you change focus. You have keypress event which would allow you to monitor tabbing between components, remember that in most events the currentTarget and target values will give you the information you need to handle component interaction.
so
[Bindable] private var CurrentObject: Object; <-------  use this as a pointer to what ever object you are currently focused on or just to indicate things have changed
addeventListener(MouseEvent.CLICK,myCompponentSwap);
protected function myComponentSwap(e:event): void
    if (CurrentObject !=e.currentTarget && CurrentObject != null)
         do what you want becuase a component switch just happened
    CurrentObject = e.currentTarget;
Hope this gets you started.
David

Similar Messages

  • Is there any way that one of you might still have a pocketjet printer ?

    Is there any way that one of you might still have a pocket jet printer with all the accessories you would like to donate to my disabled grandson and I for a project we are working on for school? It doesn't have to be working. I know it is old but that's what we are working on. We both appreciate it very much and will be watching for the mailman.
    Thanks for considering and god bless,
    Nancy Granberg and Michael
    <Personal Information Edited By Host>

    I have long since forgotten the names of various models of printers but we have saved hundreds of older mac accessories for youth science projects.  Your personal information has been edited by the host for multiple reasons, one of which is that this forum is not designed as a marketplace of things.  It is a marketplace of ideas.
    One idea is to find a recycler who understands the value of preserving legacy products.  Washington state has an e-cycling program.  Long before e-cycling, RE-PC in Seattle started saving and selling unique computer parts.
    If you are in Washington or Idaho, look at my profile - that is the appropriate place for email information.  Our email says it all 'recycledscience at gm...'
    Post back with the name of a large city near you.  Maybe we can search the web for recyclers in your area that are not just crushing used equipment.

  • Is there any tablet that will allow you to use Adobe XI (the latest version)?

    Is there any tablet that will allow you to use Adobe XI (the latest version)?

    Any tablet based on Windows 8 - that is the ones using the "real" Win 8, not Win RT. Asus Yoga and that....
    Mylenium

  • Subscription that triggers when you create a new production ?

    I'd like to trigger a python script each time I create a new production in FCS.
    How can I do it ?
    thanks
    Fred

    Create a Script Response that will fire off your python script.
    Create a Subscription that will monitor the metadata fields of a Production for example the "Status".
    The idea here is that creating a new production with the Status = New will trigger your python script.
    Let me know if that makes sense. Thanks.
    Nicholas Stokes
    XPlatform Consulting

  • Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app?

    Hi All,
    Is there any event in windows universal app (wp8.1&win8.1) that fires when screen locked and unlocked with in the app
    Right now, I am using this below mentioned event
    Window.Current.VisibilityChanged +=
    CurrentWindow_VisibilityChanged;, but it fires even when app relaunches.
    Please anybody help me to solve this issue.

    Thanks for your early reply. but, those are system triggers used in background task. I want an event that fires when screen gets locked. like this...(a networkstatuschangedevent)
    NetworkStatusChangedEventHandler
    networkStatusCallback =
    newNetworkStatusChangedEventHandler(OnNetworkStatusChange);

  • Are there any events to script a component when dragged and dropped into the parsys area?

    are there any events to script a component when dragged and dropped into the parsys area?

    The cq:listeners node of a component's cq:EditConfig has a number of events that fire with relation to the edit mode drag'n'drop stuff. You would probably want to hook one or more of the insert ones (beforeinsert, beforechildinsert, afterinsert, afterchildinsert).

  • TS1456 My 4th Gen iPod Nano isn't displaying a "Use iTunes to restore" message, but iTunes is displaying a restore message when I connect it. I have original music that I can't back up on my iPod. Is there any way that I can fix the iPod without restoring

    My 4th Gen iPod Nano isn't displaying a "Use iTunes to restore" message, but iTunes is displaying a restore message when I connect it. I have original music that I can't back up on my iPod. Is there any way that I can fix the iPod without restoring it?

    It's not designed to work like this. When you sync, the iPod stores some information that basically says 'this iPod belongs to computer xyz'. Apple did this to prevent copyright issues (syncing someone else's music).
    If you really want to do this, you'll have to at least tie both iTunes installations to the same account. Maybe have them sync with each other.

  • I am using itunes version11.1.3.8 and an iphone 4s version 7.0.4. Is there any way that I can create my own ringtones as I had done in the past? Thank you.

    I am using itunes version11.1.3.8 and an iphone 4s version 7.0.4. Is there any way that I can make my own ringtones? I have always done so in the past (Android). I much prefer to hear my songs when someone calls. Thank you.   

    I have tried to follow all the steps correctly. I presently have on itunes 2 entries:
    1. song.m4r with this highlighted on info screen but song location.m4a on summary screen. I have enetered "OK" several times.
    2. song no suffix on info screen but song location .m4r.mp3 on summary screen
      After syncing I then go a contact and edit it. Trying to change ringtone does not give me an option for the ringtone that I created only those that were preloaded. Is there something that I need to do here? The ringtone (at least one of them) does appear in my song  list and I can play it. I don't know how to check for its properties on the iphone.
    I do not have an itunes created entry on the sidebar for ringtones (I did create a playlist myself).

  • Is there any way that you can delete APPS that come on the iPad? For example, the stock app, can you delete that or is it permanently on there?

    Is there any way that you can delete APPS that come on the iPad 2 when you buy it? For example, the stock app, can you delete that or is it permanently on there?

    You cannot delete the preinstalled apps on the iPad. You can check by tapping and holding down on the icon until it wiggles. If no X appears, you cannot delete it.
    Move it to another screen or bury it in a folder called" Stuff I don't Want"

  • Is it possible to hide the yellow box that appears when you scroll over any object in the form?

    Is it possible to hide the yellow box that appears when you scroll over any object in the form? This box contains the item name or caption.

    Hi,
    Under Tools ... Options ... Workspace, there is an option "Display Object Name Tool Tips While Pointing".
    Try clearing that.
    Bruce

  • I have blown a speaker is there any way that you can fix my computer?

    I have a blown right speaker is there any way that I can get it fixed in an specific amount of time?

    HollisterApple wrote:
    You can also make a report to Apple I believe.
    The last time someone reported about that, they said that the police communicated with Apple, not the victim. Whether that was, or is still true, I do not know. The police may be able to tell you when you file the report, but if not, it won't hurt to contact Apple and ask. Good luck to you Karina.

  • When I go to restore my phone; is there any way to pick what you want back on your phone or do you have to get everything backed up?

    When I go to restore my phone; is there any way to pick what you want back on your phone or do you have to get everything backed up?

    Thank you.  I was afraid of that.  I backed up from iCloud.  I looked at the iTunes one - it had four different ones on there; was hoping I could see because my grandson's phone was redone last year (his mom messed it up then) and didn't know anything was backed up to iTunes.  He lost a lot of stuff that time. I'm just trying to get his phone back to par after someone changed his passcode on him as a joke and forgot what they changed it to a few days ago.  They should change it so one could go in and pick what they want or don't want.  Thank you again for your time.  I do appreciate it.

  • Is there any reason that my lock keeps unlocking in my network settings? Is there any way to keep it locked? It sure is inconvenient when I have to reboot to get back on the internet and re-lock that lock.

    Is there any reason that my lock keeps unlocking in my network settings? Is there any way to keep it locked? It sure is inconvenient when I have to reboot to get back on the internet and re-lock that lock.

    You could try changing the settings in System Preferences/Security & Privacy/General/Advanced/Require an Administator password to access locked preferences
    But this will affect all Preference settings.

  • Is there any Sound card 5.1 include stereo mix that working with MacBook Air such as Creative Labs SoundBlaster X-Fi Surround 5.1 Pro Entertainment System ? and if there any another sound card can you tell me what is it please ? Thank you.

    Is there any Sound card 5.1 include stereo mix that working with MacBook Air such as Creative Labs SoundBlaster X-Fi Surround 5.1 Pro Entertainment System ? and if there any another sound card can you tell me what is it please ? Thank you.

    Okay, I did my best searching and I couldn't find anything that matched all your descriptors. I did do a search on both decoder numbers. SB0256 returned very little results, but with SB0466, I was able to find this ebay listing:
    http://cgi.ebay.com/ws/eBayISAPI.dll...6_fvi%3D&_rdc=
    This card isn't a Champion like you suggested. And with my complete lack of knowledge, I don't know what I/O dri've bay means. But since it is PCI and the decoder matches the number you gave me, this card should be adequete, right?
    Whether it works or not, my search indicated it might be very hard for me to find that card (or any PCI card for that matter). Everything I saw was out of stock. I know this is a forum for Creative, but are there any other manufacturers that will allow me to accomplish my goal, either with current cards, or discontinued cards? Thanks again
    Oh, and I will vote on that thread. I probably won't wait for them to release the decoder since I need it now, but I still believe Creative should be giving the customer what they want

  • Are there any apps that let you print from an Ipad to a Kodak printer?

    Are there any apps that let you print from an Ipad to a Kodak printer?

    How to Print from Your iPad: Summary of Printer and Printing Options
    http://ipadacademy.com/2012/03/how-to-print-from-your-ipad-summary-of-printer-an d-printing-options
    Print from iPad / iPhone without AirPrint
    http://ipadhelp.com/ipad-help/print-from-ipad-iphone-without-airprint/
    How to Enable AirPrint on a Mac and Use Any Printer
    http://ipadhelp.com/ipad-help/how-to-use-airprint-with-any-printer/
    iPad Power: How to Print
    http://www.macworld.com/article/1160312/ipad_printing.html
    Check out these print apps for the iPad.
    Print Utility for iPad  ($3.99) http://itunes.apple.com/us/app/print-utility-for-ipad/id422858586?mt=8
    Print Agent Pro for iPad ($5.99)  http://itunes.apple.com/us/app/print-agent-pro-for-ipad/id421782942?mt=8   Print Agent Pro can print to many non-AirPrint and non-wireless printers on your network, even if they are only connected to a Mac or PC via USB.
    FingerPrint turns any printer into an AirPrint printer
    http://reviews.cnet.com/8301-19512_7-57368414-233/fingerprint-turns-any-printer- into-an-airprint-printer/
     Cheers, Tom

Maybe you are looking for

  • ITunes No Longer Launches Automatically When My iPhone Plugs In

    So as the subject line says, my iPhone no longer starts iTunes when it is automatically plugged in. It just stopped doing this after I talked to AppleCare to get my MobileMe working (my computer is old so it uses .Mac but it wouldn't load successfull

  • How can i use AME for the new OAF page.

    Dear all, I have developed a new OAF page and registered under Employee Self Service. How can i use AME for the approval process. Appreciate your ideas? zamora

  • Acrobat Reader 10.0.1 and HP DesignJet 1055CM+ incompatibility

    Hello - I'm an IT administrator with my organization and we recently experienced a compatibility issue. We have four plotters on our network, one of which is a HP DesignJet 1055CM+. We're currently running Windows 7 64bit on the machines that connect

  • How to check the records in Master Data Table?

    Hi,    I am trying to load the Master Data Table using the Flat File.Now how to check the records in Master Data Table? I done the following way: Info Provider->Info Object->Right Click->Display Data or Maintain Master Data But it's not showing the r

  • Providing a Read-Only Version of OEM to App Developers

    Hello forum... In perusing OEM with one of our developers, he noticed when looking at Top Activity that one of his queries was using the wrong index and it helped him resolve a long-standing speed issue in his app. My dilemma now is that they want ac