Problem adding another tween for a MC while running a Tween !!!

Hi All,
Shall i start second tween for a MC, its already a running a tween?
I have two red dots in my stage. Initially i start moving those dots from a position to another position, while tweening start i m calling a function for starting a new tween using "MOTION_CHANGE" class, In that function i m trying to make a blink effect to those two red dots., Not working...!!!
Pls suggest me, the way i m using is correct? or do i needs to done by another way ?
Here my codes...
import fl.transitions.*;
import fl.transitions.easing.*;
var MC:MovieClip=new MovieClip();
var tweenX:Array=new Array();
var blinkTween:Array=new Array();
for (var i:int=1; i<=2; i++) {
MC=drawCircle();
MC.id=i;
MC.x=100;
MC.y=100*i;
addChild(MC);
tweenX[i]=new Tween(MC,"x",Regular.easeIn,MC.x,MC.x+300,5,true);
tweenX[i].addEventListener(TweenEvent.MOTION_CHANGE, blinkCircle);
function blinkCircle(evt:TweenEvent):void {
trace(evt.target.obj.id);
blinkTween[evt.target.obj.id]=new Tween(evt.target.obj,"alpha",Regular.easeOut,100,0,.5,true);
blinkTween[evt.target.obj.id].addEventListener(TweenEvent.MOTION_FINISH, blinkCircle);
function drawCircle() {
var circleMC:MovieClip=new MovieClip();
circleMC.graphics.beginFill(0xFF0000);
circleMC.graphics.drawCircle(0, 0, 10);
return (circleMC);

You have a couple of problems in your code.  One being that alpha values range from 0 to 1 (not 100).  But more significantly, you do not want the MOTION_CHANGE continuously calling the blink function... as long as the first tween is running it will continuoualy call that function and you'll not see the alpha change until the tween is done changing...
import fl.transitions.*;
import fl.transitions.easing.*;
var MC:MovieClip=new MovieClip();
var tweenX:Array=new Array();
var blinkTween:Array=new Array();
for (var i:int=1; i<=2; i++) {
     MC=drawCircle();
     MC.id=i;
     MC.x=100;
     MC.y=100*i;
     addChild(MC);
     tweenX[i]=new Tween(MC,"x",Regular.easeIn,MC.x,MC.x+300,5,true);
     tweenX[i].stop();
     tweenX[i].addEventListener(TweenEvent.MOTION_START, blinkCircle);
     tweenX[i].start();
function blinkCircle(evt:TweenEvent):void {
     blinkTween[evt.target.obj.id]=new Tween(evt.target.obj,"alpha",Regular.easeOut,1,0,.5,true);
     blinkTween[evt.target.obj.id].addEventListener(TweenEvent.MOTION_FINISH, blinkCircle);
function drawCircle() {
var circleMC:MovieClip=new MovieClip();
circleMC.graphics.beginFill(0xFF0000);
circleMC.graphics.drawCircle(0, 0, 10);
return (circleMC);

Similar Messages

  • Problem adding another email account curve 8310

    I am trying to add another e-mail account.  I go to the wizard, and the message I continue to get is "An error occurred while accessing your account.  Please click below to try again.  There is a hyperlink that says "Access Another Email Account".  When I click on it, nothing happens.  HELP!

    Hi and Welcome to the Forums!
    It's hard to tell, but if you receive the error message just after entering your credentials for the new account, then you have either entered something wrongly or the email service is not fully compatible with BIS. I'd suggest that you use a PC/browser to access your carriers BIS:
    http://www.blackberryfaq.com/index.php/Where_can_I_log_into_my_BIS_account%3F
    and then create this new BIS conduit from there. If it as well receives the same error, then try entering your correct email address but an incorrect password -- this should bring up the manual/advanced configuration screens on which you can enter all of the pertinent information manually (you will need to know all of the information -- email servers, etc....you will have to get that info from your email provider or from another email client you already have configured for this email account).
    KB10154 How to integrate a POP or IMAP email account through advanced integration
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problem adding another email account

    I am trying to add my existing Yahoo email account to FaceTime. With each try I get a message that a verification email was sent but I do not receive one. Therefore, I cannot verify the email. Any suggestions?

    Hi and Welcome to the Forums!
    It's hard to tell, but if you receive the error message just after entering your credentials for the new account, then you have either entered something wrongly or the email service is not fully compatible with BIS. I'd suggest that you use a PC/browser to access your carriers BIS:
    http://www.blackberryfaq.com/index.php/Where_can_I_log_into_my_BIS_account%3F
    and then create this new BIS conduit from there. If it as well receives the same error, then try entering your correct email address but an incorrect password -- this should bring up the manual/advanced configuration screens on which you can enter all of the pertinent information manually (you will need to know all of the information -- email servers, etc....you will have to get that info from your email provider or from another email client you already have configured for this email account).
    KB10154 How to integrate a POP or IMAP email account through advanced integration
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Adding another Outlet for TV

    I need to add another outlet in an additional bedroom.  There was an outlet there previously for cable tv.  To make sure this outlet is working right I need to make sure the splitter is a 5-1000 and that its rg-6?  Is there any kind of test I can do by plugging it directly to the TV?
    Thanks

    caster wrote:
    I need to add another outlet in an additional bedroom.  There was an outlet there previously for cable tv.  To make sure this outlet is working right I need to make sure the splitter is a 5-1000 and that its rg-6?  Is there any kind of test I can do by plugging it directly to the TV?
    Thanks
    If your tv has a qam digital tuner, you can plug directly to the tv. but only if you have the digital tuner.
    If not, you can bring one of the STB's in from another room and see if it works. if it does, your good to go. If not then the line is not active yet.
    ====================================================================================
    Error exists between keyboard and chair.

  • Problems Adding mobileme account for Find My iPhone

    I have an iPod Touch 4G that I have recently updated with 4.2. I tried to add a mobilme account on my iPod so I could use the Find My iPhone app. I entered my apple id as it says and then agreed to the terms and conditions, but it suddenly disappears back to the home screen. I try again but it does the same. I will try syncing to my computer and see if that solves it. But all help will be very much appreciated.
    Thank you

    Sorry I couldnt help, because I have the same problem with my ipod touch 4G 32Gb. I tried several different methods (creating new account, connecting it to itunes while accessing mobileme, rebooting it, etc), but none worked. It keeps going back to the main screen when I press the "accept the condition" button, and it doesnt appear in the setting>mail...> directory. I need help as well. Thanks.

  • Adding another screen for MacBook Air

    I have a late 2008 MacBook Air, and am looking to add an additional screen when working in my home office---drag and drop screen to screen.  Does anyone have suggestions on docking station or way to this?

    BTW:  I am aware on how to do this, when you can plug the mointor directly into the laptop or there is a specific docking station.  I am just looking for the best options available for MacBook Air.
    Thanks!

  • User equivalence check failed for user "oracle" while running cluvfy

    Hi All,
    I am getting User equivalence error as follows while executing cluvfy. I want to install CRS on this server.
    oracle@node200$ ./runcluvfy.sh stage -pre crsinst -n node200,node201,node202
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "node200".
    Checking user equivalence...
    User equivalence check failed for user "oracle".
    Check failed on nodes:
    node202,node201,node200
    ERROR:
    User equivalence unavailable on all the nodes.
    Verification cannot proceed.
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    I have sucessfully configured ssh and able to do ssh from all the nodes without prompting for the password. Also oracle uid and gid on all the servers are same.
    I also checked in .kshrc file and there is no tty entry in that file. and I have also setup /etc/hosts.equiv file on all the node.
    I still get the user equivalance error. Can anybody help me in this ?
    Regards,
    Raj.

    Hi,
    thanks.
    i need some more help because first time i am working on RAC,
    i am also having User equivalence check failed for user "oracle"
    i got two machines, one is IBM machine and one is DELL machine installed with solais 10 (AIX installation). both machines are not connected by private network now. and no shared external HDD available now. it will take one week time to set up the HW. the user equivalence check depends the above two factors?
    now public network is available and node reachability test "passed"
    could you please tell me what may be the reason for the user equivalence check in my case. details are given below
    i have oracle user in both machine. user creation done through SMC. home directory is /export/home/oracle
    the following are the details.
    1) $ ssh pc000905 id -a oracle
    Enter passphrase for key '/home/oracle/.ssh/id_rsa':
    uid=100(oracle) gid=300(oinstall) groups=301(dba)
    $ ssh pc026376 id -a oracle
    Enter passphrase for key '/home/oracle/.ssh/id_rsa':
    uid=100(oracle) gid=300(oinstall) groups=301(dba)
    2) user nobody exists.
    3) all files n .ssh directory have same permissions.
    4) ssh and scp is working with out password(rsa and dsa keys generated).
    5) oracle user is using bourne shell
    6)soft link of /usr/bin/ssh and /usr/bin/scp are created to /export/home/oracle/bin
    7)ForwardX11 is "yes" in sshd_config
    8) created a config file in .ssh directory and ForwardX11 is "no" in that file
    8) umask =022 in both nodes.
    error displaying is
    $/export/gome/cluvfy/runcluvfy.sh stage -pre crsinst -n pc026376,pc000905
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "PC026376".
    Checking user equivalence...
    User equivalence check failed for user "oracle".
    Check failed on nodes:
    pc026376,pc000905
    ERROR:
    User equivalence unavailable on all the nodes.
    Verification cannot proceed.
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    $

  • Gr process is not completing for since 2006 while running batch job.

    Hi,
    we r running batch job and its not delivering material .in po history it showing not in Gr place. plz give reason and solution for this.
    Thanks,
    Sydanna

    hi,
    if you have alrady post that doc then pls check in migo- display & check th'r in thaty doc.  batch is created or not or check storage location & plant plant also , it th'r is mistake while doing the migo then reverse./ cancle it
    next go to  in mm01--select that material no - select all the necessary subsereen inculuding plant/ data data store-1  &  plant/data stor.1-screen  -
    click on batch management --&  save
    after that you do the grn againt of that po
    thanks
    santosh

  • Error "Lock not set for: Generate index" while running process chain

    SAP BI 7.0
    SP 17
    I am attempting to run a new process chain and the generate index steps are failing with the below errors:
    "Lock NOT set forGenerate index"
    "RSSM PROCESS INDEX terminated, because InfoCube/DSO object could not be locked."
    The process chain just pauses. I let it finish once and it took 2 hours and then it gave the failure messages. I have looked in sm12 and can see the lock records when the process chain is running - unfortunately I can't make much of what's there - everything looks good to me. I also tried creating the indexes manually inside the cube and then re-ran, but still get the same error. Before running the process chain, I can get the indexes to check to green, but then after running the process chain they go back to red. I have attempted many things (including looking at other forum posts), but I still have the error. Please help. Thanks
    Edited by: Brett Hutchinson on Feb 10, 2009 7:50 PM

    Hello,
    So Create index is getting failed in you PS right?
    1)check  if any other loads are running to the same CUBE(May be from other PC's also)
    Goto Manage of the cube and check, some times it may happen if any Loads are running into cube I mean Load/DTP & roll up may be running.. if so wait till the others Loads(Jobs) get complete then Repeat the failed index
    2) If the Create index is running for long time, then  got RSDDV--> Select the CUBE then click on BIA index(Maintenance wizard), you can see a message if indexes are running , this will happen  only when some one would have tried to generate the indexes manually and it may got failed due to some reason , since u are running it manually u couldn't identify whether it got failed or not unless you got to RSDDV and check. So delete the index here and then rebuild them through PC
    Hope it helps!

  • Error while running eCATT for Best Practice HR- US

    HI All,
    I am executing BC sets through eCATT for implementing Best Practice of HR for US. While running eCATT i am getting two errors, i am not in a positiong to find out a solution. Can you guys please share your throghts.
    Error messages are as follows:
    1) Error in eCATT command CHEVAR
        Condition not fulfilled
    2) Error in eCATT command ABAP
        LOCAL GENERATION LIMIT 36 SUBPOOL REACHED
    Looking forward to the response
    Thanks & Regards
    Shyam V

    Hi Shyam,
                  I was just wondering if this document may help the query you were looking for
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2f34413f97f323e10000000a155106/frameset.htm
    Hope you decode the error.
    Have a best day ahead.

  • Error while running InstallOracleProfile script

    good evening every one,
    i have installed odac for VS 2010,while running the InstallOracleProfile script the following error occurs can any one help me in solving this problem.im using windows os. the error as follows
    Connected.
    ------ Running 'C:\Users\johny.OOMSYSTECH.000\Desktop\prakash\odac_path\product\11.2.0\client_1\ASP.NET\SQL\InstallOracleProfile.sql' @PRAKASH.orcl ------
    USER
    PRAKASH
    old 33: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProperties FOR &CurrentUser..ora_aspnet_Prof_GetProperties';
    new 33: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProperties FOR PRAKASH.ora_aspnet_Prof_GetProperties';
    old 34: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_SetProperties FOR &CurrentUser..ora_aspnet_Prof_SetProperties';
    new 34: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_SetProperties FOR PRAKASH.ora_aspnet_Prof_SetProperties';
    old 35: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetNOfInactPf FOR &CurrentUser..ora_aspnet_Prof_GetNOfInactPf';
    new 35: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetNOfInactPf FOR PRAKASH.ora_aspnet_Prof_GetNOfInactPf';
    old 36: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProfiles FOR &CurrentUser..ora_aspnet_Prof_GetProfiles';
    new 36: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProfiles FOR PRAKASH.ora_aspnet_Prof_GetProfiles';
    old 37: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteProfiles FOR &CurrentUser..ora_aspnet_Prof_DeleteProfiles';
    new 37: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteProfiles FOR PRAKASH.ora_aspnet_Prof_DeleteProfiles';
    old 38: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteInactPf FOR &CurrentUser..ora_aspnet_Prof_DeleteInactPf';
    new 38: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteInactPf FOR PRAKASH.ora_aspnet_Prof_DeleteInactPf';
    old 39: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_pkg FOR &CurrentUser..ora_aspnet_Prof_pkg';
    new 39: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_pkg FOR PRAKASH.ora_aspnet_Prof_pkg';
    PL/SQL procedure successfully completed.
    Package created.
    Package body created.
    Function created.
    Function created.
    Function created.
    Function created.
    Function created.
    Function created.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    GRANT ora_aspnet_Prof_BasicAccess TO ora_aspnet_Prof_FullAccess
    ERROR at line 1:
    ORA-01919: role 'ORA_ASPNET_PROF_BASICACCESS' does not exist
    GRANT ora_aspnet_Prof_ReportAccess TO ora_aspnet_Prof_FullAccess
    ERROR at line 1:
    ORA-01919: role 'ORA_ASPNET_PROF_REPORTACCESS' does not exist
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    ---------------------- Done ----------------------
    thank you
    prakash

    Earlier in the script, the following CREATE statements were called:
    -- Create roles. Create role privilege is required.
    execute immediate 'CREATE ROLE ora_aspnet_Prof_BasicAccess';
    execute immediate 'CREATE ROLE ora_aspnet_Prof_ReportAccess';
    execute immediate 'CREATE ROLE ora_aspnet_Prof_FullAccess';
    If they didn't succeed, that would explain the GRANT errors you see. If you didn't grant the CREATE ROLE privilege to the user, that would explain why CREATE ROLE calls failed.

  • High process while running itunes on win7 64bit

    since i update my ituns i have problem with it i have
    high process while running itunes on win7 64bit in my laptop and also i have backup problems what should i do i see a lots of user on win have same problems as me
    i have removed it and reinstall it for 20 times but it dose not  work

    Windows 7 Home Premium user here, 32-bit as well. It really doesn't appear to matter what is open for me; as long as I've focused on some other window other than iTunes, it will inextricably start skipping almost exactly like a badly scratched CD. This is absolutely unacceptable, because this simply never happened before with any previous version of iTunes. It's simply gotten to the point where there are too many users experiencing the same issue. There are already many forum posts about this problem all over the net too, and Apple techs really haven't even responded about this at all? or are they assuming everyone's going to be more focused on listening to music on their brand new iDevices instead?
    Really, everything is about quality control, right down to the software, and that absolutely should have included iTunes 10.7, but obviously that wasn't the case for my fellow windows users.

  • Error while running mobile app in nwds

    Hi ,
    I created a an app for handheld and while running the application i am getting an error as below in nwds.The mobile client is not opening and is giving  below error.
    java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:415)
         at java.lang.Integer.parseInt(Integer.java:497)
         at com.sap.tc.mobile.cfs.console.MgmtConsole.initialize(MgmtConsole.java:43)
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.startManagementConsole(FrameworkInitializer.java:338)
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:102)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
    Error starting the framework
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
    Caused by: java.lang.IllegalStateException: Cannot initialize framework
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:252)
         ... 5 more(FrameworkManager.java:259)
    Please help me on this.
    Thanks and regards,
    rajesh
    Edited by: Rajesh A on Apr 28, 2009 12:48 PM
    Edited by: Rajesh A on Apr 28, 2009 1:40 PM

    Hi Rajesh
    If you are using 7.1, go to com.sap.tc.mobile.dt.oca.rt folder inside plugins folder.
    If your client itself is not launching, delete the MI folder, unzip the laptop.zip, you will get a new MI folder.
    Go to MI -> bin -> click startup.bat. Check if the client is launching.
    Now deploy the application components and start the client.
    Regards
    Vidyadhar

  • Error While Run time

    Hi,
    Pls help me to solve my problem. My coding is comple well while run time it showing me the error,
    Fatal Error: The value of attribute "xsi:schemaLocation" associated with an element type "null" must not contain the '<' character.
    The value of attribute "xsi:schemaLocation" associated with an element type "null" must not contain the '<' character.pls help me as soon as possible

    It's not your coding. The XML document which contains that attribute is not well-formed.

  • Error while running Customer Interest Report

    Hello All,
    I am configuering Interest on Customer arrears/balance & I am getting an error "NO TIME-DEPENDENT CONDITIONS FOR INDICATOR EF" while running FINT. I have checked all the threads but there is no such query exept one.  Please guide me to solve this.  Below is the copy of steps i am follwing for Interest Configueration:
    1) Created Balance Interest Calculation Type EF.
    2) Maintained General conditions for Interest Scale, Interest Calc Freq=1, Calender typ=g, Flagged Interest rates depend on total amt, given the number range for forms and flagged Balance plus Int.
    3) Created Reference Int Rates. 
    4) Time Dependent Terms = 1st = EFGHARR, INR, 01012011, 1, Credit Interest:arrears interest calc., 0, Ref. Interest rate - EFGH. 2nd = EFGHBAL, INR, 01012011, 1, Credit Interest:balance interest calc., 0, Ref. Interest rage - EFGH.
    5) Interest values.  Reference - EFGH, valid-01012011, rate 5
    6) OBV1 = B.Transaction - 1000, Acct. Symbol - 0001.
    7) OBV3 = B. Transaction - 1000, Acct. Symbol - 0001.
    8) Have assigned the form F_D_INT_SCALE_00 and created the number range.
    Please note that i have created a GL account under INCOME which i have assigned in OBV1 & OBV3. Do I need to Interest Indicator in my customer recon account?
    Please advice,
    Thanks,
    Kamal

    if you want to generate interest on customer overdue line item you have to  maintain Debit Interest: arrears Interest calc. Now  you have maintained only Credit Interest: arrears Interest calc it will calculate the amount paid by the customer in excess of the actual amount that means the amount paid to the customers, i hope you understand

