User Tag List

Results 1 to 3 of 3

Thread: Active Picture with alpha- selecting just 1 object

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Active Picture with alpha- selecting just 1 object

    I've got a simple app (for my kids) where I can drag and drop pictures (JPG and PNG) into the frame. Each time an image is dropped into the frame, it creates a new Active Picture with that image. I'm using PNGs mostly, so there are transparent areas.

    I can move the images around in my frame with my mouse. All works well, until they start overlapping.

    My Problem:
    It seems that when the mouse is clicked, it detects the entire square of the Image, not just the parts that are opaque.

    My hope is to find a way to only move the image that is clicked by the mouse on the NON-FULLY-TRANSPARENT portions of the Active Picture Object.

    A way to determine the top-most Active Picture Object could be a great way to handle this.

    any ideas?

    thanks.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Picture with alpha- selecting just 1 ob

    I just figured out a way to move only one object at a time...

    I simply added: "Only once action when event loops" with my "User Clicks on Active Picture" condition.

    (gotta love that condition!)

    It would still be great to move the pictures ONLY by clicking on the opaque areas of the image.

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active Picture with alpha- selecting just 1 ob

    Active picture doesn't have this option. They work as rectangles for collisions and such. It's just like an active with "Use fine detection" disabled.

    You could get around this using an overlay outside the frame to detect the colour of the pixel you clicked. But it's a bit more complex...

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. Selecting one instance of an active object?
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th January 2011, 12:53 AM
  3. Active object vs Active picture
    By stillhawk in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 25th November 2007, 04:59 PM
  4. Advice about Active Object vs Active Picture
    By Pablo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th October 2007, 02:40 PM
  5. Active Picture and Alpha Channel object Bug found
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 29th September 2006, 02:47 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
  •