[flexcoders] MenuBar horizontal separators

2010-07-05 Thread method_air
Does the Flex MenuBar component feature horizontal separators? If not, any 
custom components out there that do?

Thanks,

Philip



[flexcoders] MenuBar background color

2010-05-14 Thread Wally Kolcz
Can someone give me an example of how to set the background color(s) for 
a  in Flex 4?



[flexcoders] MenuBar memory leaks

2009-11-14 Thread emc_rcsiki
Hello there,

My application has components containing menus (MenuBar) which are
transient in the display list, that is, these components can be
added/removed during application lifetime.  I noticed MenuBar objects
are not being garbage collected. Any ideas? Upon removal I am setting
the data provider to null, but no luck. Everything stays in memory.

A simple example of MenuBar component that's not getting GC-ed, below..

Thanks

 public class ActionMenuBar extends MenuBar
 {
 public function ActionMenuBar()
 {
 super();
 var dp:XML =
 
 
 
 
 
 
 
 
 
 
 
 
  ;

 this.dataProvider = dp;
 this.labelField = "@label";

 addEventListener(FlexEvent.REMOVE, onRemove, false, 0,
true);
 }

 private function onRemove(event:FlexEvent):void
 {
 trace("-- ActionMenuBar removed");
 removeEventListener(FlexEvent.REMOVE, onRemove);
 this.dataProvider = null;
 }
  }






[flexcoders] MenuBar ItemRenderers on Sub-Menus

2009-06-23 Thread lampei
I'm trying to create a custom itemrenderer for the sub menus of an 
itemrenderer, but am running into some issues...the main one being that I 
cannot seem to access the sub menus to create them.

The docs state:
You can define an item renderer for the pop-up submenus of the MenuBar control. 
Because each pop-up submenu is an instance of the Menu control, you use the 
class MenuItemRenderer to define an item renderer for the pop-up submenus. To 
set the item renderer for a pop-up submenu, access the Menu object using the 
menus property. 

However, I'm having trouble trying to figure out when the menus have been set, 
and how to change their itemrenderer once I *do* get the check working.

Anyone have any insight into how to accomplish this?  It seems to be pretty 
straight forward...when menus has values, set an itemrenderer on the items 
within it.

Thanks.



Re: [flexcoders] MenuBar text roll over

2009-05-14 Thread KK

Thanks Alex,

But I couldn't achieve that with skinning. Maybe you could show a quick 
example?


Actually, I found a way to do that through item renderers. I wanted to 
just extend the mx.controls.menuClasses.MenuBarItemRenderer and override 
its set menuBarItemState but because of this bug 
http://bugs.adobe.com/jira/browse/SDK-13877, well I received the same 
error, I couldn't quite do that. So, I just created a copy of the class 
and added the following hack to aforementioned method:


   if (value == "itemOverSkin" || value == "itemDownSkin")
   {
   label.textColor = getStyle("hoverColor") as int;
   }
   else
   {
   label.textColor = getStyle("color") as int;
   }

Besides that, as you might have already presumed, I added another style 
property:


[Style(name="hoverColor", type="uint", format="Color", inherit="yes")]

Now, I don't really favor this solution as it is IMHO a hack. Therefore 
I'd be grateful if you or anyone else could show a more elegant solution.


Other than that, MenuBar does seem a little difficult to work with, 
mainly because there isn't enough documentation covering it. For 
example, just by miraculous coincidence I found out that the menus 
inside the menu bar are actually DropDowns, is that true? At least it 
seems to be possible to define their styles in this way.


Anyway, thanks for attention.

Dmitri

Alex Harui пишет:



You should be able to supply a custom skin

 


Alex Harui

Flex SDK Developer

Adobe Systems Inc. <http://www.adobe.com/>

Blog: http://blogs.adobe.com/aharui <http://blogs.adobe.com/aharui>

 

*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
*On Behalf Of *KK

*Sent:* Thursday, May 14, 2009 7:07 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] MenuBar text roll over

 





Hi,

I am trying to figure out the easiest way to change the text color on
roll over for the menu headings in the mx.controls.MenuBar. Defining
styles doesn't work. I also looked at the MenuBarItem but was unable to
salvage anything there. So far, I think I need to assign a custom item
renderer, which would change the color based on the state. However, I
have not done that in the past so any help or advice would be much
appreciated. BTW, I am using custom skins to render a custom shape when
the mouse hovers the link.

Thanks.

Dmitri




RE: [flexcoders] MenuBar text roll over

2009-05-14 Thread Alex Harui
You should be able to supply a custom skin

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of KK
Sent: Thursday, May 14, 2009 7:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] MenuBar text roll over





Hi,

I am trying to figure out the easiest way to change the text color on
roll over for the menu headings in the mx.controls.MenuBar. Defining
styles doesn't work. I also looked at the MenuBarItem but was unable to
salvage anything there. So far, I think I need to assign a custom item
renderer, which would change the color based on the state. However, I
have not done that in the past so any help or advice would be much
appreciated. BTW, I am using custom skins to render a custom shape when
the mouse hovers the link.

Thanks.

Dmitri



[flexcoders] MenuBar text roll over

2009-05-14 Thread KK
Hi,

I am trying to figure out the easiest way to change the text color on 
roll over for the menu headings in the mx.controls.MenuBar. Defining 
styles doesn't work. I also looked at the MenuBarItem but was unable to 
salvage anything there. So far, I think I need to assign a custom item 
renderer, which would change the color based on the state. However, I 
have not done that in the past so any help or advice would be much 
appreciated. BTW, I am using custom skins to render a custom shape when 
the mouse hovers the link.

Thanks.

Dmitri


[flexcoders] Menubar sub menu pop up orientation

2009-02-26 Thread Sefi Ninio
Hi.

I have a working MenuBar, with sub menus - all working exactly as I need it
to.

I was wondering, however, if there was a way to force the sub menu to open
upwards instead of downwards in relation to the menu bar.

I plan to place the MenuBar on the bottom of the component, and would like
to make sure that if the component is placed near the bottom of the screen,
that the sub menu pop up won't disappear from lack of screen space.

Thanks,
Sefi


Re: [flexcoders] MenuBar menuitem data binding bug?

2008-11-05 Thread Mark Carter

Hi - I tried that but, no, that doesn't work either:











Fotis Chatzinikos wrote:
> 
> Have you tried:
> 
> enabled="{bindableProp !=null?true:false}"
> 

-- 
View this message in context: 
http://www.nabble.com/MenuBar-menuitem-data-binding-bug--tp20343455p20355940.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] MenuBar menuitem data binding bug?

2008-11-05 Thread Fotis Chatzinikos
Have you tried:

enabled="{bindableProp !=null?true:false}"


On Wed, Nov 5, 2008 at 7:17 PM, Mark Carter <[EMAIL PROTECTED]> wrote:

>
> 
> 
> 
> 
> 
> 
>
> This allows me to disable the menuitem when bindableProp is null.
>
> In the above example, bindableProp is a Boolean which has been declared as
> Bindable. When the container is created, this bindableProp is null. Later,
> I
> set it to something non-null.
>
> The above code works fine. However, its a workaround, because if I don't
> include the "myMenuBar != null &&" part, then the menuitem is
> initially enabled (before the bindableProp has been set to a non-null
> value).
>
> On closer inspection "myMenuBar" can be replaces with any other non-null
> Bindable property, and it still works. Null properties or non-bindable
> properties do not work there.
>
> Also its ok to do something like: "{nonNullBindableProp.nullBindableProp !=
> null}" but NOT "{nullBindableProp != null}"
>
> Is this a bug or am I doing something wrong?
> --
> View this message in context:
> http://www.nabble.com/MenuBar-menuitem-data-binding-bug--tp20343455p20343455.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>
>  
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
[EMAIL PROTECTED],


