Title: Re: [flexcoders] centerPopUp in ActionScript component
You can’t call centerPopUp(this) in the constructor, but, I was able to call it on the creationComplete event from within my AS component. Here is an example that worked:
package {
import mx.controls.*;
import
I wrote a component in ActionScript that is designed to be used as a
pop-up, and it needs to center itself. I tried invoking
PopUpManager.centerPopUp(this) from the constructor, and then I tried
it in the createChildren method, but the Flash player seemed to ignore
it both times. The pop-up kept ap
2 matches
Mail list logo