external code
external code
Out of context: Reply #5
- Started
- Last post
- 13 Responses
- emecks0
in general I find using SWFs instead of AS files to include functionality...
Say for arguments sake that I want to create a Flashmovie that draws a ball and then moves it across the stage, bouncing when it encounters a wall.....
I make a custom class which draws balls
I make a custom class to update the position of the ball
I make a custom class to make the ball bounce at given perimeter
I create an SWF for each of my classes.
I create an SWF for my project and load each of the others to access the functionality given by each class...
then if I want to change any aspect of it I've only one FLA to change and export the SWF to the relevant directory......