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

  1. #1

    Default background color?

    any way to use tiled wallpaper image instead of choosing regular
    background colors?




    radioactiveman Guest

  2. Similar Questions and Discussions

    1. Background color of words in PDF
      Hi, I am developing an application where i need to find specific words in a PDF file and highlight them with some background color. It would be...
    2. 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...
    3. Background Color in InDesign
      I am preparing a card for off site printing. I want the color of the card to be black, therefore, on the screen I want to have the background black....
    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. reverse color and background
      I have a flattened green-color logo image on a white background, I want to change of the color of background to dark green and the logo color to be...
  3. #2

    Default Re: background color?

    radioactiveman wrote:
    > any way to use tiled wallpaper image instead of choosing regular
    > background colors?
    One can use a little script like this:

    // how many tiles horizontally
    var intTilesHorizontal = 4;
    // how many tiles vertically
    var intTilesVertical = 2;
    // "horizontal" loop
    for (var i = 0; i<intTilesHorizontal; i++) {
    // "vertical" loop
    for (var j = 0; j<intTilesVertical; j++) {
    // unique name for new clip
    var strName = "clipTile"+"X"+i+"Y"+j;
    // unique depth for new clip
    var intDepth = 100*i+j;
    // create new clip (link "ClipTile" in the library)
    // "clipBackground" is nothing but an empty clip
    clipBackground.attachMovie("ClipTile", strName, intDepth);
    // position new clip
    clipBackground[strName]._x = clipBackground[strName]._width*i;
    clipBackground[strName]._y = clipBackground[strName]._height*j;
    }
    }

    Have a look at an example (with source):
    [url]http://birdy1976.com/2003/tiled-wallpaper-or-background.html[/url]

    Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398
    Martin Voegeli, vom Guest

  4. #3

    Default Re: background color?

    thanks a heap!


    radioactiveman 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