Try adding this to whichever class extends mx.core.Application ( I just
wrote that off the top of my head, so check for spelling errors ).
[Embed(source="../../background_tile.png")]
public var BackgroundGraphicData:Class;

override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
{
       super.updateDisplayList( unscaledWidth, unscaledHeight );

if(BackgroundGraphicData){
     var backgroundImageAsset:BitmapAsset = BitmapAsset(new
BackgroundGraphicData());
     var backgroundImageData:BitmapData = backgroundImageAsset.bitmapData;
}

if(backgroundImageData){
     where.graphics.beginBitmapFill(backgroundImageData);
     where.graphics.drawRect(0, 0, this.width, this.height);
     where.graphics.endFill();
}

}

On Fri, Sep 19, 2008 at 6:31 PM, Rostislav Siryk
<[EMAIL PROTECTED]>wrote:

>
>
> On Wed, Sep 17, 2008 at 11:26 AM, ivan <[EMAIL PROTECTED]> wrote:
>
>>
>>
>> where can I find resource to create graphic pattern in AS3 like these ?
>>
>> http://www.patterncooler.com/
>>
>> http://bgpatterns.com/
>>
>> http://www.colourlovers.com/pattern/228273/tomato_picking
>>
>> thanks
>>
>> _______________________________________________
>> osflash mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>>
>
>
> --
> --
> Rostislav Siryk | Lead Graphic Designer / RIA Developer | GlobalLogic
> Ukraine
>
> [EMAIL PROTECTED]
> +38 050 406 0396
> http://flash-ripper.com/
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to