Control Timeline dynamically

Hi,
i'd like to control MovieClip timeline witch contain several DisplayObject (like Sprite, Button, ...) these DisplayObject have Motion (AnimatorFactory).
How can i do seek frame-by-frame the MovieClip Timeline and use the currentFrame to control all Motion child.
for example :
package
     import flash.display.*;
     import fl.motion.*;
     public class  main extends MovieClip
          private var motion:Motion;
          private var animFactory:AnimatorFactory;
          private var size:uint    = 100;
          private var bgColor:uint = 0xFFCC00;
          public function main():void
   var textClip:MovieClip = new MovieClip();
               var boxObj:Sprite = new Sprite();
               boxObj.graphics.beginFill(bgColor);
               boxObj.graphics.drawRect(0, 0, size, size);
               boxObj.graphics.endFill();
               addChild(boxObj);
   textClip.addChild(boxObj);
   addChild(textClip);
               motion = new Motion();
               motion.duration = 20;
               motion.addPropertyArray("x",[0,50,95,134,169,199,225,247,265,280]);
               motion.addPropertyArray("y",[0,1,0,4,12,21,32,44,52,38]);
               animFactory = new AnimatorFactory(motion);
               //animFactory.transformationPoint = new Point(2, 2);
               animFactory.addTarget(boxObj, 0, false);
   textClip.gotoAndStop(10);
textClip.gotoAndStop(10); //seem not work
because textClip have no keyframe ?
How can do it ?
Thanks and sorry for my bad english.

Tiaqo,
I agree that cue points are the closest synch mechanism with streaming video. Nevertheless, if objects have to be synched in a such a way that they appear as a part of the video - cue points don't work very well. I worked on a project that required seamless syncing and we had to revert to embedded video because cue points event on every video frame did not deliver desirable tightness.
With that said, if requirements for synching are looser - cue points are the way to go.

