Changing Background color in swf

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default Changing Background color in swf

    Any help will be apriciated.

    How to make choose color background in movie.

    I would like to make a option for visitors to choose background color of a
    movie among 4 different colors

    Thanx in advance


    I hope you all remember how is to be a newbie :))


    z Guest

  2. Similar Questions and Discussions

    1. Background color keeps changing in full screen view
      I have created an interactive catalogue with pseudo off-page navigation in InDesign. I have made the Indesign background colour black to blend...
    2. Changing Background Graphic
      I am trying to change the logo at the top of our home page that was apparently created as a "background" graphic in Dreamweaver. Can I do this in...
    3. Changing the background color on tab controls
      You cannot change the BackColor of a tab control, but you can set its BackStyle to Transparent if you want it to appear the same color as the...
    4. can't see background color
      Hello, I'm using MX, and whenever I open either a new or existing web page, the background color of the page is a light blue color, when they...
    5. Changing menu background in OSX?
      While Aqua is nice I do not like bare white spaces or bare white spaces with light grey lines and there are lots of these in Aqua. I want to...
  3. #2

    Default Re: Changing Background color in swf

    still a newbie :)

    but this seems to work:

    first, create a rectangle on the stage, convert it to a movie clip (F8), and name the instance on the stage myBG
    second, make a movie clip with a text box named buttonTxt, drag four instances of the movie clip onto the stage and name them button0, button1, button2 and button3 (e.g.)
    third, enter the following script in the actions panel

    changeBGcolor = function () {
    myColor = new Color("myBG");
    myColor.setRGB(this.thisColor);
    updateAfterEvent();
    };
    this.button0.thisColor = 0x0000FF;
    this.button1.thisColor = 0x00FF00;
    this.button2.thisColor = 0xFF0000;
    this.button3.thisColor = 0xFFFF00;
    this.button0.onRelease = changeBGcolor;
    this.button1.onRelease = changeBGcolor;
    this.button2.onRelease = changeBGcolor;
    this.button3.onRelease = changeBGcolor;
    this.button0.buttonTxt.text = "button0";
    this.button1.buttonTxt.text = "button1";
    this.button2.buttonTxt.text = "button2";
    this.button3.buttonTxt.text = "button3";



    "z" <zrados@inet.hr> wrote in message news:ctli6p$41t$1@sunce.iskon.hr...
    > Any help will be apriciated.
    >
    > How to make choose color background in movie.
    >
    > I would like to make a option for visitors to choose background color of a
    > movie among 4 different colors
    >
    > Thanx in advance
    >
    >
    > I hope you all remember how is to be a newbie :))
    >
    >
    joan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139