User Tag List

Results 1 to 3 of 3

Thread: Color Selector, how to set selected color

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Color Selector, how to set selected color

    You can set the selected color of the Color Selector by picking it from the upcoming dialogue. Works so far.

    There is this nice "Calculation" button at the same dialogue. And that's what i need because i want to set the color of the Color Selector. But i cannot get it to work.

    Typing in 255,0,0 leads to no result, even when it doesn't give me an syntax error.
    Typing in RGB(255,0,0) gives me Syntax error
    Typing in #FF0000 gives me Syntax error
    Typing in "#FF0000" gives me a Please enter a numeric expression warning
    Typing in Red gives me a syntax error
    Typing in "Red" gives me a Please enter a numeric expression warning

    Retreiving the current color by a string gives me Red for the color red. But i cannot use Red nor any other of the above mentioned methods to store it in an INI and set the color of the Color Selector to it at start of frame.

    I am lost. What must i type in? And how do i retreive and store the current selected color?

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Color Selector, how to set selected color

    Use GetRGB(255,0,0)

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Color Selector, how to set selected color

    Ah, thanks, that works. This way gives me headaches with saving though.

    I have figured it out meanwhile. It is a simple integer number up to 16 million that gets transfered. And so you can simply use "set color to value" or "set value to color"

    Was one of my first tries but refused to work when i tinkered with it for whatever reason. Now it works ^^

Similar Threads

  1. change "active" rectangle color with "Color selector". help
    By Sevennemesis in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th February 2013, 01:40 AM
  2. color selector?
    By Leo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th November 2010, 12:37 AM
  3. Bug on Color Selector Object and how to fix it.
    By Ran_TH in forum File Archive
    Replies: 1
    Last Post: 7th May 2009, 03:09 AM
  4. About the Color Selector Object
    By X_Sheep in forum Extension Development
    Replies: 3
    Last Post: 3rd September 2007, 11:20 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
  •