Similar Messages

  • Effect Controls Timeline keeps zooming out

    So I'm currently working on a tutorial video that involves a lot of stopping and starting.  I'm loving Premiere's method of creating freeze frames (drop a keyframe in the Effect Controls timeline where you want it to freeze, option+cmd+drag it to the point where you want it to resume) however every time I do it, the Effect Controls timeline zooms out to show the entire project.  This is frustrating as I need to re-zoom in every time I want to freeze it; does anyone know a way around this?

    Ok, so here's a more detailed description.  The way I know to freeze a frame is to drop a speed keyframe (which has a left and a right half), and to then hold down Option+Command and drag the right half of the keyframe to where you want it to stop freezing.  This usually relies on zooming in to the Effect Controls timeline since I'm only freezing for a few seconds at a time; but the problem is as soon as I let go of the mouse to drop the end of the keyframe, the timeline snaps back to full view.

  • AS2 keyboard controlling a dynamic mc

    hey guys, I'm
    dynamically loading in a swf into another flash file, and I'm wanting the user to be able to either advance to the next frame(of the dynamic swf) with the right arrow key, or go to the previous frame with the left arrow key.  If I have to I can create a couple of arrows as a generic interface but I am not sure now to code those either.  Can someone explain how to control the dynamically imported movie clip?
    Thanks,
    Jon

    Here is code that goes in the main file that loads an external swf file and controls frame travel using the right and left keyboard arrow keys.  The loaded swf should have a stop() command in its first frame.
    this.createEmptyMovieClip("mc", this.getNextHighestDepth());
    loadMovie("loaded.swf",mc);
    var keyListener:Object = new Object();
    keyListener.onKeyDown = function() {
        keyListener.onKeyUp = function(){
           if(Key.getCode() == Key.LEFT && mc._currentframe > 1){
                 mc.prevFrame();
           } else if(Key.getCode() == Key.RIGHT && mc._currentframe < mc._totalframes){
                 mc.nextFrame();
    Key.addListener(keyListener);

  • How to control timeline sound of external SWF

    Hi All,
    Basic Intro:
    I am new in Action Script and trying to create a video tutorial framwork. In this I have lots of animated SWF files in all the files I have multiple scenes as those are 5min. to 10 min. each and all the files have the relevent background and nurration voice place directly on the TIMELINE frame by frame to match lip syncing animated chreactors.
    My file structure :
    Login.swf with login box is embedded into the Index.html
    After logged in it will load another SWF which is Control panel.swf
    3. Controlpanel.swf has the controls to control the loaded external swf files i.e.: Chapter menu, Play, pause, replay, volume-bar, next and previous buttons.
    By Default Controlpanel.swf will open chapter1.swf as soon as user logged in so no one need to open 1st file.
    Here user can navigate to other chapter swf file through Chapter menu or Next and Previous buttons.
    All files are loading and playing properly, here I am trying to control the animation and Sound both at a same time with Pause, Play and Replay through relevant buttons.
    Problem:
    By pressing “Pause button” animation stops but not the sound. Sound remains playing, and if I replay the swf by “Replay button” than animation restarts but sound also restarts that overlaps already playing audio.
    Question: So could anybody help me finding out how to:
    1. Pause the sound with animation by the same click of Pause button, and
    2. Stop the sound with animation by the same click of Stop button, and
    3. On replay it should stop playing the previously running audio and restart it with the animation like fresh loaded file, it should not sound overlapping.
    Constraints:
    Here I am using the sound file on the same time line of each individual swf file which I cannot add into any single movie clip because all the chapter swf file are having multiple scenes in it.
    For my problem I have already done a lot of browsing online in various forums and didn't find the solution. So here I am sharing the complete information regarding the project and wishing to get some good solution out here but if I missed any helpful information please ask me anytime and please help me to quickly find out the solution.
    Thanks a lot to all of you in advance to help me.

    create one global sound variable
    you can write when you are pressing pause button
    globalsoundvariable.setVolume(0)
    to play
    globalsoundvariable.setVolume(100)

  • How to make table control rows dynamic/unlimited using TC with Wizard

    Hi Friends ,
    I have designed a table control layout using table control with wizard.
    Now the problem is when we design a TC layout ,then we have to design it on the page . The page has upper & lower limits. so the maximum size & maximum rows in layout is limited. I have tried to create a TC layout with maximum size & maximum rows . Maximum rows created in Layout is 25.
    Now suppose if enduser wants 100 entries to enter by coping a file of 100 records in my TC present on entry screen , then ONLY 25 entries are displayed on entry scren before doing any user action or saving and after saving only these 25 entries are sved in DB. Means enrtries from 26 to 100 are not displayed on entry screen or saved in DB.
    So my requirement is to display all 100 entries at a time in entry screen before saving with scrolling up & down facility and these 100 entries should also get saved in DB after clicking save button. In short I want dynamic entry screen table control which can show/dieplay Any Number . of entries whatever the number may be entered by enduser .
    Plz note that I have used all 3 facilliteis i.e.
    1. Scrolling
    2. INSERT/DELETE
    3. SELECT/DESELECT
    while designing TC with wizard .
    Scrolling buttons like FIRST PAGE, PREV. PAGE, NEXT PAGE, LAST PAGE are displayed.
    BUT they are not functioning though there is system generated code present in both MPP and in PBO & PAI. After clicking any of them , data which is dislaying on entry screen ( Here it is 25 entries ) is getting cleared/disappeared from enry entry screen.
    Waiting for ur response & solutions.
    Thanks & Regards,
    Sudhir

    Hi Ashish ,
    Do one thing .
    At PAI of screen holding TC , there is module name tc_mark on request .
    in this module , there is work area declared g_tc_wa .
    Now go to tc_init module of pbo , where u have given your select command .
    select * from ........................................
    use this code .
    if g_tc_wa is initial .
       SELECT * FROm
       g_tc_wa = 'X'.
       REFRESH CONTROL 'TC' FROM SCREEN dynnr.
       ENDIF.
    Just do this , m sure all buttons, insert, delete , scroll bar.. everything will work .

  • Flex tree control expanditem dynamically..?

    Hi All.,
               I have using tree control using to display. when i pass the data with folder id dynamically  to expanding particular child node of tree.
        How to extarct tree with dynamic...?
    Below sample coding.....
    <mx:tree id="folderTree" />
    folderid=2618;
         callLater(expandTree, [folderid]);
         private function expandTree(folderid: Object) : void
                    folderTree.expandChildrenOf(folderTree.getChildAt(0), true);
                    folderTree.selectedItem = folderid;
    but not extracting tree.
    anyone help this problem
    With Regards.,
    Lings

    Thanks buddy for the answer.
    Unfortunately the answer came after quite long time of posting the message. Anyway I was able to open a tree on demand using HttpService and due to my new requirement I changed it to RemoteObject.
    I my latest change I am able to populate tree nodes on demand and also the same solution if getting update from server via JMS using Consumer object.
    I kind a like this solution because it took me good amount of effort to find the right solution.
    If any one is intersted the he/she can reply to the post and I can provide code here or may at some location so that it can be easily downloaded.
    The solution is Flex-Grails combination.
    Thanks everybody.

  • Controlling timeline sound

    Hey guys, i was wondering if you would be able to help, PLEASE!!
    I'm making a presentation in flash, it has 3 segments, 1st is sound in sync with timeline 2nd is a video which is streaming and third is sound insync with timeline again.
    I can control the video thats no probs, but i want to be able to control the sound/timeline.
    What i want to be able to do is put in some controls just pause play and stop and when i push pause it obviously pauses it, when i push play it continues to play and when i push stop it goes to frame 1 and clears what ever it was playing in the timeline previously.
    I know how to control the timeline but not the sound!
    any suggestions please?

    You will find sound quality options for individual sounds if you double click on the sound in the library.
    If you look in your Flash Publish Settings you will find sound quality options for all streaming/event internal sounds. These global settings can optionally override individual sound quality settings.

  • How to Control the Dynamic Pegging Behaviour in CDP

    Dear All,
    We are using Characteristic Dependent Planning (CDP) to plan configurable materials.
    The requirement is to control the behaviour of Dynamic Pegging of a dependent requirement to receipt. We are using MTS strategy.
    The BOM is P2 -
    > P1.
    Now P1 and P2 have characteristics called Length, WIdth, Grade,etc. The normal CDP based pegging considers all the characteristics and tries to match them. However we wish to peg only based on Grade and WIdth (the characteristic Length is not pegging relevant but only for information). We cannot make Length as APO non relevant.
    We have already modified the heuristic such that it doesnt consider length in netting off.
    Is there any way we can modify the pegging behaviour through some development?

    Hi,
    We had a compareable business requirement and it has been modelled using public method /SAPAPO/IF_EX_RRP_PLANNING~PEGID_GET_IO (Change the Receipts and Reqs After Reading from liveCache) from BAdI Interface /SAPAPO/IF_EX_RRP_PLANNING
    The heuristic calls up the method after it has read the requirements and receipts in SAP liveCache,and has determined the virtual safety stock requirements based on the settings in the planning version and in the location product master.
    We basically implemented the following steps:
    Get non-pegging relevant characteristics (using a spec table nammed i.e. zpp_npeg_chars)
    Get internal numbers of non-pegging relevant characteristics (collecting entries from cabn)
    Remove values of non-pegging relevant characteristics (deleting in table CT_CHARACT_REQ = Table with Characteristic Requirements)
    You can also influence CDP propagation by using method /SAPAPO/IF_EX_RRP_PLANNING~RECEIPTS_SAVE (Change the Planning Results) from same BAdI Interface.
    Hoping this help.
    BR,
    Pascal.

  • Control Timeline and FLV Together

    HI,
    Where can I find ready-made buttons that will control an FLV and a timeline together? I have a swf with an FLV and I animate images and phrases on a movieClip timeline timed to what they say in the flv. I set up cuepoints that trigger the animations, so when users scrub, pause, etc. the timeline eventually catches up with the FLV, but it would be a lot nicer if the pause, scrub, etc. would do the same to the timeline and there was no lag time. I can get rid of the scrub and just use play/pause ff, rr if that helps.
    Thanks,
    Brian

    you'll need to create those buttons yourself.

  • Create Table Control using Dynamic Internal Table.

    Hi,
       I have requirement in which I will create a Dynamic Internal Table and then I need to create a Table Control Using that Internal Table. Now this can't be done using Screen Editor as it requires a pre-defined internal table or a DDIC Object.
      Please Help.

    This should be correct answer(I am not author of code below):
    REPORT ztablemaintace NO STANDARD PAGE HEADING.
    TYPE-POOLS: rsds.
    DATA: is_x030l TYPE x030l,
    it_dfies TYPE TABLE OF dfies,
    is_dfies TYPE dfies,
    it_fdiff TYPE TABLE OF field_dif,
    is_fdiff TYPE field_dif.
    DATA: w_selid TYPE rsdynsel-selid,
    it_tables TYPE TABLE OF rsdstabs,
    is_tables TYPE rsdstabs,
    it_fields TYPE TABLE OF rsdsfields,
    it_expr TYPE rsds_texpr,
    it_ranges TYPE rsds_trange,
    it_where TYPE rsds_twhere,
    is_where TYPE rsds_where,
    w_active TYPE i.
    DATA: it_content TYPE REF TO data,
    it_modif TYPE REF TO data,
    it_fcat TYPE lvc_t_fcat.
    DATA: w_okcode TYPE sy-ucomm.
    FIELD-SYMBOLS: <itab> TYPE STANDARD TABLE,
    <ntab> TYPE STANDARD TABLE.
    * Macros
    DEFINE table_error.
      message e398(00) with 'Table' p_table &1.
    END-OF-DEFINITION.
    DEFINE fixed_val.
      is_fdiff-fieldname = is_dfies-fieldname.
      is_fdiff-fixed_val = &1.
      is_fdiff-no_input = 'X'.
      append is_fdiff to it_fdiff.
    END-OF-DEFINITION.
    * Selection screen
    SELECTION-SCREEN: BEGIN OF BLOCK b01 WITH FRAME.
    PARAMETERS: p_table TYPE tabname OBLIGATORY "table
    MEMORY ID dtb
    MATCHCODE OBJECT dd_dbtb_16.
    SELECTION-SCREEN: BEGIN OF LINE,
    PUSHBUTTON 33(20) selopt USER-COMMAND sel,
    COMMENT 55(15) selcnt,
    END OF LINE.
    SELECTION-SCREEN: SKIP.
    PARAMETERS: p_rows TYPE i. "rows
    SELECTION-SCREEN: END OF BLOCK b01,
    SKIP,
    BEGIN OF BLOCK b02 WITH FRAME.
    PARAMETERS: p_displ TYPE c AS CHECKBOX. "display
    SELECTION-SCREEN: END OF BLOCK b02.
    * Initialization
    INITIALIZATION.
      MOVE '@4G@ Filter records' TO selopt.
    * PBO
    AT SELECTION-SCREEN OUTPUT.
      IF w_active IS INITIAL.
        CLEAR: selcnt.
      ELSE.
        WRITE w_active TO selcnt LEFT-JUSTIFIED.
      ENDIF.
    * PAI
    AT SELECTION-SCREEN.
      IF p_table NE is_x030l-tabname.
        CALL FUNCTION 'DDIF_NAMETAB_GET'
          EXPORTING
            tabname   = p_table
          IMPORTING
            x030l_wa  = is_x030l
          TABLES
            dfies_tab = it_dfies
          EXCEPTIONS
            OTHERS    = 1.
        IF is_x030l IS INITIAL.
          table_error 'does not exist or is not active'.
        ELSEIF is_x030l-tabtype NE 'T'.
          table_error 'is not selectable'.
    *    ELSEIF is_x030l-align NE 0.
    *      table_error 'has alignment - cannot continue'.
        ENDIF.
    * Default values for system fields
        REFRESH: it_fdiff.
        is_fdiff-tabname = p_table.
        LOOP AT it_dfies INTO is_dfies.
          IF is_dfies-datatype = 'CLNT'.
            fixed_val sy-mandt.
          ELSEIF is_dfies-rollname = 'ERDAT'
          OR is_dfies-rollname = 'ERSDA'
          OR is_dfies-rollname = 'AEDAT'
          OR is_dfies-rollname = 'LAEDA'.
            fixed_val sy-datum.
          ELSEIF is_dfies-rollname = 'ERTIM'
          OR is_dfies-rollname = 'AETIM'.
            fixed_val sy-uzeit.
          ELSEIF is_dfies-rollname = 'ERNAM'
          OR is_dfies-rollname = 'AENAM'.
            fixed_val sy-uname.
          ENDIF.
          CALL FUNCTION '/SAPDMC/DATAELEMENT_GET_TEXTS'
            EXPORTING
              name        = is_dfies-rollname
            IMPORTING
              text_middle = is_dfies-reptext
            EXCEPTIONS
              not_found   = 1
              OTHERS      = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          MODIFY it_dfies FROM is_dfies.
      ENDLOOP.
    * Prepare free selection on table
      REFRESH it_tables.
      is_tables-prim_tab = p_table.
      APPEND is_tables TO it_tables.
      CLEAR: w_selid.
    ENDIF.
    IF sy-ucomm = 'SEL'.
      IF w_selid IS INITIAL.
    * Init free selection dialog
        CALL FUNCTION 'FREE_SELECTIONS_INIT'
          EXPORTING
            expressions  = it_expr
          IMPORTING
            selection_id = w_selid
            expressions  = it_expr
          TABLES
            tables_tab   = it_tables
          EXCEPTIONS
            OTHERS       = 1.
      ENDIF.
    * Display free selection dialog
      CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
        EXPORTING
          selection_id            = w_selid
          title                   = 'Selection'
          status                  = 1
          as_window               = 'X'
        IMPORTING
          expressions             = it_expr
          field_ranges            = it_ranges
          number_of_active_fields = w_active
        TABLES
          fields_tab              = it_fields
        EXCEPTIONS
          OTHERS                  = 1.
    ENDIF.
    * Start of processing
    START-OF-SELECTION.
      PERFORM f_create_table USING p_table.
      PERFORM f_select_table.
      PERFORM f_display_table.
    * FORM f_create_table *
    FORM f_create_table USING in_tabname.
      FIELD-SYMBOLS: <fcat> TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = in_tabname
        CHANGING
          ct_fieldcat      = it_fcat
        EXCEPTIONS
          OTHERS           = 1.
      IF sy-subrc = 0.
    *   Complete field catalog
        LOOP AT it_fcat ASSIGNING <fcat>.
          <fcat>-tabname = in_tabname.
        ENDLOOP.
        CALL FUNCTION 'LVC_FIELDCAT_COMPLETE'
          CHANGING
            ct_fieldcat = it_fcat
          EXCEPTIONS
            OTHERS      = 1.
      ELSE.
        WRITE: 'Error building field catalog'.
        STOP.
      ENDIF.
    * Create dynamic table for data
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fcat
        IMPORTING
          ep_table        = it_content.
      IF sy-subrc = 0.
        ASSIGN it_content->* TO <itab>.
      ELSE.
        WRITE: 'Error creating internal table'.
        STOP.
      ENDIF.
    * Create dynamic table for modif
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fcat
        IMPORTING
          ep_table        = it_modif.
      IF sy-subrc = 0.
        ASSIGN it_modif->* TO <ntab>.
      ELSE.
        WRITE: 'Error creating internal table'.
        STOP.
      ENDIF.
    ENDFORM.                    "f_create_table
    * FORM f_select_table *
    FORM f_select_table.
      IF w_active = 0.
        SELECT * FROM (p_table)
        INTO CORRESPONDING FIELDS OF TABLE <itab>
        UP TO p_rows ROWS.
      ELSE.
    * Selection with parameters
        CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_WHERE'
          EXPORTING
            field_ranges  = it_ranges
          IMPORTING
            where_clauses = it_where.
        READ TABLE it_where INTO is_where WITH KEY tablename = p_table.
        SELECT * FROM (p_table)
        INTO CORRESPONDING FIELDS OF TABLE <itab>
        UP TO p_rows ROWS
        WHERE (is_where-where_tab).
      ENDIF.
      IF sy-dbcnt = 0.
        WRITE: 'No record selected'.
        STOP.
      ENDIF.
    ENDFORM.                    "f_select_table
    * FORM f_display_table *
    FORM f_display_table.
      DATA: l_answer TYPE c,
      l_eflag TYPE c.
      CLEAR: w_okcode.
      REFRESH: <ntab>.
    * Display table contents
      CALL FUNCTION 'STC1_FULLSCREEN_TABLE_CONTROL'
        EXPORTING
          header       = p_table
          tabname      = p_table
          display_only = p_displ
          endless      = 'X'
          no_button    = space
        IMPORTING
          okcode       = w_okcode
        TABLES
    *      nametab      = it_dfies
          table        = <itab>
    *      fielddif     = it_fdiff
          modif_table  = <ntab>
        EXCEPTIONS
          OTHERS       = 1.
      IF sy-subrc = 0.
        IF p_displ IS INITIAL AND w_okcode = 'SAVE'.
    * Confirm update
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
              titlebar              = p_table
              text_question         = 'Do you want to update table ?'
              default_button        = '2'
              display_cancel_button = ' '
            IMPORTING
              answer                = l_answer
            EXCEPTIONS
              OTHERS                = 1.
          IF l_answer = '1'.
    * Apply modifications
            IF NOT <ntab>[] IS INITIAL.
              PERFORM f_add_system USING space.
              MODIFY (p_table) FROM TABLE <ntab>.
              IF sy-subrc NE 0.
                l_eflag = 'X'.
              ENDIF.
            ENDIF.
    * Apply deletions
            IF l_eflag IS INITIAL.
              REFRESH: <ntab>.
              CALL FUNCTION 'STC1_GET_DATA'
                TABLES
                  deleted_data = <ntab>
                EXCEPTIONS
                  OTHERS       = 1.
              IF NOT <ntab>[] IS INITIAL.
                DELETE (p_table) FROM TABLE <ntab>.
                IF sy-subrc NE 0.
                  ROLLBACK WORK.
                  l_eflag = 'X'.
                ENDIF.
              ENDIF.
            ENDIF.
    * Apply creations
            IF l_eflag IS INITIAL.
              REFRESH: <ntab>.
              CALL FUNCTION 'STC1_GET_DATA'
                TABLES
                  new_data = <ntab>
                EXCEPTIONS
                  OTHERS   = 1.
              IF NOT <ntab>[] IS INITIAL.
                PERFORM f_add_system USING 'X'.
                INSERT (p_table) FROM TABLE <ntab>.
                IF sy-subrc NE 0.
                  ROLLBACK WORK.
                  l_eflag = 'X'.
                ENDIF.
              ENDIF.
            ENDIF.
            IF l_eflag IS INITIAL.
              COMMIT WORK.
              MESSAGE s261(53).
            ELSE.
              MESSAGE s075(3i).
              PERFORM f_select_table.
            ENDIF.
          ENDIF.
    * Display table again
          PERFORM f_display_table.
        ENDIF.
      ENDIF.
    ENDFORM.                    "f_display_table
    * FORM f_add_system *
    FORM f_add_system USING new TYPE c.
      FIELD-SYMBOLS: <irec> TYPE ANY,
      <upd> TYPE ANY.
      LOOP AT it_fdiff INTO is_fdiff.
        READ TABLE it_dfies INTO is_dfies
        WITH KEY fieldname = is_fdiff-fieldname.
        LOOP AT <ntab> ASSIGNING <irec>.
          ASSIGN COMPONENT is_fdiff-fieldname OF STRUCTURE <irec> TO <upd>.
          IF is_dfies-datatype = 'CLNT'.
            <upd> = sy-mandt.
          ELSE.
            CASE is_dfies-rollname.
              WHEN 'AENAM'.
                <upd> = sy-uname.
              WHEN 'AEDAT' OR 'LAEDA'.
                <upd> = sy-datum.
              WHEN 'AETIM'.
                <upd> = sy-uzeit.
              WHEN OTHERS.
            ENDCASE.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    ENDFORM.                    "f_add_system

  • Is it possible to creat Table Controls(Dynpro) dynamically

    HI All
    I am not sure if we can create screen elements dynamically especially Table Controls. I need to create a Table control in a custom screen but the fields/columns in the table control are known at run time. Is it possible?? Appreciate any light on this subject.
    Thanks
    Van

    hi
    ccheck for the link
    Check following link for the same.
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D52%26threadID%3D45079%26messageID%3D459011%23459011
    also take a look at the FM
    take a look at FM:
    FREE_SELECTIONS_INIT
    FREE_SELECTIONS_DIALOG
    hope will be helpfull to you.
    regards
    vijay
    <u><b>plz reward pts if helpful</b></u>

  • How can I handle Timeline dynamically....

    I want to handle the timeline attribute dynamically....

    Is it what you want to do?
    var myNode: Node = Group {
            content: [
                Rectangle {
                    width: 100
                    height: 100
        function doCustomAnim(flag: Boolean) {
            var target = if( flag )0. else 1.;
            var tm = Timeline {
                repeatCount: Timeline.INDEFINITE
                keyFrames: [
                    KeyFrame {
                        time: 1s
                        canSkip: true
                        values: [
                            myNode.opacity => target tween Interpolator.LINEAR
            tm.playFromStart();
        }

  • How to use struts in a jsp where controls are dynamically decided

    Hi,
    In My JSP...
    I don't know how many text field,listbox,radio button i need to display...
    Depending on the user naviagation it is dynamically decided ... how many all the above mentioned control (text field,listbox,radio ) need to display.
    Here the problem is all the name of the control (text field,listbox,radio ) are dymaically decided..so in this case how do i wirte setter and getter in the Action Form.
    Thanks
    balaji

    indexed or mapped fields... For example, in the form, you have this:
         private HashMap map = new HashMap();
         public Object getField(String key) {
              return (map.get(key));
         public void setField(String key, Object value) {
              map.put(key, value);
         }Then in the JSP:
    <html:text property="field(fieldName)" /> Where the "field(.." part is the property name (get/setField) and the "..(fieldName)" part is a unique key for the map. This can be simply done as field(text1), field(text2), etc.
    There are also index fields, where you use an Object array (I think) and field[index] as the name (field[0], field[1], etc.). You can use <%= %> scriptlets to write the property value for the tag, of course.

  • Controlling Timeline With Touch

    Hi! I use edge animate in adobe dps. I searched to control the timeline with touch (or scroll) in the forum. Even some solutions were discussed, i didnt find the perfect one. It could open so many possibilities like slideshows, parallax, diagonal textscroll etc.
    I would like to build a wide animation and control the timeline by scrup/swipe with my finger.
    I found something which works, but it seems the directions doesnt work in adobe edge animate anymore. Does anyone know how to resolve this problem? Demofiles would be awesome.
    Here is the solution i found, which doesnt work in the latest edge.
    http://codehandyman.blogspot.de/2011/12/adobe-edge-animation-controlled-by.html
    And here is the result. Works on ipads in indesign dps:
    http://www.northeastmagic.com/adobeEdge/scrollbar_scrubber/test7.html
    thanks,
    Klaus

    Hi Jerry, in my opinion the best for magazines right now is to swipe left and right to the article and down to see the full article. For that I want to decide if it's snapping to single pages vertically, or smooth scroll etc. Im my case I wanted to have a smooth scroll parallax version which I can build in adobe edge (it's possible to do with stellar.js - most of the other parallax html script doesnt work on ios). But it's s so easy to do in adobe edge animate! I also want to build full pages in adobe edge, since there are more ways to animate things (even it's a little button). But then I have the same problem. I dont get off the page if it's made in adobe edge and shown full screen in adobe dps. I got some other html scripts which are full screen, but are able to swipe to the next page.
    For example I searched weeks for a good slider. But most of them have the same problem. An example: I have an article vertically with a few pages in adobe dps. On the 3rd i want a full screen slider. I can swipe left/right, but cant go down or up anymore. But finally i found a solution which is so perfect for adobe dps.
    http://www.idangero.us/sliders/swiper/
    So many options and the abillity to get off the fullscreen page! but you need to know a bit html/css. I am not a coder at all, but enough to change some sizes etc.
    Have a look on swiper. It's awesome!
    Here is one feature they mentioned that's the problem with my above adobe edge animation:
    Scroll prevention
    Swiper will prevent vertical scroll when you touch it in "horizontal" mode, and horizontal scroll in "vertical" mode"
    That's why I think it has to be possilbe to make the adobe edge full screen animation with scroll acts the same. If its vertical, i want to swipe left/right to get off the page.
    Hope this wasn't to complicated.

  • Controlling Timeline sound in AS3

    Hello everyone,
    I have a timeline with a sound in it set to sync because I am
    scrubbing the main timeline....
    I now want to control the volume of the sound in the
    timeline..is that possible in AS3??
    sometime like : var my_globalSound:Sound = new Sound(stage);
    that of course doesn't work, but how would I get access to
    the sound set in the timeline...
    thanks!

    Thanks to all of you I was struggling with the same thing.
    The given code work perfectly for me.
    SoundMixer.soundTransform = new SoundTransform(0, 0); //volume, pan
    My issue: I am loading and external swf file(as3.0) wich have audio on timline and I want volume controller for that audio.

Maybe you are looking for

  • Itunes update will not install help - read details - help

    it will start updating like normal but when it starts to install the following messege comes up - "the feature that you are trying to use is on a network resource that is not available click OK to try again, or enter an alternative path to a folder c

  • Format data in the flat file while downloading from internal table

    Just I used 'GUI_DOWNLOAD' with WRITE_FIELD_SEPARATOR = 'X'. In my case one of the field contains large quantity. Bcoz of this value , it pushes the remaining filed position values in that particular row. The fields in the internal table refers the s

  • Error Message: the file itunes library cannot be read because it was...

    ...created by a newer version of itunes!! I get this message after trying to install an older version of itunes because i cant get 7.5 to work http://discussions.apple.com/thread.jspa?threadID=1253279&tstart=0! Anyone know what i could do?? Cheers Me

  • Doubts - PCP/PCPS - Personnel Cost Planning and Simulation

    Hi gurus, How are you? I hope you are very well. Currently I'm working in PCP and Simulation implementation project. Actually, in our case, the client is using the old component PCP and would like to implementing the new one. Basically, we have the f

  • Displaying JFileChooser without icons on the left !!

    Hi, I am creating a JFileChooser as:         String path="D:\\Zip";         JFileChooser chooser=new JFileChooser();         chooser.setMultiSelectionEnabled(true);         chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);         cho