flex - difference between <s:Line> and graphics.lineTo() -


if skin button , use as3 graphice.clear() , graphics.lineto , beginfill create shape, button overlaps other items in container.

when use , mxml create same shape, button neatly positioned inside container.

why that?

because line object doing bunch of checks , work aren't doing when use graphics object. @ code spark.primitives.line see doing aren't.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -