|
Flash CS4 Resources |
timeline.getGuidelines()AvailabilityFlash CS4 Professional. Usagetimeline.getGuidelines() ParametersNone. ReturnsAn XML string. DescriptionMethod: returns an XML string that represents the current positions of the horizontal and vertical guide lines for a timeline (View > Guides >Show Guides). To apply these guide lines to a timeline, use timeline.setGuidelines(). ExampleAssuming
that you have some guide lines on the first timeline, the following example
displays them as an XML string in the Output panel:
var currentTimeline = fl.getDocumentDOM().timelines[0]; fl.trace(currentTimeline.getGuidelines()); |