try 0x01000000, im not sure what other way to tell flash you aren't 
trying to say 0x000000 (which is also zero)

--- In [email protected], "Doug McCune" <[EMAIL PROTECTED]> wrote:
>
> add in a fill color for the initial BitmapData that is a full argb 
hex
> string. If you don't do this the transparency won't work as far as 
I know.
> So try changing the line to:
> 
> var bmd : BitmapData = new BitmapData(dragInitiator.width,
> dragInitiator.height, true, 0x00000000);
> 
> Doug
> 
> On 2/19/08, Josh McDonald <[EMAIL PROTECTED]> wrote:
> >
> >   Hi guys,
> >
> > I can't seem to get transparent=false to work when creating a 
BitmapData.
> > I'm using it as a dragproxy, and I get a white box instead of 
nothing when I
> > do the following:
> >
> >                 var bmd : BitmapData = new BitmapData
(dragInitiator.width,
> > dragInitiator.height, true);
> >                 //bmd.draw(dragInitiator);
> >                  dragProxy.graphics.beginBitmapFill(bmd);
> >                  dragProxy.graphics.drawRect(0, 0, 
dragProxy.width,
> > dragProxy.height);
> >
> > if I uncomment the bmd.draw() line everything goes according to 
plan, but
> > the dragInitiator component has rounded edges so I can see 4 
little white
> > corners, which is definitely not the way I'd like it to work.
> >
> > Any ideas?
> >
> > -J
> >
> > --
> > "Therefore, send not to know For whom the bell tolls, It tolls 
for thee."
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >  
> >
>


Reply via email to