If I have an object which extends MovieClip, for example let's say it's some kind of custom built text field class (InputField).
The InputField constructor has 2 parameters(placeholderText:String = null, displayAsPassword:Boolean = false).
If I drag the movie clip onto the stage, it will be constructed, but will not have the parameters set. Is there any way to set them at construct time?
To be clear, I want to be able to just drag this movie clip onto the stage, not create it and do addChild() from the code behind.