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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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