Re: [flexcoders] MenuBar menuitem data binding bug?

2008-11-05 Thread Mark Carter

Correction - bindableProp is not a Boolean
-- 
View this message in context: 
http://www.nabble.com/MenuBar-menuitem-data-binding-bug--tp20343455p20343457.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] MenuBar menuitem data binding bug?

2008-11-05 Thread Mark Carter








This allows me to disable the menuitem when bindableProp is null.

In the above example, bindableProp is a Boolean which has been declared as
Bindable. When the container is created, this bindableProp is null. Later, I
set it to something non-null.

The above code works fine. However, its a workaround, because if I don't
include the "myMenuBar != null &&" part, then the menuitem is
initially enabled (before the bindableProp has been set to a non-null
value).

On closer inspection "myMenuBar" can be replaces with any other non-null
Bindable property, and it still works. Null properties or non-bindable
properties do not work there.

Also its ok to do something like: "{nonNullBindableProp.nullBindableProp !=
null}" but NOT "{nullBindableProp != null}"

Is this a bug or am I doing something wrong?
-- 
View this message in context: 
http://www.nabble.com/MenuBar-menuitem-data-binding-bug--tp20343455p20343455.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] MenuBar menuItem - dynamically change selected item

2008-10-21 Thread sleblang
I have the following menubar implemented:

 



 
 


 
How can I dynamically change which menuitem is selected without actually
clicking on it?

Thanks for any and all replies.



RE: [flexcoders] Menubar Styling

2008-06-20 Thread Deepa Subramaniam
You can style the MenuBar by setting styles as attributes, or through
ActionScript, on the MenuBar directly.

To style the menus popped open by the MenuBar, you can loop through them
in ActionScript and set styles on the Menu instances as appropriate. To
loop through the MenuBar, you can use the getMenuAt() method which
returns Menu objects. To figure out how many Menus the MenuBar has,
check the length of the MenuBar's menus property. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nicholas Watson
Sent: Friday, June 20, 2008 8:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Menubar Styling

I have a menubar where I want the items on the menubar to be one color
and size, and the items in the drop downs to be another color and
style. I can't find any information on doing this. Can someone help me
out?




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





[flexcoders] Menubar Styling

2008-06-20 Thread Nicholas Watson
I have a menubar where I want the items on the menubar to be one color
and size, and the items in the drop downs to be another color and
style. I can't find any information on doing this. Can someone help me
out?



[flexcoders] MenuBar filter function

2008-04-21 Thread diehlryan
I'm using an XMLListCollection as a dataprovider for a MenuBar.  I'm
trying to find a way to easily filter out menu items based on a
visible property of the data provider.

On the top level of the MenuBar, this is easy.  I set a filterFunction
and only return visible nodes.  

However, I also need to filter out nested levels of the menu.  If my
data provider looks like this:











I need to filter out the Save All item, while showing File -> Save. 
Does anyone know a way to do this?  I looked into using the
DataDescriptor, but it only has an enabled or toggled property.  Also
looked into extending the menu itemrenderer but I thought I would post
before going too far down that road.



Re: [flexcoders] Menubar Render

2008-02-29 Thread VELO
I my case I need to put 2 icons and a label

I believe the only way is the render.


VELO

