Controlling movie

Goodmorning,
I've got a question about controlling movies,
assume i have a movie with a lenght of 20 seconds, after 7
seconds, but
before 10 seconds
i want the user to click the screen. How can i synchronize
that ? I thought
about timer,
have looked at the frames, but have got no clue how te set it
up.
Can somebody give me a hint ?
greetings Marc

Erik, works great!!!
little note, sounds are measured in milliseconds,
movie in frames, but it works!
Thanks again !
"Erik **AdobeCommunityExpert**"
<[email protected]> schreef in
bericht news:ecccvh$bkh$[email protected]..
> Test MediaPosition?
> A hotspot's ActiveIf set to:
> (MediaPosition@"movie icon">7000) &
(MediaPosition@"movie icon"<10000)
> Erik
>
> Marc van Hartskamp wrote:
>> Goodmorning,
>>
>> I've got a question about controlling movies,
>>
>> assume i have a movie with a lenght of 20 seconds,
after 7 seconds, but
>> before 10 seconds
>> i want the user to click the screen. How can i
synchronize that ? I
>> thought about timer,
>> have looked at the frames, but have got no clue how
te set it up.
>>
>> Can somebody give me a hint ?
>>
>> greetings Marc
>
> --
> Erik Lord
>
http://www.capemedia.net
> Adobe Community Expert - Authorware
>
http://www.adobe.com/communities/experts/
>
>
http://www.awaretips.net -
samples, tips, products, faqs, and links!
> *Search the A'ware newsgroup archives*
>
http://groups.google.com/group/macromedia.authorware

