Thanks for the additional information.  Since I do understand a bit of how flash is being used to present these UI elements, I do understand, thanks to you, why there's no parent/child relationship.  For me, its just really unfortunate.  Because of the difficulty I have had with the scaling of an entire application, I have had to drop it from the requirements for this application.  My superiors were not thrilled, but they can easily see that its just devouring precious time.  For now, I'm just ramping all of the fonts very large for the whole application.  For those of us who can actually see, we're going to want to take a step back from the monitor, but its all I could come up with on my current time line.  I'll explore scaling the whole application again once I get this version out.  Thanks again for the information.

M.

On 7/7/05, Manish Jethani <[EMAIL PROTECTED]> wrote:
On 7/7/05, Matthew Shirey <[EMAIL PROTECTED]> wrote:

>  Uhm... to get right to the point... That's Crazy.  Why are MenuItems and
> Menus not children??

I'm not aware of the exact reason for this, but my guess is that they
are not children in order to support the following case:

<Box>
   <MenuBar />
</Box>

The Box would normally clip its content -- including the dropdown
menus (if they were children of the MenuBar).

> I'm dealing with an application that I am trying
> desperately to use scaling in to make it easier for visually impaired to
> use.  But at every turn scaling seems to be broken.  I just found that with
> a ComboBox control scaling is also broken.  The control itself is fine, but
> the drop down list when clicked on is not scaled properly.  To say that this
> is frustrating would be a gross understatement.

It's the same for ComboBox: the dropdown is not a child of the component.

If you decide to subclass the components to add scaling support, you
would have to override the setters for "scaleX" and "scaleY" and apply
the same value to the dropdown movie clips.  This may not be trivial
for both components, since the dropdowns are created only when needed.
Thankfully the source for both ComboBox and MenuBar is available in
FlexforFlash.zip, so if you're truly determined you can do it.

If you want to scale the entire app, then you should simply set scaleX
and scaleY on the Application element.  That takes care of the menus
and combo boxes.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to