> Bad with vectors, true, but you could get away with it with > MovieClip.cacheAsBitmap = true;
I don't know much about the inner workings of these things, but I doubt that would help a lot: once drawn, sure it would run fine, but the drawing process itself would still involve a lot of vector images being added dynamically. But I could be wrong. Danny > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Danny Kodicek > Sent: 28 February 2007 08:06 > To: [email protected] > Subject: RE: [Flashcoders] simulating airbrush + calligraphy brush > > > Hi all, > > > > Is there a way to simulate how an airbrush tool or a > calligraphy brush > > works using Flash Drawing API? I'm talking about drawing > tools you see > > in MS-Paint, where an airbrush produces random dots/circles > near the > > mouse cursor while calligraphy brush is like a regular > brush but the > > tip is oval. > > I know that using capsStyle argument in lineStyle method > can produce > > rounded or squared tip, but no oval. Does anyone know how > to create a > > custom tip > > (capsStyle) for lineStyle? If the regular Drawing API isn't > > sufficient, can anyone give any ideas of other ways to > achieve this? I > > was thinking of looping an attachMovie method during > > onEnterFrame/onMouseDown to place custom shaped MCs. > > Is this a good idea to go with? > > This sounds like the kind of thing that would be a bad idea > with vectors. If you're doing that style of drawing you're > probably better off working with copyPixels and BitmapData > objects. With all those dots you might find things chugging. > > Danny > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

