Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2005
    Posts
    12

    Thumbs up Need help to change background colors

    I would like the users to be able to select a background color at startup. Not sure how to code it...


    Thanks!

  2. #2
    Join Date
    Jul 2007
    Posts
    1,512
    maybe setting link images hidden with colors and names set hidden until they pic that color

  3. #3
    Join Date
    Mar 2007
    Location
    HeaveN
    Posts
    534

    Wink

    i will upload u an example soon

  4. #4
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Code:
    01 -- Leave this.
    02 Properties		= {} 
    03 
    04 -- Configure this.
    05 PageName					= "Page1"; 
    06 Properties.BackgroundColor	= Math.HexColorToNumber( "FF0000"); 
    07 
    08 -- Leave this.
    09 Application.SetPageProperties(PageName, Properties);

  5. #5
    Join Date
    Mar 2007
    Location
    HeaveN
    Posts
    534
    here u go... do some chages save the color to a file then load it...
    Attached Files

  6. #6
    Join Date
    Oct 2005
    Posts
    12
    Quote Originally Posted by jackdaniels View Post
    here u go... do some chages save the color to a file then load it...
    Thanks for the help. I made some changes to make it change the page background and it works great

    again thanks!

    local nR = e_Pos; -- текущая позиция красного цвета
    local nG = SliderEx.GetSliderPos("Slider_G"); -- позиция зеленого цвета
    local nB = SliderEx.GetSliderPos("Slider_B"); -- позиция синего цвета
    local nColor = Math.RGBToNumber(nR, nG, nB); -- получаем номер цвета
    --Shape.SetFillColor("Shape1", nColor); -- устанавливаем новый цвет для аудио плеера
    Properties = {}
    PageName = "Page1";
    Properties.BackgroundColor = nColor;
    Application.SetPageProperties(PageName, Properties);

  7. #7
    Join Date
    Mar 2007
    Posts
    452
    Quote Originally Posted by Robert29b View Post
    Thanks for the help. I made some changes to make it change the page background and it works great

    again thanks!

    local nR = e_Pos; -- текущая позиция красного цвета
    local nG = SliderEx.GetSliderPos("Slider_G"); -- позиция зеленого цвета
    local nB = SliderEx.GetSliderPos("Slider_B"); -- позиция синего цвета
    local nColor = Math.RGBToNumber(nR, nG, nB); -- получаем номер цвета
    --Shape.SetFillColor("Shape1", nColor); -- устанавливаем новый цвет для аудио плеера
    Properties = {}
    PageName = "Page1";
    Properties.BackgroundColor = nColor;
    Application.SetPageProperties(PageName, Properties);
    where did u add this code ?

Similar Threads

  1. Inherit: Background from page/Objects from page
    By ricardohdezsv in forum AutoPlay Media Studio 7.5 Suggestions
    Replies: 3
    Last Post: 11-30-2007, 11:53 AM
  2. Playing Background Music
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 12:25 PM
  3. Change the background or skin of our menu page. HELP
    By dragon in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 03-07-2002, 01:04 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