Flash 8 bitmap fill problem

Discussion in 'Graphics & Multimedia' started by higreg7, Apr 6, 2008.

  1. #1
    Hi all,

    I'm not the best with actionscript 2 but usually find a way around things, but not this time although it doesn't sound that complicated.

    Basically, I need to do an application where the user will be able to buy a product, but will have the ability to preview different color options.
    So there will be some sort of color palette and the product.Here is an example:

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

    Now this application works with plain colors using the set/getRGB, but my client now wants to use bitmaps (Textured colors) instead of plain colors.

    So the only way is using the bitmapData class I think, but I can't find a way to replace the background of an existing movieclip on stage, without having to draw a shape in actionscript or attach the bitmap.
    What I want to do is tile a bitmap as a movieclip background using actionscipt.

    Anyone has a clue?

    Cheers
     
    higreg7, Apr 6, 2008 IP