Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 245
4 Click OK.
Your code is saved in the Code Snippets panel under a Custom folder. You can
now access your code and apply it to future projects.
Sharing your code snippet
Soon, you may accumulate a large library of useful code snippets that you want
to share with other developers. It’s easy to export your custom code snippets and
enable other Flash developers to import them into their own Code Snippets panel.
1 Open the Code Snippets panel, if it isn’t already open.
2 From the Options menu at the upper right of the panel, choose Export Code
Snippets XML.
In the Save file dialog box that appears, choose a file name and a destination,
and click OK. All the code snippets from your Code Snippets panel (the default
ones as well as your own custom snippets) are saved in an XML file that can be
distributed to other developers on your team.
236
Lesson 6
Creating Interactive navigation