Flex 2 beta 3  Menubar icon and dataprovider

I am using following code:-
<mx:MenuBar height="100%" labelField="@label"
showRoot="true" iconField="Icon" >
<mx:XMLList>
<menuitem label="AWB">
<menuitem label="New AWB"
Icon="@Embed(source='images/menu/create.jpg')"/>
</menuitem>
</mx:XMLList>
</mx:MenuBar>
I hv 2 qtn:-
1) how can i populate menubar(tried but failed) from an XML
file as in flex 1.5.
eg:-
dataprovider="xmlsource" where xmlsource is the id for xml
file.
2) how can i show menuicons . in simple coding(as above)
.And when using external xml source as dataprovider for
menubar.
early response appreciated!
thanks in advance!
vinay sharma

I just successfully deployed all three FDS web applications
on Tomcat 5.5.17 with Sun 1.5.0_06 without any exceptions. From the
stack trace it looks like this is thrown at startup. Can you
confirm?
Are you sure you deployed the war files cleanly?

Similar Messages

  • Yosemite System menubar icons stuck in Dark Mode?

    After a restart, all of my System menubar icons and some my application menubar icons are stuck in dark mode?  All of the OS X System icons are stuck! I don't use dark mode, never have. I have no idea how this happened. Just another Yosemite cluster, I guess. Any help will  be greatly appreciated.

    Try   Start up in Safe Mode. 
    http://support.apple.com/en-us/HT1564

  • Placing the icon and label vertically in MenuBar

    Hi,
    Is there a way, to place the menuitems icon and label vertically in MenuBar. Flex doesn't provided any property for this? It seems we need to extend the MenuBar. Can anyone help me in getting this workaround?
    I have the below code with me. Here I have to place the labelField & iconField vertically (by default, flex is placing them horizontally).
    <mx:MenuBar id="menu"
            themeColor="#FFFFFF"
            width="100%" height="100%" x="0" y="0"
            dataProvider="{iconMenu}" showRoot="false"
            creationComplete="init()"
            itemClick="" labelField="@label" iconField="@icon">
    </mx:MenuBar>
    Thanks in advance.
    -RajaFlex

    It seems, I need to override the following function in MenuBar.as . Can anyone help me in overriding this function.
    override protected function updateDisplayList(unscaledWidth:Number,
                                                      unscaledHeight:Number):void
            super.updateDisplayList(unscaledWidth, unscaledHeight);
            var lastX:Number = MARGIN_WIDTH;
            var lastW:Number = 0;
            var len:int = menuBarItems.length;
            var clipContent:Boolean = false;
            var hideItems:Boolean = (unscaledWidth == 0 || unscaledHeight == 0);
            for (var i:int = 0; i < len; i++)
                var item:IMenuBarItemRenderer = menuBarItems[i];
                item.setActualSize(item.getExplicitOrMeasuredWidth(), unscaledHeight);
                item.visible = !hideItems;
                lastX = item.x = lastX+lastW;
                lastW = item.width;
                if (!hideItems &&
                    (item.getExplicitOrMeasuredHeight() > unscaledHeight ||
                     (lastX + lastW) > unscaledWidth))
                    clipContent = true;
            if (background)
                background.setActualSize(unscaledWidth, unscaledHeight);
                background.visible = !hideItems;
            // Set a scroll rect to handle clipping.
            scrollRect = clipContent ? new Rectangle(0, 0,
                    unscaledWidth, unscaledHeight) : null;
    Thanks!
    RajaFlex

  • I BOUGHT an application from my iphone Application icon and paid 2.99 dollars too, for phone tracker , downloaded sucessfully and its working too but not tracking the phones as mentioned in the description can any one support me??? better from apple

    I BOUGHT an application from my iphone Application icon and paid 2.99 dollars too, for phone tracker , downloaded sucessfully and its working too but not tracking the phones as mentioned in the description can any one support me??? better from apple!!

    Is this the app you're referring to?
    http://itunes.apple.com/us/app/phone-tracker/id348537489?mt=8
    As you'll note it's made by Presselite and that page has a link to their support.
    Also, you'll find it best not to post questions about iPhone apps in the AppleWorks forum. Best to contact the makers of the app.
    Regards
    TD

  • Uinstalling MenuBar Icons software ?

       I am new Macbook Pro user. I have just downloaded MenuBar Icons software from google. I have only changed the battery menu bar icon. But now i want to revert it to original form. I am unable to uninstall MenuBar Icons software as it is neither showing in system preferences nor there is any option of uninstalling in installer window.
       So plz help me to revert the original battery menu bar icon and also to uninstall the MenuBar Icons software throughly........

    I see. Please allow me to explain something. You need to decide whether your Mac is a tool for getting work done, or just a toy. If it's just a toy, you can do whatever you want with it. If it's a tool, or sometimes a tool and sometimes a toy, then you need to be careful about what you do. One of the things involved in being careful is not typing your administrator password unless you have a very good reason to do so.
    A good reason would be installing a system update from Apple, or making a necessary change in your network settings.
    A bad reason would be that you downloaded some random piece of trash from a website with the word "deviant" in the name. Another bad reason would be that you're installing third-party software that you don't know how to uninstall. Those are examples of not being careful.
    Not being careful will cause you to have problems with your Mac that you won't be able to solve easily, if at all. It may cause you to lose data, or to be victimized by criminals. The latter has happened to quite a few Mac users lately.
    That's why it's a lot better to be careful than not to be careful.
    Before you type your password when prompted by an installer or a third-party application, ask yourself these questions:
    Do I know exactly what's going to happen?
    Do I know how to undo it?
    Am I sure I can trust the source of this software?
    Am I sure I know how to solve any problems this action might cause?
    If the answer to any one of those questions is "No," then STOP. Click Cancel, drag whatever it is to the Trash, and empty.
    The page you linked to states quite clearly that there is no uninstaller. That alone should have stopped you from going any further, not to mention about half-a-dozen other red flags.
    To undo the damage to your system, you're going to have to reinstall it by following the instructions linked below. Back up all data first. After reinstalling, run Software Update.
    Mac OS X 10.6 Help: Reinstalling Mac OS X

  • The app icons and font on my iPhone 4 just went to massive making it difficult to even scroll how can I change it back, where do I go which menu? Thanks in advance

    The app icons and font on my iPhone 4 just went to massive making it difficult to even scroll how can I change it back, where do I go which menu? Thanks in advance

    Next time you accidentally use 3 fingers it will zoom again. Unless you need the feature you're better to turn it off

  • HT1553 I did the back up as instructed... Installed a larger hard drive and followed the restore instructions... Now I get a white screen with a folder icon and blinking question mark. When trying to set startup with new drive I get a bless tool error...

    I did the back up as instructed... Installed a larger hard drive and followed the restore instructions... Now I get a white screen with a folder icon and blinking question mark. When trying to set startup with new drive I get a bless tool error... Help!!

    If you have installed a new hard drive , you will need to have formatted it in Disk Utility correctly. This may explain your problem.
    Boot  into your 10.6 Install disk again at the top menubar > Utilities > select Disk utility and in there select your new hard drive, and select the tab Erase and choose to make the format as  Mac OS Extended Journaled. When that is finished look in the main window to make sure that the partition map scheme says GUID Partition Table.
    Now go to the Restore tab and reinstall from your backup.

  • Editing iChat status menu doesn't show in menubar icon

    Instead of having various status menu options ("surfing the web", "at home", "out to lunch", "in a meeting:", etc.) I prefer to edit the list down to just "available" and "away"
    When I edit the status menu from the buddy list drop down (by deleting the other options) my changes are reflected in the buddy list. However, the menubar icon still shows all of the preset options "surfing the web" etc.
    Does anyone else notice this? Is this expected behaviour?

    I later went into my com.apple.iChat.plist file and found two variables - "CustomAvailableMessages" and "CustomAwayMessages". After deleting all but the first blank line, they went away. (Make sure you make a backup!)
    I also deleted them from com.apple.iChat.StatusMessages.plist file.
    It was tricky, but I finally managed to get it so I only have available and away (in addition to the current iTunes song) as away messages in my menu bar. After I deleted the above, I had to go in and delete my custom edited away/available messages in the buddy list menu.
    MAKE SURE YOU MAKE A BACKUP OF THOSE FILES BEFORE YOU TINKER WITH THEM. You can use TextEdit I believe, but I use PlistEditPro to edit them.

  • Even after turning ON Reduce motion the icons and the windows and the apps zoom motion in and out is still giving me a lot of head ache and dizziness and motion sickness... Please fix it!!

    Even after turning ON Reduce motion the icons and the windows and the apps zoom motion in and out is still giving me a lot of head ache and dizziness and motion sickness... Please fix it!!

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Icons and toolbar text is way too small and hard to read (kind of fuzzy)

    The toolbars (menu bars) at the top of the screen have letters and icons and symbols that are way too small to read. Also the background color options are limited. Light black on grey is hard to read. I have tried customizing all that I can. There used to be a thing in control panel called display, and we could pick all sorts of fonts and colors for all those toolbar strips. Where did that go? I am VERY FRUSTRATED!!

    I've tried those, and have just decided to go back to 3.6. Firefox just seems to have too much input lately trying to tweak and adjust. Meanwhile, the later versions just end up looking worse and worse with each iteration. Icons too small, monochromatic tool bar, making icons harder to distinguish, and, worst of all, frequent crashes.
    Perhaps some of these problems are because I'm using XP, but I've noticed many if not all of the appearance deficiencies with my laptop running Win7. Probably the most annoying thing about later versions, though, is the inability to set memory time for history. This alone is a deal breaker for me, and ultimately, as IE has gotten better, I may just go back there.

  • Changing background color in 'options'-content- colors hides icons and buttons at various sites

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/895755]]</blockquote>
    This has been an ongoing fault through the versions of Firefox. A work around I discovered is to check- 'allow pages to choose own colors' then use no squint to color and then icons and buttons remain visible. This method is not an acceptable procedure and leaves the fields white. And also, a very annoying white flash when transitioning to another page.
    If you are one of the elite group of artists that strive for zero eye strain and love the beauty of a black background with light colored text and are mystified as to how to cure the problem here it is. Be sure to contact bugzilla.mozilla.org and report this bug.

    If you disable website colors and want to show your own colors then background images are hidden as well.<br />
    So buttons that use a background image aren't clearly visible anymore.<br />
    That setting is meant as an accessibility feature and as you've noticed, NoSquint works better as it uses a different way to achieve this.

  • Yet another dzen2 bar, icon and clickable tags for DWM

    I just switched to dwm and it's really awsome so I customized it a bit: A script to display dzen2 on top of dwm status bar which show:
    tags
    icons
    and these tags are really clickable,
    and even highlight the active tags.
    It's quite simple though and lots of people would do better works but I really like it and wanna share it here.
    Here is some screenshots:
    http://img135.imageshack.us/img135/8758/39852191.png
    By linktohack at 2011-02-22
    http://img64.imageshack.us/img64/8761/63162414.png
    By linktohack at 2011-02-22
    Usage:
    Download script from here:
    https://github.com/linktohack/dztags-gen
    Make a directory dwm resouces eg: ~/.dwm
    Download XBM ICON PACK from here:
    http://dzen.geekmode.org/wiki/wiki.cgi/ … nIconPacks
    and extract it to a directory inside the above directory, eg: ~/.dwm/xbm8x8/
    Customize the script if needed (Tags name, icon prefix, color...)
    Run setup command, eg:
    dztags-gen --setup ~/.dwm
    |_ no trailling slash
    And finally run dztags script to show dzen2 bar, eg:
    ~/.dwm/dztags &
    [link@Link-Arch ~]$ ./dztags-gen/dztags-gen --help
    dztags-gen
    Script to generate dztags and dztagsrsc
    dztags: Infinite loop script show dzen2-svn from dztagsrc
    Usage:
    Dayly use: (through dztags)
    dztags-gen number /path/to/dztagsrc
    OR
    First time:
    dztags-gen --setup /path/to/dztags/dir
    |_ no trailling slash
    After setup, just run /path/to/dztags/dir/dztags &
    I will appriciate any feedback here.
    Thanks you all!
    Link,

    Thanks @jasonwryan, I just don't know where to post it

  • How to add Column to Adobe flex mx:DataGrid in mxml and/or actionsctpt?

    I have simple mxml code
    <mx:DataGrid id="DGG"
                 editable="true">
        <mx:dataProvider>
            <mx:Object scheduledDate="4/1/2006"/>
        </mx:dataProvider>
    </mx:DataGrid>
    <mx:Button id="SetBut"
               label="Set Array as Data Provider"
               click="SetDP(); AddBut.visible = true;"
               x="100.5"
               y="164"
               width="211"/>
    <mx:Button id="AddBut"
               label="Add a column!"
               click="AddCol();"
               x="100.5"
               y="194"
               width="211"
               visible="false"/>
    <mx:Script>
        <![CDATA[
            import mx.controls.dataGridClasses.DataGridColumn;
            import mx.collections.ArrayCollection;
            [Bindable]
            public var MyAC:ArrayCollection=new ArrayCollection([{scheduledDate: "4/1/2006", homeTeam: "Chester Bucks"}]);
            public function SetDP():void
                DGG.dataProvider=MyAC
            public function AddCol():void
                MyAC.addItem({scheduledDate: "4/5/2007", homeTeam: "Long Valley Hitters", Umpire: "Amanda Hugenkis"});
                DGG.columns.push(new DataGridColumn("Umpire"));
        ]]>
    </mx:Script>
    I want to add rows to my table datagrid how to do such thing?
    How to add Column to Adobe flex mx:DataGrid in mxml and/or actionsctpt?
    (You can put this code in Flash or AIR app - it will compile with no errors, but will not add any columns=( )

    Change this:
                 public function SetDP():void
                    DGG.dataProvider=MyAC
                    MyAC.addItem({scheduledDate: "4/5/2007", homeTeam: "Long Valley Hitters", Umpire: "Amanda Hugenkis"});
                public function AddCol():void
                    var dgc:DataGridColumn = new DataGridColumn("Umpire");
                    var ca:Array = DGG.columns;
                    ca.push(dgc);
                    DGG.columns = ca;
    Dany

  • I have an itunes icon and a usb cord on my screen... cant switch phone on HELP... i have an iphone 4s.....how do i do a factory reset if it wont turn on at all :(

    i have an itunes icon and a usb cord on my screen... cant switch phone on HELP... i have an iphone 4s.....how do i do a factory reset if it wont turn on at all

    I'd say you have a better chance of not loosing anything if you connect to your home computer-- but it's not certain. Yeah, I'd imagine it's very frustrating. I'm surprised Apple allows these huge updates outside of iTunes.

  • Trying to start my IMac click on my admin icon and enter the correct password but then flashes to white screen and back to sign in, my desktop wont come on ... help!!!!

    Trying to start my IMac click on my admin icon and enter the correct password but then flashes to white screen and back to sign in, my desktop wont come on ... help!!!!

    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    When the menubar appears select Terminal from the Utilities menu. Enter resetpassword at the prompt and press RETURN. Follow instructions in the dialog window that will appear.
    Or see Reset a Mac OS X 10.7 Lion Password and OS X Lion- Apple ID can be used to reset your user account password.

Maybe you are looking for

  • Unable to start OVM PV 3.0.1 service on Windows 2012 R2

    Hi Guys, I have tried to download and install Windows PV drivers version 3.0.1 under the edelivery website. All seems well until I rebooted the guest and the service could not start: Please help. Thanks. Cheers, JK

  • How to color specific row in a table....

    Hi all, I created a table out of an Array[]. The table is successfully filled up by array's elements. Each element is a row. I want to be able to color specific row; instead of every row. How do I do that? I was looking rendering to color a row or a

  • Itunes only plays one song at the time

    My Itunes plays only one song at the time. If I try to play the next one by pressing the "forward" button Itunes stops playing. What now???? Geertvun

  • Smart playlists and last played time

    If I have a smart playlist, I noticed the last played time of an item does not update if I have launched and played the item from the main area it appears in (like podcasts). Any solution for this? Thanks.

  • Transfer mp3's to Motorola v180

    Hi, I've been searching around but getting no joy..... I have a Motorola v180 w/USB cable.Is there a way I can transfer mp3s and jpegs to it? iSync sees it no problem. Is there some driver or software I need to do this? Thanks.