Sounds like a great preso Clarke could do on his discoveries.

Precia


On 2/14/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:

Although I can't address this directly, I will add that a preso on custom
component making would be scwheet.

DK

On 2/14/07, Clarke Bishop < [EMAIL PROTECTED]> wrote:
>
>  OK, I got that just using the PopUpManager and a Panel is probably the
> easiest plan.
>
> But, I want to learn something new! So, I waded through the code for
> Alert.as <http://alert.as/> and AlertForm.as using the debugger.
> AlertForm has the text box that's giving me trouble, and it goes through a
> calculation that looks at the number and size of buttons along with the
> width of the title. From that, it calculates the width of the text box. It
> looks like the minimum width is about 250 pixels -- A problem since my whole
> movie is only 225 pixels wide!
>
> So, shouldn't I be able to subclass the Alert class to get the behavior
> I want. I know this will be more work, but remember, I'm trying to learn
> something.
>
> If all the code was in one class, I think I could just override the
> method that's calculating the text width. But with two classes, I'm
> confused. Alert.as <http://alert.as/> instantiates AlertForm.as. So,
> here are my questions:
>
> - I think I have to have two new classes -- Right?
>
> - The constructor for Alert creates an instance of AlertForm. So, I have
> to override the constructor for Alert in my new AlertSmall class, and have
> it instantiate my new AlertFormSmall class.
>
> - Then I have to override the textwidth method in AlertForm with my new
> one in AlertFormSmall.
>
> - I'm I thinking about this correctly? Am I missing something? Is there
> an easier way?
>
> Thanks to all!
>
>    Clarke
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink <http://www.fusionlink.com/>
> -------------------------------------------------------------




--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in
the subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by FusionLink <http://www.fusionlink.com/>
-------------------------------------------------------------




-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to