Accessibility Behavior and Lingo "Play Movie"

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

  1. #1

    Default Accessibility Behavior and Lingo "Play Movie"

    Does anyone have an suggestions for this...

    I have many "Accessibility Item" enabled buttons in a Director Projector, all with have a corresponding "Command to Execute".

    The command(s) to excute, involve the playing of a new movie, with the LINGO "Play" command. Unfortuantely, I seem to run into problems with this.

    If the Accessibility Item executes a LINGO "play" command directly, my projector completely locks up, [this sometimes happens in Director as well].

    However if I build a Handler, in which the Accessibility Item can execute instead, to launch a movie, I get a "script error."

    To complicate the matter further, if I click the corresponding button with a mouse [which executes the command associated with the "Accessibility Item"] I generate no script error at all.

    This project HAS to be Accessibility Enabled, so I cannot dump that. Also I cannot put everything into one movie, to avoid having to use the "play" command.

    Any Suggestions.

    Stan


    ForeverTangent webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Lingo: "open" with "more than one app"
      HI I have specified an "open" file.html with "Internet Explorer". The problem is that when IE is not installed the action doesn't work. Can I...
    2. Can actionscript change a "Button's" "Behavior"?
      While a movie is playing in "level 0" a button is pressed to launch another movie in "level 1". Is there a way to change the button that was pressed...
    3. Accessibility Behaviors and LINGO "Play" command
      Has anyone else noticed that Director's Accessibility Behaviors and using a LINGO "PLAY" command in a script active by the Accessibility Item...
    4. Flash Movie play in 43" screen or bigger.. how?
      Hello, I am new to Flash design. Now, I have a client who want to have a flash design to play in a big screen like 43" tv screen and even bigger...
    5. Using Lingo to "focus" an editable text sprite
      Hi all. I'm using a few editable text sprites, and would like to make a behavior that detects when someone hits the return key, then make the next...
  3. #2

    Default Re: Accessibility Behavior and Lingo "Play Movie"


    how about using a go to movie command instead of play?

    ade

    In article <bk5den$lja$1@forums.macromedia.com>, <
    [email]webforumsuser@macromedia.com[/email]> wrote:
    > Does anyone have an suggestions for this...
    >
    > I have many "Accessibility Item" enabled buttons in a Director Projector, all
    > with have a corresponding "Command to Execute".
    >
    > The command(s) to excute, involve the playing of a new movie, with the LINGO
    > "Play" command. Unfortuantely, I seem to run into problems with this.
    >
    > If the Accessibility Item executes a LINGO "play" command directly, my
    > projector completely locks up, [this sometimes happens in Director as well].
    >
    > However if I build a Handler, in which the Accessibility Item can execute
    > instead, to launch a movie, I get a "script error."
    >
    > To complicate the matter further, if I click the corresponding button with a
    > mouse [which executes the command associated with the "Accessibility Item"] I
    > generate no script error at all.
    >
    > This project HAS to be Accessibility Enabled, so I cannot dump that. Also I
    > cannot put everything into one movie, to avoid having to use the "play"
    > command.
    >
    > Any Suggestions.
    >
    > Stan
    >
    >
    >
    sludge Guest

  4. #3

    Default Re: Accessibility Behavior and Lingo "Play Movie"

    In article <bk5den$lja$1@forums.macromedia.com>, "ForeverTangent"
    [email]webforumsuser@macromedia.com[/email] wrote:
    > Does anyone have an suggestions for this...
    >
    > I have many "Accessibility Item" enabled buttons in a Director
    Projector, all with have a corresponding "Command to Execute".
    >
    > The command(s) to excute, involve the playing of a new movie, with the
    LINGO "Play" command. Unfortuantely, I seem to run into problems with
    this.
    >
    > If the Accessibility Item executes a LINGO "play" command directly, my
    projector completely locks up, [this sometimes happens in Director as
    well].
    >
    > However if I build a Handler, in which the Accessibility Item can
    execute instead, to launch a movie, I get a "script error."
    >
    > To complicate the matter further, if I click the corresponding button
    with a mouse [which executes the command associated with the
    "Accessibility Item"] I generate no script error at all.
    >
    > This project HAS to be Accessibility Enabled, so I cannot dump that.
    Also I cannot put everything into one movie, to avoid having to use the
    "play" command.
    >
    > Any Suggestions.
    >
    It sounds like something similar that happens when you do a "go movie"
    inside a callback handler. If so, you can fix it by just setting a
    variable to the name of the movie you want to go to and having a script
    that is completely outside the callback keep looking at the variable and
    do the actual play movie.

    So your Accessibility item would execute a handler like:

    on pickedItem
    global whichMovie
    whichMovie = "somemovie.dir"
    end

    And you'd have this behavior attached to some sprite in the same frame:

    -- behavior on some sprite in the same frame

    on exitFrame
    global whichMovie
    if voidP(whichMovie) then exit
    if whichMovie <> "" then
    mName = whichMovie
    whichMovie = ""
    play movie mName
    end if
    end

    Gretchen Macdowall
    [url]http://www.updatestage.com/[/url]
    Gretchen Macdowall 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