Re: [flexcoders] Pop-up Window issue

2009-01-23 Thread Eric Dunn
Any suggestions on how to stay out of this hole. I am using a button with a 
click and not using KEY_UP or KEY_DOWN or ENTER. This thing is driving me to 
drinking... 



Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

- Original Message - 
From: Alex Harui aha...@adobe.com 
To: flexcoders@yahoogroups.com 
Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Pop-up Window issue 









I’ve seen something like this where the events in the pipeline get sent to the 
underlying app and result in dispatching an event that opens the dialog. For 
example, if you used ENTER to close the window, if someone leans on the ENTER 
key too long it repeats and the second ENTER goes to the app that activates the 
button that opened the dialog. You can also get in this hole if you use 
KEY_DOWN and KEY_UP 





From: flexcoders@yahoogroups.com [ mailto:flexcoders@yahoogroups.com ] On 
Behalf Of Eric Dunn 
Sent: Thursday , January 22, 2009 12:21 PM 
To: flexcoders 
Subject: [flexcoders] Pop-up Window issue 







Not sure what is going on.. maybe someone can help .. 

Here is the set up: 

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules. Once a schedule has been added, 
updated or deleted, the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app. 

The Issue: The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another 
schedule, the window opens, the delete function works but the window does not 
close. While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The! thing that puzzles me most is the variables 
reverting... 

Anyone seen this or have an idea on how to resolve? 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 





Re: [flexcoders] Pop-up Window issue

2009-01-23 Thread Haykel BEN JEMIA
Any code to test this behavior?

Haykel Ben Jemia

Allmas
Web  RIA Development
http://www.allmas-tn.com




On Fri, Jan 23, 2009 at 3:52 PM, Eric Dunn ed...@adpt-tech.com wrote:

   Any suggestions on how to stay out of this hole. I am using a button
 with a click and not using KEY_UP or KEY_DOWN or ENTER. This thing is
 driving me to drinking...



 Eric W Dunn
 Adaption Technologies
 281-465-3326
 ed...@adpt-tech.com

 - Original Message -
 From: Alex Harui aha...@adobe.com
 To: flexcoders@yahoogroups.com
 Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central
 Subject: RE: [flexcoders] Pop-up Window issue

I've seen something like this where the events in the pipeline get sent
 to the underlying app and result in dispatching an event that opens the
 dialog.  For example, if you used ENTER to close the window, if someone
 leans on the ENTER key too long it repeats and the second ENTER goes to the
 app that activates the button that opened the dialog.  You can also get in
 this hole if you use KEY_DOWN and KEY_UP



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Eric Dunn
 *Sent:* Thursday, January 22, 2009 12:21 PM
 *To:* flexcoders
 *Subject:* [flexcoders] Pop-up Window issue



 Not sure what is going on.. maybe someone can help ..

 Here is the set up:

 Main app with a manage button. The button opens a pop up TitleWindow
 where a user can add, update or delete schedules.  Once a schedule has been
 added, updated or deleted,  the hanged is pushed to the database and the
 window should close. I am passing variables in from the parent app.

 The Issue:  The first schedule I delete works fine, the database gets
 updated and the window closes. Now if I try to open it again and delete
 another  schedule, the window opens, the delete function works but the
 window does not close.  While debugging, I see the correct varaibles passed
 in on window open, the delete function processes and then the variables
 revert to the orginal and the window never closes. I watch the code process
 the commands of close window but it never closes. The! thing that puzzles me
 most is the variables reverting...

 Anyone seen this or have an idea on how to resolve?

 Eric W Dunn
 Adaption Technologies
 281-465-3326 callto:+1281-465-3326
 ed...@adpt-tech.com

 



RE: [flexcoders] Pop-up Window issue

2009-01-23 Thread Alex Harui
Have a drink, then set break points on the method that pops up the dialog to 
make sure it is in fact being re-launched on close and examine the call stack 
to see why.  Once we know why it will be easier to suggest fixes.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn
Sent: Friday, January 23, 2009 6:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Pop-up Window issue

Any suggestions on how to stay out of this hole. I am using a button with a 
click and not using KEY_UP or KEY_DOWN or ENTER. This thing is driving me to 
drinking...



Eric W Dunn
Adaption Technologies
281-465-3326
ed...@adpt-tech.com