Similar Messages

  • AS 2.0 Control Movie Via Dragable Clip

    I was trying to see if I could get a scrubber-like button to
    control movie playback.
    For instance I want to place button that you can drag along a
    bar to move the movie along frame by frame. I think I have seen
    this done somewhere but I was wondering if anyone had some info on
    doing this. I know how to use the startDrag and stopDrag actions
    and how to make sure the buton only drags left to right and back
    but I have searched the forums, google and the help file and what I
    am finding is not really what I need.
    Any help appreciated I will keep looking and trying stuff in
    the meantime.

    I was trying to see if I could get a scrubber-like button to
    control movie playback.
    For instance I want to place button that you can drag along a
    bar to move the movie along frame by frame. I think I have seen
    this done somewhere but I was wondering if anyone had some info on
    doing this. I know how to use the startDrag and stopDrag actions
    and how to make sure the buton only drags left to right and back
    but I have searched the forums, google and the help file and what I
    am finding is not really what I need.
    Any help appreciated I will keep looking and trying stuff in
    the meantime.

  • How to control movie clips using mause scroller...?

    ....please look
    http://www.nagaoka-id.ac.jp/gallery/gallery.html
    ...how to control movie clips using mause scroller...?

    Hi Ldavinci, I have noticed your posts on that particular
    site before. Just chiming in here... don't be afraid of Flash Help
    menu. There's a wealth of information there and I've found it much
    faster than waiting for a response from the forum. Then if it still
    doesn't make sense, at least you have a basic idea of specifics to
    ask.
    If you search for mouse wheel, you'll see an example under
    the Actionscript 2.0 Language Reference on this topic. That said,
    here's the example:

  • Where does  the control moves at first at END-OF PAGE  or  END-OF-SELECTION

    Is END-OF PAGE triggered  like TOP-OF-PAGE from the AT-SELECTON-SCREEN  automatically with a write statement & where does  the control moves at first
    at END-OF PAGE  or  END-OF-SELECTION?

    Hi,
    1. End-of-selection:
    This event is triggered after the start-of-selection. to display the contents on the report.
    2.Top-of-page: Every time a new page is triggered. Mainly this is used for header of the report.
    3. End-of-page : every time the list data reaches the footer region of the page.
    This way first data is disaplyed then it reaches the footer..
    first End-of-selection then End-of-page
    These example may help u in detail...
    Leaving Event Blocks Using STOP
    If you use the STOP statement within an event block, the system stops processing the block immediately. The ABAP runtime environment triggers the next event according to the following diagram:
    Before and during selection screen processing, the next event in the prescribed sequence is always called. From the AT SELECTION-SCREEN event onwards, the system always jumps from a STOP statement directly to the END-OF-SELECTION statement. Once the corresponding event block has been processed, the system displays the list.
    The following program is connected to the logical database F1S.
    REPORT EVENT_TEST.
    NODES: SPFLI, SFLIGHT, SBOOK.
    START-OF-SELECTION.
    WRITE 'Test program for STOP'.
    GET SBOOK.
    WRITE: 'Bookid', SBOOK-BOOKID.
    STOP.
    END-OF-SELECTION.
    WRITE: / 'End of Selection'.
    This produces the following output:
    Test Program for STOP
    Bookid 00010001
    End of Selection
    As soon as the first line of SBOOK has been read, the system calls the END-OF-SELECTION event block.
    Exiting Event Blocks Using EXIT
    If you use the EXIT statement within an event block but not in a loop, the system stops processing the block immediately. The ABAP runtime environment triggers the next event according to the following diagram:
    Before and during selection screen processing, the next event in the prescribed sequence is always called. From the START-OF-SELECTION event onwards, the system starts the list processor directly when the EXITstatement occurs, and displays the list.
    If the EXIT statement occurs inside a DO, WHILE, or LOOP loop, it is the loop that terminates, not the processing block.
    The following executable program is connected to the logical database F1S.
    REPORT demo_program_exit_1.
    NODES: spfli, sflight, sbook.
    START-OF-SELECTION.
    WRITE 'Test Program for EXIT'.
    GET sbook.
    WRITE: 'Bookid', sbook-bookid.
    EXIT.
    END-OF-SELECTION.
    WRITE: / 'End of selection'.
    This produces the following output:
    Test Program for EXIT
    Bookid 00010001
    After the first line of SBOOK has been read, the list is displayed immediately.
    The following executable program is connected to the logical database F1S.
    REPORT demo_program_exit_2.
    NODES: spfli, sflight, sbook.
    DATA flag(1) TYPE c.
    AT SELECTION-SCREEN.
    IF carrid-low IS INITIAL.
    flag = 'X'.
    EXIT.
    ENDIF.
    START-OF-SELECTION.
    IF flag = 'X'.
    WRITE / 'No input for CARRID'.
    EXIT.
    ENDIF.
    GET spfli.
    GET sflight.
    GET sbook.
    END-OF-SELECTION.
    WRITE / 'End of Selection'.
    If the user does not enter a value for CARRID-LOW, the output appears as follows:
    No selection made for CARRID
    After the first EXIT statement, the next START-OF-SELECTION event is triggered. After the second EXITstatement, the output list is displayed.
    Regards.

  • Can you control movement of regions without the mouse

    can you control movement of regions without the mouse? I have trouble nudging the regions with the mouse and was hoping there was a keyboard solution.

    Mezoaria wrote:
    I have trouble nudging the regions with the mouse and was hoping there was a keyboard solution.
    there is not.
    perhaps it would help to turn off the Snap To Grid menuItem?

  • Controlling Movie Slides

    I have a series of medical images (CT slices) that I show as Quicktime movies. It's easy to drag a movie onto a blank Keynote slide as part of a presentation, but the effect is suboptimal if I cannot a) control the "playback" of the movie (have controls on the screen that allow me to stop, reverse, pause, etc.), or at least b) control the speed of the movie. Yet I don't see any way to do either of these things. I can do it when I'm preparing the Keynote address, but not when I'm playing the Keynote address. Is this simply not possible?

    From the Keynote Help:
    When a movie plays during a presentation, movie controls appear when you move the pointer over the movie if "Show playback controls when pointer is over a movie" is selected in the Slideshow pane of Keynote preferences. The controls available depend on the size (dimensions) of the movie; the smaller the movie, the fewer controls visible.
    You can also use the keyboard to control movie playback:
    To pause or resume playback, press K. (also fast forwards if already playing)
    To rewind when playback is paused, press J.(also fast rewinds if already playing)
    To go forward when playback is paused, press L.
    To jump to the beginning of the movie, press I.
    To jump to the end of the movie, press O.

  • Simple Button to Control Movie Clip

    Hello,
    I was relatively comfortable with AS 2.0, but am having a
    hard time warming up to 3.0. I feel that this should be something
    simple to find help online with, yet I'm finding it difficult to
    get a simple answer.
    I have a button that is inside a movie clip within another
    movie clip:
    mainMenu_mc > whoBtn_mc > whoButton
    This button appears to work fine controlling a movie clip on
    the same timeline. This is the code so far (on an Actions frame in
    WhoBtn_mc):
    whoButton.addEventListener(
    MouseEvent.CLICK,
    function(evt:MouseEvent):void {
    whoGlow.gotoAndStop("click");
    I have another movie clip on the main timeline that I would
    like to control with this button:
    blackFadeBottom_mc
    What would the code look like for this?
    Any help is appreciated - Thank you.

    Thanks, I was able to place the code on the main timeline and
    get a trace when I clicked on the movie clip instance itself. I
    probably didn't explain what I was trying to do very well, so I
    apologize.
    What I need to do is to control this movie clip that is
    physically placed on the main timeline (fadeBlackBottom) with the
    button that is buried under two other movie clips
    (mainMenu_mc>whoBtn_mc>whoBtn).
    I would like the whoBtn to tell the fadeBlackBottom movie
    clip to (what used to be)
    _root.fadeBlackBottom.gotoAndPlay("play"); This will drop down a
    box that will contain the content of my 'Who' link.
    How can I accomplish this?
    Thanks again,
    Chuck

  • Items in Tree control move around when data is submitted using custom ItemRenderer

    I'm working on a Tree control with an XMLListCollection as
    its dataProvider.
    The dataProvider has information looking like this :
    quote:
    <?xml version='1.0' encoding='utf-8'?>
    <INFO>
    <FIELD label="STR_USER_NAME"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_USER_EMAIL"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_OPTIONAL"
    type="branch"
    value="0"
    >
    <FIELD label="STR_USER_ADDRESS"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_USER_POSTAL_CODE"
    type="text"
    value=""
    >
    </FIELD>
    </FIELD>
    </INFO>
    So in the Tree control I'd like the information to show up
    with a label and
    an
    editable textbox for each item :
    [Label] [textbox]
    To do this I made a tree like this :
    quote:
    <mx:Tree id="userTree"
    editable="true"
    rendererIsEditor="true"
    editorDataField="curVal"
    itemRenderer="{new ClassFactory(ItemRendererUser)}"
    itemEditEnd="e_ProcessData(event);"
    dataDescriptor="{new DataDescriptorUsers()}"
    showRoot="false"
    verticalScrollPolicy="{ScrollPolicy.AUTO}"
    />
    where the e_ProcessData() function looks like this (I used
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=c
    elleditor_073_16.html#202105 as a guide) :
    quote:
    public function e_ProcessData(event:ListEvent):void
    event.preventDefault();
    userTree.editedItemRenderer.data.@value =
    ItemRendererUsers(event.currentTarget.itemEditorInstance).curVal;
    userTree.destroyItemEditor();
    userTree.dataProvider.notifyItemUpdate(userTree.editedItemRenderer);
    } // END OF e_ProcessData()
    I attached the rest of the files because they're a little
    bit longer.
    When I run the program, the data shows up fine when it is
    initialized the
    very
    first time, and I made a test button that just dumps the
    contents of the
    dataProvider in a trace statement to verify that the data has
    been set
    properly.
    The problem I've run into is whenever the textfield is
    edited, the item
    that
    I've selected jumps around the list.
    For example, if I edit the item "STR_USER_NAME" after I
    finish the edit, it
    will move from the very first position in the Tree to the
    bottom of the
    Tree.
    I traced the contents of the dataProvider and the
    dataProvider structure
    stays
    the same, with the "STR_USER_NAME" at the top, but if I look
    at the flex app
    in
    the web browser, its position is at the bottom of the Tree.
    This happens for every other item I try to edit... I read in
    the
    documentation
    that the ItemRenderers are recycled, so it means I should be
    checking to
    make
    sure the initial states are covered, but I'm not sure how
    this affects my
    application.
    Can anyone help me out with this ? Its very confusing - I've
    tried making
    an
    ItemRenderer using pure actionscript, mxml and the
    combination you see in
    this
    example and I always end up with the same behaviour - So I
    must be missing
    something critical...
    // ItemRendererUsers.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    verticalScrollPolicy="{ScrollPolicy.OFF}"
    horizontalScrollPolicy="{ScrollPolicy.OFF}"
    creationComplete="initItemRendererUsers();"
    >
    From my FAQ:
    Q: I've created a custom itemRenderer component to use in a
    List
    based component (Datagrid, TileList, HorizontalList, etc.).
    When my List
    first displays, everything looks fine, but when I scroll it
    or change the
    dataProvider, some of the itemRenderers show values or
    formatting that
    aren't right. How do I fix this?
    A: List-based components don't draw a renderer for every item
    in the
    dataProvider. Instead, they create enough to display what is
    on screen now,
    plus one or two more waiting in the wings. This means they
    recycle the
    renderers rather than creating new ones when you change
    dataProvider or
    scroll up and down. When you use a creationComplete event to
    set up the
    itemRenderer, that event doesn't happen again when the
    renderer is used for
    a different set of data. The solution to this is to override
    the set data
    protected function that most components have.
    For more information, check out the following resources:
    http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    Please note, I post this FAQ weekly, and you can find a
    permanent copy of it
    here
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

    "peterh8234" <[email protected]> wrote in
    message
    news:gaqttd$kft$[email protected]..
    > Yes - the set and get functions are listed down below.
    But the quirky
    > behaviour
    > is the same regardless of whether I override the set and
    get functions or
    > not.
    >
    > I noticed there was another variable called listData -
    should I be using
    > that
    > one or the data variable to read and write to the
    dataProvider ?
    >
    > // _data
    > [Bindable] public var _data:Object;
    > [Bindable("dataChange")]
    > //
    > override public function get data():Object
    > {
    > trace('[ItemRendererDefault.GET data()] called for {' +
    > _data.attribute("label") + '}.');
    > return _data;
    > } // END OF get data()
    >
    > //
    > override public function set data(value:Object):void
    > {
    > _data.@value = inputText.text;
    > trace('[ItemRendererDefault.SET data()] called for {' +
    > _data.attribute("label") + '}.');
    >
    > invalidateProperties();
    > } // END OF set data()
    Your set data needs to set a flag that gets picked up in
    commitProperties()
    and does your thing that you were doing before in
    creationComplete. You
    should see examples of this in the links I posted. Instead of
    this:
    _data.@value = inputText.text;
    you should look at implementing IDropInListItemRenderer,
    which will allow
    you to dynamically determine which field to look at, instead
    of hardcoding
    it. You also might wind up overwriting the stored value with
    a null value
    when the List passes the stored value in. I'd encourage you
    to really go
    through those links I posted and make sure you understand
    what they're
    saying. The itemRenderer life cycle is one of the hardest
    things to
    understand, but once you understand it, it makes many things
    in Flex much
    easier. It's worth investing the time.

  • During MI07 Post Differnce, can we control Movement Type authorisation?

    Dear all
    During the MI07 to post difference during physical inventory, users are asked to choose  the  Movement Type with Reason Code:
    (a) If it is a gain, use the reason code for movement type u2018701u2019.
    (b) If it is a loss, use the reason code for the movement type u2018702u2019.
    However, in the MVT reason code list, there are many many MVT Reason Codes available for users to choose.
    I have checked in PFCF for Tcode: Mi07, there is no authorisation to control MVT.
    How do we do that?
    Please advise as I do not want user to choose from the wrong MVT.
    Thanks for everyone in SDN!!
    Edited by: Daimos on Jul 22, 2009 3:42 AM

    Hello,
    Are you saying that you were able to restrict the pop up for reason codes to show only 701, 702 even thought you had other reason codes maintained for 101 etc ?
    If yes, can you please tell me how you achieved that. Im in a similar situation.
    Thanks

  • Controling movie to stop 10 sec -and then run again

    Hey
    I'm making a flv incl. a movie. I would like the movie to
    stop now and then (to put some animations on top of it) and then
    run after lets say 10 sec - this has to be timer controled. How do
    i script this in actionscript 2.0? and will I be able to use it
    again in the same flv?
    Thank you very much !
    br/jean

    Hello!
    Your best bet might be to try an interval that will unpause
    your movie after ten seconds or so. Just have it set the duration
    of the inteval as a parameter if you have difrent length of your
    pauses. If you need to determine when to pause the move you can use
    a listener to the time property of your NetStream object. Anyway,
    here is a simple way to pause:

  • Detecting Rotation Amount to Control Movie Clips

    I created a movie clip consisting of a bar and a knob.  When you click and drag the knob, the bar rotates through 360 degrees.  I want to be able to detect the degree of rotation and use that metric to control other movie clips.  The code to make the drag/rotate object work is...
    handle.knob.onPress = function(){
    handle.onMouseMove = function(){
      var angle = Math.atan2(this._parent._ymouse-this._y,this._parent._xmouse-this._x);
      this._rotation = angle*180/Math.PI;
      this.knob._rotation = -this._rotation;
      trace(angle);
      trace(angle*180/Math.PI);
    handle.onMouseUp = function(){
    if (this.onMouseMove) delete this.onMouseMove;
    I can trace the angle in radians and degrees but I don't know how to extract either value as a variable that can be used in a function to control a separate movie clip.

    assign a variable to have the value of the _rotation or angle in your onMouseMove function.   and use that variable's value wherever you like.

  • Controlling movement type 311

    We are on R/3 4.7 and are looking for a way to control a useru2019s ability to transfer materials using movement type 311.  Is it possible to restrict access to transferring materials using movement type 311 with either material groups or material types?  We have tried a number of possibilities using configuration and roles but have not had any success.
    Thanks,
    JRW

    Hello John,
    Please maintain following customization settings to avoid goods issue for movement type 311
    SPRO>>Materials management>>Inventory Management and Physical Inventory>>Movement Types>>Copy, Change Movement Types Execute
    Now select Movement type.
    Enter movement type 311
    In left hand side tree structure Go to allowed transcation folder and double click
    Delete all the transaction code by which you want to avoid goods issue
    Hope this helps
    Br,
    Tushar

  • Help with assignment- buttons that control movie clips

    I am pretty new to flash and my professor gave us an assignment with little help or tutorials.
    He wants us to create a SWF that features a house and it's front yard and two buttons.
    One button that says Sunrise, and one that says Sunset.
    When I push the sunrise button, the sun needs to rise above the house and stay there.  When I push the Sunset button, it needs to set- and then a ufo needs to land on the lawn.
    So i think I have a pretty good grasp on the assignment, but the actionscript is throwing me off.  How can I make buttons that will control the sun movie clip to rise- stay above the house, and then set?  The ufo is a whole new matter.   The sunset button should make the sun lower and then a ufo land on the lawn.
    Please help explain/link me to the proper tutorials.   One thing that i'm worried about is that the sun will rise- and then stay above the house even if i click the sunset button.
    Your help is greatly appreciated.

    Well i can think of a few ways to do this.
    Depending on what you have been taught so far you should be able to do this if you know how to make a button, a movie clip, and the basic script for the timeline. ie. play,stop, gotoandplay etc.
    I understand you have been set a task and you want the answer straight away. But i doubt he would have given you anything you couldn't handle. Also I learnt more from trial and error and searching the net than from most of my teachers at coll and uni, It's frustrating i know, but the buzz you get when you finally crack it is amazing. Stick in there!
    That being said i remember the panic I suffered and like to help so here's a thought:
    You could just have the 2 buttons play a basic movie clip. The sky could rotate one way to make the sun rise and add a "stop" in the actions to make it stay there, and to the left to sunset with both images together but not being shown all the time by using a mask. You could even add in the ufo to the clip but this would only work if you added an extra part to the movie so that when the ufo has landed it flys out again and then begins to rotate the sun and moon again. ( buttons would be dissabled during the play modes to avoid chaos) This is just a quick thought. I'm sure there are several ways of doing this depending on how fancy it needs to be.
    If your teacher really has given you no notes on buttons,movieclips and actionscript i would sujest Adobe TV. Nice videos that explain step by step. OR try downloading a tutorial file with buttons and movie clips and look at the coding they use in the file. Thats how i have learnt most of it since finishing Uni.
    Good Luck
    Cobie

  • Controlling Movie Clip with actionscript Question

    Dear All,
    I have a movie clip named A which inside this movie clip
    there is another Movie clip named B and inside B there is a listbox
    component.
    Inside Movie clip A there are 20 frames which at frame 10
    there is a stop() script.
    My question is how to control Movieclip A to run
    gotoAndPlay(11) from MovieClip B when there is a click action to
    the listbox?
    Please Advise,
    Ozhee

    if A is on the _root timeline from anywhere in your _level0
    swf you can use:

  • Controlling Movie Clip with as3

    I try to controll my mc. I want put one MovieClip to other.
    i use next code:
    box_mc.addChild(pic_mc);
    but its not working.
    box_mc this is the a box movie clip, in this mc i want put my pic_mc.

    In addition to what dmennenoh said,
    DisplayObject's x and y properties are preserved no matter parent. In your case, it seems, original position of pic_mc is not 0/0. So when you place it inside the box - x and y are the same but now they are RELATIVE TO BOX. So, on screen it looks like it is outside the box but it is inside except that box's x and y are added.
    For instnace, if the original coordinates are pic_mc.x = 200, pic_mc.y = 100 and box_mc.x = 50, box_mc.y = 20, when you add pic_mc as a child, it will have the came x and y but relative to box_mc (not its original container) and on the screen it will look like it is on x = 250 (box_mc.x + pic_mc.x) and y = 120 (pic_mc.y + box_mc.y).
    box_mc's dimensions also change IF pic_mc x and y plus its width and height are outside of original box_mc boundaries. After you add child box_mc.width will be pic_mc.x + pic_mc.width and box_mc.height will be pic_mc.y + pic_mc.height.
    I suspect that because there is a border in the box, you expected objects to placed within the border. Border in the box IS NOT the box but ANOTHER object (child) inside the box. In other words, box is a container. After pic_mc is added - it will contain both border and pic_mc - not border containing pic_mc. You see the difference?

Maybe you are looking for