Results 1 to 2 of 2

Thread: animation

  1. #1
    gencoglu
    Guest

    Lightbulb animation

    Hello
    I put an image of a "train.bmp"..and I marqueed it to the right..thats ok..but How shoud I tell the train to stop at ..x point and then move down to ..y direction ..I mean "tell me more about X..and Y..so that I make it stop when ever or where ever I want..Thanks

  2. #2
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    Hi,

    use some If statements to figure out the X and Y positions. Use the code I posted for youhttp://www.vbforums.com/showthread.p...hreadid=163779

    then try something like this...

    Code:
    if (findLeft('image1')>200){
      do some code...
    }
    Put whatever you want to happen when the objects left position becomes greater than 200 pixels in the do some code section.
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

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



Click Here to Expand Forum to Full Width