0 Replies Latest reply on Mar 31, 2012 9:10 AM by JeffInPoulsbo2

    Need help calling a movie on a time line.

    JeffInPoulsbo2 Level 1

      Equipment: Dell Studio 540, Win 7 64 bit, Quad CPU,  Q9650 @ 3GHz; NVidia GeForce GTS 240; Monitor: Dell ST2410 Audio: Sound Blaster X-Fi Xtreme Audio

      Adobe Flash CS5 (11.02)

       

      Newbie question:

       

      I have a movie clip that starts when the mouse is over an area: I got it off the web from:

       

      http://www.lemlinh.com/flash-source-undersea-bubbles/

       

      and I think it was written in a much older version of Flash so this is probably action script 1 or 2.

       

       

      onEnterFrame=function(){

                      bubblename="bubble"+bubblecount

                      bubble.duplicateMovieClip(bubblename,bubblecount)

                      bubblecount++

                      }

       

       

      onClipEvent(load){

                _x=_root._xmouse

                _y=_root._ymouse

                _xscale=random(30)

                _yscale=_xscale

                bubblecount=0

                xvelocity=Math.random()*2-Math.random()*2

                yvelocity=1.02

                _alpha=100;

                }

      onClipEvent(enterFrame){

                _x+=xvelocity

                _y/=yvelocity

                _alpha--

                if(_alpha<1){

                          this.removeMovieClip();

                          }

                if(_y>400){

                          this.removeMovieClip()

                          }

                if(_y<0){

                          this.removeMovieClip()

                          }

                if(_x>550){

                          this.removeMovieClip()

                          }

                if(_x<0){

                          this.removeMovieClip()

                          }

      }

       

      Instead I'd like it to start and stop based on a timeline and to have the x,y coordinates of the path on a specific layer within the timeline . How do I do this? Can I use this script within Adobe Flash CS5 (11.02)?

       

      How do I load, and then call a movie based on reaching a certain point in a timeline and then get the x,y coordinates of the timeline to use for the movie?

       

      any help appreciated.

      JeffInPoulsbo