RE: [flexcoders] probably-stupid AS3 question

2006-05-19 Thread Gordon Smith
You don't show how you declared __editWindow, but from the error message it sounds like you declared it as     var __editWindow:TitleWindow; The problem is that Adobe's TitleWindow class doesn't have a "seller" property; it's your SellerEdit subclass of TitleWindow that added that property. W

Re: [flexcoders] probably-stupid AS3 question

2006-05-19 Thread Michael Schmalle
Oh, morning, my EYES! I see you casted it but to the SellerEdit's superclass which does not hold seller only SellerEdit does not TItleWindow. __editWindow = SellerEdit(PopUpManager.createPopUp(this, SellerEdit, true)); or __editWindow = PopUpManager.createPopUp(this, SellerEdit, true)

Re: [flexcoders] probably-stupid AS3 question

2006-05-19 Thread Michael Schmalle
Hi, Simple casting problem; __editWindow = TitleWindow(PopUpManager.createPopUp(this, SellerEdit, true)); to __editWindow = TitleWindow(PopUpManager.createPopUp(this, SellerEdit, true)); as SellerEdit Peace, MikeOn 5/19/06, Josh Santangelo <[EMAIL PROTECTED]> wrote: I'm new here, as wil