Guys, how the hell do you get a button to display into a Window Component??
Or for that matter…get an empty movie clip that has been created using code to display into the window?
newName.title = “Sample Window”;
newName.closeButton = true;
newName.contentPath = “ani”; <----- It works if the MC is within the library, but anything dynamically created and attached doesnt work, same goes for trying to add a Button component to it - it doesnt work for me.
newName.setSize(500,500);