How to attach objects with a pivot

First of all I am using Flash CS3 Professional and I have a Flash ActionScript 2.0 .fla file, my problem is that I have 2 symbols, on can be controlled by a simple script using arrow keys and the other is stationary but I want to attach the stationary one to the other so that it can pivot on this connection and will move with and pivot like a tail as it moves around the screen, please can I have some help on what to do here.

Most of what I described will fit whatever it is you intend, but to do what you last describe, like a trailer getting pulled, you'd need to pay equal or more attention to controlling the forward end of the main object.  To pull something implies the object only has one direction of travel, call it nose-forward... the opposite end from the tail.
So how you manage to control that will have some bearing on the tail end following with some amount of animation.  As you rotate the main piece to keep it forward moving for a direction change, the rotation of the tail piece has to be calculated, and then you get into needing to factor in distance along with rotation--when you turn a corner and move forward, eventually the tail needs to end up straightening out behind the main piece.
This is more of math problem than an animation problem, and it would be a challenge to try to solve it, but cool as heck when you do.

Similar Messages

  • How to attach file with an email in travel and expenses

    Hi Experts,
    I am new to sap cloud application studio.
    We have requirement that need to attach any type of files in the mail,
    I have gone through this : How to send an email with attachments in SAP Cloud Application Studio
    But compilation error at import AP.FO.ACTIVITY.GLOBAL., so not able to work with that lines of code.
    I am using these lines of code to send email.
    EMailUtilities.SendEMail(lang, bcc, cc, toAddress, htmlContent, from name, subject);
    So am not able to getting how to attach file with this code.
    Please help me regarding this.
    Thanks & Regards,
    Preethi Ande

    Hi Preethi,
         I am trying to send mail from custom BO in Travel on Demand System.I am getting  compilation error.please look into the attached screenshot for the code.
    Please assist me on this,                                Thanks in advance
    regards,
    Sendhilazhagan

  • How to attach file with PR and PO?

    Hi all
    How to attach file (Drawings ,execl,etc..) with PR and PO
    Please help on this
    Thanks
    Regards
    Dhinesh

    Hi
    Thanks
    But If i select  system > service for object in change mode i am getting error "No
    service availale" like that ,how to sort it out and attach the file
    And more ever that icon (service for object) is not coming in change mode ,i selected
    by menu path .How to make it display as icon in bar
    Regards,
    Dhina

  • How to reference objects with same name?

    Probably another easy one, but again, couldn't find the answer in old discussions...
    I have some objects with the same name on my form. Designer has made them unique by making an array out of them...object[0], object[1], object[2] etc. How can I reference the individual objects in javascript?  I tried the obvious by referencing them as an array, but to no avail.  I suppose it'd be just as easy, if not better, to just have unique names, but in this case, the objects are related and having them in an array would be handy.

    You can try like below.
         var oObject = xfa.resolveNode("Object[1]");
         xfa.host.messageBox("" + oObject.rawValue);
    Thanks
    Srini

  • How to save layout with ALV Pivot format

    Hi
    In ALV report I have  25 fields but I want to use 10 fields out of 25 fields in Pivot Table. My problem is how to save this layout with Pivot format for on going use. At every time execution of report I need not required to set  Pivot Table.
    Please help me.
    -Sanjay

    Hi,
    Are you using FM REUSE_ALV_GRID_DISPLAY? If yes, then pass 'X' to the parameter I_SAVE while calling the fm.
    if you are using Object Oriented ALV, then call the below method before calling the method for display
    DATA : gr_layout TYPE REF TO cl_salv_layout,
           gr_layout_key TYPE salv_s_layout_key.
    CALL METHOD gr_functions->set_all
      EXPORTING
        value  = IF_SALV_C_BOOL_SAP=>TRUE.
      MOVE sy-repid TO gr_layout_key-report.
      CALL METHOD gr_table->get_layout
        RECEIVING
          value = gr_layout.
      CALL METHOD gr_layout->set_key
        EXPORTING
          value = gr_layout_key.
      CALL METHOD gr_layout->set_save_restriction
        EXPORTING
          value = if_salv_c_layout=>restrict_none.
      CALL METHOD gr_layout->set_default
        EXPORTING
          value = if_salv_c_bool_sap=>true.
    Regards
    Vinod
    Edited by: Vinod Kumar on Jul 2, 2010 3:40 PM
    Edited by: Vinod Kumar on Jul 2, 2010 4:43 PM

  • How to check object with boolean

    hi
    i have a JComboBox
    i have added the items to JComboBox as {"true", "false"}
    my problem is how check with boolean
    like i was trying like this
         public boolean getBooleanValuesOfComboBox() {
              if(Boolean.TRUE.equals(_comboBox.getSelectedItem())) {
                   return true;
              return false;
    how to do this JComboBox getSelectedItem will return object... how to check
    thank u
    null

    > i have a JComboBox
    i have added the items to JComboBox as {"true",
    "false"}
    You could store Boolean objects in that combo-box instead of Strings.

  • How to attach agent with unusual AD and DNS setup?

    I am trying to configure DPM for a client, which is a university department. They have a somewhat unusual setup of their AD and DNS and I think that is why I am having trouble attaching an agent I have installed.
    It is a new installation of DPM 2012 R2 version 4.2.1292.0 with a local SQL Server 2012 SP2. The OS is Windows Server 2012 R2. It is going to protect a bunch of SQL Server databases all on the same Windows Server 2012 R2 server. The SQL Server is a physical
    server and the DPM server is a hyper-v VM, running on a Windows Server 2012 R2 host.
    The install of DPM itself went smoothly.
    To install the agent on the SQL Server machine, I followed the instructions here:
    https://technet.microsoft.com/en-us/library/hh758186.aspx#BKMK_Manual. This was successful (I think)
    Then I proceeded with these instructions to attach the agent:
    https://technet.microsoft.com/en-us/library/hh757916.aspx
    This fails at the enter credentials stage with this message:
    DPM could not connect to the service control manager on these servers: [SqlMachinename].win.[universityname].dk (ID: 33221)
    As far as I can tell, the problem has to do with how the university manages windows AD domains and DNS lookup.
    The university uses one common AD domain named win.[universityname].dk for the entire campus, but it looks like DNS names for individual windows machines is managed locally at individual departments.
    Ipconfig says this (abbreviated) for the SQL Server where I installed the agent:
    Host Name . . . . . . . . . . . . : [SqlMachinename]
    Primary Dns Suffix  . . . . . . . : win.[universityname].dk
    DNS Suffix Search List. . . . . . : win.[universityname].dk
    [departmentname].[universityname].dk
    Ethernet adapter T2:
       Connection-specific DNS Suffix  . : [departmentname].[universityname].dk
       DHCP Enabled. . . . . . . . . . . : Yes
    This works from the DPM machine and shows the correct IP:
    ping [SqlMachinename]
    This works from the DPM machine and shows the correct IP:
    ping [SqlMachinename].[departmentname].[universityname].dk
    This fails from the DPM machine ("could not find host") and does not get an IP:
    ping [SqlMachinename].win.[universityname].dk
    I've used Message Analyzer to verify that when pinging just [SqlMachinename], in fact DNS tries first to append win.[universityname].dk, which fails and second [departmentname].[universityname].dk, which then succeeds. This is by the book, as I understand
    it because of the DNS Suffix Search list or because of the connections-specific DNS Suffix.
    The problem is that DPM only tries [SqlMachinename].win.[universityname].dk. I have verified this with Message Analyzer.
    I am not sure how to proceed. Is there another way to attach the agent? Maybe by IP-address?
    I cannot ask the client to put [SqlMachinename].win.[universityname].dk in their DNS database. I am sure that they do not register any individual machines in that DNS domain which cuts across the entire campus. I am equally sure that they will not consider
    creating individual AD domains for each department just because I ask (although that would probably be best in the long run).
    Any suggestions would be very much appreciated.

    Found a workaround:
    I can install and attach the agent using one of the methods designed for agents in workgroups or untrusted domains. For me NTLM worked fine as long as I used simple nertbios computer names without any domain suffixes.
    This is what worked:
    On protected server:
    SetDpmServer.exe -dpmServerName DPMServername -isNonDomainServer -userName DpmNtlmAccount
    On DPM Server:
    Attach-NonDomainServer.ps1 -DPMServername DpmServername -PSName servername -Username DpmNtlmAccount -Password xxxxx
    I still think it is weird that DPM insist that protected servers in thewe same AD domain must use the AD domain name in their DNS name. Very inflexible.

  • How to find objects with active System status-JEST

    Hi All,
    Is there any way in which I can find Production operations based on their active system status.
    The problem I'm facing is SAP stores system status for an order in JEST. And JEST contains many active system status for a PP Operation.
    I have to select all Operations which have status of say e.g. REL(released).
    If the select statement is as below
    select objnr stat
    into table t_jest
    from jest
    where stat = <Internal format of REL>
    and inact NE 'X'.
    Then this will also give those objects which are having REL plus any other higher status.
    Whereas what I want is only those objects which have their current status as REL and not which also as REL.
    The other way of doing this is get a all object and statuses and loop through records and filter out unwanted ones. But it will have serious impact on performance.
    Does anyone has some other solution to the above problem. Any function module or any other table which stores only the current active status.
    Any help would be of great help to me.
    Thanks.
    Message was edited by: Stephen Peter

    Hi Peter
    we have to these FMs to get the Status of Prod.Order.I have Developed one Reoprt which will show up order staus / stages
    like : col1 is orders which are in Open nothing but REL.So u have to put a Condition where jest-stat ='REL' only.
    OPEN-TECO  PCNF-TECO
            2          0
            9          5
            0          0
            2          0
            3          0
            4          3
            0          1
            0          0
            1          0
            2          0
           23          9
    CRS_SORDER_CREATE_UPLOAD_PROXY                                                               
    CRS_SORDER_STATUS_UPLOAD_PROXY                                                               
    MASS_PERFORM_STATUS_CHANGES                                                                  
    STATUS_READ                      Read Object Status (JSTO and JEST)                          
    STATUS_READ_MULTI                                       
    * Getting the Order Number and Obj.Number.
       select aufnr erdat werks objnr from aufk
                          into corresponding fields of table  otab
                                      where auart in ('PP01','PP02')
                                        and erdat gt s_budat-low
    *                                    prabhu on 24.5.5
                                        and werks in s_werks.
    * Getting the Obj.Number and Status Number
    data : w_stat like jtab-stat.
    *  loop at otab.
      if otab[] is not initial.
      select objnr stat from jest
                        into corresponding fields of  table jtab
                        for all entries in otab
                              where objnr = otab-objnr
                              and inact eq ''.
      endif.
    * Getting the Status Text for All The Orders
      loop at jtab.
      read table ttab with key istat = jtab-stat.
      if sy-subrc ne 0.
      select single  txt04 txt30 from tj02t
                           into (ttab-txt04,ttab-txt30)
                               where istat eq jtab-stat
                                 and spras eq 'EN'.
       if sy-subrc eq 0.
        ttab-istat = jtab-stat.
        append ttab.
        clear ttab.
        endif.
       endif.
      endloop.
    i think u got one Inputs.
    Regards
    Prabhu
    [email protected]

  • How to attach picture with posting

    I try to show a text file that keeps appearing
    on my hard drive, but that text is cut after the first few
    characters. How can I put a picture along with my post in this forum?
    Thank you.

    pitou wrote:
    I try to show a text file that keeps appearing
    on my hard drive, but that text is cut after the first few
    characters. How can I put a picture along with my post in this forum?
    See this discussion post:
    http://discussions.apple.com/thread.jspa?threadID=121950&tstart=0
    There is a section titled "Images" about half way down the page. Basically it says that you have to post the images somewhere else and point to that URL in your post.

  • How to attach disk with a size of 1.75 TB to my Azure VM

    This will be use for my cloud DFS Replication. I have d-14 VM in azure. I need to attached 1.75 TB disk. to be a dfs partner of my on premise dfs server. Any ideas?
    Thank you.

    Hi,
    I don't familar with DFS, I found a resource talk about High-Available File Share in Windows Azure using DFS, hope it helps, here is the article link:
    http://clemmblog.azurewebsites.net/high-available-file-share-in-windows-azure-using-dfs/ , if you still have issues, I would suggest you move to DFS forum for a better support.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to link bindvariable with ViewAccessor to make it ADF Input with LOV

    I have create a view object by sql query in which i have two bind variables. I want to create a search form by these two bind variables as search criteria so i drag "Execute with Params" operation from Viewobject Data Control to a jspx page as a ADF Search Form. Now i want to create these two parameters as a ADF Input LOV so i changed control type in view Object for these two bind variables but i am not able to fine how to attach viewaccessor with it for data source. Kindly help me.

    Hi,
    in this case - if th ebind variables are not based on an attribute that has a LOV defined - you replace the components in the input form. To do this, remove the input text field and drag the attribute (the argument) onto the form again. Choose select one choice to create a drop down and then map it to the VO that providesthe values. Note that this doesn't create a LOV binding so you use lists for this.
    Frank

  • How to attach a smartform in BOR object

    Hi,
    I want to know how to attach a z smartform to BOR object? I tried to search out here but not able to have the result.
    Kindly provide the guidelines for it....
    Regards,
    Rickky

    Hi,
    In the BOR object, create a method say display_SF. Now in the ABAP properties for that method give "OTHER" option.
    Now in the BOR object, you can find the program which is used. Inside that program, You need to write the code to fetch the required data (ONLY BASIC REQUIRED DATA WILL BE ENOUGH) and call the smartform by passing all the print parameters and all the required data for that smartform.
    Now inside the smartform, with imported required data, you can write all the logic and data fetch etc for the printouts.
    The following sysntax can be used to fetch the required data into the method and can use to pass the same while calling the smartform.
    SWC_GET_ELEMENT CONTAINER 'Plant' PLANT.
    Regards,
    Harish

  • How to align Objects to a path while scattering the objects in even spaces with decreasing size?

    Hello
    I am facing following trouble:
    I am suppose to draw a spiral and on this path i want to align a symbol to it (in my case a circle).
    Now i have found two ways how to to it.
    First i can use the Brush palette and then apply my symbol to it. but then the problem is the size of the circles are all same but i need the circle to get smaller towards the center of the spiral
    Second approche i took, i used the blending options between two objects that i also attach to a path. So i could resolve the issue about the decreasing size but now another problem has appear: The gaps between the circles are not same. I would like to have even spaces.
    So now my question is: How can I resolve this my problem?
    For better visualising my problem, you can check out this screenshot here: http://goo.gl/PEvZI
    If anyone can give me a hint or a tip i would be very appreciating it.
    Thanks in advance...
    Regards,
    Natla

    Before you apply the Transform Effect, store the circle as a Symbol. Then, after finding a set of Transform settings you like, drag the resulting object to the Graphic Styles palette. The resulting Graphic Style will not include the basic Appearances (stroke, fill) of the circle; it only stores the Transform Effect. In the palette, the Graphic Style will appear to be blank, but it will contain the Transform Effect. That way, you can apply the Graphic Style to any other object with one click.
    Same thing works if you first merely Group the circle and apply the Transform Effect to the Group. But storing the circle as a Symbol also lets you use the Replace Symbol command to instantly swap in/out any other Symbol.
    Symbol swapped for one containing an isometric cube:
    Symbol swapped for one containing a Lens Flare object:
    JET

  • How to attach Technical doc with PO

    Hi All,
    Is it possible to attach documents with PO. I want to attach some technical documents with PO please guide me how to attach.
    Thanks in advance
    Pavan

    Hi Pavan
    First Save your PO ( ME21N ) and again open with change ( ME22N ) then you can attach document through Service for Object button. Service for Object button available down side of Command screen ( in your PO screen ME22N ) 
    Click your Service Object button -> Create -> Create attachment 
    then select your window directory ( which file you need to attach) select your file Now your system shows message  Service "Create attachment" is started. 
    Save again your PO. You can see (open) your attachment in same field ( Service for Object ) select and Create and check attachment list. You can attach as many document in your PO.
    Regards
    Anjali

  • How to attach event to custome workflow object ?

    Hi Guys,
    Could someone help me on how to raise event while creating custom workflow object.We can attach event to object in transaction swe2 . I would like to know how to create that event. Could some send sample custom workflow object with events.
    Many thanks in advance.
    Cheers,
    Garrick.

    Here's an example  using Business object BUS2080  Service notification
    I delegated ZBUS2080 to BUS2080 (service notification).  Added 2 Events REASSIGNED and MODIFIED.
    Use transaction SWO1 for manipulating business objects.
    The User performs an action on a service notification  (IW52) say PUT IN SERVICE AGAIN.
    When the user puts the service notification in service again the event triggered will start a (user defined) workflow which makes a call to a method in the business object ZBUS2080 which launches a batch job.
    This batch job creates our user event REASSIGNED which in turn calls a new workflow to be executed.
    This workflow performs the action I want -- in this case to re-assign the service notification to a new person, send an email and escalate the deadlines
    Code samples are shown below.
    So here's how it works.
    First you need to set up some entries with table SWE2. I've assumed you've already defined the events to the Business object(s) you want to use.
    In SWE2 define entries for BUS2080 (or ZBUS2080) For Events INPROCESSAGAIN and (our event) REASSIGNED.
    IN SWE2 define the receiver call as a FUNCTION MODULE
    For the receiver function modules  for the SAP event (INPROCESSAGAIN) define the receiver module as SWW_WI_CREATE_VIA_EVENT
    For the event REASSIGNED define the receiver module as SWW_WI_CREATE_VIA_EVENT_IBF.
    I have no idea whatwhat the difference is between the two but the process works when it's done like this.
    Ensure the linkage Activated box is clicked in both cases.
    Put your workflow numbers in the RECEIVER TYPE in SWE2 table.
    In the first workflow when the user puts the service notification in service ensure your workflow starts a batch job which raises another event
    Note : You need to instantiate the object (I.e supply the key) to trigger the event correctly. The key is obtained from the WF and will be in the container anyway.
    You can do this by adding this type of function module into the method of the business object you want to execute during the first workflow. The code here creates a batch job which submits the EVENT creating program.
    function z_create_event_for_cs.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(OBJECT_KEY) LIKE  SWOTOBJID-OBJKEY
    *"     REFERENCE(W_REASON) LIKE  HRPXXXX-DUMMY
    *"     REFERENCE(W_ESCLEVEL) LIKE  HRPXXXX-DUMMY
    Create Batch job to run ZZREASSIGNCS
    which creates event REASSIGNED in Customer query workflow.
    data: jobnr like tbtcjob-jobcount,
          jobname like tbtcjob-jobname,
          pgmname  like sy-repid,
          w_key like viqmel-qmnum,
          w_code type c,
          w_num  type c.
          w_num = w_esclevel.
          jobname = 'CREATEEVENT'.
        pgmname = 'ZZREASSIGNCS'.
    call function 'JOB_OPEN'
      exporting
        jobname                = jobname
    importing
       jobcount               =  jobnr
    CHANGING
      RET                    =
      exceptions
       cant_create_job        = 1
       invalid_job_data       = 2
       jobname_missing        = 3
       others                 = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
      input =  object_key
      importing
      output = w_key.
    w_code = w_reason.
    if w_code = ' '.
    w_code = 'Z'.
    endif.
    submit zzreassigncs
    with p_key = w_key
      with p_escl = w_code
      with p_escnum = w_num
      via job jobname number jobnr
      and return.
    call function 'JOB_CLOSE'
      exporting
         jobcount                          = jobnr
         jobname                           = jobname
       strtimmed                         = 'X'
      exceptions
        cant_start_immediate              = 1
       invalid_startdate                 = 2
       jobname_missing                   = 3
       job_close_failed                  = 4
       job_nosteps                       = 5
       job_notex                         = 6
       lock_failed                       = 7
       invalid_target                    = 8
       others                            = 9
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endfunction.
    For the actual program which creates the event  use something like this
    program zzreassigncs.
    This program creates an event REASSIGN
    This triggers a "clone" of the initial customer query workflow
    which is now marked as completed.
    The deadline and escalation level from the original workflow
    should be passed to the new workflow via the event container
    Program is submitted from the original workflow
    Ensure transaction SWE2 has the event REASSIGN for bus object BUS2080
    defined or the WF won't start even if the event is raised correctly
    As this program is run as a background / batch task
    you need to obtain the relevant notification number and pass it
    as a parameter.
    When run from the WF the you can get the notification number obtained
    from the workflow / task  container.
    include <cntn01>.   "For WF macros.
    parameters: p_key like swotobjid-objkey,  "Service notification number
                p_escl type c,
                p_escnum type c.
    constants: c_event    like swetypecou-event   value 'REASSIGNED',
               c_attrib   like swotra-attribute   value 'USRSTATUS',
               c_object   like swetypecou-objtype value 'BUS2080'.
    data:     w_object like swotobjid,
              w_stat     like  tj30t-txt04.
    data: rc like sy-subrc.
    data: begin of event_cont occurs 0.
          include structure swr_cont.
    data: end of event_cont.
    data: begin of return.
      include structure swotreturn.
    data end of return.
    if running from WF rather than a batch job
    swc_container container.
    swc_get_element container  'Znumber' p_key.
    w_object-objkey = p_key.
    w_object-objtype = 'BUS2080'.
    call function 'SWO_PROPERTY_GET'
    exporting
        object                = w_object
        attribute             = c_attrib
      changing
        value                 =  return.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    w_stat = return(4).
    event_cont-element = 'Status'.
    event_cont-value = w_stat.
    append  event_cont.
    event_cont-element = 'Escalated'.
    event_cont-value = p_escl.
    append event_cont.
    event_cont-element = 'Escalation'.
    event_cont-value = p_escnum.
    append event_cont.
    Note WAPI calls only valid from rel 6.1 using Webflow engine
    (part of standard WF since rel 6.1)
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE           =   w_object-objtype
        OBJECT_KEY            =   w_object-objkey
        EVENT                 =   'REASSIGNED'
      IMPORTING
       RETURN_CODE           =  rc
      EVENT_ID              =
    TABLES
       INPUT_CONTAINER       =  event_cont.
    if rc <> 0.   "Houston ---We have a problem !! '
      write: text-002 color col_negative.
      exit.
    endif.
    even though no database / table is updated here by the event
    we still need the commit work to initiate the event correctly
    commit work.
    You CAN use Objects (OO ABAP) but if you are fairly new to this sort of stuff just stick with standard BOR (Business objects) to parctice on until you've got the hang of the process.
    It's actually a lot simpler than most people realize --which is why WF consultants get paid decently !!!!.
    Cheers
    Jimbo

Maybe you are looking for

  • Open data Set Error?

    Hi Guys,               I am using Open dataset for downloading the data into Application server   .I am getting the  error file path is not opened  but in al11 i was able to see the path what i mentioned here except bseg.txt file.I am getting error a

  • Trying to replicate a gray processing operation called "black flood"

    I am trying to replicate a gray processing function call "black flood". This is found in Leica image analysis software. The documentation reads, "Fills in black detail without affecting the boundaries.  This is done by closing by the selected number

  • Pages thumbnail display question

    A rather curious thing happens every once in a while when I open various Pages docs that are in progress. On the View icon in the Toolbar I have "Page Thumbnails" checked on these documents.  However, for no particular reason, these documents open wi

  • Download 9i Linux files

    Down loaded the Linix 9i files (*.cpio.gz). The gunzip command does not work on them( message is: not a gzip format. So I tried cpio, the file was extracting but at end received the error premature end of file. Tried re-downloading several time with

  • Can't download RAW plug in.

    I have PSE 7 and now have a Canon G11 camera.  I just spoke to Adobe tech support and they said I need to upgrade to version 8 of PSE for the RAW format to work. Is that true?   The web site seems to say that I can download the plug-in but it does no