katya
02-18-2008, 08:38 PM
Hi, I'm new to flash/AS3 and I'm having trouble figuring out how to use the library. I understand that when I include the line
import fl.controls.Button
I need to have a button in the library (otherwise I get a compiler error) but how do I put a button there? I tried copying a button from Common Libraries into may library, but that didn't help. I also tried drawing a rectangle, dragging it to the library, and clicking on "Button" in the properties box, but that doesn't work either.
Also, do I have to set the linkage properties to export the button?
Thank you!
import fl.controls.Button
I need to have a button in the library (otherwise I get a compiler error) but how do I put a button there? I tried copying a button from Common Libraries into may library, but that didn't help. I also tried drawing a rectangle, dragging it to the library, and clicking on "Button" in the properties box, but that doesn't work either.
Also, do I have to set the linkage properties to export the button?
Thank you!