Thanks a lot Tim, it works fine.

I'm surprised Adobe decided to not leave this as a default setting, as
in Flex 1.5. I am quite sure very few apps are meant to be zoomed in.

On 9/5/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
>
>
>
>
> This might not be the best way, but it works:
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> creationComplete="callLater(init);">
>
>     <mx:Script>
>       <![CDATA[
>
>             private function init():void {
>                 stage.showDefaultContextMenu = false;
>             }
>
>       ]]>
>     </mx:Script>
>
> </mx:Application>
>
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Claudia Barnal" <[EMAIL PROTECTED]> wrote:
> >
>
> > Tim,
> >
> > Thanks for your reply :)
> >
> > > You'll have to wait until the stage object is available to the 
> > > application.
> >
> > How would I do that?
> >
> > > It only removes the top three menu options.
> >
> > I'm quite happy with that. I basically want to remove the scaling
> > options and whatnot.
> >
>
> > On 9/4/06, Tim Hoff [EMAIL PROTECTED] wrote:
> > > Hi Claudia,
> > >
> > > You are correct on both counts. You're getting an error because of
> > > timing. You'll have to wait until the stage object is available to
> > > the application. However, setting the showDefaultContextMenu
> > > property to false doesn't entirely remove the context menu. It only
> > > removes the top three menu options. As far as I know you can't
> > > eliminate the context menu completely.
> > >
> > > -TH
> >
>
>
>
> 
>
>
> ________________________________

> 


--
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/
 


Reply via email to