|
Flash CS4 Resources |
timeline.setGuidelines()AvailabilityFlash CS4 Professional. Usagetimeline.setGuidelines(xmlString) Parameters
ReturnsA Boolean value of true if the guidelines are successfully applied; false otherwise. DescriptionMethod: replaces the guide lines for the timeline (View > Guides > Show Guides) with the information specified in xmlString. To retrieve an XML string that can be passed to this method, use timeline.getGuidelines(). To view the newly set guide lines, you may have to hide them and then view them. ExampleThe
following example applies the guide lines from one FLA file to another
FLA file:
var doc0 = fl.documents[0]; var guides0 = doc0.timelines[0].getGuidelines(); var doc1 = fl.documents[1]; doc1.timelines[0].setGuidelines(guides0); |