How to check the event.target type in the "if" statement

Hi, I have "roll-over" event listener and I wish that only works with music videos (without textfields etc.). I would write something like this:

if(Event.Target == MovieClip) {do something}

else {do something}

This does not work properly.

How to check the event.target type in the "if"?

Thanks for any help.

:

If (getQualifiedClassName (Event.Target) == 'flash. display::MovieClip') {do something}

else {do something}

.

Tags: Adobe Animate

Similar Questions

  • How to check the type of memory installed (ECC or not)?

    all!

    I have some servers Dell PowerEdge R420 and I want to upgrade memory, install more...

    How to check the type of memory installed (ECC or not)?

    Dmidecode output here:

    Drive.google.com/.../View

    Hello.

    Unfortunately, we are not able to open the link you have provided. You can display information about your memory on the web iDRAC under hardware and memory interface. You see the type of error correction (ECC or Non ECC) within the information memory page. You can also view the same information on OpenManage Server Administrator and even make use of the memory part number to find out more information.

  • How to check the status of the import in Windows?

    Hello

    Import runs in my box of Wndows. The log file is not updated since long. How to check the status of the import job? FYI its oracle 10g.

    And I checked the database which.

    FYI
    ===
    Select * from DBA_DATAPUMP_SESSIONS;

    no selected line.

    Select * from DBA_JOBS_RUNNING;

    no selected line


    Select the username, machine, module, sid, State, event, seq #, session seconds_in_wait $ v where type <>'IMPORT' and username = "AUTOTIME";

    no selected line



    Please let me know.

    You actually look at the session of $ v and check the status of the session that is created by the import job.

    Sometimes the underlying tablespace is full, so import session just hangs, it must increase the size of the storage space.

    You should also look at alert.log file and see if there is any error message like "cannot extend table space '.

  • How to check the column updated whereby the package or procedure?

    Hi all

    Can someone help me how to check the column updated by which the package or procedure

    A.Mahesh

    Hello.

    You can check what object is a reference to the table of the column:

    Select *.

    of all_dependencies d

    where d.REFERENCED_NAME = '. '

    And you can find all the links to the object source data column:

    Select *.

    of s all_source

    where s.name = "."

    and s.OWNER = '. '

    and s.TYPE = "."

    and as s.TEXT '%%'

  • How to check the table have are all views in oracle

    Hello
    How to check the table have are all views in oracle
    SELECT * FROM user_dependencies
    WHERE type='VIEW'
    AND referenced_type='TABLE'
    AND referenced_name ='Your_Table_Name' 
    

    You can use dba_dependencies to find views in the different schema.

  • How to check the matrix Certification for RMAN

    All the

    I am interested in finding the certification of rman.

    My client has catalog db on 9i targets are 10 g/11 so we are trying to identify an appropriate RMAN s/w that will support all the databases we have. So, the question is.

    How to check the matrix certification for RMAN?

    PL. tell me the notes, if any.

    Thank you
    Sashi.

    In addition to the Metalink note, you can check the documentation too @ RMAN compatibility matrix

  • How to check the status of battery for Cyber-shot?

    How to check the status of battery for Cyber-shot?

    Depends on what Cyber-shot you have - in General, there should be a DISP button, or menu on site that display. The State of the battery is usually at the top right.

    The DISP button is usually the UP button.

    In addition, depending on the type of use of the Cyber-shot battery, it can never just to display the bars, or it can show a percentage.

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • How to check the balance on the gift card itunes

    How to check the balance on the gift card itunes

    Redeem it

  • Satellite A200 - how to check the temperature of the processor fan?

    Hi all

    I have a Satellite A200 that my teenagers use a little, or abuse a little! Recently, it would not start up. I suspect the fan and pulled out the fan cleaned and tested the fan on a PSU, worked out well. He put it back together, ran startup repair and now the computer is operating normally. The fan is however not appear to come at all. In the Device Manager it tells me it works very well. I'm all good with the mechanical side of the House, but I'm a quamby operating system! How to check the temp CPU or fan?

    Thought that replace the fan but don't want to go that far just to get no results. Currently using the vacuum on low like an external fan and didn't want to just run the laptop with no cooling for fear of permanent damage. Although children watch movies with her on their doona may have already reached this!

    Any advice would be appreciated.

    Hey mate,

    How to clean the fan exactly? It s advisable to use the jet of compressed air. This could blow the dust of fans cooling and, therefore, it of not necessary to disassemble the laptop.

    In addition if the fan doesn't work anymore it of necessary to replace. You can order spare parts at an authorized service provider.

  • How to check the print queue in Windows 8

    Difficulty controlling the queue with your new Windows 8? Here's a great video on how to do it:

    Hope this helps to understand how to check the print queue in Windows 8. If you have problems, let me know, I'll see what I can do to help.

  • HP Photosmart 7525: How to check the version of the firmware of the HP PhotoSmart 7525 is up-to-date?

    How to check the version of the firmware of the HP Photosmart 7525 is up-to-date? And where can I go to download the latest firmware?

    Hello

    Follow these steps to check the update of firmware for your printer:

    http://support.HP.com/us-en/product/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5286642/document/c03312867/

    Note: the printer must be connected to your network to check the updates, if it is connected with a USB key follow the steps in the tehse to connect the * beep * to your wireless network:

    1. In the wireless menu, tap Settings.

  • How to check the size of the file to a text file.

    How to check the size of the file to a text file.

    Please explain to me.

    I'm new in LabVIEW. and have no idea about that...;

    Hi prashant,

    go to the file e/s palette and then the advanced palette which is a search palletteand sub getfilesize.vi... but this function gives the result in bytes...

    Thank you and best regards,

    srikrishnaNF

  • HP G42 notebook: how to check the heat sensor

    my laptop fire but there is no system message...

    and performance down... could be heat sensor not properly detect...

    How to check the heat sensor...

    my laptop G-42-355tu

  • How to check the use of the ram?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    Yes, Yes... and no. All applications on your computer uses RAM, not only the pagefile or system (kernel).

    What are you really trying to do?

    See http://www.petri.co.il/pagefile_optimization.htm , especially the part under "How Pagefile your system use?"

Maybe you are looking for

  • iTunes "side" have to spoil the reading

    Since I updated to iTunes 12.5.1.21, I noticed that if I want to play the songs on an album in order, he often do, playing similar to the current song songs instead or even different songs with similar titles (for example, I have several versions of

  • Why is - a 'tab' settings now, how can I change this back?

    Whenever I have try and clear the cache and click on Preferences it now opens a new tab, unlike a new window he used to. is possible to change this back? In addition, my firefox does not appear to be misspellings, even if the option is checked. Is th

  • 'Share' attempts only give answer 'no service '.

    Until just recently, I could use a left click or another thing, get share option and send a link or a photo or other items by e-mail. Who just left for a reason any. Now I get "No service", even though my modem works fine, I can surf in the Net and s

  • Dc7100 graphic card?

    Hi, I just bought a HP DC7100 not so long ago, and I was trying to play games on it and does not work well, it turns out that I need a better graphics card. Anyway to make a long story short, I was wondering if the DC7100 will be able to handle 1 GB

  • Workflow trigger SNMP Trap

    Try to get a SNMP trap to trigger a workflow to send an e-mail after a snapshot was taken.