0 Replies Latest reply on Apr 6, 2008 8:59 AM by

    attachBitmap

      Hi,

      I'm quite new to actionscript and am kind of stuck here. Basically I have created this application where let's say a client can preview different colors for some part of a product, here is an example:


      http://www.virtuallglab.com/assets/colorPicker.swf


      I need to do about the same but with textured colors which I will use bitmaps, but I can't get a way of changing the background of an existing movieclip on stage using a bitmap in actionscript and the bitmapData class. The problem is I want that bitmap to tile in the background, the same effect you would get by choosing a bitmap as a shape fill in the color panel, to fill the movieclip regardless of its size and shape.

      Can anyone please help,

      Many thanks