A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Mousecontrolled Movement

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    10

    Mousecontrolled Movement

    Hi,

    i am looking for a way to control the movie play with mouse-movement.

    There a 16 keyframes, each with one different picture (with a different view-angle).

    see here:
    Example

    Now i want to add a navigation. If the user clicks, holds and drags to the left side the object should rotate left (this means the movie should play backwards). If the user clicks, holds and drags to the right the movie should play frame by frame to the right.

    Sorry for my bad english. Maybe you could better understand by seeing this example:

    http://www.realview3d.com/html/fashion.html

    thanks in advance for any hint!

  2. #2
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    Here is a possible way. You need all the pics as jpgs. Each at a different angle. Then you use a button for each angle and set it for mouserollover. If you use my example, make the buttons the same hight as the movie, then make them invisible. the the user moves the mouse over each section of the movie, each picture will apear.
    Any programming language is at its best before it is implemented and used.

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Posts
    10
    Hi,

    that is a quite good idea! If the buttons are transparent, they could be placed over the whole frame, so that the user can easily navigate. All in all there are 16 frames, so 16 buttons has to be placed. Not the easiest solution, but that will do!

    Thanks to you and happy new year!

  4. #4
    Junior Member
    Join Date
    Jan 2006
    Posts
    10
    One little problem is left.

    How can I add the rolloverbuttons in all frames whith one step?
    Even if i select "all Frames" the button will only appear in the current frame?!?

  5. #5
    Junior Member
    Join Date
    Jan 2006
    Posts
    10
    I have found it. Sorry.

    One last question: Is it possible to change the button´s colour or transparancy AFTER adding the button-function?

  6. #6
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    When I created the file I made the frames first. then in one frame I created all the buttons and gave the actionscript. Then I copied all the buttons and pasted them on to the new frame. This way you can paste all the frames in about 15 sec. I would also make them transperent before you paste, otherwise there will be 16*16 buttons to change. So double check the buttons before you paste.

    You can make the button, then go into the properties and into frames and make the shape transparent. This is the easist way but could be done with actionscript also.
    Any programming language is at its best before it is implemented and used.

  7. #7
    Junior Member
    Join Date
    Jan 2006
    Posts
    10


    Thank you very, very much for your fantastic help!

    I have already uploaded it.

    Great!

  8. #8
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    Quote Originally Posted by astronaut73


    Thank you very, very much for your fantastic help!

    I have already uploaded it.

    Great!
    could you post the link?
    Any programming language is at its best before it is implemented and used.

  9. #9
    Junior Member
    Join Date
    Jan 2006
    Posts
    10
    hi,

    it is the same link as mentioned in the first thread (example)

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

HTML5 Development Center