nope. thanks both of you, maybe I am mad then. I've always had my suspicions ;)
I've got an alignment prob and was running this on the root of a one frame movie in flash 8 to see if it might be this bit of code and I only see 90% of the bottom and right of the clip on the stage, only one rounded corner on the bottom right is visible the rest is cropped by the bounds of the movie at the top and the left! hmmmm. weirdness. thanks again! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alias Sent: 03 February 2006 16:14 To: Flashcoders mailing list Subject: Re: [Flashcoders] 0,0???? Looks fine to me. Is your code nested inside another clip? Alias On 2/3/06, Tom Rhodes <[EMAIL PROTECTED]> wrote: > hello, if anyone's got a mo, I'm going mad.. > > > > <code> > > > > function > makeBG(roundness:Number,w:Number,h:Number,colour:String,targ:MovieClip):Movi > eClip > > { > > var bg:MovieClip = targ.createEmptyMovieClip("button_bg",1); > > with(bg) > > { > > lineStyle(0,0,0); > > beginFill(colour,100); > > moveTo(roundness,0); > > lineTo(w-roundness,0); > > curveTo(w,0,w,roundness); > > lineTo(w,h-roundness); > > curveTo(w,h,w-roundness,h); > > lineTo(roundness,h); > > curveTo(0,h,0,h-roundness); > > lineTo(0,roundness); > > curveTo(0,0,roundness,0); > > endFill(); > > } > > return bg; > > } > > > > var buttBack = makeBG(4,140,20,"0xFFCCCC",this); > > trace(buttBack._x + ":" + buttBack._y); > > > > </code> > > > > can someone paste that in a blank movie and run it, you'll see that even > though it traces "0:0" and as far as I can tell the "pen" never goes into > negative numbers, the shape's top left hand corner is above and to the left > of 0,0?????? > > > > cheers, > > > > tom. > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

