PDA

View Full Version : Selecting what JSFL just drew


mambo4
07-30-2010, 07:10 PM
suppose I draw an oval with
fl.getDocumentDOM().addNewOval({left:0, top:0, right:100, bottom:100},false, true);

what is the simplest way to make it the active selection
(for tweaking the fill data in particular)

daveystew
07-30-2010, 09:27 PM
One way would be by drawing to a new layer then setting the document.selection to that frame's elements

dandan622
08-03-2010, 07:53 AM
hello