3 Replies Latest reply on Aug 23, 2007 9:37 PM by Newsgroup_User

    Listener - Hyperlink Later

    Level 7
      Hi there,

      I have an action script that listens for an FLV to finish
      and then make a white square appear 100% visible.

      The problem is, the movieclip white square is still clickable
      when it is not visible on the layer above the FLV.

      How do I reveal/activate a layer in this case?
      Perhaps I can have it off the stage until needed?

      Here's what I have:

      stop();

      var myListener = new Object();
      myListener.complete = function():Void
      {
      tellTarget ("/hyperlink") {
      if (_alpha<100) {
      _alpha=100;
      }
      }
      }
      {
      trace("video complete");
      }
      video.addEventListener("complete",myListener);

      Regards,
      Toe Cutter



        • 1. Re: Listener - Hyperlink Later
          Level 7
          ... okay it made sense when I was writing it,
          but what was I talking about?

          Sorry, let me re-word it:

          How can I move an object from off the stage to on the stage?
          tellTarget ("/hyperlink") {

          something something...

          Toe Cutter.

          "Toe Cutter" <newsgroup@macromedia.com> wrote in message
          news:fakdkb$evp$1@forums.macromedia.com...
          > Hi there,
          >
          > I have an action script that listens for an FLV to finish
          > and then make a white square appear 100% visible.
          >
          > The problem is, the movieclip white square is still clickable
          > when it is not visible on the layer above the FLV.
          >
          > How do I reveal/activate a layer in this case?
          > Perhaps I can have it off the stage until needed?
          >
          > Here's what I have:
          >
          > stop();
          >
          > var myListener = new Object();
          > myListener.complete = function():Void
          > {
          > tellTarget ("/hyperlink") {
          > if (_alpha<100) {
          > _alpha=100;
          > }
          > }
          > }
          > {
          > trace("video complete");
          > }
          > video.addEventListener("complete",myListener);
          >
          > Regards,
          > Toe Cutter
          >
          >
          >
          >



          • 2. Re: Listener - Hyperlink Later
            Damon Edwards Level 3
            using its _x or _y properties..
            • 3. Re: Listener - Hyperlink Later
              Level 7
              Hi,

              I tried :
              --------------------------------
              stop();

              var myListener = new Object();
              myListener.complete = function():Void
              {
              hyperlink._x = 73.5;
              hyperlink._y = 80.0;

              }
              {
              trace("video complete");
              }
              video.addEventListener("complete",myListener);
              -----------------------------------------------------
              but my symbol didn't budge at the end of the FLV.
              What am I doing wrong?

              Regards,
              Toe Cutter


              "dzedward" <dzedward@gmail.com> wrote in message
              news:fakpj8$sne$1@forums.macromedia.com...
              > using its _x or _y properties..
              >