Help with rotating a movieclip please!

How do I rotate a movieclip 360 degrees over a period of time?  Can I use "new tween" ?  I am trying to rotate the movieclip while it is moving from position y to y+50 (this is done using new tween)

Yes, you can simultaneously rotate the object using another Tween that changes the rotation property of the instance.

Similar Messages

  • Need Help with Rotating Banner ad(please help)

    I am currently working on a flash project that rotates banners out auto and with button control, got the buttons to work just cant figure out how to get it  auto play throgh my bannersThis is the code i have for my project I am working on:
    My Projects has 3 layers:
    ( layer3)Actions:(coded on first frame)     Movieclip.prototype.elasticMove =  function(target, accel, convert) {
         step = step * accel + (target - this._x) * convert;
         this._x += step;
    (layer 2) My movie clip(it is one long strip that has all the banners in a row)(coded on first frame):nClipEvent  (enterFrame) {
                                         elasticMove(_root.newX, 0.5, 0.3)
    onClipEvent(load){
    _root.newX= 1200;
    (layer1)(my buttons)(only code for one button all are the same code except the actual position they call):on(release){
    _root.newX=1200;
    Let me know if i need to be a little more clear or you want a snap shot of my work, Another individual suggested that I use this code in the action layer:
    var newXA:Array=[0,600,1200,1800];
    var index:Number=1;
    setInterval(newXF,9000);
    function newXF(){
    _root.newX = newXA[index%newXA.length];
    It seems to work in the sense after a little bit it does change the banner auto and after you stayed on a banner for a while, but it always changes to the same banner.
    PLEASE HELP SOMEONE!!!!!!

    Incognito mode is a Google Chrome setting when you open a new window (Cmd+Shift+N on a Mac Ctrl+Shift+N on Windows) It opens a "private" window with no cookies and no tracking. The problem with it is that when you disable cookies, your license files are not sent to the site (whetehr it's YouTube or xFinity or any other that uses license files for paid content)  and it treats you as if you're a first time visitor. Paid videos won't play wihtout the cookies sending the license file info.
    This isn't a Flash Player setting. It's in Chrome. I did some research and according to Google, "Incignito" mode is off by default, and can ONLY be activate by the keyboard shortcut. There IS a way to disable it from the registry http://dev.chromium.org/administrators/policy-list-3#IncognitoModeAvailability

  • Need some help with the colour profile please. Urgent! Thanks

    Dear all, I need help with the colour profile of my photoshop CS6. 
    I've taken a photo with my Canon DSLR. When I opened the raw with ACDSee, the colour looks perfectly ok.
    So I go ahead and open in photoshop. I did nothing to the photo. It still looks ok
    Then I'm prompt the Embedded Profile Mismatch error. I go ahead and choose Discard the embedded profile option
    And the colour started to get messed up.
    And the output is a total diasater
    Put the above photo side by side with the raw, the red has became crimson!!
    So I tried the other option, Use the embedded profile
    The whole picture turns yellowish in Photoshop's interface
    And the output is just the same as the third option.
    Could someone please guide me how to fix this? Thank you.

    I'm prompt the Embedded Profile Mismatch error. I go ahead and choose Discard the embedded profile option
    always use the embedded profile when opening tagged images in Photoshop - at that point Photoshop will convert the source colors over to your monitor space correctly
    if your colors are wrong at that point either your monitor profile is off, or your source colors are not what you think they are - if other apps are displaying correctly you most likely have either a defective monitor profile or source profile issues
    windows calibrate link:
    http://windows.microsoft.com/en-US/windows7/Calibrate-your-display
    for Photoshop to work properly, i recall you want to have "use my settings for this device" checked in Color Management> Device tab
    you may want to download the PDI reference image to check your monitor and print workflows
    and complete five easy steps to profile enlightenment in Photoshop
    with your settings, monitor profile and source profiles sorted out it should be pretty easy to pinpoint the problem...

  • Need help with threads?.. please check my approach!!

    Hello frnds,
    I am trying to write a program.. who monitors my external tool.. please check my way of doing it.. as whenever i write programs having thread.. i end up goosy.. :(
    first let me tell.. what I want from program.. I have to start an external tool.. on separate thread.. (as it takes some time).. then it takes some arguments(3 arguments).. from file.. so i read the file.. and have to run tool.. continously.. until there are arguments left.. in file.. or.. user has stopped it by pressing STOP button..
    I have to put a marker in file too.. so that.. if program started again.. file is read from marker postion.. !!
    Hope I make clear.. what am trying to do!!
    My approach is like..
    1. Have two buttons.. START and STOP on Frame..
    START--> pressed
    2. check marker("$" sign.. placed in beginning of file during start).. on file..
         read File from marker.. got 3 arg.. pass it to tool.. and run it.. (on separate thread).. put marker.. (for next reading)
         Step 2.. continously..
    3. STOP--> pressed
         until last thread.. stops.. keep running the tool.. and when last thread stops.. stop reading any more arguments..
    Question is:
    1. Should i read file again and again.. ?.. or read it once after "$" sign.. store data in array.. and once stopped pressed.. read file again.. and put marker ("$" sign) at last read line..
    2. how should i know when my thread has stopped.. so I start tool again??.. am totally confused.. !!
    please modify my approach.. if u find anything odd..
    Thanks a lot in advance
    gervini

    Hello,
    I have no experience with threads or with having more than run "program" in a single java file. All my java files have the same structure. This master.java looks something like this:
    ---master.java---------------------------------------------------
    import java.sql.*;
    import...
    public class Master {
    public static void main(String args []) throws SQLException, IOException {
    //create connection pool here
    while (true) { // start loop here (each loop takes about five minutes)
    // set values of variables
    // select a slave process to run (from a list of slave programs)
    execute selected slave program
    // check for loop exit value
    } // end while loop
    System.out.println("Program Complete");
    } catch (Exception e) {
    System.out.println("Error: " + e);
    } finally {
    if (rSet1 != null)
    try { rSet1.close(); } catch( SQLException ignore ) { /* ignored */ }
    connection.close();
    -------end master.java--------------------------------------------------------
    This master.java program will run continuously for days or weeks, each time through the loop starting another slave process which runs for five minutes to up to an hour, which means there may be ten to twenty of these slave processes running simultaneously.
    I believe threads is the best way to do this, but I don't know where to locate these slave programs: either inside the master.java program or separate slave.java files? I will need help with either method.
    Your help is greatly appreciated. Thank you.
    Logan

  • Need help with flash player installation please !!!!

    Hello,
    I need help with my flash player installation because every time I access a movie this is the message I receive. 
    This content on Xfinity TV is not available for viewing with Chrome's "Incognito" mode. To play this video using Chrome, please view this page without "Incognito" mode.
    Still having problems? Try resetting your Flash player license.

    Incognito mode is a Google Chrome setting when you open a new window (Cmd+Shift+N on a Mac Ctrl+Shift+N on Windows) It opens a "private" window with no cookies and no tracking. The problem with it is that when you disable cookies, your license files are not sent to the site (whetehr it's YouTube or xFinity or any other that uses license files for paid content)  and it treats you as if you're a first time visitor. Paid videos won't play wihtout the cookies sending the license file info.
    This isn't a Flash Player setting. It's in Chrome. I did some research and according to Google, "Incignito" mode is off by default, and can ONLY be activate by the keyboard shortcut. There IS a way to disable it from the registry http://dev.chromium.org/administrators/policy-list-3#IncognitoModeAvailability

  • Help with css3 rollover tag please

    Hey guys I'm stumped and need help with positioning some big picture buttons.
    Here is the link o the home page http://ceramic-planet2.businesscatalyst.com/
    As u can see I have four picture buttons using css3 roller but I want all four buttons next to each other
    2 buttons next to each other with the next 2 directly below .
    Now orgininally I used the dreamweaver rollover button and everything was inline so flowed across the page no problem. These are divs and I've tried to make 2 panels side by side among other hings but I'm not getting there so I thought one of u clever guys would have no problems telling me what to do.
    Please help I'm not getting the inline or absolute placement right
    Dave

    Hey Dave,
    You need to remove the margin from #mosaicbutton, #kitchenbutton
    and then add float : left; to #bathroombutton, #floorbutton, #mosaicbutton, #kitchenbutton,
    That'll get you buttons sitting the way you want them, you may need to play with the margins after that.
    Pat

  • Some help with the 10g install, please.

    Hi,
    We want to install 10g, we are currently running 9i. We want to do this in silent mode since we have so many databases to move to 10g. We've got a few questions & concerns about the procedures that are supposed to be done.
    If someone could kindly read over some of our concerns, we'd appreciate it.
    First, we used the -record method to create a response file. How much do we have to manually edit that file once Oracle creates it for us? Or is it ready to go after we exit the OUI.
    When we tried to do the install, it said it successfully installed 10g, but it failed on some of the configuration assistants. Do we need to run all of the configuration assistants? I mean, TNS is already configured. Does it change for the 10g install?
    Additionally, once the 10g software is complete, the environment is still set to 9i. How does that get changed for the silent install to continue with the DBUA? I mean, we do have databases that need upgrading.
    Any help with steps would be very helpful to us. We're getting error messages like this:
    The installation of Oracle Database 10g was successful, but some
    optional configuration assistants failed, were cancelled or skipped.
    Please check
    '/ora2/app/oracle/oraInventory/logs/silentInstall2006-10-26_01-26-39PM.log'
    for more details.
    UnsatisfiedLinkError exception loading native library: njni10
    java.lang.UnsatisfiedLinkError: jniGetOracleHome
    at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
    at oracle.net.ca.NetCA.main(Unknown Source)
    Oracle Net Services configuration failed. The exit code is -1
    Thank you in advance for your help.

    Hi,
    You are installing in same ORACLE_HOME?
    Your Operation System is UNIX?
    Eder

  • Help with Rendering/Finalizing Project Please?

    Hi,
    I am so new to this entire Adobe and video making that I've spent the last few hours pulling hair literally.  I am hoping that some of you experts can take some time to give this novice some much needed guidance.  Okay, I'm begging!
    I recorded a wedding on a XHA1 MiniDV camera in 1080p 24fps.  Captured the clips to PP CS4 which in turn makes them MPEG, I believe.  Included in my project are addition clips imported from a Canon HF S21 also in 1080p 24fps and a Rebel T2i in ?? format.  Didn't use too many clips from the rebel. 
    Anyhow, my project settings in PP are:
    Video -  Display format = Frames
    Audio - Display format = Audio Samples
    Capture Format = HDV
    All Scratch disks are saved on to my desktop with 284 GB
    Here is a picture of the sequence settings:
    Again, sorry for the ignorance and stupiditiy.  I am wondering what would help.
    I am trying to burn it all with chapter markers and additional features to a DVD.
    - What would be the BEST settings for exporting to Encore? 
    - Should I separate each section into a different sequence - would that help?  For example, the pre-ceremony to one sequence.  The ceremony to another.  The reception to another.    Or should I make new projects for each? 
    - How can I make my computer faster?  Is it the memory, ram, etc?  What should I do?
    Right now, it has failed over and over in rendering in After Effects.  It stops encoding when I export to AME.  It says 158 hours for rendering in PP.
    HELP!
    I am using an iMac and here are computer specs (again, I am not even sure what to post to help you all help me):
      Model Name: iMac
      Model Identifier: iMac11,3
      Processor Name: Intel Core i7
      Processor Speed: 2.93 GHz
      Number Of Processors: 1
      Total Number Of Cores: 4
      L2 Cache (per core): 256 KB
      L3 Cache: 8 MB
      Memory: 8 GB
      Processor Interconnect Speed: 4.8 GT/s
      Boot ROM Version: IM112.0057.B00
      SMC Version (system): 1.59f2
    Here is a pic of what I'm working on.  I know the pic-in-pic feature probably doesn't help with rendering time either but 158 hours is killing me.  In fact, when I go to sleep, I wake up to an error message where PP has closed.

    leevang,
           Your computer looks great.  I wouldn't be too worried about the time PP shows for encoding etc.
    I have found that right when I first start to encode a project, 73 hours or 12 hours is normal. Rendering is not necessary for encoding.  However  when I look back later, the time has dropped greatly.
    Down to 2 or 3 hours.  that's when I follow Jeff B.'s suggestions when I do a  2X scan.......

  • I need help with the https class please.

    Hello, i need add an authentication field in my GET request using HTTPS to authenticate users. I put the authentication field using the setRequestProperty method, but it doesn't appear when i print all properties using the getRequestProperties method. I wrote the following code:
    try{
    URL url = new URL ("https://my_url..");
    URLConnection conexion;
    conexion = url.openConnection();
    conexion.setRequestProperty("Authorization",my_urlEncoder_string);
    conexion.setRequestProperty("Host",my_loginServer);
    HttpsURLConnection httpsConexion = (HttpsURLConnection) conexion;
    httpsConexion.setRequestMethod("GET");
    System.out.println("All properties\r\n: " + httpsConexion.getRequestProperties());
    }catch ....
    when i run the program it show the following text:
    All properties: {Host=[my_loginServer]}
    Only the Host field is added to my HttpsURLConnection. The authentication field doesnt appear in standar output. How can i add to my HttpsURLConnection an Authentication field?
    thanks

    I have moved this to the main Dreamweaver forum, as the other forum is intended to deal with the Getting Started video tutorial.
    The best way to get help with layout problems is to upload the files to a website and post the URL in the forum. Someone can then look at the code, and identify the problem. Judging from your description, it sounds as though the Document window is narrow, which would result in the final menu tab dropping down to the next row. Try turning on Live view or previewing the page in a browser. Design view gives only an approximate idea of the final layout. Live view renders the page as it should look in a browser.

  • I need help with the navigation menu please?

    I have been working my way through your six part printed instructions and I am styling the header and navigation menu.  The bullet points disappeared which was correct and the tabs moved to the right, as they should, but one tab sits underneath another tab and all tabs are covered up by my main heading.  This is dreamweaver CS6.
    It looks a bit of a mess!

    I have moved this to the main Dreamweaver forum, as the other forum is intended to deal with the Getting Started video tutorial.
    The best way to get help with layout problems is to upload the files to a website and post the URL in the forum. Someone can then look at the code, and identify the problem. Judging from your description, it sounds as though the Document window is narrow, which would result in the final menu tab dropping down to the next row. Try turning on Live view or previewing the page in a browser. Design view gives only an approximate idea of the final layout. Live view renders the page as it should look in a browser.

  • Help with some iPhone issues please

    Ok, I am starting to have some problems with my iPhone 3G, and would really appreciate any help with these issues.. here is what is happening
    1) iPhone Vibrate is pretty much broken, turns off and on vibrate by itself.. and now is vibrating very softly.
    2) iPhone wont sync my Music anymore, I have 3 playlists that I use on my iPhone, and none of them will update. When I sync my iPhone, everything syncs but the music.
    3) iPhone sometimes completely freezes and i cant get it to go to the locksreen or power off, so I have to do a hard restart.

    Hi Matt,
    Try restoring the iPhone, this article: http://support.apple.com/kb/HT1414 will walk you through the process.
    If the vibrate and unlock issues persists, the iPhone may need hardware repair. Just make a reservation to have a Genius, at a local Apple retail store, take a look at it or call AppleCare.
    http://www.apple.com/retail/geniusbar/
    U.S. iPhone technical support: 1-800-MY-IPHONE (1-800-694-7466)
    Message was edited by: Jason L

  • Help With Geodetic Rectangular Query Please

    I'm new to spatial so I appreciate your help.
    I have a 3D geodetic coordinate system defined that is index in 2D (lon & lat).
    I want to do a query that returns all points (lat, lon, alt) within the rectangle described by the query.
    I read in the "Oracle Spatial User's Guide" that this rectangle must have 5 points (since I'm using geodetic).
    I have not found a good example of how to format the query. Can you help with an example?

    here is an example which assume a wgs-84 coordinate system (srid=8307). Note that altitude will be ignored.
    select col1,col2,etc
    from geom_table
    where sdo_relate(geom,mdsys.sdo_geometry(2003,8307,NULL,
    mdsys.sdo_elem_info_array(1,1003,1),
    mdsys.sdo_ordinate_array(-70.05,40.8, -69.05,40.8, -69.05,41.2, -70.05,41.2, -70.05,40.8)),
    'mask=anyinteract querytype=window') = 'TRUE';

  • I need help with printing labels.  please

    I need help with printing labels.  thanks in advance

    Welcome to Apple Support Communities.
    In Address Book, first select a name or group of names to print.
    Then File, Print, select Style, Mailing Labels, then Layout to select a specific target label (such as an Avery number), or define your own...

  • Help with rotating circular menu

    Hi there. With help from a few tutorials, I've made a menu with 5 buttons that rotate around a central Clip. So far so good.
    Except I need to add a lightning that will point toward the center whenever a button is activated. Much like picture below:
    Everything I've tried so far has produced unexpected results
    So I would really appreciate any suggestions as to how I might fix my code (AS2) and get the lightning to position itself where it must be. Thanks!
    var rotX:Number = 290;
    var rotY:Number = 140;
    var Centre:Number = Stage.height/2;
    var vitesse:Number = 0.1;
    var sceneW:Number =Stage.width;
    var sceneH:Number = Stage.height;
    var nbI:Number=5;
    var angle:Number=1;
    var i:Number;
    var lightning:MovieClip = this.attachMovie("lightning", "lightning", 1000);
    lightning._alpha = 0;
    var videostopped:Boolean = false;
    for(i=0;i<nbI;i++)
       var button:MovieClip = this.attachMovie('Icone'+i,'Ic'+i,i);
       button.onRelease= onRelease;
       button.onRollOut = onRollOut;
       button.onRollOver = onRollOver;
       button._y = sceneH /2;
    //_____________________test
    function onRollOver():Void {
            //I want to add a "lightning" movieClip between the center and the button that is rolled over     
       lightning._alpha = 100;
       videostopped = true;
    function onRollOut():Void {
            //then remove it.
       lightning._alpha = 0;
       videostopped = false;
    onEnterFrame=function(){
         if (!videostopped) {
          if (angle > (2*Math.PI))
               angle = 0;
          }else{               
               for(i=0; i<nbI; i++){
                   //_____________________angle on x axis
                   this['Ic'+i]._x=rotX*Math.cos(angle+2*Math.PI*i/nbI)+sceneW/2;
                   //_____________________angle on y axis
                   this['Ic'+i]._y=rotY*Math.sin(angle+2*Math.PI*i/nbI)+sceneH/2;
                   //_____________________Speed
                        angle=angle+(sceneW/180)/sceneH*vitesse;

    I'll probably have to leave you to minds greater than mine for a solution to this.  To have things arranged with long rectangles and a flattened oval shaped path around the center as you show complicates matters in terms of how the _x/_y properties need to vary in order to not be hitting the inner or outer buttons.
    If it were mine to solve I would probably bend towards making the buttons circular shapes that follow a truly circular path around the center.  Then I would only have to manage the _rotation value of the lightning bolt which would have its registration at the center of the central button--essentially going around like the hand of a clock.

  • I need help with rotation interpolators

    I draw a big sphere which represents the earth and distribute on this big sphere small spheres represent countries.
    Now I want draw cone move between 2 small sphere.
    I have used rotation path interpolator but the motion of the cone not appear to me since the cone motion is within the big sphere.
    I want the cone start from first small sphere then turn around big sphere ti go to second small sphere.
    could you help me please?
    this is the code I used to make the motion
    float[] knots = {0.0f, 1.0f};
            Quat4f[] quats = new Quat4f[2];
            Point3f[] positions = new Point3f[2];
            positions[0] = flowNodes.get(sourceNode);
            positions[1] = flowNodes.get(destNode);
            // some checks for source and destination positions to set the right angel for the motion
            if(positions[0].x < positions[1].x&& positions[0].y < positions[1].y)
                 quats[0] = new Quat4f(1.0f,0.0f, 1.0f, (float)(-rotationAngel+Math.toRadians(45)));
                 quats[1] =  new Quat4f(1.0f,0.0f, 1.0f,(float)(-rotationAngel+Math.toRadians(45)));
            else if(positions[0].x==positions[1].x&&positions[0].y<positions[1].y)
                quats[0] = new Quat4f(1.0f,1.0f, 0.0f, (float)(-Math.toRadians(180)));
                quats[1] =  new Quat4f(1.0f,1.0f, 0.0f,(float)(-Math.toRadians(180)));
            else if(positions[0].x < positions[1].x&& positions[0].y > positions[1].y)
                quats[0] = new Quat4f(1.0f,0.0f, 1.0f, (float)(rotationAngel+Math.toRadians(10)));
                quats[1] =  new Quat4f(1.0f,0.0f, 1.0f,(float)(rotationAngel+Math.toRadians(10)));
            else if(positions[0].x == positions[1].x&& positions[0].y == positions[1].y)
                quats[0] = new Quat4f(1.0f,0.0f, 1.0f, (float)(rotationAngel+Math.toRadians(45)));
                quats[1] =  new Quat4f(1.0f,0.0f, 1.0f,(float)(rotationAngel+Math.toRadians(45)));
            else
                quats[0] = new Quat4f(1.0f,0.0f, 1.0f, (float)(rotationAngel));
                quats[1] = new Quat4f(1.0f,0.0f, 1.0f,(float)(rotationAngel));
    *creating the interpolator and give for this interpolator the highest priority to begin*
    motion now and then adding the interpolator to the branch group
            RotPosPathInterpolator rotPosPath = new RotPosPathInterpolator(alpha, arrowTG, arrowT3D, knots, quats, positions);
            rotPosPath.setSchedulingBounds(new BoundingSphere());
            rotPosPath.setSchedulingInterval(0);
            arrowGroup.addChild(rotPosPath); Edited by: walaa_akram on Jun 4, 2009 3:25 PM

    Please read through the help files. The w key activates rotation which will give you slightly different tools if the layer is 2D or 3D. The v key will give you the selection key. You should be able to click any tool in the tool bar. If you want to manually enter values press the r key with a layer selected in the time line to bring up rotation properties.
    I promise you that you cannot learn how to use After Effects efficiently without going through some training. I've been teaching AE for a little more than 20 years and I've never seen a single person successfully stumble through the app and produce anything other than a direct copy of someone else's project. Start here: Basic Workflow

Maybe you are looking for