Maybe you are looking for

  • How can i sycronize my ipod mini 2nd generation with itunes 11.1.5.5.

    Hi, I found my old ipod mini 2nd generation and I would like to update it my current version of itunes is 11.1.5.5 and my operating system is windows 7 the original cd doesn´t work anymore. can anybody please help? Thanks Ull

  • Can't restore 3G - "iPhone software update server could not be contacted"

    my phone was stolen and subsequently returned to me. an incorrect passcode was inserted on numerous occassions by the thief and this action has subsequently blocked my phone. it no longer accepts my original passcode. i've managed to get the phone in

  • How to use  array of obects  in jsp

    I had passed an array of objects (Bean object) by using request.setAttribute("Bean",req); but how i display the values in my textbox on clicking next or prev button of my jsp. Customer ID      <input type="text" name="customerid" value=<%=req.getCust

  • Inserting javascript

    I have some javascript for hiding email addresses. I have the script named. It shows up in the assets list under files in Dreamweaver CS3. When I select the javascript name, I can read the entire scrip in the box above. I should be able to simply dra

  • Can't load flash panorama swf

    I have a swf you can see here http://www.jimslounge.com/graff.swf the following code loads other swf's just fine but not this one it just doesn't load no error message. this.createEmptyMovieClip("mcHolder", this.getNextHighestDepth()); var oListener: