User Tag List

Results 1 to 5 of 5

Thread: How to load icons with transparency?

  1. #1
    No Products Registered

    Join Date
    May 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to load icons with transparency?

    Hi All,

    I'm trying to load an icon on MMF2...

    See it here:

    Why this happens?

    Other question.. How to load a .cur file?

    Greets

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on
    Tim's Avatar
    Join Date
    Apr 2007
    Location
    NSW - Australia
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to load icons with transparency?

    Ok I'm done some testing and it appears you cannot load png's that have semi-transparent edges, because as a fact Cursors can't have semi-transparent edges. (but they can have transparent edges just not semi transparent)

    As for the .cur file, someone would have to make an extension if there isn't one already as it isn't a built in feature

  3. #3
    No Products Registered

    Join Date
    May 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to load icons with transparency?

    about the transparency thanks for clarify!

    using delphi this is very easy to implement loading a external file..

    Code:
    const 
    crSeuCursor = 1; // Tem que ser um valor maior que 0 (zero)
    crSeuCursorB = 2; // Tem que ser um valor maior que 0 (zero)
    crSeuCursorC = 3; // Tem que ser um valor maior que 0 (zero)
    crSeuCursorD = 4; // Tem que ser um valor maior que 0 (zero)
    
    var
      Form1: TForm1;
    
    implementation
    
    {$R *.dfm}
    
    procedure TForm1.ComboBox1Change(Sender: TObject);
    begin
    
    if ComboBox1.ItemIndex = 0 then
    begin
    Form1.Cursor := crSeuCursor;
    end;
    if ComboBox1.ItemIndex = 1 then
    begin
    Form1.Cursor := crSeuCursorB;
    end;
    if ComboBox1.ItemIndex = 2 then
    begin
    Form1.Cursor := crSeuCursorC;
    end;
    if ComboBox1.ItemIndex = 3 then
    begin
    Form1.Cursor := crSeuCursorD;
    end;
    
    end;
    
    procedure TForm1.FormCreate(Sender: TObject);
    begin
    Screen.Cursors [crSeuCursor] := LoadCursorFromFile ('hand.cur');
    Screen.Cursors [crSeuCursorB] := LoadCursorFromFile ('lupa.cur');
    Screen.Cursors [crSeuCursorC] := LoadCursorFromFile ('sapato.cur');
    Screen.Cursors [crSeuCursorD] := LoadCursorFromFile ('hand.cur');
    
    end;
    but at this project i want implement this using MMF2...

    Can someone help me with this?

  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)

    Re: How to load icons with transparency?

    You must be doing something different than me. If I start up a new MFM2, put in an active object, and instert and multitude of PNGs with various alphas and transparencies, they all work fine. My guess is you are clicking settings that you shouldn't be clicking, or importing the them in the wrong place.

    As for .cur files, just search for a converter to convert them in to several PNG files (since .cur files can also be animated).
    Working as fast as I can on Fusion 3

  5. #5
    No Products Registered

    Join Date
    May 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to load icons with transparency?

    Thanks

Similar Threads

  1. Icons
    By Steve_T in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 12th June 2015, 09:50 AM
  2. Icons
    By Arnax in forum Android Export Module Version 2.0
    Replies: 8
    Last Post: 10th April 2012, 04:20 PM
  3. App Icons Bug
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 29th July 2009, 03:42 AM
  4. Icons bug
    By Ross in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd September 2006, 12:55 PM
  5. Icons
    By dingdong in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th August 2006, 12:07 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
  •