Need more time for tween to finish

How do I let this tween finish fading before doing the next thing? I'm thinking it needs a listener from the event class?
tfDisplay.addEventListener(Event.COMLETE,myFunction); //something like this??
var xTween:Tween = new Tween(tfDisplay, "alpha", Strong.easeIn, 1,0,1, true);
thanks, Chop

Thank you, it's working...
This is what I used and seems to work. I just don't know if it is "clunky"
or not as there seems to be a fair bit of redundency in the code:
(where's the as code instert button on this forum?)
contact and purchase buttons bring up a text field with text from a .txt file... want to fade in and fade out. In this example, you can go from "contact" to "purchases" or vice versa and the previous text will fade out before the current one fades in.
function contact
(evt:MouseEvent):void{
    var outTween:Tween = new Tween(tfDisplay, "alpha", Strong.easeIn, 1,0,1, true);
    outTween.addEventListener (TweenEvent.MOTION_FINISH,tFinishHandler);
        function tFinishHandler(evt:TweenEvent):void{
        myAlbum.alpha=0;
        setBullet(26,214);
        displayTextField ("contact.txt");
        var inTween:Tween = new Tween(tfDisplay, "alpha", Strong.easeIn, 0,1,1, true);
    function purchases
(evt:MouseEvent):void{
    var outTween:Tween = new Tween(tfDisplay, "alpha", Strong.easeIn, 1,0,1, true);
    outTween.addEventListener (TweenEvent.MOTION_FINISH,tFinishHandler);
        function tFinishHandler(evt:TweenEvent):void{
        myAlbum.alpha=0;
        setBullet(4,186);
        displayTextField ("purchases.txt");
        var inTween:Tween = new Tween(tfDisplay, "alpha", Strong.easeIn, 0,1,1, true);
again, things are working so I'm happy

Similar Messages

  • What's status of my order?  We need more time to process your order.

    I cannot find on the Adobe site where to find the status of an order.
    Last Saturday I placed an online order for an annual subscription to the CC Photography package.  After I had completed all the steps a message was displayed on my browser that read something like "We need more time to process your order."  There was also a statement that said something to the effect that I would be contacted by email the next business day, but I have seen nothing.
    I'm certain this is not the place for questions about order status, but when I followed the steps in Contact Us, this is where I wound up.  I prefer to use email or the internal messaging system rather than phone, so I can have a record of what was said.
    Thanks - Dave

    This has been a colossal hassle.  Notice there's no reply to my question here about how to contact whoever the rep res referring me to.
    When you go through the order process it doesn't ask how your name appears on the credit card.  I'm "Dave" here, but on my credit card I'm David.  Maybe that's why it didn't go through.  Maybe it isn't wise to order on the weekends (I placed my order on a Saturday).
    In two chat sessions the rep said he (or she) would escalate the case and I'd hear in 24-48 hours.    Never heard a thing.
    I finally went through the order process on a Friday, edited my profile with my real name and it went right through.  I chose to download Photoshop CC 2014.  I got a Web page with the header Downloading now... or something like that.  But there was no activity indicator.  I tired the forum but the entire forum was down.  Finally after a useless chat I opted to start the download again.  The CC Application Manager started up and displayed a progress bar.  When it was finished I got a message saying the download had failed.  After a couple more tries I got PS and Bridge downloaded successfully then downloaded Lightroom.  BTW, you don't get the install files.  It installs as it downloads.  You can't tell it where you want it installed.  For us with a tiny boot SSD it's a squeeze.
    I've reactivated my Lynda.com membership and am catching up on what's new in PS CC 2013 and 2014.  Photoshop CC seems to be behaving OK, but I'm not sure if Adobe is ready for prime time.  Do you suppose they had a hand in crafting Healthcare.gov?. 
    - Dave

  • 'BAPI_GOODSMVT_CREATE' takes more time for creating material document for the 1st time

    Hi Experts,
    I am doing goods movement using BAPI_GOODSMVT_CREATE in my custom code.
    Then there is some functional configuration such that, material documents and TR and TO are getting created.
    Now I need to get TO and TR numbers from LTAK table passing material documnt number and year, which I got from above used BAPI.
    The problem I am facing is very strange.
    Only for the 1st time, I am not finding TR and TO values in LTAK table. And subsequent runs I get entries in LTAK in there is a wait time of 5 seconds after bapi call.
    I have found 'BAPI_GOODSMVT_CREATE' takes more time for creating material document with similar issue, but no solution or explanation.
    Note 838036 says something similar, but it seems obsolete.
    Kindly share your expertise and opinions.
    Thanks,
    Anil

    Hi,
    please check if some of following OSS notes are not valid for your problem:
    [Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
    [Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
    [Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
    The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
    But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
    Regards
    Adrian

  • ADF application taking more time for first time and less from second time

    Hi Experts,
    We are using ADF 11.1.1.2.
    Our application contains 5 jsp pages, 10 - 12 taskflows, and 50 jsff pages.
    For the first time in the day if we use the application it is taking more than 60 sec on some actions.
    And from the next time onwords it is taking 5 to 6 sec.
    Same thing is happening daily.
    Can any one tell me why this application is taking more time for first time and less time from second time.
    Regards
    Gayaz

    Hi,
    If you don't restart you WLS every day, then you should read about Tuning Application Module Pools and Connection Pools
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0301
    And pay attention to the parameter: Maximum Available Size, Minimum Available Size
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0314
    And adjust them to suit your needs.

  • Deleting Apps on surface,iPhone4,iOS5.1, needs more time.I don't know why.Help!

    My iPhone4,updated  to iOS5.1 days ago.Now,I want to delete  unuseful Apps on iPhone's desktop.Unluckly,App needs more time to show "X" when it shakes.I don't know why.Needs technology  support.Thanks!

    Have you tried a reset to see if that improves the speed ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the equivalent of a reboot.

  • I have my own icloud account separate from my family's apple ID for itunes. I need more storage for icloud...do I have to pay a separate $20/ month to get more storage or does the $20 include all members of the plan?

    I have my own icloud account separate from my family's apple ID for itunes. I need more storage for icloud...do I have to pay a separate $20/ month to get more storage or does the $20 include all members of the plan?

    Welcome to Apple Support Communities
    If your iCloud account uses your family's Apple ID, you will pay $20/year for all your family members. If your iCloud account uses a different Apple ID than your family's Apple ID, you will pay only for you

  • 'BAPI_GOODSMVT_CREATE' takes more time for creating material document

    Hi Experts,
    I m using 'BAPI_GOODSMVT_CREATE' in my custom report, it takes more time for creating Material documents.
    Please let me know if there is any option to overcome this issue.
    Thanks in advance
    Regards,
    Leo

    Hi,
    please check if some of following OSS notes are not valid for your problem:
    [Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
    [Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
    [Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
    The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
    But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
    Regards
    Adrian

  • What is the best External Hard Drive for a Macbook Leopard 10.5.8?  I need more memory for documents, pictures, videos, and music.  Thanks!

    What is the best External Hard Drive for a Macbook Leopard 10.5.8?  I need more memory for documents, pictures, videos, and music.  Thanks!

    Hi, does your MacBook have Firewire, or just USB?
    FW is far faster if you have that.
    Avoid Bus powered ones.
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
    USB only...
    http://eshop.macsales.com/shop/firewire/usb/eliteclassic

  • Procedure is taking more time for execution

    hi,
    when i am trying to execute the below procedure it is taking more time for
    execution.
    can you pls suggest the possaible ways to tune the query.
    PROCEDURE sp_sel_cntr_ri_fact (
    po_cntr_ri_fact_cursor OUT t_cursor
    IS
    BEGIN
    OPEN po_cntr_ri_fact_cursor FOR
    SELET c_RI_fAt_id, c_RI_fAt_code,c_RI_fAt_nme,
         case when exists (SELET 'x' FROM A_CRF_PARAM_CALIB t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
         then 'Yes'
                   when exists (SELET 'x' FROM A_EMPI_ERV_CALIB_DETAIL t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM A_IC_CNTRY_IC_CRF_MPG_DTL t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM A_IC_CRF_CNTRYIDX_MPG_DTL t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM A_IC_CRF_RESI_COR t WHERE t.x_axis_c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM A_IC_CRF_RESI_COR t WHERE t.y_axis_c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM A_PAR_MARO_GAMMA_PRIME_CALIB t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM D_ANALYSIS_FAT t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM D_CALIB_CNTRY_RI_FATOR t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM E_BUSI_PORT_DTL t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM E_CNTRY_LOSS_DIST_RSLT t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM E_CNTRY_LOSS_RSLT t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM E_CRF_BUS_PORTFOL_CRITERIA t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM E_CRF_CORR_RSLT t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
                   when exists (SELET 'x' FROM E_HYPO_PORTF_DTL t WHERE t.c_RI_fAt_id = A_IC_CNTR_RI_FAT.c_RI_fAt_id)
                   then 'Yes'
              else
                   'No'
         end used_analysis_ind,
         creation_date, datetime_stamp, user_id
         FROM A_IC_CNTR_RI_FAT
    ORDER BY c_RI_fAt_id_nme DESC;
    END sp_sel_cntr_ri_fact;

    [When your query takes too long...|http://forums.oracle.com/forums/thread.jspa?messageID=1812597]

  • Self Service Password Registration Page taking more time for loading in FIM 2010 R2

    Hi,
    I have beeen successfullly installed FIM 2010 R2 SSPR and it is working fine
    but my problem is that Self Service Password Registration Page taking more time for loading when i provide Window Credential,it is taking approximate 50 to 60 Seconds for loading a page in FIM 2010 R2
    very urgent requirement.
    Regards
    Anil Kumar

    Double check that the objectSid, accountname and domain is populated for the users in the FIM portal, and each user is connected to their AD counterparts
    Check here for more info:
    http://social.technet.microsoft.com/wiki/contents/articles/20213.troubleshooting-fim-sspr-error-3003-the-current-user-account-is-not-recognized-by-forefront-identity-manager-please-contact-your-help-desk-or-system-administrator.aspx

  • How do we tune a query that takes more time for the first time?

    Hi,
    First time it takes 20 secs and subsequent times 2 secs.
    Let me know if you need more info
    Thanks

    Following are the parameters set at the DB level.
    .__db_cache_size=2214592512
    .__java_pool_size=16777216
    .__large_pool_size=16777216
    .__shared_pool_size=1543503872
    .__streams_pool_size=33554432
    *._optimizer_cost_based_transformation='off'
    *._smu_debug_mode=4
    *.compatible='10.2.0.1.0'
    *.cursor_sharing='SIMILAR'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.job_queue_processes=10
    *.open_cursors=5000
    *.optimizer_mode='ALL_ROWS'
    *.pga_aggregate_target=1277165568
    *.processes=250
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sessions=1000
    *.sga_target=3833593856
    *.undo_management='AUTO'
    *.undo_tablespace='UBPTAB_UNDO'
    Execution Plan
    Plan hash value: 2107556093
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 45157 | 29M| | 9094 (1)| 00:01
    :50 |
    | 1 | SORT ORDER BY | | 45157 | 29M| 78M| 9094 (1)| 00:01
    :50 |
    |* 2 | TABLE ACCESS FULL| <tname>| 45157 | 29M| | 2564 (2)| 00:00
    :31 |
    Following are result from dba_tab_statistics.
    NUM_ROWS BLOCKS EMPTY_BLOCKS AVG_CACHE_HIT_RATIO AVG_ROW_LEN
    112704 11520 768 685
    AVG_SPACE_FREELIST_BLOCKS NUM_FREELIST_BLOCKS
    0 0
    Follwing was the time it has taken to generate the explain plan report after issuing the below command.
    set autotrace traceonly
    Elapsed: 00:00:15.49
    Following is the statistics
    Statistics
    0 recursive calls
    0 db block gets
    11380 consistent gets
    0 physical reads
    0 redo size
    8823636 bytes sent via SQL*Net to client
    37731 bytes received via SQL*Net from client
    3019 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    45267 rows processed
    Pl let us know how to tune the same.
    Thank you all for the help

  • Need more time to pay my last bill

    i need help in payin my last phone bill as it due on the 15th July and i dont get paid till the 29th July so please can you help me
    Can you give me any solutions on how to pay or you will cut my broadband and BT Vision off if i dont pay by the 15h July.
    Thanks

    Send an email to [email protected] remember to include your BT account number, telephone number and a link to this thread and they will have a look in to it for you.
    But to be honest though I don't think you'll have much hope even if you have payed part of your bill, as BT may not give you more time to pay the rest of it off and you may end up facing being cut off along with facing additional charges regardless of circumstances.
    My Motto:
    Going to kill my HomeHub 2 very soon.

  • Need more time to pay

    Hi I have tried to get through to customer service to ask for more time to pay my bill. I went through to the automated service but it stated if I dont pay my bill by the 7th November my phone line will be cut. I really need to keep my service active for very personal reasons. I wanted an extension to clear the bill in full by Wedensday the 12th November. I am really worried as I need my phone for  my work and family. I have just recently gone back to full time employment which is the reason for the delay. Can anyone who works for BT try to assist me on this ? Thank you for reading. D.

    Welcome to this forum.
    This is a customer to customer forum only,
    This is where customers help each other get the most out of BT products & services.
    Anything you post here does not go to BT. Although the forum is moderated by BT, not all posts are read.
    If you would like to try Live Chat they may be able to help you.
    If you need direct help from BT or have an urgent problem please use this linkContact Us.
    This is a public forum which can be viewed worldwide, so please do not post any personal information, especially phone numbers, account numbers, fault numbers, address information or email addresses, as this could be used to impersonate you.
    Thanks
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Taking more time for retreving data from nested table

    Hi
    we have two databases db1 and db2,in database db2 we have number of nested tables were there.
    Now the problem is we had link between two databases,whenever u firing the any query in db1 internally it's going to acces nested tables in db2.
    For feching records it's going to take much more time even records are less in table . what would be the reason.
    plz help me daliy we are facing the problem regarding the same

    Please avoid duplicate thread :
    quaries taking more time
    Nicolas.
    +< mod. action : thread locked>+

  • Taking more time for loading Real Cost estimates

    Dear Experts,
    It is taking more time to load data into cude CO-PC: Product Cost Planning - Released Cost Estimates(0COPC_C09).The update mode is "Full Update"There are only 105607 records.For other areas there are more than this records,but it gets loaded easily.
    I have problem only to this 0COPC_C09.Could  anybody can guide me?.
    Rgds
    ACE

    suresh.ratnaji wrote:
    NAME                                 TYPE        VALUE
    _optimizer_cost_based_transformation string      OFF
    filesystemio_options                 string      asynch
    object_cache_optimal_size            integer     102400
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.4
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      choose
    optimizer_secure_view_merging        boolean     TRUE
    plsql_optimize_level                 integer     2
    please let me know why it taking more time in INDEX RANGE SCAN compare to the full table scan?Suresh,
    Any particular reason why you have a non-default value for a hidden parameter, optimizercost_based_transformation ?
    On my 10.2.0.1 database, its default value is "linear". What happens when you reset the value of the hidden parameter to default?

Maybe you are looking for

  • J2EE RFC Metadata cache refresh

    Hi All, I've searched a bit on this forum but can't quite find the answer I'm looking for... Is it possible to perform a cache refresh without having to restart the server, after making changes to an RFC model and deploying it?  It's a pain in the ne

  • Reading a remote text file in java

    All, I have a text file on a server where I work which I want to read. To connect to the server I'm using ssh (need to provide user & pass) I use the j2ssh tool and can get access via my Java code, but I couldn't find how can I read the file. I can d

  • Polish Language Pack for 6500 Slide Nokia

    Greetings! I am based in Great Britain and have purchased a Nokia 6500 Slide on a "Pay and Go" sim card on the 02 network in England for my Polish Girlfriend. The phone only has some European languages and there is no option for the Polish Language.

  • Archiving-FI SARI

    Hi All、 I have request in hand, related to Archiving. I don’t have any idea about Archiving. All that I know about the request is : There is some Program with vague name ‘GP47A7X4VH809QXJNXP6Y6DG7XQD’ on its Selection Screen we give Company Code, Doc

  • Can't access emails on my iPhone even tho coming thru on my iPad.

    When trying to pick up emails from my iPhone, I am finding that not all are coming thru.  I can see them all on my iPad or even in outlook but not on my phone. Any ideas?  I thought it may be because they are being updated on my iPad first but not su