Can I trigger more than 1 function?

I need to trigger 4 different functions when I move the mouse poiter over a movieclip; do I need to use 4 listeners or can I use only one to call all the 4 functions?
Now I do this
movieclip.addEventListener(MouseEvent.MOUSE.OVER, function1);
movieclip.addEventListener(MouseEvent.MOUSE.OVER, function2);
movieclip.addEventListener(MouseEvent.MOUSE.OVER, function3);
movieclip.addEventListener(MouseEvent.MOUSE.OVER, function4);
Is this the only way?

You could do that, or you could be a little more efficient and have just one listener and have its function call the other functions.

Similar Messages

  • How can you trigger more than 1 advanced action?

    I wonder if someone can answer a very quick question for me that I'm struggling with at the moment
    I have 6 stacks of 16 images. I have the user select the name of the image they want to show in each stack, and then I have an advanced action that runs to show only the image they have selected. Currently I have 6 actions, one for each stack of images.
    What I need to do is to run all 6 advanced actions as the user enters a page so they only see the 6 images they have selected on the previous slide. My problem is that I can only seem to run one advanced action upon slide entry (or from a button or anything else). Is there a way to combine advanced actions, or to run more than one action from a single command? Or does this require a different approach?
    Thanks in advance for your help.
    James

    Thanks Lilybiri and RonWard,
    I guess I could have been clearer in my question.
    I'm using Cp5 and to give you an idea of what I'm doing I've pasted an image of the slide I'm playing with below.
    Each image you see here is actually a stack of 16 images that are hidden on slide enter. There is a combo box under each stack that allows the user to choose the name of the image they want to use, and the button triggers an advanced action that shows the image that has been selected.
    Ultimately what I intend to do is to move the combo boxes to the previous slide, and on slide enter only the 6 six selected images will be shown. I'm then going to use a drag and drop widget to create a question about of all of this. The teacher will select which 6 images are relevant to their students, enter some information (definitions, quotes etc) that are related to each image, and the students will have to drag them to the correct image / icon.
    So... I've created 6 advanced actions, one for each stack of images. (I suspect that was my mistake).
    I've attached an image of the action. For each Action there are 16 parts to it. One for each image. You can see here that the action is fairly simple. It just checks the variable that comes form the combo box, and if it has been selected, then it shows the appropriate image. If not it just moves onto the next part of the action which checks for the next image being selected.
    There is one action for each stack of images - so 6 actions. If there was a way to combine them it would be very helpful - but I'm suspecting that's not possible. Alternatively if there was a way to trigger all of them together that would work - but again I don't think that's possible. So what are my options.
    Finally, and here's the biggy that I don't think can be done. As I eluded to above. The idea here is that a teacher will set this up and a student will then complete the activity. Is there anyway for the teacher, without Captivate, to select these images and enter some other variables, and have that information propagated across a network so many students can use the project with the variables the teacher enters just once?
    Thanks heaps for your help. This forum is great. I'll spend some time reading the blogs mentioned also. I'm so thrilled that Captivate is finally letting me do some of the elearning things I've wanted to do for years. I'm a teacher by training and now consulting and building resources for schools.
    Thanks again
    James

  • Can I assign more than one Pricing procedures to the one vendor.

    Hi Gurus,
    Can I assign more than one Pricing procedures to the one vendor.
    If possible, where it can assign &give the procedure.
    My client requirement is :
    Vendor supply the goods from two different countries. So, pricing procedure is different because taxes are differ in two countries and currency also differs.
    If goods are supplying from country u2018Au2019 ,automatically pricing procedure for that country  was trigger. How the system know , which pricing schema is required.
    Give me solution

    Hi,
    Extend your vendor to new purchase organisation.  Assaign new pricing procedure to this Purchase organisation.
    Use different Purchase organisation while creating POs for the same vendor  procuring from different countries.
    Regards,
    Satya
    Edited by: Penjarla Venkata Satyanarayana on Aug 28, 2008 4:21 PM
    Edited by: Penjarla Venkata Satyanarayana on Aug 28, 2008 4:23 PM

  • Page HTML Body Attribute - can there be more than one in this area?

    In "Oracle Database Application Express Advanced Tutorials", Release 3.0, B32469-01 on page 10-10, in the section labeled "Create a Call to the disFormItems Function" in step 6........it reads:
    //start citation
    In the Page HTML Body Attribute, enter the following:
    onload="disFormItems(); first_field();"
    //stop citation
    My questions are:
    Can there be more than one "onload" statement?
    If yes, how do you string them together?
    Assume the second function I want to add is "disFormItems_local()"
    Thank you,
    Maggie

    Okay, I have figured it out, I believe. So, I will provide my own answer in case someone else is looking for this type of situation in the future.
    I edited the page definition by adding another function, disFormItems_local(), to the HTML Header Attribute.
    Next, I edited the item's HTML Form Element Attributes to call the function, onchange="disFormItems_local()"
    Then, I created a call to the disFormItems_local function in the page HTML Body Attribute, onload="disFormItems(); first_field(); disFormItems_local();"
    Other stuff that you will need to know is to be found in Chapter 10 page 8, Enabling and Disabling Form Elements of the 3.0 Advanced Tutorials.

  • Error 5006:  can't have more than one externally visible definition

    Hi
    I'm getting this error:
    5006: An ActionScript file can not have more than one
    externally visible definition: AMReports, playSound.
    playSound is a function in my main document class
    The error occured after I added a MovieClip and FLV component
    to my the same framemain timeline. This Movie Clip has 3 frames.
    I'll be using cue points added to the FLV component to move this
    from frame to frame in that MovieClip.
    Any one have an idea why this is happening?
    Thanks.

    I fixed this problem: a brace was in the wrong place.

  • Can't concatonate more than three items in a portal select statement ?

    I'm running a Report from SQL query
    as Far as I can tell you can't do;
    select 'blah1'||name||'blah3'||'blah3'
    from scott.emp
    as soon as you put in a 4th item it fails.
    It also fails using select concat (,)
    I'm trying to run a report which selects a web address stored in a database table ie. http://www.yahoo.com and wrap it in html tags so it will appear as a link.
    I've got to do it with more than three items because the only way to display the < in <ahref is to quote it seperately.
    ie
    '< '||'ahref='||ADDRESS FROM DATABASE||etc.etc.
    anyone any ideas?
    should i do it another way?

    Let me explain a bit further.
    If I want to display;
    www.yahoo.com as a link I need add the html tags
    Yahoo
    www.yahoo.com is an entry in a database.
    I want to select the entry www.yahoo.com from the database and concatonate it with the html tags.
    ideally;
    select 'Visit
    This does not work
    To concatonate characters like > in a select statement within portal you need to concat. seperately;
    select '< '||'a href="'||ADDRESS FROM DATABASE||'"> '||'Visit< '||'/a> '
    This does not work as you can't concat more than three items.
    Could I write a trigger to add in the html tags to the data stored in the database, when data is entered via a portal form?
    Again my problem is In need to add text to the start and end of the data being stored ie.
    user enters www.yahoo.com in a form
    a trigger or two converts that into;
    Visit

  • Can we assign more than one sales org to one company code ?

    can we assign more than one sales org to one company code ?
    or one as to one only ?
    why sales org is assigned at company code level why not on plant level ?
    regards

    Multiple sales organizations can be assigned to company code.
    Company code is the highest organizational unit and plant and sales organization are assigned to it.
    In the logistics module, Plant is the highest entity in the MM module and Sales organization is the highest entity in SD module. Basically with this assignment of plant and sales org to company code all the financial accounts are updated.
    Assigning of Sales org to company code and not to plant is the standard functionality that helps map most business processes.
    Regards
    AK
    Reward points if helpful

  • Can we have more than one primary key constraint to a Oracle Table?

    Hi,
    Can we have more than one primary keys to a single table in oracle? ( Not the composite key)
    Please somebody answer..
    Regards,
    Alaka

    811935 wrote:
    Can we have more than one primary keys to a single table in oracle? ( Not the composite key)
    In principle a table can have multiple keys if you need them. It is a very strong convention that just one of those keys is designated to be "primary" but that's just a convention and it doesn't stop you implementing other keys as well.
    Oracle provides two uniqueness constraints for creating keys: the PRIMARY KEY constraint and the UNIQUE constraint. The PRIMARY KEY constraint can only be used once per table whereas the UNIQUE constraint can be used multiple times. Other than that the PRIMARY KEY and UNIQUE constraints serve the same function (always assuming the column(s) they are applied to are NOT NULL).

  • TA22652 Hi, I have authorized 4/5 computers, now what once I'll be done with all 5/5 computers? Can I authorize more than 5 computers?

    Hi, I have authorized 4/5 computers, now what once I'll be done with all 5/5 computers? Can I authorize more than 5 computers? Also I do not have any of the back up of other 3 computers I've authorized. Please help me!! Thanks

    No more than five computers can be authorized at any given time. Computers can be individually deauthorized by using the Deauthorize Computer function; once a year, you can deauthorize all the computers without needing access to them.
    (84740)

  • Can we have more than 999 line items in new gl document

    HI
    Can we have more than 999 in new gl document. we are using ecc 6.0. does new gl support this functionality. plz help
    thanks,

    Hi,
    Please check this thread https://forums.sdn.sap.com/click.jspa?searchID=3767300&messageID=3565908
    In NewGL, there's a functionality called "document split". For example if there's one customer line item without business are assignment and 2 offsetting sales items have business area A and B, then the customer line item gets divided into 2 lines with business area A and B automatically on NewGL document. That's why the system must allow more than 999 items in NewGL.
    BUT !!! The limitation on BSEG still exists as I mentioned. This means all documents created from external modules SD, MM, IDoc etc.. (also FI) still can not exceed 999 items when the data gets passed to FI.
    The workaround of reducing the number of items is available by summarization. Note 36353, 310837 explains this functionality.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    Hi Nancy,
    This screenshot was only for imagination. A part of the code (not all) is below.  In the code there are some background images but they are not seem in live mode.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="css/my_site.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css"/>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <style>
    #CollapsiblePanel1 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-color: #003366;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel1 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel1 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/international.jpg);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel2 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelContent {
        background-color: blue;
    #CollapsiblePanel3 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel3 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel3 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel4 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel5 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    </style>

  • How can I buy more than one item at a time?

    How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!

    You can't.
    Regards
    TD

  • Can't print more than one job at a time.

    I am trying to print to either a HP DesignJet 1055cm plotter or a HP LaserJet 5000N. I can't send more than one file at a time. If i don't wait until the current job starts printing, the next one won't print. For example if I sent five files one right after the other, I might get 1, 4 and 5. I don't think it's a printer problem because it happens on two different printers, and it doesn't happen when I print from my PC. Any idea what could cause this?

    My work around is to put all the jobs "on hold" in the print settings or just "stop jobs" on the printer window.
    Then I click on each print job in the que and let them print one at a time. This way I can at least quit the program and move onto the next thing.

  • When I open an event, including flagged items, the photos appear one by one, not as thumbnails, so I can't export more than one phot at a time. How do I get iPhoto to show the thumbnails?

    When I open an event, including flagged items, the photos appear one by one, not as thumbnails, so I can't export more than one phot at a time. How do I get iPhoto to show the thumbnails?
    I've tried rebuilding the thumbnail database, but that hasn't helped.

    What version of iPhoto and system are you running?
    Try moving the Zoom slider at the bottom of the iPhoto window all the way to the left.  Does that let more than one photo display in the window?
    OT