- Original Message -
From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com
Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central
Subject: RE: [flexcoders] Pop-up Window issue
I’ve seen something like this where the events in the pipeline get sent to the 
underlying app and result in dispatching an event that opens the dialog.  For 
example, if you used ENTER to close the window, if someone leans on the ENTER 
key too long it repeats and the second ENTER goes to the app that activates the 
button that opened the dialog.  You can also get in this hole if you use 
KEY_DOWN and KEY_UP

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn
Sent: Thursday, January 22, 2009 12:21 PM
To: flexcoders
Subject: [flexcoders] Pop-up Window issue

Not sure what is going on.. maybe someone can help ..

Here is the set up:

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules.  Once a schedule has been added, 
updated or deleted,  the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app.

The Issue:  The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another  
schedule, the window opens, the delete function works but the window does not 
close.  While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The! thing that puzzles me most is the variables 
reverting...

Anyone seen this or have an idea on how to resolve?

Eric W Dunn
Adaption Technologies
281-465-3326callto:+1281-465-3326
ed...@adpt-tech.com



Re: [flexcoders] Pop-up Window issue

2009-01-23 Thread Eric Dunn
I set break points on the method that launches the pop up. The break point 
never hits. 

I delete a schedule, pop up closes. I then try to delete another schedule and 
the schedule is deleted, I see the confirmation result (alert) and the window 
does not close and the breakpoint never stops the code. 
I am seeing that if I select another schedule, the deletion function is still 
active... meaning, that once I select another schedule, it is automatically 
deleted. Looks like I am not cleaning up, leaving event listeners active... 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

- Original Message - 
From: Alex Harui aha...@adobe.com 
To: flexcoders@yahoogroups.com 
Sent: Friday, January 23, 2009 12:29:42 PM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Pop-up Window issue 









Have a drink, then set break points on the method that pops up the dialog to 
make sure it is in fact being re-launched on close and examine the call stack 
to see why. Once we know why it will be easier to suggest fixes. 





From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn 
Sent: Friday, January 23, 2009 6:52 AM 
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Pop-up Window issue 







Any suggestions on how to stay out of this hole. I am using a button with a 
click and not using KEY_UP or KEY_DOWN or ENTER. This thing is driving me to 
drinking... 



Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

- Original Message - 
From: Alex Harui aha...@adobe.com 
To: flexcoders@yahoogroups.com 
Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Pop-up Window issue 





I’ve seen something like this where the events in the pipeline get sent to the 
underlying app and result in dispatching an event that opens the dialog. For 
example, if you used ENTER to close the window, if someone leans on the ENTER 
key too long it repeats and the second ENTER goes to the app that activates the 
button that opened the dialog. You can also get in this hole if you use 
KEY_DOWN and KEY_UP 





From: flexcoders@yahoogroups.com [ mailto:flexcoders@yahoogroups.com ] On 
Behalf Of Eric Dunn 
Sent: Thursday , January 22, 2009 12:21 PM 
To: flexcoders 
Subject: [flexcoders] Pop-up Window issue 







Not sure what is going on.. maybe someone can help .. 

Here is the set up: 

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules. Once a schedule has been added, 
updated or deleted, the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app. 

The Issue: The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another 
schedule, the window opens, the delete function works but the window does not 
close. While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The! thing that puzzles me most is the variables 
reverting... 

Anyone seen this or have an idea on how to resolve? 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 





[flexcoders] Pop-up Window issue

2009-01-22 Thread Eric Dunn
Not sure what is going on.. maybe someone can help .. 

Here is the set up: 

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules. Once a schedule has been added, 
updated or deleted, the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app. 

The Issue: The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another 
schedule, the window opens, the delete function works but the window does not 
close. While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The thing that puzzles me most is the variables 
reverting... 

Anyone seen this or have an idea on how to resolve? 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 


RE: [flexcoders] Pop-up Window issue

2009-01-22 Thread Alex Harui
I’ve seen something like this where the events in the pipeline get sent to the 
underlying app and result in dispatching an event that opens the dialog.  For 
example, if you used ENTER to close the window, if someone leans on the ENTER 
key too long it repeats and the second ENTER goes to the app that activates the 
button that opened the dialog.  You can also get in this hole if you use 
KEY_DOWN and KEY_UP

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn
Sent: Thursday, January 22, 2009 12:21 PM
To: flexcoders
Subject: [flexcoders] Pop-up Window issue

