User Tag List

Results 1 to 2 of 2

Thread: MMF2 - Grab and Move a Active Picture

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,459
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    MMF2 - Grab and Move a Active Picture

    OK, this should be something that I should be able to do but I guess my mind is just not working today.

    I have an active picture object on screen with a picture loaded of a person. Now I know that I can set the hot zone for the center of the picture and drag the picture around on the screen by telling the hot zone to follow the cursor. However, when I zoom in on the picture and I want to drag the picture I have a problem.

    Assume I zoom in on the eye of the face. The eye is about as big as my monitor screen. Now I want to drag a little right or left. But I cannot see the hot zone and I don't want the picture to jump around to the center because then I would be viewing a close up of the person's belly button.

    I wish the active picture object had an action that would just let you point at the picture anywhere - center, upper right whatever and be able to drag it.

    Has anyone done something like this and have some sample? I know I would have to record where the cursor clicks and then figure out how that position is relative to the upper left corner of the picture to be able to calculate the new x,y for the upper left corner as the cursor moves.

    Any ideas??

  2. #2
    No Products Registered

    Join Date
    Jan 2007
    Location
    NC - USA
    Posts
    261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Grab and Move a Active Picture

    Record the offset of the mouse from the picture when you first click, then, in your dragging event, add the offset you previously found.


Similar Threads

  1. Take picture and make from it Active Object / Active picture
    By qenio in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 3rd February 2014, 07:34 AM
  2. MMF2.5 - Error - Uable to move active on frame.
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th December 2013, 12:11 AM
  3. [REQUEST] Realtime "Grab desktop" object that works as a Picture?
    By Fuuriokun in forum Extension Development
    Replies: 4
    Last Post: 23rd May 2013, 09:56 PM
  4. BUG: Active Picture > New Picture from Selector doesn't wait for image - Beta9
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 27th January 2013, 03:09 PM
  5. Active Picture bug (move to layer)
    By Nifflas in forum File Archive
    Replies: 1
    Last Post: 11th March 2008, 06:37 PM

Posting Permissions

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