Copy link to clipboard
Copied
Hi,
I'm new on the forum and I'm using flash for a short time...
I would like to create a library that contains the objects designed in flash and classes that manage them.
An example: using flash I want to create a user profile box. This box contains a circle (profile photo) and a label (username).
After I'd like to create a class in actionscript to insert the picture in the circle and the name in the label. At the end I will have a class that manages the user profile box.
Following I'd like to use this class in another project flash.
I hope I was accurate..
How can I do?
Thanks to anyone who wishes to answer.
create a new movieclip and draw your graphic elements on that movieclip's stage. assign each object that you need to control with actionscript an instance name.
assign that movieclip a class (eg, by double clicking in the library panel's linkage column adjacent to the movieclip symbol). right click that movieclip and click edit class. create the code needed by your class.
you can use that movieclip and class in any other flash pro project by dragging the movieclip symbol to the other project's
...Copy link to clipboard
Copied
create a new movieclip and draw your graphic elements on that movieclip's stage. assign each object that you need to control with actionscript an instance name.
assign that movieclip a class (eg, by double clicking in the library panel's linkage column adjacent to the movieclip symbol). right click that movieclip and click edit class. create the code needed by your class.
you can use that movieclip and class in any other flash pro project by dragging the movieclip symbol to the other project's library and moving the class file to the new project's class path.
Copy link to clipboard
Copied
It's works fine!!!
Thank you.
Copy link to clipboard
Copied
you're welcome.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more