1 Reply Latest reply on Jul 22, 2006 5:41 PM by jthereliable

    dynamic picture viewer

    jonnybennett Level 1
      Dynamic picture viewer.

      Please check out this url,
      http://www.discrete-properties.com/imageView/picView.htm

      it has the swf of the picture viewer, that I am trying to create, it also has alink to the source code, for anyone that is interested in helping.. thanks.


      problem 1... I want to speed up the animation, however to do this I would need to use +=20 instead of ++, however that causes problems for the animation of the picture border as it does not know when to stop the animation, as it is incrementing in 20, not by 1.
      problem 2... The masking image animation starts before the image has loaded that needs to be masked.
      problem 3... The masking animation does not always play.

      If you could take a look that would be great.. I am still fairly new to this and self taught so I apologies for how dirty the actionscripting is!!!!

      http://www.discrete-properties.com/imageView/picView.htm

      Thanks in advance.
        • 1. Re: dynamic picture viewer
          jthereliable Level 1
          Make the FPS go up, that solves problem 1
          I don't know what you mean by problem 2 and 3...
          If you want the mast image animation to start before the image has loaded, I would suggest to make it "play()" as soon as the item is clicked, but you need to know how big to resize it. If you mean that there's a problem because it plays before it's loaded, then... there is no problem :/. I looked at it and it didn't play when it was loading.
          Mask animation is always playing :/, solves problem 3 xD

          (yay, another self-taught actionscript person!)