Move a circle from one place to other with a desired speed

My motive is to move a circle from one place to other with a
desired speed.
For that what should I do.
Thanks
rajakvk

Thanks for that post.
I am new to actionscript & actually I am developing my
first simple game in
flash. For that I need a function like pauseMovie(seconds). I
am planning to
call this function within another function. Also I expect
this function
pauseMovie(seconds) should use system clock to calculate the
time delay.
thanks
rajakvk
"sneakyimp" <[email protected]> wrote in
message
news:e3c92l$1ni$[email protected]..
> suppose that you have put your circle into a movie all
by itself. suppose
> further that the circle is perfectly centered in the
movie it lives in and
> that
> movie is on your stage with instance name myCircle and
its xposition is 5.
>
> put this actionscript in your main movie
>
> var circleSpeed:Number = 10;
> var destX:Number = 400;
> this.onEnterFrame = function() {
> myCircle._x += circleSpeed;
> if (myCircle._x >= destX ) {
> delete this.onEnterFrame;
> }
> }
>
>

Similar Messages

  • How to move BCS data from one box to other

    Hello Expert,
    Dose any one know how to move BCS data from one box to other box ?
    Thanks & Regards,

    1) The best is to do the test. In my case, my customer was just doing this transfer (in full) to perform tests on the BEX reportings. Actually, they never raised any issue regarding document number when they did additional postings in test system... I would also say that during the transfer, the number counter in Qual gets not synchronized with the one in Prod. So, I think the system will just take the next number available in Qual. Should not be an issue.
    2)  As explained in answer 1), in my case, the purpose was not to perform data migration from one system to the other one. Thus, my customer never performed a subsequent consolidation in the target system. But, basically, the transfer copies all data : posting levels 00 to 30, for all periods you have selected + Additional financial data and sequence of activities. Thus, for me, everyhting is available in the target system, including COI documents. In other words, the "picture" regarding the data should be exactly the same between both system. The only thing you need to pay attention to is the customizing : it must be the same in Qual and Prod (example : date of acquisition and divestiture, structure of the group, etc...).
    Another very important thing, is that your export data source must not be enriched due to the BCS Delta load scenario. If it is the case, the system will write the consolidation logic (i-e the consolidation group + reporting mode) when transferring the data from the source Real Time Infocube to the Target Real time infocube, which will lead to inconsistent data in the target system.

  • Movement of material from one plant to other within the same country

    Hello,
    I would like to move material from one plant to other via tran MB1B.
    The system generates the following error while trying to save document :
    Account determination for entry BAS1 BSX 9000 ___ C100 not possible
    The system did not find an account for this transaction. This means that the account determination for key BAS1 BSX 9000 ___ C100 is not maintained in MM Customizing (Valuation). The key is made up of:
    Chart of account
    Transaction key (= Posting transaction)
    Valuation grouping code
    Account grouping code
    Valuation class
    System Response
    The system cannot update a G/L account for this transaction. You cannot post the transaction.
    Can you please tell me where the necessary setting should be made.
    Thanks

    Hi
    Please check the confirguration in OBYC for this combination and assign GL account for this combination of Valuation class, Valuation area.
    Regards,
    Lakshmanan Krishnan

  • One computer with 2 accounts-how to move an iPad from one to the other.

    imac with 2 accounts-how to move an ipad from one account to the other account

    Yes it is possible using PAPI. I have just used PAPI to create instances . I have not tried the requirement which you want. But as per my knowledge it can be done.
    Good Luck
    Right Chord

  • I have an iPad and an iPad mini, I want to move my photos from one to the other how do I do this?

    I'm struggling to move my photos from one iPad to another. I don't have a device to do like you tube shows, can this be done on iCloud?

    Transferring info from your current iPhone, iPad, or iPod touch to a new device

  • How to move supporting details from one intersection to other?

    Hi,
    I want to move data from one intersection to other along with supporting details and comments. Now i want to delete everything (data, supporting detail and comments) from previous intersection. I know how to clear data but do not know how to delete comments and supporting details form that intersection.
    Can you help me with this?
    Thanks!

    I have found it.
    Thank
    Its Adminstration -> Clear Cell details..

  • How to copy-paste frames from one document to other with there respective layers intact?

    Hi All,
         I am facing an issue while copy paste frames from one document to other. I have a 3 frames in first documents each one on different layer. First document has 3 layers. The second document too have 3 layers , I am copying frames from first document to scrapdata using 'ICopyCmdData ' and 'kCopyCmdBoss'. I have 'Paste Remembers Layers' menu 'Checked' on Layer panel. I am using following function to copy frames to scrapdata.
    bool16 copyStencilsFromTheTemplateDocumentIntoScrapData(PMString & templateFilePath)
         bool16 result = kFalse;
        do
            SDKLayoutHelper sdklhelp;
            PMString filePathItemsToBeCopiedFrom(templateFilePath);  //("c:\\test\\aa.indt");
            IDFile templateIDFile(filePathItemsToBeCopiedFrom);
            UIDRef templateDocUIDRef = sdklhelp.OpenDocument(templateIDFile);
            if(templateDocUIDRef == UIDRef ::gNull)                 
                break;
            ErrorCode err = sdklhelp.OpenLayoutWindow(templateDocUIDRef);
            if(err == kFailure)                 
                break;
            InterfacePtr<IDocument> templatedoc(templateDocUIDRef,UseDefaultIID());
            if(templatedoc == nil)               
                break;
            InterfacePtr<ISpreadList>templateSpreadUIDList(templatedoc,UseDefaultIID());
            if(templateSpreadUIDList == nil)                  
                break;
            IDataBase * templateDocDatabase = templateDocUIDRef.GetDataBase();
            if(templateDocDatabase == nil)                  
                break;
            UIDRef templateDocFirstSpreadUIDRef(templateDocDatabase, templateSpreadUIDList->GetNthSpreadUID(0));
            InterfacePtr<ISpread> templateSpread(templateDocFirstSpreadUIDRef, IID_ISPREAD);
            if(templateSpread == nil)                 
                break;
            UIDList templateFrameUIDList(templateDocDatabase);
            if(templateSpread->GetNthPageUID(0)== kInvalidUID)                  
                break;      
            templateSpread->GetItemsOnPage(0,&templateFrameUIDList,kFalse,kTrue);  
            InterfacePtr<ICommand> copyStencilsCMD(CmdUtils::CreateCommand(kCopyCmdBoss));
            if(copyStencilsCMD == nil)                
                break;
            InterfacePtr<ICopyCmdData> cmdData(copyStencilsCMD, IID_ICOPYCMDDATA);
            if(cmdData == nil)                 
                break;
            // Copy cmd will own this list
            UIDList* listCopy = new UIDList(templateFrameUIDList);
            InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
            if(clipboardController == nil)              
                break;
            ErrorCode status = clipboardController->PrepareForCopy();
            if(status == kFailure)                  
                break;
            InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
            if(scrapHandler == nil)                 
                break;
            clipboardController->SetActiveScrapHandler(scrapHandler);
            InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
            if(scrapData== nil)                
                break;
            UIDRef parent = scrapData->GetRootNode();
            cmdData->Set(copyStencilsCMD, listCopy, parent, scrapHandler);
            if(templateFrameUIDList.Length() == 0)       
                return kFalse;      
            else      
                status = CmdUtils::ProcessCommand(copyStencilsCMD);    
            if(status != kFailure)
              result = kTrue;
            sdklhelp.CloseDocument(templateDocUIDRef,kFalse,K2::kSuppressUI, kFalse);
        }while(kFalse);
        return result;
    After this I need to close first document. Now I am opening the second document from indt file which has same number of layers as first document. I am trying to paste frames from scrap data to second document using '' 'ICopyCmdData ' and 'kPasteCmdBoss' as shown in follwoing function
    bool16 pasteTheItemsFromScrapDataOntoOpenDocument(UIDRef &documentDocUIDRef )
        bool16 result = kFalse;
        do
               InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
                if(clipboardController == nil)
                    break;
               InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
               if(scrapHandler == nil)               
                    break;
               InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
                if(scrapData == nil)
                   break;
                     //This will give the list of items present on the scrap
                UIDList* scrapContents = scrapData->CreateUIDList();
                if (scrapContents->Length() >= 1)
                    InterfacePtr<IDocument> dataToBeSprayedDocument(documentDocUIDRef,UseDefaultIID());
                    if(dataToBeSprayedDocument == nil)
                       break;
                    InterfacePtr<ISpreadList>dataToBeSprayedDocumentSpreadList(dataToBeSprayedDocument,UseDef aultIID());
                    if(dataToBeSprayedDocumentSpreadList == nil)
                         break;
                    IDataBase * dataToBeSprayedDocDatabase = documentDocUIDRef.GetDataBase();
                    if(dataToBeSprayedDocDatabase == nil)
                         break;    
                    UIDRef spreadUIDRef(dataToBeSprayedDocDatabase, dataToBeSprayedDocumentSpreadList->GetNthSpreadUID(0));               
                    SDKLayoutHelper sdklhelp;
                    UIDRef parentLayerUIDRef = sdklhelp.GetSpreadLayerRef(spreadUIDRef);
                    InterfacePtr<IPageItemScrapData> localScrapData(scrapHandler, UseDefaultIID());
                    if(localScrapData == nil)
                        break;
                    if(parentLayerUIDRef.GetUID() == kInvalidUID)
                        break;
                    InterfacePtr<ICommand> pasteToClipBoardCMD (CmdUtils::CreateCommand(kPasteCmdBoss));
                    if(pasteToClipBoardCMD == nil)
                        break;
                    InterfacePtr<ICopyCmdData> cmdData(pasteToClipBoardCMD, UseDefaultIID());
                    if(cmdData == nil)
                        break;
                    if(scrapContents == nil)
                        break;               
                    PMPoint offset(0.0, 0.0);
                    cmdData->SetOffset(offset);
                    cmdData->Set(pasteToClipBoardCMD, scrapContents, parentLayerUIDRef );
                    ErrorCode status = CmdUtils::ProcessCommand(pasteToClipBoardCMD);
                    if(status == kSuccess)
                        CA("result = kTrue");
                        result = kTrue;
                }//end if (scrapContents->Length() >= 1)       
        }while(kFalse);
        return result;
         Here in above function its required to set Parent Layer UIDRef and because of this all frames are getting paste in one layer.
    Is there any way we can paste frame in there respective layers?
         Also I need to work this code with CS4 server and desktop indesign.
    Thanks in advance,
    Rahul Dalvi

    Try,
    // dstDoc must be FrontDocument
    InterfacePtr<ILayoutControlData> layoutData(Utils<ILayoutUIUtils>()->QueryFrontLayoutData());
    InterfacePtr<ICommand> createMasterFromMasterCmd(CmdUtils::CreateCommand(kCreateMasterFromMasterCmdBoss));
    createMasterFromMasterCmd->SetItemList(UIDList(srcMasterSpreadUIDRef));
    InterfacePtr<ILayoutCmdData> layoutCmdData(createMasterFromMasterCmd, UseDefaultIID());
    layoutCmdData->Set(::GetUIDRef(layoutData->GetDocument()), layoutData);
    CmdUtils::ProcessCommand(createMasterFromMasterCmd);

  • Transfer  finished material from one unit to other with excise

    Hello to all
    we are manufacturing Crane and we want to transfer a finished product from one unit to other unit with taken 50% credit on Excise
    .we are use that crane for Home comsuption .
    we are waiting for your reply.
    please give us step by step procerdure
    thanks
    regard, riten
    Edited by: riten patel on May 26, 2009 12:23 PM

    hello
    i have already do it using j1id
    but still i do not get 50% credit on  this material
    first i make po of this materia
    then declare this material as Asset using j1id t code
    then make grv of this material
    then I made invoice using j1iex
    but still do not get  50% credit on excise
    when i simulate that invoice i got one erroa as
    "NO CENVAT AMOUNT TO BE POSTED"
    "NO CENVAT AMOUNT TO BE REVERSED"
    so tell me what is its solution
    i am waiting your responce
    thanks
    regard,
    riten

  • How to move the changes from one system to other without using CMS

    Hi
    In our project they are migrating NWDI 6.40 to NWDI 7.0.
    During migration CMS won't be available.
    Could you plesae tell what are the different options are there to move the WebDynpro changes from (NWDS) Development to Quality system and then production system without using CMS server?
    If i will create a development package and import this packgae in Quality package will my new changes also be available in Quality server?
    Thanks & Regards
    Susmita

    Hi Susmita
    I wasn't completely sure, but from your description of your problem, it seemed like you would have access to your DTR during your upgrade. The following solution assumes as much. If this is not the case, you'll need to do things slightly differently, but the solution will still be possible.
    Depending on the scope and size of your changes, it may be practical for your developers to deploy directly from their NetWeaver Developer Studio (or for a designated administrator to install the NWDS and do the same). To do so, from the Development Configurations perspective, create a new NWDS project for each of the DCs you want to deploy. Then right-click the project and choose from one of the deployment options. (Deploy new archive and run will allow you to see if your deployment has taken effect.) When deploying, the target server is the one set up as your J2EE engine in the NWDS properties - you'll consequently have to modify this when the target server for your deployment changes (from QA to production, or vice versa).
    Note that this is only applicable in certain situations, and only as a short term stopgap measure. This sort of practice - developers or administrators deploying haphazardly to servers other than those intended for development - is precisely what the NWDI is designed to prevent (and is one of very few things it's fairly good at doing). For instance, if your QA and production systems are attached as TEST and PROD runtimes systems respectively in your NWDI, a full assembly and subsequent full deployment would usually occur to these servers when deploying with the NWDI. This is a much stronger guarantee of consistency than the build that will be performed within your local NWDS to deploy your changes. (Conversely, the rigidity of the assembly is perhaps the NWDI's greatest design flaw.)
    (Also, Snehal: thanks for the information on the sapmake_util blog. It's not something I've encountered before and looks very useful.)
    James

  • Move all data from one database to other using oracle expdp and impdp tool

    I need to move all of the data from one database to another. For that I am using oracle expdp and impdp tool.
    I have the full database export dump file. I moved that dump file to my other database.
    Now when I try to use impdp tools it gives lots of error regarding path mismatch,user not exists, role not exists.
    As my datafile path of source database does not match with the target database path , also the users are not there in target database. I dont want to create all the tablespaces that in my source database as there are 82 tablespaces.Is there any way by which I can move my all data without using remap option for tablespaces or users and grants.

    The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax.
    The user must have the privielge of EXP_FULL_DATABASE
    expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
    impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.logGO through below linkfor more details...
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    Regards
    Umi
    Edited by: Umi on Feb 4, 2011 2:27 AM

  • How to move the dock from one display to another with multiple monitors?

    Sometimes the dock will switch from one monitor to another just by clicking in the dock area of the second montor. Other times it does not.

    I found out that I have to keep moving downward on my trackpad after the cursor hits the bottom of the screen. It works now.

  • Move all photos from one computer to other computer

    How can I move all my photos from my old MAC with Lightroom 4 to my new MAC with Lightroom 5 ?
    I have no idea how to do this.

    How do I move Lightroom to a new computer? | The Lightroom Queen

  • Suddenly my finder (OSX 10.9.4) does not show the complete tree anymore, it takes me a long time to reach te map I want and can't move an itm from one place to another

    Finder OSX 10.9.4 problem: shows no tree anymore

    Well try this at the top in about the middle there should be a gear icon click that and the click clean up, if this just fixes one folder then click clean up by and select kind, the should work.

  • Move saved quesries from One ID to other??

    Hi All,
    I got a support question from a user, this BW user requests that Variants (saved queries) presently stored under Id "XYZ" moved to her Id. Please advice what i need to do.Please resolve...
    Thanks

    Hi
    I would recommend to use WorkBooks.
    This way each user can create his own variants and selections and save them on his desktop or shared drive and reuse them when ever he likes.
    I think letting the users access to Query's can be dangerous and is usually not the way to go.
    Thanks Edan

  • How to move a folder from one drive to another with out copying it.

    j want to move a large folder with video from my hard drive to an external hard drive but with having to copy it.

    Hold a command (⌘) key while dragging the folder.

Maybe you are looking for

  • Unable to create follow-up document in Portal

    Hi, We are using NetWeaver Portal 7.0 and it is at the latest SP(SP10). When we are trying to create a follow-up document for an opportunity all the fields are getting grayed out and we are unable to create any follow-up document.But from GUI we are

  • Using XML in Illustrator CS3

    Hello there, I was working on a Business Card design. Wherein I need to add Name, Address, Phone and Email of every person. I had all the data in Microsoft Excel. Then I exported my excel file to XML, and tried loading the XML file from Illustrator's

  • How to take care of case statements while migration

    Hello Sir, using migration workbench tool for converting SQL server database to Oracle Databse.Getting error message in converting below SP with Case Statement. Please help me in solving this problem ****** Object: Stored Procedure dbo.SP_Sec_GetScre

  • Creating asset from purchase orders

    Dear Gurus. Please let me know how to create asset from purchase orders. Thanks Rgds, Saurabh

  • Node organization : one or multi ?

    Hi. My organization runs OCS10G calendar on 5 nodes (one per location), for approx 3000 accounts, on the same Linux server (we have another server for OID, data are on a NetApp NAS). Several colleagues would like to merge the 5 nodes into a single on