I am trying to make a window pop up. I take the code from flash docs (put a window component in the library) and put this code, then I get this error everytime. Can anyone tell me why i get it?

CODE:
import mx.managers.PopUpManager;
import mx.containers.Window;

var newWindow = PopUpManager.createPopUp(this, Window, true);



ERROR:
**Error** Scene=Scene 1, layer=Layer 2, frame=20:Line 9: Type mismatch.
            var newWindow = PopUpManager.createPopUp(this, Window, true);

Total ActionScript Errors: 1      Reported Errors: 1



Cheers!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to