RE: [flexcoders] Return of the Menu Depth Monster!

2006-01-31 Thread Jonathan Miranda










Woohoo, I’m not crazy! J

 



 

_

Jonathan Miranda

Flexible Master of the Web

"In the
game of chess, it's important to never let your opponent see your pieces."





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joan Tan
Sent: Tuesday, January 31, 2006
10:58 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!



 

I just tried this and confirmed that
it’s a bug. I will log it in our bugbase. Thanks.

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, January 31, 2006
6:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!



 

I tried setting my mx:Application with an
id of “myApp” and sending that into the createMenu call. Works fine
again with the button….not on the change event for the Datagrid.

Has anyone successfully gotten a menu to work on a “change” event
for Datagrid?

 



 

_

Jonathan Miranda

Flexible Master of the Web





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa
 Subramaniam
Sent: Friday, January 27, 2006
6:21 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!



 

Have you tried parenting the Menu to the Application or some
higher-level container (ie: pass a container instead of null as the first
argument in createMenu())? 

 



__

Find Me: 

  2701 - 601 Townsend

  415.832.7668

  [EMAIL PROTECTED]




 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, January 27, 2006
3:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Return of
the Menu Depth Monster!

 

Alright, after reading through all the archives, cflex.net and
google…I’ve come to the conclusion I can’t solve my issue J I have a super basic
menu function.

public function showMenu() {

  myMenu =
Menu.createMenu(null, myEMP2Service.result.query.row);

  myMenu.show(200,
10);

  Alert.show("trace:
"+myMenu,"hey!",Alert.OK);

}

 

I call this from a button
on my movie.

 

 id="clickBtn" label="Add Note" click="showMenu()"/>    

It works and I see the alert. Now I do the same
with a datagrid, right after the button, in the same element/level in the
movie.

 id="AFTAsDG" width="100%" height="95%" dataProvider="{myAFTAService.result.query.row}"
change="showMenu()">

 

No menu! But the alert
shows the menu exists! No matter where I move it, it doesn’t show up. Can
you not do menus on changeEvents for Datagrids?  I’m assuming
it’s a depth issue of some sort…ideas?

Jonathan Miranda












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



  











RE: [flexcoders] Return of the Menu Depth Monster!

2006-01-31 Thread Joan Tan










I just tried this and confirmed that it’s
a bug. I will log it in our bugbase. Thanks.

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, January 31, 2006
6:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!



 

I tried setting my mx:Application with an
id of “myApp” and sending that into the createMenu call. Works fine
again with the button….not on the change event for the Datagrid.

Has anyone successfully gotten a menu to work on a “change” event
for Datagrid?

 



 

_

Jonathan Miranda

Flexible Master of the Web





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa
 Subramaniam
Sent: Friday, January 27, 2006
6:21 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!



 

Have you tried parenting the Menu to the Application or some
higher-level container (ie: pass a container instead of null as the first
argument in createMenu())? 

 



__

Find Me: 

  2701 - 601 Townsend

  415.832.7668

  [EMAIL PROTECTED]




 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, January 27, 2006
3:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Return of
the Menu Depth Monster!

 

Alright, after reading through all the archives, cflex.net and
google…I’ve come to the conclusion I can’t solve my issue J I have a super basic
menu function.

public function showMenu() {

  myMenu =
Menu.createMenu(null, myEMP2Service.result.query.row);

  myMenu.show(200,
10);

  Alert.show("trace:
"+myMenu,"hey!",Alert.OK);

}

 

I call this from a button
on my movie.

 

 id="clickBtn" label="Add Note" click="showMenu()"/>    

It works and I see the alert. Now I do the same
with a datagrid, right after the button, in the same element/level in the
movie.

 id="AFTAsDG" width="100%" height="95%" dataProvider="{myAFTAService.result.query.row}"
change="showMenu()">

 

No menu! But the alert
shows the menu exists! No matter where I move it, it doesn’t show up. Can
you not do menus on changeEvents for Datagrids?  I’m assuming
it’s a depth issue of some sort…ideas?

Jonathan Miranda











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



  











RE: [flexcoders] Return of the Menu Depth Monster!

2006-01-31 Thread Jonathan Miranda










I tried setting my mx:Application with an
id of “myApp” and sending that into the createMenu call. Works fine
again with the button….not on the change event for the Datagrid.

Has anyone successfully gotten a menu to work on a “change” event
for Datagrid?

 



 

_

Jonathan Miranda

Flexible Master of the Web





 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepa Subramaniam
Sent: Friday, January 27, 2006
6:21 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Return
of the Menu Depth Monster!



 

Have you tried parenting the Menu to the Application or some
higher-level container (ie: pass a container instead of null as the first
argument in createMenu())? 

 



__

Find Me: 

  2701 - 601 Townsend

  415.832.7668

  [EMAIL PROTECTED]




 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, January 27, 2006
3:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Return of
the Menu Depth Monster!

 

Alright, after reading through all the archives, cflex.net and
google…I’ve come to the conclusion I can’t solve my issue J I have a super basic
menu function.

public function showMenu() {

  myMenu =
Menu.createMenu(null, myEMP2Service.result.query.row);

  myMenu.show(200,
10);

  Alert.show("trace:
"+myMenu,"hey!",Alert.OK);

}

 

I call this from a button
on my movie.

 

 id="clickBtn" label="Add Note" click="showMenu()"/>    

It works and I see the alert. Now I do the same
with a datagrid, right after the button, in the same element/level in the
movie.

 id="AFTAsDG" width="100%" height="95%" dataProvider="{myAFTAService.result.query.row}"
change="showMenu()">

 

No menu! But the alert
shows the menu exists! No matter where I move it, it doesn’t show up. Can
you not do menus on changeEvents for Datagrids?  I’m assuming
it’s a depth issue of some sort…ideas?

Jonathan Miranda










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



  











RE: [flexcoders] Return of the Menu Depth Monster!

2006-01-27 Thread Deepa Subramaniam










Have you tried parenting the Menu to the Application or some
higher-level container (ie: pass a container instead of null as the first
argument in createMenu())? 

 



__

Find Me: 

  2701 - 601 Townsend

  415.832.7668

  [EMAIL PROTECTED]




 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jonathan Miranda
Sent: Friday, January 27, 2006
3:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Return of
the Menu Depth Monster!

 

Alright, after reading through all the archives, cflex.net and
google…I’ve come to the conclusion I can’t solve my issue J I have a super basic
menu function.

public function showMenu() {

  myMenu =
Menu.createMenu(null, myEMP2Service.result.query.row);

  myMenu.show(200,
10);

  Alert.show("trace:
"+myMenu,"hey!",Alert.OK);

}

 

I call this from a button
on my movie.

 

 id="clickBtn" label="Add Note" click="showMenu()"/>    

It works and I see the alert. Now I do the same
with a datagrid, right after the button, in the same element/level in the
movie.

 id="AFTAsDG" width="100%" height="95%" dataProvider="{myAFTAService.result.query.row}"
change="showMenu()">

 

No menu! But the alert
shows the menu exists! No matter where I move it, it doesn’t show up. Can
you not do menus on changeEvents for Datagrids?  I’m assuming
it’s a depth issue of some sort…ideas?

Jonathan Miranda









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