Re: [flexcoders] After TitleWindow deletePopup(), nothing is accessible on screen
Does anyone have an example of how to use this removeWindow function? I am trying to get my focus to work. I placed this function in the app file and call it from an eventHandler. The eventHandler gets dispatched in the titlewindow. Obviously, this isn't the right place to call the removeWindow function since I can't seem to get the focus to work. code excerpt: function showPopUp(){ addressPop = TitleWindow (PopUpManager.createPopUp(this, newAddress, true, initObj)); addressPop.centerPopUp (parentDocument.mainSection); addressPop.addEventListener ("addressReturned", this) } function handleEvent(evt:Object):Void { removeWindow(); //does other stuff } function removeWindow() { doLater(addressPop, "deletePopUp"); } --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: Bug. Do something like this: function removeWindow() { doLater(pop1, "deletePopUp"); } For some reason, it needs a frame when the removal is triggered by an event dispatched from the popup. - Original Message - From: "Jordan Snyder" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 29, 2005 8:02 PM Subject: [flexcoders] After TitleWindow deletePopup(), nothing is accessible on screen Hello, I am using code to popup a TitleWindow from the main . The window pops up fine, and seems to close fine, but after closing, nothing on the screen can be clicked. Nothing has focus, so rollovers don't even work, and the only thing clickable is the Link that spawned the popup window in the first place. I'm using the code from the Flex documentation on popping up TitleWindows function showScreen(screen:String) { pop1 = TitleWindow( popupWindow(NewProposalScreen, {title:'New Proposal', closeButton:true, app: this }) ); } Any ideas? Seems to be a focus issue, but I'm a Flash Pro becoming a Flex noob, so I can't figure out what to do next. Thanks in advance for any help! -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.com -- 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 --- End forwarded message --- Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12hh0rv2d/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124422166/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!. ~-> -- 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/
Re: [flexcoders] After TitleWindow deletePopup(), nothing is accessible on screen
Beautiful! On 6/29/05, JesterXL <[EMAIL PROTECTED]> wrote: > Bug. Do something like this: > > function removeWindow() > { > doLater(pop1, "deletePopUp"); > } > > For some reason, it needs a frame when the removal is triggered by an event > dispatched from the popup. > > > - Original Message - > From: "Jordan Snyder" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, June 29, 2005 8:02 PM > Subject: [flexcoders] After TitleWindow deletePopup(), nothing is accessible > on screen > > > Hello, > > I am using code to popup a TitleWindow from the main . > The window pops up fine, and seems to close fine, but after closing, > nothing on the screen can be clicked. Nothing has focus, so rollovers > don't even work, and the only thing clickable is the Link that spawned > the popup window in the first place. > > I'm using the code from the Flex documentation on popping up > TitleWindows > > function showScreen(screen:String) { > pop1 = TitleWindow( popupWindow(NewProposalScreen, {title:'New > Proposal', closeButton:true, app: this }) ); > } > > > Any ideas? Seems to be a focus issue, but I'm a Flash Pro becoming a > Flex noob, so I can't figure out what to do next. > > Thanks in advance for any help! > > -- > Jordan Snyder > Applications Developer > ImageAction, USA > http://www.imageaction.com > > > -- > 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 > > > > > > > > > > -- > 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 > > Visit your group "flexcoders" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.com -- 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/
Re: [flexcoders] After TitleWindow deletePopup(), nothing is accessible on screen
Bug. Do something like this: function removeWindow() { doLater(pop1, "deletePopUp"); } For some reason, it needs a frame when the removal is triggered by an event dispatched from the popup. - Original Message - From: "Jordan Snyder" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 29, 2005 8:02 PM Subject: [flexcoders] After TitleWindow deletePopup(), nothing is accessible on screen Hello, I am using code to popup a TitleWindow from the main . The window pops up fine, and seems to close fine, but after closing, nothing on the screen can be clicked. Nothing has focus, so rollovers don't even work, and the only thing clickable is the Link that spawned the popup window in the first place. I'm using the code from the Flex documentation on popping up TitleWindows function showScreen(screen:String) { pop1 = TitleWindow( popupWindow(NewProposalScreen, {title:'New Proposal', closeButton:true, app: this }) ); } Any ideas? Seems to be a focus issue, but I'm a Flash Pro becoming a Flex noob, so I can't figure out what to do next. Thanks in advance for any help! -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.com -- 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 -- 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] After TitleWindow deletePopup(), nothing is accessible on screen
Hello, I am using code to popup a TitleWindow from the main . The window pops up fine, and seems to close fine, but after closing, nothing on the screen can be clicked. Nothing has focus, so rollovers don't even work, and the only thing clickable is the Link that spawned the popup window in the first place. I'm using the code from the Flex documentation on popping up TitleWindows function showScreen(screen:String) { pop1 = TitleWindow( popupWindow(NewProposalScreen, {title:'New Proposal', closeButton:true, app: this }) ); } Any ideas? Seems to be a focus issue, but I'm a Flash Pro becoming a Flex noob, so I can't figure out what to do next. Thanks in advance for any help! -- Jordan Snyder Applications Developer ImageAction, USA http://www.imageaction.com -- 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/