have you tried using offsetX or offsetY on TransformBitmapMaterial? a small value in either might solve the problem
Rob On Fri, Nov 26, 2010 at 6:46 PM, jonny <[email protected]> wrote: > I tried what you suggested Jerome but it did not work im afraid. > > Very annoying :( > > On Nov 26, 5:22 pm, Jerome <[email protected]> wrote: > > When I get these lines, setting repeat to false usually fixes it. But > > in you case you want the repeat so that wont work! > > > > Have you tried reducing the scaleY to 0.99 or 0.98? I remember doing > > that once to remove these lines... > > > > ath. > > > > Jerome. > > > > On Nov 25, 7:04 pm, jonny <[email protected]> wrote: > > > > > > > > > Hi, > > > > > I have a Plane which has a material applied to it which I want to > > > repeat horizontally but not vertically. The material is a Tree image > > > which has transparency on it in the spaces around the tree outline. > > > > > So I use the TransformBitmapMaterial class like so: > > > var mat = new TransformBitmapMaterial(Cast.bitmap(Tree), > > > {repeat:true,scaleX:0.25, scaleY:1}); > > > > > The material does indeed repeat horizontally and not vertically like I > > > require BUT the problem is that at the very top of the plane you can > > > see a very thin jaggedy line. Its as if its trying to start the next > > > repeat vertically but then stopping. > > > > > If I set repeat to false on TransformBitmapMaterial then the problem > > > disappears but then of course it does not repeat horizontally anymore. > > > > > Any ideas what the problem is and how I can fix it? Its driving me > > > mad. > > > > > Many Thanks!- Hide quoted text - > > > > - Show quoted text - -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
