Just looked it up in the AS docs. popupWindow( className:Object, initObj:Object ) :MovieClip
Creates a pop-up TitleWindow container. Gotta love the docs ;) Andrew www.flexdaddy.com --- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote: > Wow, thank you Andrew! > > Programming for quite some time, I understand the importance of avoiding > "reserved names" for variables and functions - but I guess it never hit > me that "popupWindow" was reserved inside of Flex. > > Thank you SO much for pointing out my mistake. > > Mike :) > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Andrew Spaulding > Sent: Wednesday, June 15, 2005 9:50 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: I don't understand this error message - > > Also, do you have a method in the root of your application called > popupWindow() ?? > > Andrew > > > --- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote: > > This code in my app (even know it works fine): > > > > public function popupWindow() > > { > > var pop = mx.managers.PopUpManager.createPopUp(this, Categories, > > > false); } > > > > Generates this error message: > > > > The function, popupWindow, hides a function in ancestor class, > > 'mx.core.Application'. The number of parameters differs. To > > override a function, the parameter types and return type must > > be assignable to the parameter types and return type of the > > overridden function. > > > > Can anybody explain what I must do, in order to remedy this error? > > I've tried to populate the remaining parameters with "null", since I > > really only require 2 (the parent of the popup, and the actual .mxml > > file I actually want to be popped up), thinking that it wants > > remaining parameters filled in, but it does not work. > > > > I've also tried searching for the error message, and I get no hits. > > > > Thanks, > > > > Mike > > > > > > > Yahoo! Groups Links 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/