User Tag List

Results 1 to 10 of 10

Thread: Get color/ RGB value from specific pixel

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get color/ RGB value from specific pixel

    Hi
    How can i get the color or RGB value of a specific coordinat/ pixel in my Application?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Try the Pixel object. It's not ported to other platforms though.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks LB

    However i need this to work in flash.
    Is this possible?

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I don't think it would be very feasible, seeing as Flash doesn't exactly have 'pixels'. :\
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Huh, i wasnt aware of that
    But still
    Specifically what i am trying to do is to retriev the color/ RGB value of a specific point on the screen/ Application to check if semitransparency is present or not

  6. #6
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    Huh, i wasnt aware of that
    But still
    Specifically what i am trying to do is to retriev the color/ RGB value of a specific point on the screen/ Application to check if semitransparency is present or not
    I don't think that is possible in Flash right now King_Cool

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    Huh, i wasnt aware of that
    But still
    Specifically what i am trying to do is to retriev the color/ RGB value of a specific point on the screen/ Application to check if semitransparency is present or not
    That is not possible in any drawing system I have ever heard of, not even the normal runtime. Transparency doesn't work like that - it affects how things interact when they initially get drawn, it doesn't affect actual pixels on the screen.
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well i just did it using the Pixel Object as you sugested
    Attached files Attached files

  9. #9
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    In Flash King_Cool?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately not

Similar Threads

  1. Changing color for specific words in a string
    By gkinfinity in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st February 2012, 08:29 AM
  2. Get the color of a pixel at X,Y
    By Keith in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 19th September 2011, 03:50 AM
  3. Changing specific text color.
    By PicklesIIDX in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th September 2009, 10:32 PM
  4. Testing the collision of a specific pixel
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 27th August 2009, 09:17 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
  •