User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Masking colors with Active picture during runtime

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Masking colors with Active picture during runtime

    I am working on a picture editor.
    When I import pictures during runtime with a black background, it comes up clear (transparent in the background like it should)

    When I take a picture of that object and save it, then insert the picture I just saved, the background is not masked on the new picture I inserted, even though it is the same content as the original picture. The background is still black, but it is no longer transparent.

    I am using the screen capture object.
    Is there a reason it does this?
    If so, is there a way to make the background clear during runtime?

  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)

    Re: Masking colors with Active picture during runtime

    Sorry, I don't understand. Do you mean that the screenshot you take is different than what is visible on screen?
    Working as fast as I can on Fusion 3

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Masking colors with Active picture during runtime

    The screen capture object takes .bmp images. You can import your screenshot into the alpha object and re-export it as a .png, and then it will be transparent.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Masking colors with Active picture during runtime

    thx
    I'll try that

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Masking colors with Active picture during runtime

    That works perfect,

    Is there a way to make a selector during runtime like most of the other objects that save?

  6. #6
    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)

    Re: Masking colors with Active picture during runtime

    With the color selector object?
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Masking colors with Active picture during runtime

    When I go to save the alpha file, it requires a set path.

    If I go to save an active picture file, I can prompt the user to put the file where he/she wants it and call it what he/she wants.

    The alpha ocject does not let you do this from what I can see.
    It also seems to not like pulling text from an editbox for a file name.

    It's very important to be able to save files where the user wants and what filename the user wants, because it's a graphics software I'm working on.

    I'm making a software that makes it a lot easier to get the objects in tilesets a lot easier and MMF friendly.

  8. #8
    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)

    Re: Masking colors with Active picture during runtime

    Use the File object's File Selector, and in the alpha channel object, when the browser comes up asking you for a file path, choose "Expression" in the bottom right.
    Working as fast as I can on Fusion 3

  9. #9
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Sep 2006
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Masking colors with Active picture during runtime

    Yeah, but that's not working.

    Like if I have it grab the text from a take editor, it does not save. Just discovered another problem as well. When I scroll down passed the original screen frame, it does not capture the image, even if the image is visable.

  10. #10
    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)

    Re: Masking colors with Active picture during runtime

    Quote Originally Posted by dascribe
    Like if I have it grab the text from a take editor, it does not save.
    What? It works for me :\
    Working as fast as I can on Fusion 3

Page 1 of 2 1 2 LastLast

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. Loading an image into active picture object at runtime crashes iOS app
    By tom79 in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 6th November 2013, 09:11 PM
  3. 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
  4. Change colors in an active object
    By brett in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd October 2012, 10:46 PM
  5. how do i crop part of an active picture at runtime
    By arma in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th July 2007, 05:29 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
  •