On Wed, Dec 12, 2007 at 4:48 PM, Andriy Panas <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Hi Alex,
>
> Your suggestion had helped to solve this RTE issue with MenuBarRenderer that
> contains at least one mx:Label instance.
>
> But for this particular case of the renderer that contains only text
> information, I would encourage to use labelFunction instead together with
> MenuBar.
>
> Here is the link to the nice hands on example of using labelFunction
> together with Tree that gives the idea:
>
> http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/
>
>
>
>
>
> On 10/12/2007, Alex Harui < [EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > Try setting mouseEnabled and/or mouseChildren=false on the label and other
> children.
> >
> > 
>  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Marvin Froeder
> > Sent: Wednesday, December 05, 2007 10:55 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Menubar Render
> >
> >
> >
> >
> >
> >
> > Hi folks,
> >
> > I had create a MenuBar (copy from LiveDoc's exemple) and set a custom
> menuBarItemRenderer.
> >
> > But when I tried to run I got a runtime error, every time I put the cursor
> over the render.
> >
> > Error:
> >
> > >
> > >
> > > TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.core::[EMAIL PROTECTED] to
> mx.controls.menuClasses.IMenuBarItemRenderer.
> > >
> > >   at
> mx.controls::MenuBar/mouseOverHandler()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\MenuBar.as:1670]
> >
> >
> >
> > Menubar (MenuBarLiveDocsExample.mxml):
> > > 
> > > 
> > > http://www.adobe.com/2006/mxml";
> creationComplete="initCollections();" >
> > >
> > > 
> > > 
> > > 
> > >
> > >  > > paddingTop="10" paddingLeft="10">
> > >
> > >  > >text="Select a menu item."/>
> > >
> > >  > > dataProvider="{menuBarCollection}"
> menuBarItemRenderer="MyCustomRender"/>
> > >
> > > 
> > > 
> > >
> >
> >
> >
> >
> >
> > Item Render (MyCustomRender.mxml ) :
> > >
> > >
> > > 
> > > http://www.adobe.com/2006/mxml";
> > > implements="mx.controls.menuClasses.IMenuBarItemRenderer "
> > > >
> > >
> > > 
> > > 
> > > 
> > >
> > > 
> > > 
> > > 
> > >
> > > 
> >
> >
> >
> >
> > Any one knows how to solve this?
> >
> >
> > VELO
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --
> --
> Med venlig hilsen / Best regards
> Andriy Panas
> [EMAIL PROTECTED] 


Re: [flexcoders] Menubar Render

2007-12-12 Thread Andriy Panas
Hi Alex,

Your suggestion had helped to solve this RTE issue with MenuBarRenderer that
contains at least one mx:Label instance.

But for this particular case of the renderer that contains only text
information, I would encourage to use labelFunction instead together with
MenuBar.

Here is the link to the nice hands on example of using labelFunction
together with Tree that gives the idea:
http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/



On 10/12/2007, Alex Harui <[EMAIL PROTECTED]> wrote:
>
>Try setting mouseEnabled and/or mouseChildren=false on the label and
> other children.
>
>  --
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Marvin Froeder
> *Sent:* Wednesday, December 05, 2007 10:55 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Menubar Render
>
>  Hi folks,
>
> I had create a MenuBar (copy from LiveDoc's exemple) and set a custom
> menuBarItemRenderer.
>
> But when I tried to run I got a runtime error, every time I put the cursor
> over the render.
>
> Error:
>
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > mx.core::[EMAIL PROTECTED] to
> > mx.controls.menuClasses.IMenuBarItemRenderer.
> >
> >   at mx.controls::MenuBar/mouseOverHandler
> > ()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\MenuBar.as:1670]
> >
>
> Menubar (MenuBarLiveDocsExample.mxml):
>
> > 
> > 
> > http://www.adobe.com/2006/mxml";
> > creationComplete="initCollections();" >
> >
> > 
> > 
> > 
> >
> >  > paddingTop="10" paddingLeft="10">
> >
> >  >text="Select a menu item."/>
> >
> >  > dataProvider="{menuBarCollection}"
> > menuBarItemRenderer="MyCustomRender"/>
> >
> > 
> > 
> >
>
> Item Render (MyCustomRender.mxml) :
>
> > 
> > http://www.adobe.com/2006/mxml";
> > implements="mx.controls.menuClasses.IMenuBarItemRenderer "
> > >
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > 
> >
>
>
> Any one knows how to solve this?
>
>
> VELO
>
>  
>



-- 
--
Med venlig hilsen / Best regards
Andriy Panas
[EMAIL PROTECTED]


RE: [flexcoders] Menubar Render

2007-12-09 Thread Alex Harui
Try setting mouseEnabled and/or mouseChildren=false on the label and
other children.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Marvin Froeder
Sent: Wednesday, December 05, 2007 10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Menubar Render



Hi folks,

I had create a MenuBar (copy from LiveDoc's exemple) and set a custom
menuBarItemRenderer.

But when I tried to run I got a runtime error, every time I put the
cursor over the render.

Error:


TypeError: Error #1034: Type Coercion failed: cannot convert
mx.core::[EMAIL PROTECTED] to
mx.controls.menuClasses.IMenuBarItemRenderer. 

  at
mx.controls::MenuBar/mouseOverHandler()[E:\dev\flex_201_borneo\sdk\frame
works\mx\controls\MenuBar.as:1670]


Menubar (MenuBarLiveDocsExample.mxml):



http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> " creationComplete="initCollections();"
>







 

 








Item Render (MyCustomRender.mxml) :


http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> "
implements="mx.controls.menuClasses.IMenuBarItemRenderer "
>





 
 









Any one knows how to solve this?


VELO


 


[flexcoders] Menubar Render

2007-12-05 Thread Marvin Froeder
Hi folks,

I had create a MenuBar (copy from LiveDoc's exemple) and set a custom
menuBarItemRenderer.

But when I tried to run I got a runtime error, every time I put the cursor
over the render.

Error:

> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.core::[EMAIL PROTECTED] to
> mx.controls.menuClasses.IMenuBarItemRenderer.
>
>   at mx.controls::MenuBar/mouseOverHandler
> ()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\MenuBar.as:1670]
>

Menubar (MenuBarLiveDocsExample.mxml):

> 
> 
> http://www.adobe.com/2006/mxml";
> creationComplete="initCollections();" >
>
> 
> 
> 
>
>  paddingTop="10" paddingLeft="10">
>
> text="Select a menu item."/>
>
>  dataProvider="{menuBarCollection}"
> menuBarItemRenderer="MyCustomRender"/>
>
> 
> 
>

Item Render (MyCustomRender.mxml):

> 
> http://www.adobe.com/2006/mxml";
> implements="mx.controls.menuClasses.IMenuBarItemRenderer"
> >
>
> 
> 
> 
>
> 
> 
> 
>
> 
>


Any one knows how to solve this?


VELO


[flexcoders] Menubar selected

2007-05-22 Thread nxzone
I want hightlight a menuitem if i'm in his section or child section...
I created a MenuBarActive skin and added these attributes to my MenuBar:
itemUpSkin="com.timeline.skin.MenuBarActiveSkin"
itemDownSkin="com.timeline.skin.MenuBarActiveSkin"
itemOverSkin="com.timeline.skin.MenuBarActiveSkin"

If the item is selected or mouse over, i want draw the hightlight. When
the user change section, selectedMenu change and I invalidateDisplayList
in MenuBar but the updateDisplayList in each menubarItem are not call,
why?

#In my MenuBarTiveSkin
override protected function updateDisplayList(w:Number, h:Number):void
{
   var isActive:Boolean=false
   if(name=="itemUpSkin"){
  
if((this.parent).data==UIComponent(this.parent).parentApplication.select\
edMenu){
 isActive=true;
   }
   }else{
 isActive=true
   }
   super.updateDisplayList(w,h)
   if(isActive){
 drawHightLightRect();
   }
}



[flexcoders] Menubar ItemClick method

2007-04-18 Thread gamecocked
I have a menubar that uses an xml list as the dataprovider..below is a
sample...












   

and I call a menuhandler function...that looks at the @data tag of the
xml and then runs another function to open a new window...

private function menuHandler(event:MenuEvent):void {
if([EMAIL PROTECTED] == "NewRequest") {  
showNewRequestWindow();
}
else if([EMAIL PROTECTED] == "Edit") {
showEditRequestWindow();
}
else if([EMAIL PROTECTED] == "Print") {
getUrl();
}
else if([EMAIL PROTECTED] == "HelpUsersGuide") {
showAboutWindow();
}

The issue is that I get no event when clicking on the menu item that
has no children like "Edit" from aboveso how do I get the
information from the parent menu item to be able to run another function?

Ed



[flexcoders] Menubar doesnt appear properly ! Is it a bug??

2007-04-17 Thread ravi kumar gummadi

Hi ,

I have menubar added to the application control bar. Previously I placed at the 
top of the stage and it used to work fine..with the menubar items wiping down.

Now I moved the control bar to the bottom of stage (due to some design 
requirements) and I am facing a weird problem. Even now the menubar items are 
wiping down ,out of the scope of the screen ,when I first move over the mouse 
on the menu item. But if I move over it the next time, it is showing fine by 
poppin the menuitem to its top.

So is it a bug in Menubar.! Or I am doing anything wrong...Pleae help

and btw...wat does menuBarItemRenderer property do ? I read the documentation 
but didnt a get a clue of it.

peace,
Ravi (+91-9989252777)

"What is right is right, even if no one is doing it. What is wrong is wrong, 
even if everyone is doing it."



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[flexcoders] MenuBar Question (Relating to Styles)

2007-02-25 Thread nextadvantage
I have a couple MenuBar related questions... 

1. I am trying to make a dark colored menubar with white text, and have 
white drop down lists with black or dark text. It seems both text 
styles are referenced by the color: style. How can I make the text 
color work the way I would like?

2. How can I set the menu item spacing to be distributed across the 
lenght of the menubar evenly... I would like the menubar padding to be 
more than 20 or so pixels currently displaying...

Thanks in advance for any help



[flexcoders] MenuBar component: Open on rollover, not click?

2007-01-31 Thread August Kaiser
Is there a simple way to show MenuBar drop-downs on rollover, instead of 
click?

- August



[flexcoders] MenuBar and Cairngorm

2006-09-18 Thread Mozilla By










Hi all,

I need to enable and
disable menu items in dependency of model changing. What are the best practices?

Thanks

 

Now I use something
like this but it isn’t good solution when menu depends on many models parameters:



xmlns:mx=http://www.adobe.com/2006/mxml

labelField="@label"

itemClick="handleMenuBar(event)"

dataProvider="{getMenuBar(models.currentView)}">



 

[flexcoders] MenuBar and Cairngorm

2006-09-18 Thread Mozilla By










Hi all,

I need to enable and
disable menu items in dependency of model changing. What the best practices to
do this?

Thanks

 

Now I use something
like this for example:

 





    xmlns:mx="http://www.adobe.com/2006/mxml"

    labelField="@label"

    itemClick="handleMenuBar(event)"

    dataProvider="{getMenuBar(

   models.currentView,

   models.currentFolder)}">

    

   

    






__._,_.___





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

  




__,_._,___





Re: [flexcoders] menubar icon

2006-09-03 Thread wendel
 > I never could get this to work.  I’d like to see a simple working sample
 > app myself.
 >
 >
 >
 > Tracy

hello Tracy and Doug,

Here is using actionscript, I use it with amfphp to fetch the menu from 
database:

The secret is: don't use string in icon field, use a class name in the 
icon field and it work for Panel, MenuBar and anything more that use icons.

Get the source here:
http://www.wendelmaques.com.br/MenuBar_icons.zip


Here is the code (for list archive):


http://www.adobe.com/2006/mxml";
xmlns="*"
layout="vertical"
horizontalAlign="left"
creationComplete="initApp();"
pageTitle="MenuBar with icons using ActionScript">







--
  wendel, msn: [EMAIL PROTECTED]
  http://www.wendelmaques.com.br/



--
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] menuBar Spacing

