How to code a "tween" object moving like in Flash?

As you may know in Flash the user can easily implement movements (including rotations) of objects by so called "tweens".
The developer defines e.g. the start and end position of a picture and how many rotations should
be applied and Flash generates the moving itself automatically. Thats nifty.
How can I implement this in Flex?
Peter

hi,
   you can do tweening in flex programatically using mx.effects.Tween class.Serveral Different kinds of tweens are also available in mx.effects package.
    here is quick start for adding tween effects in flex  http://www.adobe.com/devnet/flex/quickstart/adding_effects/
    here is the mx.effects package details   http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/mx/effects/package-detail.ht ml

Similar Messages

  • How can I use my Zen Xtra like a flash memory

    Hello, I want to know how can I use my MP3 player like a flash memory.
    I have one and if I conect it with other computers I can't transfer documents and with a flash memory I conect it in all the computers with Windows XP and all of they detect the flash memory and they can transfer documents.
    With my Zen Xtra I connect it and the computer detects it but I can't transfer anything because the computer doesn't have the software.
    My question is.. Do I have to install the software in all the computers that I use ? or there are other forms to conects PC and MP3 Player? ( I want to transfer documents like text, image, etc)

    But some MP3 players do that, why this one can't be connected with all the computers ?
    Message Edited by morfo on 0-22-2005 05:54 PM

  • How do I make an object look like it's rotating in 3D with multiple images?

    I have multiple angle images of an object and I want the result to be the same as the link here. http://www.apple.com/iphone/gallery/#gallery04. I don't know flash at all but it seems like there would be a simple program (even if I have to pay) that allows me to import the images, set the rotation speed and other settings and then hit export to .flv file or something. Does anyone know of a program to do this, or a simple method?
    Thanks,
    Caleb

    Thanks for the info. I know how to make a movie clip of the frames but I don't know JavaScript or much web programming. I don't necessarily need it to be web based..I just need a .flv file that let's me scrub my mouse to the left and right to rotate it. There is a program called photosimile that does this very well which I have used but you have to purchase their 3000 dollar machine and have it plugged in to use the software! I just want a standalone software for this.
    Sent from my iPhone

  • How do I make an object look like it is inside of a ring??

    I want to have an oval shaped picture hugged by a ring so that the ring goes around the back of the picture and over the front of it.

    To do this entirely in ID you'd need to draw the ring as a shape or path with the part behind the image missing and palce it in front of the image. Illustrator's patfinder tools are a little more sophiticated and might make it easier to isolate the part that goes behind, but you'd still need to to essentially the same thing.

  • How to create a view object and attach with extended AM

    Hi,
    I tried to create new vo and attach this vo with the extended AM. But it is throwing error like 'PC.NAME : invalid identifier' (Actually this PC.NAME is exiting one).
    Now i want to know how to create a view object similar like seeded one but with one additional condition in the where clause.
    It is possible though extension, but i want to create two view object similar like seeded one, one with some other condition in the where clause
    and another one with some other condition.
    So for my requirement, i'll extend one VO and i'll add my condition but how to do it for second condition.
    But i want same seeded VO with two different condition.
    Any suggestions please,
    SAN

    SAN,
    There is no need to attach the newly created VO with extended AM. You need to attach the same with the standard AM.
    Regards,
    Gyan

  • How to code vista like themes in java??

    freinds!! need sum help... can any one guide me of how to code files or themes in java?? is it related to Jmonkey and other 3d apps??
    if java is nt an efiicent lang in this feild.. them what is?? basically i wana know how to code themes for my desktop..
    i have read soome look and feel pluggables.. but i want stuff vista style!! plz help me..

    http://javootoo.l2fprod.com/ lists all available third-party look-and-feels. If you don't find the one that works best for you, download the source code for the open-source ones and see how it is done.

  • How to update ADF VO object to refresh the data in ADF Pivot table

    I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
    here are the steps I performed to create ADF pivot table application using VO at design time.
    1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
    2) Dragged this collection to the page in which wanted to create the pivot table
    3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
    Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
    I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
    but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
    here is the code
    Our slider component will look like
    <af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
    autoSubmit="true" />
    The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
    public void setDataValue(boolean value) {
    DataValue = value;
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
    Object result = operationBinding.execute();
    The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
    public void filterVO(boolean value) {
    if (value != null) {
    ViewObjectImpl ibVO = getVO1();
    ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
    ibVO.executeQuery();
    }

    Did you define a filterVO action in your pagedef.xml file?
    You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5

  • How to create new java objects in native methods?

    Hello,
    Is it possible to create java objects and return the same to the java code from a native method?
    Also is it possible to pass java objects other than String objects (for example, Vector objects) as parameters to native methods and is it possible to return such objects back to the java code?
    If so how can I access those objects (say for example, accessing Vector elements) inside the native code?
    What should I do in order to achieve them?
    Regards,
    Satish

    bschauwe is correct in that constructing Java objects and calling methods on Java objects from native code is tough and takes some study. While you're at it, you might want to check out Jace, http://jace.reyelts.com/jace. It's a free open-source toolkit that really takes the nastiness out of doing this sort of stuff. For example,/**
    * A C++ function that takes a java.util.Vector and plays around with it.
    public void useVector( java::util::Vector& vector ) {
      // Print out all the contents of the vector
      for ( Iterator it = vector.iterator(); it.hasNext(); ) {
        cout << it.next();
      // Add some new elements to the vector
      vector.addElement( "Hello" );
      vector.addElement( "world" );
    } All this code just results in calls to standard JNI functions like FindClass, NewObject, GetMethodID, NewStringUTF, CallObjectMethod, etc...
    God bless,
    -Toby Reyelts

  • How do I create an object from a filename?

    I'm traversing directories and storing a list of files in a File array. Then I traverse the array looking at the extension of the file. If it is .java then I would like to instantiate it as a class so that I may pass the new object to another function which will examine its methods. I've tried Class.forName(file.getCanonicalPath()) and it throws a ClassNotFound exception. How can I create an object from a valid filename, please?

    Rick_Avlonitis wrote:
    If it is .java then I would like to </snip>.java files contain source code, they can't be "instantiated". Class.forName() takes a classname as parameter, i.e. "mypackage.MyClass". A class name is not a file name, and it doesn't have an extension. As stated in the other reply, you'll need to have the class on your class path.

  • How to format a text object

    Post Author: ftpaxa
    CA Forum: Other
    I use a SQL server DataBase on Windows server 2003 with service pack 2. i use Crystal Report 10 with ODBC connection. I read that the nice DLL is "Crdb_odbc.dll".I saw a VB code "How to format a text object" on this site :http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=crxiTechrefenpdf&sliceId=&dialogID=7686352&stateId=1%200%207680692--' Create a new instance of the report.Dim oReport As New CrystalReport1Private Sub Form_Load()' Declare a TextObject object.Dim oTextObject As CRAXDRT.TextObject' Declare a generic Object.Dim oObject As Object' Declare a Section object.Dim oSection As CRAXDRT.Section' This variable is set to true once the' text object is found.Dim bText As BooleanbText = False' Search for all the report objects in each section.For Each oSection In oReport.SectionsFor Each oObject In oSection.ReportObjects' Find the first text object.If oObject.Kind = crTextObject Then' Get the text object and exit the loop.Set oTextObject = oObjectbText = TrueExit ForEnd IfNext oObjectIf bText Then Exit ForNext oSection' Format the text object and change the text.With oTextObject.BackColor = vbYellow.BorderColor = vbRed.BottomLineStyle = crLSDoubleLine.CanGrow = True.CharacterSpacing = 125.CloseAtPageBreak = True.FirstLineIndent = 25.Font.Italic = True.Font.Bold = True.Font.Size = 14.HasDropShadow = True.Height = 900.HorAlignment = crLeftAlign.KeepTogether = True.Left = 200.LeftIndent = 750.LeftLineStyle = crLSDashLine.MaxNumberOfLines = 16.RightIndent = 250.RightLineStyle = crLSDotLine.Suppress = False.SuppressIfDuplicated = True.SetText "Hello World".TextColor = vbBlue.TextRotationAngle = crRotate0.Top = 25.TopLineStyle = crLSSingleLine.Width = 3000End With' Set the report source of the viewer and view the report.CRViewer1.ReportSource = oReportCRViewer1.ViewReportEnd SubSo, i would like to do the same thingswith winbatch language. I tried this code :;Get CrystalRuntime Application Object HandleobjCra = ObjectCreate("CrystalRuntime.Application");Logs on to on or more SQL servers or ODBC data sources.objCra.LogOnServer("Crdb_odbc.dll","Magic","xxx","xx","zzzz") ; ("DLL file", "Server", "dbname", "username", "password"); open the saved reportobjReport = objCra.OpenReport("C:\Download\Perso\Programmation\Winbatch\Crystal Report\Final\rapport exploitation - abend.rpt")objReport.DiscardSavedData()TxtObj = objReport.Sections("PHb").ReportObjects("Text11")txtObj.Text = "testing" ; *** Error on this line : 1266: Ole:Bad Param Count;Export htmlPathHTML = strcat("C:\Download\Perso\Programmation\Winbatch\Crystal Report\Final\Resultat\rapport exploitation - abend.htm")hfile = PathHTMLcre = crr.ExportOptionscre.DestinationType = 1 ; diskfilecre.FormatType = 32 ; 24 = (HTML 3.2 standard), 31 = (PDF), 32 = (HTML4.0) cre.HTMLFileName = hfilecrr.Export(BOOL:@false)objectclose(cre)objectclose(objReport)objectclose(objCra)exit--
    Everythings work good except this linetxtObj.Text = "testing" I receive this error :1266: Ole:Bad Param CountI may be don't have the nice recipe. If you have a solution, it is welcome.

    Post Author: KAM
    CA Forum: Other
    Try using SetText.  Thanks.

  • How to pass arraylist of object from action class to jsp and display in jsp

    I need to do the following using struts
    I have input jsp, action class and action form associated to that. In the action class I will generate the sql based on the input from jsp page/action form, create a result set. The result set is stored as java objects in a ArrayList object.
    Now I need to pass the arraylist object to another jsp to display. Can I put the ArrayList object in the request object and pass to the success page defined for the action? If this approach is not apprpriate, please let me know correct approach.
    if this method is okay, how can I access the objects from arraylist in jsp and display their property in jsp. This java object is a java bean ( getter and setter methods on it).
    ( need jsp code)
    Can I do like this:
    <% ArrayList objList = (ArrayList)request.getattribute("lookupdata"): %> in jsp
    (***I have done request.setattribute("lookupdata", arraylistobj); in action class. ***)
    Assuming the java object has two properties, can I do the following
    <% for (iint i=0. i<objList.size;I++){ %>
    <td> what should i do here to get the first property of the object </td>
    <td> what should i do here to get the first property of the object </td>
    <% }
    %>
    if this approach is not proper, how can I pass the list of objects and parse in jsp?
    I am not sure what will be the name of the object. I can find out how many are there but i am not sure I can find out the name
    thanks a lot

    Double post:
    http://forum.java.sun.com/thread.jspa?threadID=5233144&tstart=0

  • How to generate an SE63 object list in batch periodically ?

    Dear experts,
    we translate program and DDIC-texts of our add-ons continiously to english and
    french, in order to keep up translations with the ongoing development we create
    the necessary SE63-object list once a week. Since this process is creating
    several background-jobs dynamically it is not possible to mark this inital job as
    to be repeated periodically. I do understand that but I don't know why there
    seems to be absolutely no way to get this done automatically once a week.
    Here is what I have already tried in vain in order to achieve this:
    - a report performing a CALL TRANSACTION on transaction SE63/SLW3
    - an eCATT-script including a TCD-Script on transaction SLW3
      (the script works fine if it is started directly, but the only FM that I have found
       to start a script with in batch ( 'ECATT_EXECUTE' ) does not do it, but comes
       back with a returncode zero, as if it did.
    - and I even tried to start the above mentioned eCATT-script by a report doing
      a CALL TRANSACTION on transaction SECATT providing the necessary
      field settings for the initial and following popup start screen.
    Nothing seems to work. The SAP notes on this topic are as useful as the
    SAP documentation on the subject "object list" (forget about it).
    Who has some experience with this issue respectively ideas for my problem?
    How can I generate an object list for translation once a week automatically in
    background?
    Thanks in advance
    Andreas

    Hi Lorant,
    attached you'll find a download of the ABAP which is to be used as a job step
    and an XML-Download of the eCATT-testscript, that processes the generation of a new object list in SE63.
    As both developing objects were in our companys namespace ("/HOAG/") which you cannot use, I made a copy in the z-namespace first, from which I have removed a couple of specialties that are certainly of no value for you at all, before I downloaded them for you.
    You need to give the script a name in your namespace or in the Z-namespace and then you have to adapt the scripts name in the BDCDATA generation procedure in the ABAP program appropriately.
    It may be possible that the eCATT-script doesn't run properly on your system. This is due to the fact, that the sequences of dynpros and fields contained in the dynpros differ a little in all of our 4 SAP development systems that we decided to be translation relevant, This is also the reason why I recorded individual eCATT-scripts for each one of them. It may be possible that you need to record your "own" system compliant script.
    An example: the popup screen with the print parameters can be personalized and may therefore look differently for every user in every system.
    This is also a good reason why the background job should be scheduled and performed under the name of the same user who recorded the eCATT script before!
    And just one last remark: The returncode of the job only gives you an information about wether or not the eCATT script has been executed properly but you do not know if the chain of jobs usually created by the SE63 objectlist creation functionality have been executed completely. The "system" that we set up for the automated objectlist creation is completed by a third ABAP program which is also scheduled daily as a background job. It is started about an hour after the the object list creation should be through and it verifies if the standard SAP jobs (the names of which are beginning with something like "OBJL") ran completely that day and that they are in the status "finished". If this is not the case, our "objectlist verification ABAP" sends a couple of SAP express mails to a certain selection of key users who are supposed to take a look at the system). This all works pretty well in combination!
    If you (or the person that you are going to give this task to) know enough of the german language to read it, you won't have any problem with adapting this to your needs because you'll find everything neatly commented in the source code.
    regards
    Andreas

  • Web service 302 object moved error

    Hi All,
    Last week, IT changed the configuration on our Cisco content
    switch to redirect every page request to https. Everything seems to
    be working properly except for our Web services, which I can't seem
    to consume at all. Here's the error we keep getting:
    Could not perform web service invocation "myFunction"
    because AxisFault faultCode: {
    http://xml.apache.org/axis/}HTTP
    faultSubcode: faultString: (302)Object moved faultActor: faultNode:
    faultDetail: {}string: return code: 302
    Does anyone have any experience serving Web services over a
    content switch that forces a redirect over https? I even get this
    message when trying to consume over https. Our Web servers think
    they're not secured at all, maybe this is the problem? I just
    haven't worked with Web services very much.
    Thanks in advance!
    Cheers,
    -m

    ColdFusion sometimes has some problems connecting to
    webservices using HTTPS.
    Try Daverms's suggestion first. Recreating or refreshing the
    webservice in the CFADMIN might fix your problem. Otherwise, if
    that doesn't work I suggest:
    Try saving the WSDL to a local location and running the
    webservice off the local WSDL. The WSDL should have the location of
    the actual webservice in it (I think the tag is <ServicePort>
    or something like that), so it doesn't really matter where the WSDL
    resides.

  • How to code with tab strip control in se38

    HI masters,
          In SE38 i created tab strips with 4 tabs in selection screen. Each selection screen having 4 or 5 input fields.So whenever user click on first screen he will fill the input on that screen, and based on that fields only he will get information. Each tab is totally differ from other tabs, i mean first tab is orders and second is invoice like that. so there is no connection betwen tabs data. Everything is individual tabs.
         I dont know how to code that.Can you plz help me how to code that? Thanks in advance.Its very urgent.

    To create a tabstrip control area, choose Tabstrip control from the object list in the Screen Painter and
    place it on the screen. Fix the top-left hand corner of the table control area, and then drag the object to
    the required size.
    Assign a name to the tabstrip control in the Object name attribute. You need this name to identify your
    tabstrip control.
    In your ABAP program use the CONTROLS statement to declare an object with the same name. Use
    TABSTRIP as the type.
    The type TABSTRIP is defined in the type pool CXTAB. The field ACTIVETAB contains the function
    code of the tab title of the currently active tabstrip. The other fields are reserved for internal use.
    The default number of tab pages for a tabstrip control is two.
    Technically, tab titles are treated in the same way as pushbuttons. They have a name, a text, a function
    code, and a function type. You enter these in the Name, Text, FctCode and FctType fields of the object
    attributes.
    A tab title can have the function type ' ' (space) or 'P'. If the function type is ' ' (space), the PAI
    processing block is triggered when the user chooses that tab, and the function code of the tab title is
    placed in the command field. If the function type is 'P', the user can scroll between different tab pages of
    the same type without triggering the PAI processing block. For further details, see the following pages.
    If you want your tabstrip control to have more than two pages, you must create further tab titles. To do
    this, choose Pushbutton from the object list in the Screen Painter and place it in the tab title area.
    You must assign a subscreen area to each tab page.
    The subscreen area assigned to a tab page is automatically entered as the Reference object (in the
    Dictionary attributes) for the tab title of that page.
    To assign a subscreen area to one or more tab pages, choose the relevant tab title in the fullscreen
    editor, choose the Subscreen object, and place it on the tab page.
    Alternatively, you can assign a single subscreen area to several tab pages by entering the name of the
    subscreen area directly in the Reference object field of the attributes of the relevant tab pages.
    If you have assigned a different subscreen area to each page element in a tabstrip control, you can
    scroll between the pages locally at the front end.
    To do this, you must send all of the subscreens to the front end when you send the main screen itself. All
    of the tab titles in the tabstrip control must also have function type 'P'.
    Now, when you scroll between the different page elements, there is no communication between the
    presentation server and the application server.
    When the user chooses a function on the screen that triggers PAI processing, the system processes the
    PAI blocks of all of the subscreens as well. This means that all of the field checks are run. In this
    respect, you could regard the tabstrip control as behaving like a single large screen.
    Local scrolling in tabstrip controls is more appropriate for display transactions.
    <b>Screen Painter:</b>
    <b>PROCESS BEFORE OUTPUT.</b>
    CALL SUBSCREEN subarea1
    INCLUDING SY-CPROG '0101'.
    CALL SUBSCREEN subarea2
    INCLUDING SY-CPROG '0102'.
    CALL SUBSCREEN subarea3
    INCLUDING SY-CPROG '0103'.
    <b>PROCESS AFTER INPUT.</b>
    CALL SUBSCREEN subarea1.
    CALL SUBSCREEN subarea2.
    CALL SUBSCREEN subarea3.
    <b>ABAP:
    CONTROLS: my_tab_strip TYPE TABSTRIP.</b>
    To program a tabstrip control to scroll locally at the front end, you must:
    Assign
    a separate subscreen area to each tab page; a subscreen will be sent to each of these
    when the screen is processed.
    Call
    all of the subscreens from the flow logic.
    Assign
    function code type 'P' to all of the tab titles.
    The system hides any page element whose subscreen contains no elements that can be displayed.
    If there are no page elements containing elements that can be displayed, the system hides the entire
    tabstrip control.
    Hope this is helpful, Do reward.

  • How to use WebCenter REST API to like or comment a activity

    Hi all
    I want to know how to realize like or comment function with REST APIs.
    I execute a REST call with following url, but the 'like' counter is not be increased.
    http://cdcjp77vm3.cn.oracle.com:8888/rest/api/activities/services/oracle.webcenter.community/objectTypes/groupSpace/objects/(s2518c69b_1989_4a63_8886_c32075c76b9c)/likes?&utoken=FDNA-Z7ekZuPnVSNoPWOqTJ2IzAE_w**
    Is there anything i missed?
    Can anyone give me an example about how to use this API to like or comment a activity?
    Thanks
    Qian

    So Qian;
    looking through the code this is how you can
    Post a comment (POST)
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/comments?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
    {key:val}
    {text:'this is my comment)
    Edit a comment (PUT)
    So I haven't tried it but it should do the trick.. although I don't see update under capabilities so you may get blocked.
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/comments?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
        id: {commentId},
        text: 'changed my comment.. magic'
    Delete a comment (DELETE)
    /rest/api/activities/services/{serviceId}/objectTypes/groupSpace/objects/({objectId})/comments/{commentId}?utoken=blah
    Like POST
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/likes?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
    I passed it an empty object {} seemed to work for me.
    Unlike (DELETE)
    /rest/api/activities/services/oracle.webcenter.community/objectTypes/groupSpace/objects/({objectId})/likes/({likeId})?utoken=blah
    Let me know if this works for you

Maybe you are looking for

  • Tecra M3 - Stuck at Toshiba BIOS Splash Screen

    Not sure what to do here with this one... Bit of history... we bought my niece a used laptop for surfing/movies which worked fine when I had it a few weeks setting it up and such, she had it a week and it's now dead. Some days it works, some days won

  • Stateful Session Bean Initialization (EJB 3.0)

    Hi all! In EJB 2.1 the initialization was with create (args) methods. NOw, how is it exploited? Create methods are no more there and there must be a way to send parameters to the stateful session bean when it is newly created...isn't it? Thank you!

  • Is there a way to find out that a variant is of type vt_null, without using an error handler?

    i am using an persistant ado-recordset. some fields may return a variant of type vt_null (sql-null value). i want to figure out if a field contains a null or an empty string. when i checked the "view type" at a variant control, i see that labview cor

  • Inbound idoc MATMAS - find userexit to map extension

    Hi ! I have an inbound IDOC MATMAS04 with a specific extension. I need to map the fields of the extension : some of them into an append of MARA, some others into characteristics. <b>I can't find the user exits I need.</b> I guess there are 2 of them.

  • How do I turn the shuffle function off??

    Hi, I've created a playlist for my workoutplan with fast and slow songs that I need to play in the same order I've saved them. But everytime I play the list, the Iphone shuffles the songs around. How do I turn that off?