Not sure what is going on.. maybe someone can help ..

Here is the set up:

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules.  Once a schedule has been added, 
updated or deleted,  the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app.

The Issue:  The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another  
schedule, the window opens, the delete function works but the window does not 
close.  While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The! thing that puzzles me most is the variables 
reverting...

Anyone seen this or have an idea on how to resolve?

Eric W Dunn
Adaption Technologies
281-465-3326
ed...@adpt-tech.com



[flexcoders] pop-up window x and y settings

2006-09-06 Thread mthielman11
Does anyone know how to set the x and way proprties of a popup window?

Here is my function.  This does not work for some reason.

public function displayForm():void {
var helpWindow:basics = 
basics(PopUpManager.createPopUp(this, basics, 
false));
helpWindow.title=Basic Information;
helpWindow.showCloseButton = true;
helpWindow.x = 90;
helpWindow.y = 100;
}


I can not find the info anywhere.






--
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] pop-up window x and y settings

2006-09-06 Thread Michael Schmalle



Hi, 
basics(PopUpManager.createPopUp(this, basics, false));What is 'this' refering to?That is probably the problem. Are you loading into an Application from another Application?Just for a test you can also comment out the x and y setting calls and try;
PopUpManager.centerPopUp(helpWindow);If you cannot see it, do you happen to have the aplha or visible turned off on the basics component?Peace, MikeOn 9/6/06, 
mthielman11 [EMAIL PROTECTED] wrote:













  



Does anyone know how to set the x and way proprties of a popup window?

Here is my function.  This does not work for some reason.

			public function displayForm():void {
var helpWindow:basics = 
basics(PopUpManager.createPopUp(this, basics, false));
helpWindow.title=Basic Information;
helpWindow.showCloseButton = true;
helpWindow.x = 90;
helpWindow.y = 100;
}

I can not find the info anywhere.


  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] pop up window

2005-04-27 Thread nithya karthik



hai!
 I have a tile with images which on mouseover displays a vbox beneath.. I want a panel or a title window to pop up on click of the image.. the window must popup right over the image.. How should i do this? pls help me with some code..

?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FF"
!--mx:Script function show(index) { var e = new mx.effects.Resize(cart[index]); // e.heightTo=50; e.show=true; e.duration = 300; e.playEffect(); }  function hide(index){ var f = new mx.effects.Resize(cart[index]); // f.heightTo=0; f.show=false; f.duration = 300; f.playEffect();} /mx:Script-- mx:Effect mx:WipeDown name="showCart" show="true"
 duration="300"/ mx:WipeUp name="hideCart" show="false" duration="300"/ /mx:Effect
 mx:Model id="catalog" source="../catalog.xml"/
 mx:Canvas
 mx:Tile width="480" horizontalGap="20" mx:Repeater id="list" dataProvider="{catalog.product}" count="6" mx:VBox height="200" vScrollPolicy="off" hScrollPolicy="off" verticalGap="-5"  mx:Image id="img" width="120" height="120" cornerRadius="6" mouseOver="cart[event.target.repeaterIndices[0]].visible=true" mouseOut="cart[event.target.repeaterIndices[0]].visible=false"  source="{list.currentItem.image}" borderStyle="solid" borderColor="#C5B4DC"
 borderThickness="3"/ mx:VBox id="cart" backgroundColor="#A296CF" borderStyle="solid" marginTop="8" marginLeft="8" marginBottom="8" marginRight="8" visible="false" hScrollPolicy="off" vScrollPolicy="off" cornerRadius="2" showEffect="showCart" hideEffect="hideCart" mx:VBox id="detailContent" height="40" width="102" hScrollPolicy="off" vScrollPolicy="off"mx:Label color="#FF" text="{list.currentItem.name}" fontWeight="bold" width="300"/mx:Label color="#FF" text="${list.currentItem.price}" fontWeight="bold" /
 /mx:VBox/mx:VBox /mx:VBox /mx:Repeater /mx:Tile /mx:Canvas
/mx:Application  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







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 the Yahoo! Terms of Service.