2006-08-28 Thread Joan Lafferty












Joel, 

 

You have access to all of the menuBarItems
using the menuBarItems property of a menuBar. So, to put a little extra room in
front of each menuBarItem, I did something like this:

 

  private function changeMenuBarItemLayout():void

  {

  var n:int =
Comp3.menuBarItems.length;

  for(var
i:int=0; i < n; i++)

  {


 myMenuBar.menuBarItems[i].setStyle('textIndent', 20);

 
myMenuBar.menuBarItems[i].width = Comp3.menuBarItems[i].width + 20;

  }

  }

 

Play with that and hopefully, it will give
you the flexibility/control that you need.

 

Joan

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joel Provinsal
Sent: Monday, August 28, 2006 1:09
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] menuBar
Spacing



 







This is probably a simple question, but I will proceed
anyway. I have two
issues using the menuBar component:

1. Can I indent from the left to leave a bit of room for an icon? The
menu bar is 100% across the very top of my application.
2. Can I decrease the spacing between the menu items to have more of a
"windows" type appearance instead of having the great divide between
each
item? I used textIndent, but it was truncating my text :/

Cheers,

joel






__._,_.___





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

   
  







  
  
  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.



  






__,_._,___






[flexcoders] menuBar Spacing

2006-08-28 Thread Joel Provinsal
This is probably a simple question, but I will proceed anyway.  I have two
issues using the menuBar component:

1. Can I indent from the left to leave a bit of room for an icon?  The
menu bar is 100% across the very top of my application.
2. Can I decrease the spacing between the menu items to have more of a
"windows" type appearance instead of having the great divide between each
item? I used textIndent, but it was truncating my text :/

Cheers,

joel



--
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] menubar icon

2006-08-25 Thread Tracy Spratt












I never could get this to work.  I’d
like to see a simple working sample app myself.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Arthur
Sent: Friday, August 25, 2006 2:46
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] menubar icon



 









Can someone send me an example of an icon in a menubar?





 





- Doug








__._,_.___





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

   
  







  
  
  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.



  






__,_._,___






[flexcoders] menubar icon

2006-08-25 Thread Doug Arthur



Can someone send me an example of an icon in a menubar?
 
- Doug

__._,_.___





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

   
  







  
  
  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.



  






__,_._,___



[flexcoders] MenuBar menuitem icon

2006-08-11 Thread joangarnetdotcom



Hi, I have read the previous post about this topic , but It seems that I'm missing something because I can't get to display menuitem icons in a MenuBar...I have a class for all my assets: package view.assets{    public class ImageAssets    {    [Embed(source="./assets/edit.png")]        public static var iconEdit:Class;        }}Then I try to use that image asset within a MenuBar menuitem:                                                        Also I must admint that I have tried all possible combinations with static and const...Any light on this will be appreciated.Cheers!Joan

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] MenuBar

2006-06-08 Thread Jignesh Dodiya



yeah, i did some before
 
you need to do is to embed icons to the menubar
 
 
Regards, Jignesh Dodiya 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  






__,_._,___



[flexcoders] MenuBar

2006-06-08 Thread dhvani_d
I am trying to build a menu. I would like to use MenuBar class. But
instead of showing the label property for each item in the menubar, I
want to show an icon/button/image. Is this possible? Has anyone done this?

- dhvani






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

--
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] MenuBar Border Re:Re:

2006-05-16 Thread Tim Hoff



Yeah, I know.  This just showed up from B2 to B3 and I'm stumped. 
Changing the borderStyle does effect it but doesn't remove it 
completly.  I've been fiddling around with this all day.  Trying 
different CSS combinations.

-TH

--- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote:
>
> well that's very interesting, I don't know it's that tricky to 
hide the
> border, will take a look at it tonight.
> 
> On 5/17/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> >
> > Yep,
> >
> > borderStyle:"none";
> > and
> > borderThickness:0;
> >
> > The border, from top-to-bottom looks like a gradient.  If I 
change
> > the border color to white, it goes from white to pink.  That 
makes
> > me think that it has to do with fillColors and fillAlphas 
(inherited
> > and local).  Tried those combinations on ApplicationControlBar 
and
> > MenuBar.  A three sided border - how strange.
> >
> > Thanks though Jeremy,
> >
> > Tim
> >
> >
> > --- In flexcoders@yahoogroups.com, "jeremy lu"  wrote:
> > >
> > > have you tried to set borderStyle: "none" on MenuBar ?
> > >
> > >
> > >
> > > On 5/17/06, Tim Hoff  wrote:
> > > >
> > > >    This problem pertains to a MenuBar inside of an
> > ApplicationControlBar.
> > > > I've tried everything that I know, but I can't remove a three
> > sided border
> > > > around the MenuBar:
> > > >
> > > > ___
> > > >
> > > > |
> > > > |
> > > >
> > > > |    *|   Menu1    Menu2   Menu3   Menu4   Menu5
> > **|* |
> > > >
> > > > 
> > > >
> > > > Peter, I tried using your entire CSS file instead of mine and
> > the border
> > > > around the MenuBar (not the ApplicationControlBar) still
> > existed.  I'm
> > > > wondering, since I created this application using the 
original
> > Flex Store
> > > > sample as a template (not the Cairngorm version), if there is
> > some low-level
> > > > skinning that is buried in the framework, that I can't get 
to.
> > The same
> > > > goes for the highlighting of the top level menu items on 
roll-
> > over. I can't
> > > > change that either.  This is such a trivial problem that I 
hate
> > to ask, but
> > > > I've spent a lot of time trying to fix it.  I was hoping that
> > someone could
> > > > shed some light on what I'm missing.  The code that I'm 
using is
> > similar to
> > > > that below.
> > > >
> > > > Thanks so much in advance,
> > > > Tim Hoff
> > > >
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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.



  












Re: [flexcoders] MenuBar Border Re:Re:

2006-05-16 Thread jeremy lu




well that's very interesting, I don't know it's that tricky to hide the border, will take a look at it tonight.On 5/17/06, Tim Hoff <
[EMAIL PROTECTED]> wrote:Yep,borderStyle:"none";andborderThickness:0;
The border, from top-to-bottom looks like a gradient.  If I changethe border color to white, it goes from white to pink.  That makesme think that it has to do with fillColors and fillAlphas (inheritedand local).  Tried those combinations on ApplicationControlBar and
MenuBar.  A three sided border - how strange.Thanks though Jeremy,Tim--- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote:
>> have you tried to set borderStyle: "none" on MenuBar ? On 5/17/06, Tim Hoff <[EMAIL PROTECTED]> wrote:> >> >This problem pertains to a MenuBar inside of an
ApplicationControlBar.> > I've tried everything that I know, but I can't remove a threesided border> > around the MenuBar:> >> > ___
> >> > |> > |> >>
>
|*|  
Menu1Menu2   Menu3  
Menu4   Menu5**|* |> >> > > >> > Peter, I tried using your entire CSS file instead of mine andthe border> > around the MenuBar (not the ApplicationControlBar) still
existed.  I'm> > wondering, since I created this application using the originalFlex Store> > sample as a template (not the Cairngorm version), if there issome low-level> > skinning that is buried in the framework, that I can't get to.
The same> > goes for the highlighting of the top level menu items on roll-over. I can't> > change that either.  This is such a trivial problem that I hateto ask, but> > I've spent a lot of time trying to fix it.  I was hoping that
someone could> > shed some light on what I'm missing.  The code that I'm using issimilar to> > that below.> >> > Thanks so much in advance,> > Tim Hoff> >
> Yahoo! Groups Sponsor ~-->Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 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] MenuBar enable and disable items in MXML with dataProvider (f2b3)

