Hi, it looks like I'm having some problems with the component window in
flash mx2004, is a button that triggers an event, the creation of a new
object, a component window, it seems like working properly on mac, but
when I try on IE pc, the problem appears, the window doesn't load
properly and looks like something odd, then when I close it and retry
to open it works properly...why is that?
this is the ccode...I need help as soon as you can.
I'm not a flash guru or programmer and I'd like to have this resolve
the sooner.
regards.
gustavo
code:
on(release){
import mx.managers.PopUpManager
import mx.containers.Window
var myTW = PopUpManager.createPopUp(_parent, Window, true,
{title:"Beaver Street Enterprise Center", contentPath:
"adIMG/block.jpg", closeButton: true});
lo = new Object();
lo.handleEvent = function(evtObj){
if(evtObj.type == "complete"){
myTW.setSize(myTW.content._width, myTW.content._height + 25);
}
lo.click= function(evtObj){
myTW.deletePopUp();
}
}
myTW.addEventListener("complete", lo);
myTW.addEventListener("click",lo);
}
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com