User Tag List

Results 1 to 9 of 9

Thread: Problems Selecting With Mouse

  1. #1
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems Selecting With Mouse

    I am trying to create a screen capture program. Thanks to a post on this site, I've found that one can use the window shape object with a transparent background and capture what is in the transparent area.

    Now I'm trying to have the user select the portion of the screen to capture. When they click a button, I'm tring to store the starting x,y and ending x,y when they click and drag the mouse and unclick.

    No matter what I've tried, clicking the original button trips the colecting of the xys. I've tried an inactive group, limiting all action, setting a flag, setting a time delay. No matter what I've tried it still reacts to the clicking the original button.

    Any suggestions on how to get around this appreciated.

    Steve

  2. #2
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    try this, think it might work:

    http://lembi2001.googlepages.com/Application.mfa

  3. #3
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    Thanks lembi2001, that solved one problem. I think the error was coming from my using the negate repeat while left mouse is pressed condition to get the 2nd set of xy values. This was always true and therefore no matter what I did to delay it, it was still always true. Your example gets around the use of that condition.

    Now what I've found out, is that the application does not pick up the mouse click when the mouse is clicked in the transparent area of the window shape object. The whole point was to be able to have the user see and choose what is not on the application screen, but what is on the real screen.

    Step by step.

    Steve


  4. #4
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    Can you upload the file and i can have a look??

  5. #5
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    Will do.
    Steve

  6. #6
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    Sorry

    can't open this as it uses the dev version and i only have standard.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    I've uploaded a new file and removed the kernel object which I think was causing the problem.
    Steve

  8. #8
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    I think i know what the problem is.

    you are misunderstanding the use of the window shap control object.

    The black area you have in the image is ignored. The red border is not a border but the window itself.

    let me try and explain it like this



    The image above shows the setup you have.

    What ever is in behind the black square is not part of your application. What you need it to do is "grab" the desktop instead.

    try this:

    Example

    Hope that helps

  9. #9
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems Selecting With Mouse

    Lembi,
    Thanks for the suggestions. What I am trying to do is exactly that - capture the desktop. I don't want to capture the application. That is how I've done it in the past - captured the screen and placed it in the application. Then I've captured the portion that I really wanted from the application screen. But the final resolution of the captured image stinks.

    I have a working app which will capture the screen behind the application screen using the method that you took a look at. which I would be glad to share a copy of the file with you, but it uses the Kernel extension and would require MMF 2 dev.

    Let me know if you would be interested.

    Steve

Similar Threads

  1. Mouse Coord Problems
    By UK25 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th September 2010, 11:16 AM
  2. Problems Selecting With Mouse Examle
    By drnebula in forum File Archive
    Replies: 1
    Last Post: 20th December 2008, 04:56 PM
  3. Problems with mouse clicking
    By marten in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th October 2008, 09:54 PM
  4. Problems with Object selecting
    By TotallyTurton in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 5th February 2008, 10:25 AM
  5. Problems with Mouse Controlled
    By evilpantsmaster in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 10th January 2008, 12:24 AM

Posting Permissions

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