2006-05-16 Thread Graham Weldon



The SAVE_AS public variable is a Boolean type.

Regards,
Graham Weldon




Manish Jethani wrote:

> On 5/16/06, Graham Weldon <[EMAIL PROTECTED]> wrote:
>
> 
> > Note that in this example, when I use the text values "true" and
> > "false", they are enabled and disabled appropriately. However, when
> > attempting to use data binding, they all remain enabled despite being
> > set to Boolean false.
> >
> > Here is "MyMenuBar.mxml"
>
> 
> > 
> > label="Save"
> > enabled="false"/>
> > 
> > label="Save As..."
> > 
> enabled="{MyModelLocator.getInstance().SAVE_AS}"/>
>
> What is MyModelLocator.getInstance().SAVE_AS? Is it a Boolean or is it
> a String? If it's a String like "false", it'll always evaluate to
> true. Only empty strings are false (so "false" is true and "" is
> false).
>
>
> --
> 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
> Web site design development 
>  
>   Computer software development 
>  
>   Software design and development 
>  
>
> Macromedia flex 
>  
>   Software development best practice 
>  
>
>
>
> 
> 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 .
>
>
> 
>







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



  












[flexcoders] MenuBar using databinding

2006-05-16 Thread Graham Weldon



I've asked this question previously, but in a slightly different
manner, and since its post, I ahve managed to make some progress.

I have created a new MXML component that represents a MenuBar with
some items within that will not change except for their enabled value.
I am building this on top of the Cairngorm framework 2.0 beta, which
means I'm taking advantage of the ModelLocator construct.

I have a collection of ENABLED indicators stored on the ModelLocator,
which will be changed at varying points in the programs execution.
These states need to enable and disable the options in the menu.

Here is a snippet of what I am using, which works great for indicating
the initial required enabled or disabled state, but does not update as
the variables change...

Any thoughts on how to restructure this to allow the options to update
in real time with data binding, rather than being set upon
instantiation and initialisation of the component.

Thanks in advance!

Regards,
Graham Weldon


==

import mx.collections.XMLListCollection;

[Bindable]
private var menuXML : XMLListCollection = new
XMLListCollection(rawMenuXML);
[Bindable]
private var rawMenuXML : XMLList = XMLList(
    '' +

    '' +
    '' +

    ''
    );




    labelField="@label"
    xmlns:mx="http://www.adobe.com/2006/mxml"
    dataProvider="{menuXML}"/>

==














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



  











[flexcoders] MenuBar Border Re:Re:

2006-05-16 Thread Tim Hoff



Yep,

borderStyle:"none";
and 
borderThickness:0;

The border, from top-to-bottom looks like a gradient.  If I change 
the border color to white, it goes from white to pink.  That makes 
me think that it has to do with fillColors and fillAlphas (inherited 
and local).  Tried those combinations on ApplicationControlBar and 
MenuBar.  A three sided border - how strange.

Thanks though Jeremy,

Tim


--- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote:
>
> have you tried to set borderStyle: "none" on MenuBar ?
> 
> 
> 
> On 5/17/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> >
> >    This problem pertains to a MenuBar inside of an 
ApplicationControlBar.
> > I've tried everything that I know, but I can't remove a three 
sided border
> > around the MenuBar:
> >
> > ___
> >
> > |
> > |
> >
> > |    *|   Menu1    Menu2   Menu3   Menu4   Menu5   
**|* |
> >
> > 
> >
> > Peter, I tried using your entire CSS file instead of mine and 
the border
> > around the MenuBar (not the ApplicationControlBar) still 
existed.  I'm
> > wondering, since I created this application using the original 
Flex Store
> > sample as a template (not the Cairngorm version), if there is 
some low-level
> > skinning that is buried in the framework, that I can't get to.  
The same
> > goes for the highlighting of the top level menu items on roll-
over. I can't
> > change that either.  This is such a trivial problem that I hate 
to ask, but
> > I've spent a lot of time trying to fix it.  I was hoping that 
someone could
> > shed some light on what I'm missing.  The code that I'm using is 
similar to
> > that below.
> >
> > Thanks so much in advance,
> > Tim Hoff
> >
>











--
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] MenuBar Border Re:Re:

2006-05-16 Thread jeremy lu






have you tried to set borderStyle: "none" on MenuBar ?

On 5/17/06, Tim Hoff <[EMAIL PROTECTED]> wrote:








This
problem pertains to a MenuBar inside of an ApplicationControlBar. 
I've tried everything that I know, but I can't remove a three sided
border around the MenuBar:
___
|   |
||   Menu1    Menu2   Menu3   Menu4   Menu5   | |


Peter,
I tried using your entire CSS file instead of mine and the border
around the MenuBar (not the ApplicationControlBar) still existed. 
I'm wondering, since I created this application using the original Flex
Store sample as a template (not the Cairngorm version), if there is
some low-level skinning that is buried in the framework, that I can't
get to.  The same goes for the highlighting of the top level menu
items on roll-over. I can't change that either.  This is such a
trivial problem that I hate to ask, but I've spent a lot of time trying
to fix it.  I was hoping that someone could shed some light on
what I'm missing.  The code that I'm using is similar to that
below.
Thanks so much in advance,Tim Hoff






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



  









[flexcoders] MenuBar Border Re:Re:

2006-05-16 Thread Tim Hoff








This problem pertains to a MenuBar inside of an ApplicationControlBar.  I've tried everything that I know, but I can't remove a three sided border around the MenuBar:
___
|   |
||   Menu1    Menu2   Menu3   Menu4   Menu5   | |


Peter, I tried using your entire CSS file instead of mine and the border around the MenuBar (not the ApplicationControlBar) still existed.  I'm wondering, since I created this application using the original Flex Store sample as a template (not the Cairngorm version), if there is some low-level skinning that is buried in the framework, that I can't get to.  The same goes for the highlighting of the top level menu items on roll-over. I can't change that either.  This is such a trivial problem that I hate to ask, but I've spent a lot of time trying to fix it.  I was hoping that someone could shed some light on what I'm missing.  The code that I'm using is similar to that below.
Thanks so much in advance,Tim Hoff
<---    CSS<---
ApplicationControlBar {
    backgroundColor:    #27568D;
    cornerRadius:     6;
    shadowColor: #00;
    shadowDistance:    4;
    shadowDirection:    right;
    highlightAlphas:   0, 0;
}

MenuBar {
    backgroundColor:    #ff;
    backgroundAlpha:   1;
    color:   #ff;
    fontWeight:  "bold";
    fontSize:  11;
    textAlign: "center";
    borderColor:    #27568D;
    fillAlphas:    1, 1;
    fillColors: #27568D, #27568D;
}

Menu {
    color:   #131D22;
}

<---    MXML & AS<---



    width="100%" height="100%" horizontalScrollPolicy="off"> 

 
    
    
  
  
        
         
            
            
        
        
        
        
           
     

    
    
        styleName="colorControlBar">
  
    
      
        height="100%" width="100%" textAlign="left"
        dataProvider="{topMenuData}"        
        creationComplete="setMenuColors(topMenuBar)"
        change="handleTopMenu(event);">  
    
    
    
    





 
 
--- In flexcoders@yahoogroups.com, Peter Baird <[EMAIL PROTECTED]> wrote:>> Also, try setting all the paddings on the applicationControlBar to zero> (paddingRight, paddingLeft, etc).> > Take a look at the source of the example here:> > http://weblogs.macromedia.com/mc/archives/2006/05/mac_os_x-lookin.cfm#commen> ts> > Yes, there's still a border at the bottom, but it cleans up some of the> other borders> > Other than that, I'm not sure what else you could do... Let us all know if> you figure anything else out.> > -Peter > > > > > On 5/11/06 2:25 PM, "Tim Hoff" [EMAIL PROTECTED] wrote:> > > Thanks Manish,> > > > The menuBar height is set to 100%. It's probably some funky> > combination of CSS that I haven't found yet. No worries, I'll> > figure it out.> > > > -TH> > > > > > --- In flexcoders@yahoogroups.com, "Manish Jethani"> > manish.jethani@ wrote:> >> > >> On 5/11/06, Tim Hoff TimHoff@ wrote:> >>> Just another little thing that changed from B2 to B3. I have a> >>> MenuBar in an ApplicationControlBar. The border color of the> > MenuBar> >>> is the same as the backgroundColor of the> > ApplicationControlBar. What> >>> appears is 3 sides of a border (L, R, B - no Top) in a darker> > color,> >>> around the MenuBar. I can't get rid of it.> >> > >> I don't have access to code now, but the recommended practice is to> >> set the height of the MenuBar to 100% when it's inside a> >> ApplicationControlBar.> >> > > > > > > > > > > > > > > > > --> > 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> > > > > > > > > > > > > > / \® PETER BAIRD> 888/ \888 User Experience Consultant> 88/ / \88 Adobe Consulting | Adobe 

Re: [flexcoders] MenuBar enable and disable items in MXML with dataProvider (f2b3)

2006-05-16 Thread Manish Jethani



On 5/16/06, Graham Weldon <[EMAIL PROTECTED]> wrote:


> Note that in this example, when I use the text values "true" and
> "false", they are enabled and disabled appropriately. However, when
> attempting to use data binding, they all remain enabled despite being
> set to Boolean false.
>
> Here is "MyMenuBar.mxml"


> 
> label="Save"
> enabled="false"/>
> 
> label="Save As..."
> enabled="{MyModelLocator.getInstance().SAVE_AS}"/>

What is MyModelLocator.getInstance().SAVE_AS? Is it a Boolean or is it
a String? If it's a String like "false", it'll always evaluate to
true. Only empty strings are false (so "false" is true and "" is
false).






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  











[flexcoders] MenuBar enable and disable items in MXML with dataProvider (f2b3)

2006-05-16 Thread Graham Weldon



Hi all,

I'm tinkering with a menubar and a toolbar. I am attempting to 
centralize the enabling and disabling of functionality based on the 
application's state, and I am using the ModelLocator from the cairngorm 
best practices to achieve this.

At present I have a number of functionality items that appear both on 
the text "MenuBar" and the icon-based Toolbar. I am able to manage a 
boolean "enabled" state variable for each action, but would like this 
variable to be used in the definition of a MenuBar.

I have a feeling that the manner in which I create the data for the 
MenuBar might be hindering my data binding efforts on the MenuItems.
Note that in this example, when I use the text values "true" and 
"false", they are enabled and disabled appropriately. However, when 
attempting to use data binding, they all remain enabled despite being 
set to Boolean false.

Here is "MyMenuBar.mxml"
Any thoughts and ideas are appreciated.

Regards,
Graham Weldon

==

    xmlns:mx="http://www.adobe.com/2006/mxml"
    dataProvider="{menuXML}"
    labelField="@label">
   
    
    
    
   

==








--
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] MenuBar Border

2006-05-11 Thread Manish Jethani



On 5/11/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> Just another little thing that changed from B2 to B3.  I have a
> MenuBar in an ApplicationControlBar.  The border color of the MenuBar
> is the same as the backgroundColor of the ApplicationControlBar.  What
> appears is 3 sides of a border (L, R, B - no Top) in a darker color,
> around the MenuBar.  I can't get rid of it.

I don't have access to code now, but the recommended practice is to
set the height of the MenuBar to 100% when it's inside a
ApplicationControlBar.






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] MenuBar - change events for branch items

2006-05-11 Thread Anant Gilra



I guess you could listen to the mouseUp handler and dispatch your own change event, and also call the public funtion hide(). I haven't tried it, but it should work. You could refer the mouseUpHandler code in Menu for some help.
Thanks,Anant.On 5/11/06, n51red <[EMAIL PROTECTED]> wrote:
Is it possible to make branch nodes behave the same as leaf nodes inresponse to a mouse click, that is, close the menu and fire a changeevent?I assume such events a fired 'behind the scenes' and are canceled some
where along the hierarchy.I'm thinking of trying expand the MenuBar class to achive thisbehaviour, but is there a simpler way that I'm missing?Any suggestions would be greatly appreciated,N51
 Yahoo! Groups Sponsor ~-->Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  









[flexcoders] MenuBar - change events for branch items

2006-05-11 Thread n51red



Is it possible to make branch nodes behave the same as leaf nodes in 
response to a mouse click, that is, close the menu and fire a change 
event?

I assume such events a fired 'behind the scenes' and are canceled some 
where along the hierarchy.
I'm thinking of trying expand the MenuBar class to achive this 
behaviour, but is there a simpler way that I'm missing?

Any suggestions would be greatly appreciated,

N51












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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  












[flexcoders] MenuBar Border

2006-05-10 Thread Tim Hoff



Just another little thing that changed from B2 to B3.  I have a 
MenuBar in an ApplicationControlBar.  The border color of the MenuBar 
is the same as the backgroundColor of the ApplicationControlBar.  What 
appears is 3 sides of a border (L, R, B - no Top) in a darker color, 
around the MenuBar.  I can't get rid of it.

-TH









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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  











[flexcoders] menuBar text color

2006-05-03 Thread Tim Hoff



Is there a way to have different text color for a menuBar's top item 
and drop-down items? extend? subclass?

Thanks in advance,
- Tim Hoff









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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  












[flexcoders] MenuBar calling TitleWindow

2006-04-03 Thread Kleber Voigt



Hi,

How can I call a popUp from menuBar?

I try:



        
        
    

