I copy and paste this code from flash docs and I get a type mismatch error on line 3. I used this same code in a different swf and it worked fine, but in this particular movie I get this error, does anyone know what is causing this? ( I have a window component in my library )


import mx.managers.PopUpManager;
import mx.containers.Window;
var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, { contentPath:"images/graphics/4.jpg"});



Cheers!

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to