Maybe you are looking for

  • How to pass column header as a parameter in Validation Expression (APEX4.0)

    Hello I created a new Page validation in APEX4.0 ( not 4.1 ). (1) Type : Function Returning error text (2) Validation Expression 1 : begin return validate_name ( p_c=> #COLUMN_HEADER# ,p_c_value=> to_date(:p26_LEAVE_FROM,'dd/mm/yyyy') ); end; note: t

  • Discoverer 4i

    Does anyone know when this will be available and is there any documentation we can look at now? Discoverer 3i is missing much of the report forming contained in Discoverer 3.1. Thanks.

  • NAT7210BPD It has controlled by Z80.

    AT7210BPD It has controlled by Z80. It takers by Visual Basic to ibrd(). [READYcrlf] is transmitted at this time. [LF] It is [EOI] when transmitting. It has published. [LF+EOI] Interruption occurs from NAT7210 once again after transmission. What proc

  • What does "other" consist of on my iPhone?

    That section is taking up 8.38GB of data on my phone, so I have almost no available storage.

  • IChat Server broken after 10.6.3 Update

    Jabberd is unable tostart after the update. Any ideas? +Mar 30 19:32:38 rudi jabberd/sm[41756]: module 'presence' added to chain 'in-sess' (order 11 index 12 seq 0)+ +Mar 30 19:32:38 rudi jabberd/sm[41756]: module 'deliver' added to chain 'in-sess' (