But don`t works e give me the 1034 error. The object cannot convert to a class.Anyone can help me?Thanks!Kleber Voigt






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  









[flexcoders] Menubar Icon through XML

2006-02-11 Thread Carlos Rovira



Hi,I'm trying to use an external XML as a dataprovider for the menubar. The problem is with the "icon" attributes defined in the external XML that are throwing an error.I'm trying to embed the image but the app doesn't find the image. I can't find any example in the documentation or internet.
Please could someone post a basic example that uses a menubar with a XML dataprovider from a file and showing a menuitem with a icon that is already embeded in the app.Thanks in advance
-- ::| Carlos Rovira::| http://www.carlosrovira.com






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] menubar(menuitem) loading viewstack

2005-10-12 Thread Manish Jethani
On 9/21/05, bloodunicorn <[EMAIL PROTECTED]> wrote:

> I hope Viewstack(id) loading when I select to Menuitem
>
> T,.T
>
> 
> http://www.macromedia.com/2003/mxml";>
>
> 
> 
> 

> 
>   
> 

So where's your "action" functions defined?  Your script block is empty.


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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] menubar bar color

2005-08-17 Thread Matt Chotin
Title: Creating a new Flex component










I think it’s stuck in 1.x but I’m
not 100% sure.  Seems like you’ve played a lot with it though to no
avail.  Make sure the Flex Style Explorer didn’t solve it but otherwise I
think it’s stuck.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Wednesday, August 17, 2005
9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] menubar bar
color



 



I searched the archives and it seems a
handful of people have asked how to change the color of the actual bar of the
menubar component but nobody ever got an answer…should I take that as a
definitive “not possible”?  I’ve tried every color and
fill attribute under the sun to no avail…most attributes change the
background color of the menu itself but not the
parent-collapsed-100%-width-across-the-top-of-my-screen menu bar. 
Thoughts?  Comments?

 



robert l. brueckmann

senior web developer

merlin
securities

595 madison avenue

new york, ny
10022

p: 212.822.4821
f: 212.822.4820



 







 











This message contains information
from Merlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please refrain
from any disclosure, copying, distribution or use of this information and note
that such actions are prohibited. If you have received this transmission in
error, please notify the sender immediately by telephone or by replying to this
transmission.





  





Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed by Merlin Securities, LLC and may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.











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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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.



  











[flexcoders] menubar bar color

2005-08-17 Thread Robert Brueckmann
Title: Creating a new Flex component









I searched the archives and it seems a
handful of people have asked how to change the color of the actual bar of the
menubar component but nobody ever got an answer…should I take that as a
definitive “not possible”?  I’ve tried every color and
fill attribute under the sun to no avail…most attributes change the
background color of the menu itself but not the parent-collapsed-100%-width-across-the-top-of-my-screen
menu bar.  Thoughts?  Comments?

 



robert l. brueckmann

senior web developer

merlin
securities

595
  madison avenue

new
  york, ny 10022

p: 212.822.4821
f: 212.822.4820



 





 



This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





--
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] menubar & icons?

2005-08-04 Thread Matt Chotin










The icon has to be embedded, it can’t
be loaded after the SWF.  Just a thought…

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann
Sent: Thursday, August 04, 2005
6:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] menubar
& icons?



 

Is anyone out there able to get an icon to appear next to a menu item
in
their menubar component?  The MenuItem syntax
in the APIs and
documentation say that the menuitem xml node
simply needs an icon
attribute that points to the icon file...not so
much working for
me...just was curious if I'm missing something.

Thanks in advance for any help!

robert l. brueckmann
senior web developer
merlin securities
595
  madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.








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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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.



  











[flexcoders] menubar & icons?

2005-08-04 Thread Robert Brueckmann
Is anyone out there able to get an icon to appear next to a menu item in
their menubar component?  The MenuItem syntax in the APIs and
documentation say that the menuitem xml node simply needs an icon
attribute that points to the icon file...not so much working for
me...just was curious if I'm missing something.

Thanks in advance for any help!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hf51dl3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123168126/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

--
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] menubar question

2005-07-29 Thread Robert Brueckmann
Don't tell anybody what?  ;)  Thanks!

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, July 28, 2005 6:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] menubar question

On 7/29/05, Robert Brueckmann <[EMAIL PROTECTED]> wrote:

> I'm just playing with the MenuBar component and I can't seem to figure
> out how to make the first menu flush with the left side of my
> app...there always seems to be a padding of 10 pixels before the start
> of the first menu item in the menu bar...

The MenuBar is hard-coded to place the first MenuBarItem (and the
dropdown) at 10 pixels.  If you open up your FlexforFlash.zip (or go
through fdb), you can see there's an internal '__marginWidth' variable
whose value is set to 10.

  

;-)

Manish

PS: Don't tell anybody.


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



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hidrg0v/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122648960/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
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] menubar question

2005-07-28 Thread Manish Jethani
On 7/29/05, Robert Brueckmann <[EMAIL PROTECTED]> wrote:

> I'm just playing with the MenuBar component and I can't seem to figure
> out how to make the first menu flush with the left side of my
> app...there always seems to be a padding of 10 pixels before the start
> of the first menu item in the menu bar...

The MenuBar is hard-coded to place the first MenuBarItem (and the
dropdown) at 10 pixels.  If you open up your FlexforFlash.zip (or go
through fdb), you can see there's an internal '__marginWidth' variable
whose value is set to 10.

  

;-)

Manish

PS: Don't tell anybody.


--
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] menubar question

2005-07-28 Thread Robert Brueckmann
I'm just playing with the MenuBar component and I can't seem to figure
out how to make the first menu flush with the left side of my
app...there always seems to be a padding of 10 pixels before the start
of the first menu item in the menu bar...I've tried setting a handful of
attributes to 0 and none of them seem to move the first item flush to
the left...I'm sure I'm an idiot and am overlooking something...anyone
know how to heck to do this?  I thought marginLeft="0" would do the
trick...not so much.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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] menubar color

2005-04-29 Thread nithya karthik



selection color, selected fillcolor, fillcolor- nothing works with the menubar.. should i be using the CSS to change this?  
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.










[flexcoders] Menubar fillcolors- It never works..

2005-04-28 Thread nithya karthik



Hai,
  I find difficulty in using the fillcolors for the menubar, tab-navigtor..
when i give some colos in the fill colors , it doesnot work.. I have already posted this same question ten days before but i havent got any response.. can anyone help me with this?
 
regards,
nithya
   
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.










RE: [flexcoders] menubar event handling

2005-04-27 Thread Abdul Qabiz

Hi Nithya,
 
You can handle the change event of MenuBar. In change event, you can load
xml file and show the images in TileList or some other components.
 
 
##MenuBarChangeEventExample.mxml##

http://www.macromedia.com/2003/mxml";
backgroundColor="#FF" >

  

  

  
 
 
 
 
 

  
  
 


 


 
Look at MenuBar ASDoc or help, to know about it. Try it and if you still
have problems, let us know..
 
-abdul
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 27, 2005 1:47 PM
To: flexcoders
Subject: [flexcoders] menubar event handling


hai
i have a menubar which contains a list of categories.. I want a tile of
images to be displayed beneath the menubar on click of a particular
menuitem.. the images have their source in an external XML file.. how should
i do this? I am new to flex so kindly help me with this 
 
regards,
nithya



Yahoo! Messenger
<http://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.co
m>  - Communicate instantly..."Ping" your friends today! Download Messenger
Now
<http://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.co
m/download/index.html>  



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]
<mailto:[EMAIL PROTECTED]> 
  
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 





 
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] menubar event handling

2005-04-27 Thread nithya karthik



hai
    i have a menubar which contains a list of categories.. I want a tile of images to be displayed beneath the menubar on click of a particular menuitem.. the images have their source in an external XML file.. how should i do this? I am new to flex so kindly help me with this 
 
regards,
nithya  
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.










RE: [flexcoders] Menubar source-- only XML? Urgent

2005-04-24 Thread Matt Chotin










MenuBar relies on a certain structure of
objects, not just strings.  So you could do something like this:

 



  Alabama” />

  Alaska” />

  …etc

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Thursday, April 21, 2005
11:43 PM
To: flexcoders
Subject: [flexcoders] Menubar
source-- only XML? Urgent



 



hai!





   I want to know if only a XML file can be a source for a
menubar.. Can a list of array be the source for a menu bar like :





 
   
  
 Alabama
 Alaska
 Arkansas
  
   






The above code doesnt work.. 





 





regrds,





nithya









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.












RE: [flexcoders] menubar- Array datapovider........

2005-04-24 Thread Matt Chotin










Montgomery>

  

    

  

  

  





 

Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 22, 2005 1:24
AM
To: flexcoders
Subject: [flexcoders] menubar-
Array datapovider



 



Hai 





  I am using an array to populate a
menubar.. I want to know how to bring out the submenus in the menubar.. the
following code gives an error.






   
  
 Montgomery">
    





  
    
 Juneau"/> 

   Little Rock"/>  

  
   






the categories 'dry' and 'oily' shpuld be displayed as submenu under
the beauty category... how should i do this...





pls send the code...





 





Regards,





 Nithya









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.












[flexcoders] menubar- Array datapovider........

2005-04-22 Thread nithya karthik



Hai 
  I am using an array to populate a menubar.. I want to know how to bring out the submenus in the menubar.. the following code gives an error.
          
                    
the categories 'dry' and 'oily' shpuld be displayed as submenu under the beauty category... how should i do this...
pls send the code...
 
Regards,
 Nithya  
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.










[flexcoders] Menubar source-- only XML? Urgent

2005-04-21 Thread nithya karthik



hai!
   I want to know if only a XML file can be a source for a menubar.. Can a list of array be the source for a menu bar like :
       Alabama Alaska Arkansas     
The above code doesnt work.. 
 
regrds,
nithya  
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.










RE: [flexcoders] MenuBar : How do I snag the Root Field of the Me nu?

2005-04-15 Thread Deepa Subramaniam

You can use the 'menuShow' event to find out when someone has moused down on
the childless top-level menuitem. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 11:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] MenuBar : How do I snag the Root Field of the Menu?



Hello.

I have a menubar that has a number of items in it.  These work nicely
and I can successfully get the child nodes values (i.e.
event.menuItem.attributes.label).  In the root node I have one
menuitem that is "Logout".  It has no children.  How do I get to this?

I tried mouseDown with the event.menuItem.attributes.label and have no
luck.  Any ideas?

Thanks,
Michael





 
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/
 





[flexcoders] MenuBar : How do I snag the Root Field of the Menu?

2005-04-15 Thread heybluez


Hello.

I have a menubar that has a number of items in it.  These work nicely
and I can successfully get the child nodes values (i.e.
event.menuItem.attributes.label).  In the root node I have one
menuitem that is "Logout".  It has no children.  How do I get to this?

I tried mouseDown with the event.menuItem.attributes.label and have no
luck.  Any ideas?

Thanks,
Michael





 
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] Menubar control Anybody?

2005-04-14 Thread Matt Chotin










Can you try setting the labelField to “name”? 
Your XML is not formatted in the way the Menu expects so you may need to use a
labelField or a labelFunction to get it formatted correctly.

 

Matt

 









From: nithya karthik
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005
11:14 PM
To: flexcoders@yahoogroups.com;
[EMAIL PROTECTED]
Subject: [flexcoders] Menubar
control Anybody?



 



I use tab
navigator container to display the category names and the menubar to display
the subcategories under each tab.. the menu bar should appear if and only if
there is any subcategory under the selected tab.. but the problm with my coe is
that it displays a menubar with label- 'undefined' when there is no
subcategory... when there is a subcategory it displays  
"[object object], 1,, [object object], null" when it is clicked.. i
want to avoid this.. Please give me the code for this.. herewith i am giving
the XML file code and the coresponding MXML code..


http://www.macromedia.com/2003/mxml"
width="100%" height="500">
 
 
 
  
 
 
  
  
  
   

  
  
  
 


the XML:


 1
 Artistry™ Skin Care and Cosmetics
  A full range of basic to speciality skin care
treatments made with the highest quality formulations to meet the needs of
women today as well as a spectrum of colour for both background and feature
cosmetics to match any mood or occasion.TRY™ is among the world's top
five, largest selling, prestige brands of facial skincare and cosmetics. Based on
a 2000 Euromonitor International study of estimated global retail sales.
 
 homephoto.jpg
 
 
  1 
  Dry-Skin
  Testing jaxb
  123.xml
 

 
   2  
  Normal
Skin
   Testing jaxb
  
    121   
   Aqua
    Testing jaxb2
    124.xml 
  
  
    13   
   Non-Aqua
    Testing jaxb3
    124.xml 
  
 
 
  
  3 
  Oily-Skin
  Testing jaxb
  125.xml
  
  
  
  4 
  Sensitive-Skin
  Testing jaxb
  126.xml
  











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.












[flexcoders] Menubar control Anybody?

2005-04-12 Thread nithya karthik




I use tab navigator container to display the category names and the menubar to display the subcategories under each tab.. the menu bar should appear if and only if there is any subcategory under the selected tab.. but the problm with my coe is that it displays a menubar with label- 'undefined' when there is no subcategory... when there is a subcategory it displays   "[object object], 1,, [object object], null" when it is clicked.. i want to avoid this.. Please give me the code for this.. herewith i am giving the XML file code and the coresponding MXML code..
http://www.macromedia.com/2003/mxml" width="100%" height="500">        
the XML:
 1 Artistry™ Skin Care and Cosmetics  A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women today as well as a spectrum of colour for both background and feature cosmetics to match any mood or occasion.TRY™ is among the world's top five, largest selling, prestige brands of facial skincare and cosmetics. Based on a 2000 Euromonitor International study of estimated global retail sales.  homephoto.jpg1   Dry-Skin  Testing jaxb  123.xml 
    2    Normal Skin   Testing jaxb  121  Aqua    Testing jaxb2    124.xml     13  Non-Aqua    Testing jaxb3    124.xml  
   3   Oily-Skin  Testing jaxb  125.xml        4   Sensitive-Skin  Testing jaxb  126.xml  
  
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.










Re: [flexcoders] MenuBar Label

2005-04-12 Thread nithya karthik






I use tab navigator container to display the category names and the menubar to display the subcategories under each tab.. the menu bar should appear if and only if there is any subcategory under the selected tab.. but the problm with my coe is that it displays a menubar with label- 'undefined' when there is no subcategory... when there is a subcategory it displays   "[object object], 1,, [object object], null" when it is clicked.. i want to avoid this.. Please give me the code for this.. herewith i am giving the XML file code and the coresponding MXML code..
http://www.macromedia.com/2003/mxml" width="100%" height="500">      
  
the XML:
 1 Artistry™ Skin Care and Cosmetics  A full range of basic to speciality skin care treatments made with the highest quality formulations to meet the needs of women today as well as a spectrum of colour for both background and feature cosmetics to match any mood or occasion.TRY™ is among the world's top five, largest selling, prestige brands of facial skincare and cosmetics. Based on a 2000 Euromonitor International study of estimated global retail sales.  homephoto.jpg1   Dry-Skin  Testing jaxb  123.xml 
    2    Normal Skin   Testing jaxb  121  Aqua    Testing jaxb2    124.xml     13  Non-Aqua    Testing jaxb3    124.xml  
   3   Oily-Skin  Testing jaxb  125.xml        4   Sensitive-Skin  Testing jaxb  126.xml  
  
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.










[flexcoders] MenuBar: how to Hyperlink an item

2005-03-30 Thread Ghislain Simard


How to get an item in my menu bar hyperlinked?

Here is my XML where my MenuBar is refering to:

 
 
 
 
 
  
  
 


Thanks





 
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/