Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default video controls

    Hi,

    I am trying to make some movie controls for an AVI file. I would like to
    make a pause button. I am currently using:

    on mouseDown me

    sprite(1).movieRate = 0

    end

    While this works I need to click on a seperate 'play' button to un pause the
    video:

    on mouseDown me

    sprite(1).movieRate = 1

    end

    Is there a way to make the pause button pause on the first click and unpause
    the video if clicked again?

    Also, I am having trouble with my rewind button. Unlike the fast forward
    button that zooms through the video at a higher speed, the rewind is VERY
    slow and seems to be only showign the keyframes. Am i doing something wrong?



    Mintyman Guest

  2. Similar Questions and Discussions

    1. Control.Controls bug? Control's child controls missing at the run time.
      Hello, ..NET 1.1/VB.NET: I have a custom web control Public Class DatePicker Inherits Control Implements INamingContainer
    2. Why the properties of web user controls which inherted from my custom base UI controls MISSED?
      Why the properties of web user controls which inherted from my custom base UI controls MISSED? How should I to set enable?
    3. user controls: dynamiclly added child controls dont survive post back ?
      hi, i have some strange behaviour: i've created a web user control that add's some child controls (e.g: textbox, image buttons) to its control...
    4. mpeg video controls? QT installer?
      I've just completed my first Interactive CD project. It works great...except apparently mpeg video gets converted to quicktime or something and will...
    5. Button controls for Digital Video
      Does anybody know some Lingo that will control a button when pressed to jump ahead to another point in a digital video while it is playing? I would...
  3. #2

    Default Re: video controls

    Use mouseUp instead of mouseDown. This gives your user the opportunity
    to change their mind about using the button.

    on mouseUp me
    if sprite(X).movieRate = 1then
    sprite(X).movieRate = 0
    else
    sprite(X).movieRate = 1
    end if
    end

    that will toggle between play and pause every time the control is used.

    Playing dv files backwards is an iffy situation. Playing the file
    forward involves the video player compositing the images between the
    keyframes. During normal play this will work just fine.

    To play the file in reverse, the dv player needs to reach back to the
    previous keyframe and composite the images in reverse order. Depending
    on the codec used to compress the file, this may or may not actually be
    possible. The compressor is encoding the information so that it will
    play forward.

    Some codecs don't show anything when played in reverse. Some only show
    the keyframes, some play well.

    --
    Rob
    _______
    Rob Dillon
    Team Macromedia
    [url]http://www.ddg-designs.com[/url]
    412-243-9119

    [url]http://www.macromedia.com/software/trial/[/url]
    Rob Dillon Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139