Menubar Iconfield loading url icon..?

Hi.,
I am using flex menubar  iconField to loading dynamic url icons..
Any one hopefully help this problem..
With Regards.,
Ling's

Hi,
I don't think the iconField will work for the purposes of loading images. The menubar expects a class IE ByteArray of image data since it instantiates it with the new operator.
You would need to create a new MenuBar.menuBarItemRenderer that knows how to load external image urls. This class needs to implement IMenuBarItemRenderer, you could also subclass MenuBarItem and override commitProperties() to create the Image and load it from the data's icon field.
Mike

Similar Messages

  • How to binding in menubar iconfield dynamic..?

    Hi
             I am using menubar iconfield., icon is  url come from coldfusion data files to binding in flex menubar., dataprovider, labelfiled are working perpectly.,
    but  iconfiled not working below the code..
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   creationComplete="initLogonOptions(event)">
        <fx:Declarations>
            <s:RemoteObject destination="ColdFusion" id="LogonOptionsCFC" source="IST_Auth.logon.logon_optionscfc">
            <s:method name="fnGetLogonOptions" fault="handleGetLogonOptionsFault(event)" result="handleGetLogonOptionsResult(event)"/>
            </s:RemoteObject>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import spark.components.Label;
                [Bindable]
                private var Datamenu:ArrayCollection;
                function initLogonOptions(event):void
                    LogonOptionsCFC.fnGetLogonOptions();
                function handleGetLogonOptionsFault(evt): void
                    mx.controls.Alert.show(evt.fault.faultString) ;
                function handleGetLogonOptionsResult(evt): void
                    if (evt.result)
                        var resultArray:Array = evt.result ;
                        var menuCollection:ArrayCollection = new ArrayCollection() ;
                        var i:int=0;
                        var menuimage:Image;
                        for ( ; i < resultArray.length ; i++)
                            var menulabel:String =   resultArray[i].MenuLabel ;
                            var menutooltip:String = resultArray[i].MenuTooltip ;
                            var menuaction:String = resultArray[i].MenuAction ;
                            var menuicon:String =   resultArray[i].MenuIcon ;
                            var menutarget:String = resultArray[i].MenuTarget ;
                            var menutargetwidth:String = resultArray[i].MenuTargetWidth ;
                            var menutargetheight:String = resultArray[i].MenuTargetHeight ;
                            var  currentMenu:ISTMenu = new ISTMenu(menulabel, menutooltip, menuaction, menuicon, menutarget, menutargetwidth, menutargetheight, constructISTMenu(resultArray[i].Children))
                            menuCollection.addItem(currentMenu);
                        Datamenu = menuCollection ;
                    else
                        mx.controls.Alert.show(evt.fault.faultString) ;     
                public function Select_MenuBar(event:MouseEvent):void
                        var tempMenu:MenuBarItem =MenuBarItem(event.target);
                        var loc_menuaction:String=tempMenu.data.menuAction;
                        var urlmenu:URLRequest= new URLRequest(loc_menuaction);
                        navigateToURL(urlmenu);
                public function ClickMenuItem(event:MenuEvent):void
                    var loc_menuaction:String=event.item.menuAction;
                    var urlmenu:URLRequest= new URLRequest(loc_menuaction);
                    navigateToURL(urlmenu);
            ]]>
        </fx:Script>
        <s:HGroup paddingLeft="10" paddingRight="20" paddingTop="20" width="100%" height="100%">
        <mx:MenuBar id="testmenu"   labelField="menuLabel"  iconField="menuIcon"  dataProvider="{Datamenu}" width="100%" itemClick="ClickMenuItem(event);" click="Select_MenuBar(event);" >
            </mx:MenuBar>
        </s:HGroup>
    </s:Application>
    any one help me....
    With Regards.,
    LinFlex-

    ya that's i mean and one question again
    when i wanna set string value from method to inputText in application (jspx.page component) can't work?
    examp :
    String a = "1234";
    set value var a to inputText in application
    anyone help.. :)
    thx

  • How to load an icon on image

    Hello friends please hel[p me as to how to load an icon on an image in the backgorund.                                                                                                                                                                           

    using JFrame, I use following code in the constructor
    public class MyConfig extends JDialog {
       public MyConfig(JFrame parent, boolean modal) {
                java.net.URL imgURL = MyConfig.class.getResource("images/colorcircle.gif");          
                parent.setIconImage(new ImageIcon(imgURL).getImage());
        public static void main(String[] args) {
            MyConfig c = new MyConfig(new JFrame(), true);
            c.setVisible(true);
    }

  • "Unable to load URL" - SQL Server 2005 DB Web Service Connection

    Hi ,
    I am using XCelsius version 5.0.0.99 to create dashboards connecting to SQL Server 2005.
    Find below the details of the steps -
    1. Created a web service within SQL Server 2005 database.
    2. Copied the WSDL URL.
    3. In XCelsius 2008 -> Data Manager -> Web Service Connection, pasted the URL in the WSDL URL input box and clicked "Import" to import the methods. At this point I am getting "Unable to load URL" .
    Am I missing any step ?
    Any suggestion would be highly appreciated.
    Note : I have tested the web service by using it in a ASP.Net project and works fine.
    Thanks
    Chitra

    Hi,
    Error :unable to Load URL occurs" because Crystal xcelsius only support single schema web service created from Query as a web service and Flynet tool available in xcelsius 2008.
    The reason:
    All the web service create from Sql 2005 ,PHP script produced multiple scehma web service and crystal xcelsius only support single schema web service which can be created from Query as a web service or Flynet.
    Please revert in case of any queries.
    Regards
    Kekti Fadnavis

  • "Unable to load URL" error when importing VS2008 created WSDL

    One of my developers created a simple web service in Visual Studio 2008 that queries a database on our SQL Server 2005. I can view the web service results in a web browser with no problems. I can also pull up the WSDL in the web browser with no problems (http://<ip address>/Service.asmx?WSDL). However, when I try to load WSDL into a Web Service Connection in Xcelsius 2008, I get the "Unable to load URL" error.
    I've also tried to use the web service as a data source in Crystal Reports 2008, but I get another error:
    Logon failed.
    Details: Schema file is invalid
    error: src-resolve: element 'schema@http://www.w3.org/2001/XMLSchema' not found
    I've seen a post in which it looked like Crystal acknowledged this as a bug in the XML driver used by Crystal products, but it should be fixed in a service pack update. I've got the latest service packs and fix packs installed for both Xcelsius 2008 and Crystal Reports 2008.
    I scanned the information being sent/returned to Xcelsius using Fiddler and it looks like the request is getting through and the actual WSDL file is being returned to Xcelsius, so it shouldn't be an authentication issue. It seems like Xcelsius doesn't like the WSDL file for some reason. However, it is automatically generated by Visual Studio 2008.
    Any ideas as to how I can get Xcelsius to use this test web service?

    Having the same issues here also.
    I can see the wsdl file being accessed successfully in the web access log, but Xcelsius v5.3 return "unable to load URL"
    Only thing I can guess is that the schema is "untyped"
    So, nobody in SAP has a solution?

  • Xcelsius error: Unable to load URL while using QAAWS on XI 3.0.

    Hi Experts,
    I am getting "unable to load url" in xcelsius 2008 while importing a qaaws url.
    After all the testing below are my observations:-
    1) This has something to do with QAAWS.
    2) When I logged into QAAWS and tried accessing the newly created url from the browser. It gave this error " can not communicate to the server mcc69u01:6400" but intrestingly the cms port is located at 6464 and not 6400.
    3) For every other application like infoview and cmc it picks the correct port i.e. 6464.
    4) Server is present on a UNIX box.
    5) I read somewhere that I need to make changes in the dsws.properties file under war files folder. There I enetered "domain= mcc69u01:6464" and restarted TOMCAT.
    6) After making this change I was unable to even log into QAAWS as it gave the error 02718 " you are not authorized to create query".
    7) After reverting the changes now I am able to log into QAAWS and create new queries but the same problem persist.
    8) TOMCAT is listening to port 8088 for our environment.
    9) Tried the same thing from a different client machine with fairly new BO XI 3.0 client installation(same server) but no success.
    I believe somehow QAAWS is not able to connect to the correct port 6464 and that is the reason for this issue.
    Could anyone suggest what I should do???
    Thanks in anticipation,
    Anshul

    hi Anshul,
    The QAAWSservletprincipal is not related to how you log into the server when creating queries
    It is used when the queries are actually running, or when you are trying to load the query to a tool like Xcelsius. I had the same unable to load error and it was caused by the QAAWSservletprincipal being set to concurrent licence when my server was all named users.
    I think the issue you are seeing is more likely a bug caused by hardcoded cms port, but I think it is worth ruling out.
    Regards
    Alan

  • I puchased the Photoshop/Lightroom, but when I try to download Lightroom I get the following error message:Error -302 when loading url aam://SAPCode=LTRM?productVersion=5.5?passPhrase=RRR9EU9BaSBdtGb7 BrzzYZ9hLdjmpvEWeq7/9gSYn2 lUDLZNr9UveWEgxzaiobbibx4d6

    I get the following error message when attempting to load Lightroom:  Error -302 when loading url aam://SAPCode=LTRM?productVersion=5.5?passPhrase=RRR9EU9BaSBdtGb7+BrzzYZ9hLdjmpvEWeq7/9gS Yn2+lUDLZNr9UveWEgxzaiobbibx4d6JK3R74HPAX4YFwTpkn6K3YQk6Ej82wRFyYvKwXKAVMfMhQCfW5qg8odoMny OV1JlBuT0gEMjSjG5EhuCR288pgnfgQbAmchGqKSU=
    What can I do to solve the problem?

    Ewlett you are receiving this error because the AAM Detect plug-in is not yet installed.  Please see Error referring to aam protocol when you click download button | CC for more details.

  • Using xml to load urls

    I am a designer working on a flash project that is used to navigate to html pages. The project is a map - when you roll over different states there is an animation making that state pop out and show the state name. When you click each state (Button), it should open an html webpage. Right now the project works great, but I have the url's coded in flash actionscript using "onpress" and "load url." I would like to set it up so the flash file calls the URL for each button from an xml file, so it can be easily edited. The only thing it needs to call is the URL for each button. Can anyone give me simple instructions on how to make that happen?

    you'll need to change all the code attached to those buttons so each button has an instance name and you use that name to code for your mouse handler.
    and, if you're going to make those changes, you may as well use movieclip buttons and set this up so the next step is easier to accomplish.

  • How do I delete pages that keep coming up when I open with first letter? Stop Loading Page icon not activated - does not respond

    How do I delete pages I don't want loaded anymore from coming up? The 'stop loading pages' icon does not respond

    If you update to Firefox 3.5.x or 3.6.x then you have more options for the location bar behavior.
    See [[Smart Location Bar]]
    For Firefox 3.0.x See http://forums.mozillazine.org/viewtopic.php?f=38&t=685365 - Customising the Firefox 3 Location Bar
    Old Location Bar: https://addons.mozilla.org/firefox/addon/7637

  • How to add URL Icon for each responsibility

    Hi all,
    I have a requirement where i need to add URL Icon to my custom application, i,e when i click on responsibity it will open the application so to make user to know he is in this application we need to add ICON to URL. This is possible in normal HTML just we need to include these two lines in head tab.
    <link rel="icon" type="image/ico" href="favicon.ico"></link>
    <link rel="shortcut icon" href="favicon.ico"></link>
    How can we achieve the same in the OAF?
    Thanks
    Babu

    Hi Josephine
    Please proceed as below:
    1. SE51.
    2. Change the layout.
    3. Add 2 pushbuttons at your desired location.
    4. Double click on each button for Attributes.
    5. In the attributes, give the Name, Text.
    6. Select the Icon Name from the list: Eg: ICON_OKAY and ICON_CANCEL.
    7. Go back to layout.
    8. Save & Activate
    9. Now you can test the screen to check the icons displayed in the screen.
    Hope this helps.
    Kind Regards
    Eswar

  • I moved the "stop load" X icon to the left along with the refresh and home icons, after which the X icon disappeared even though the other stayed ok.

    The "stop load" X icon disappeared from my navigation toolbar and I don't see it in the available icons in the customize window to add it back.

    Did you also look at all of your toolbars while in customize?
    You could use the keyboard shortcuts and avoid the problem altogether.
    :see item #4 in
    :Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6) (#fx4interface)
    : http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
    " To restore old behavior, use normal customize to fix: (Alt+V → Toolbars → Customize) Separate, move or remove Go [go] ["Enter"], Reload [reload] ["F5"] and Stop [stop]["Esc"] buttons."
    http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • I can no longer drag and drop my bookmarks or url icons

    All of a sudden I can no longer drag and drop my bookmarks around the sidebar or drag url icons into the toolbar or sidebar. The problem seems to have coincided with the download of 3.6.14. The only other thing I did around that time was download Adobe Reader X (10.0.1).

    YOu're not looking in the right palce. That's inside the iPhoto Application.
    You need to look inside the iPhoto Library
    As I sid above:
    Go to your Pictures Folder and find the iPhoto Library there
    Regards
    TD

  • Data connection issue - Unable to load URL

    Hi Folks,
    when I am trying to import URL (developed based on Query as Web services) in Xcelsius 2008, I am getting error "Unable to load URL".
    My other teammates are able to upload using their own laptop, so it indicates there is no issue on server side. I can open document saved in BO enterprise.
    Please advise if you have seen this issue.
    Thx...Ravi

    - has this been tried from server machine where BO is installed?
    >> I feel server site is all good... but I will try to login (remotely..and verifies this)
    - has this been tried from a different client machine?
    >>> Yes it is working for another team member (from his client laptop) whose user-id/access etc is same as mine.
    - are all client and server products at the same patch level?
    >> Yes
    - Is this specific to this QaaWS URL or is this issue across different Universes/URLs?
    >> still learning Xcelsius, so need to try other tools
    - Has this been tried using eFashion Universe?
    >> NO. can you tell how to do that?
    - Has this ever worked before?
    >> trying for first time from my lapop
    misc -
    I can open the document saved on BOBJ Enterprise server...
    URL looks good on web browser
    I feel it is more related to browser - security/setting.
    I even reset default internet explorer setting... still same issue.
    thx..ravindra

  • With Firefox, whenever I drag a URL icon to the desktop, it morphs into a generic Firefox logo. The specialized icons would be better....is there a way to preserve them?

    With Firefox, whenever I drag a URL icon
    to the desktop, it morphs into a generic Firefox logo. The specialized
    icons would be better....is there a way to preserve them?
    if this is a duplicate post - I apologize- new here

    Hi!
    It seems that you are looking to customize the icons in your desktops with the Favicons of an specific site (the small logos next to the URL as you call them).
    I'm not sure if any add-on exists but by default it's not possible to do what you are looking for.
    I hope it help, at least a little bit.

  • Create a Custom Icon to Replace the Standard URL Icon in Dock

    I would like to change the "springy thing"/URL icon in my dock to a custom picture showing the logo for the webpage for that particular "springy thing." Is it possible to change the spring to a custom icon? If so, how can I do this? Your help is greatly appreciated! Thanks.
    iBook G4   Mac OS X (10.4.8)  

    Generic urls dragged directly to the "Dock" will use that default icon (or whatever icon is substituted), but every url will use that same icon.
    If the goal is to have separate urls in the "Dock", each with its own custom icon, try dragging a url to the "Desktop" first, which should result in the creation of a ".webloc" file. The file can be given a custom icon the usual way via "Get Info", and added to the "Dock", but note that this requires that the ".webloc" file be stored somewhere for that "Dock" shortcut to remain valid.

Maybe you are looking for

  • SAP QUERY report for vendor line items

    Hi I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compar

  • PO requisition notifications page not showing NEXT/PREV links

    Hello All, In the PO Requisition Notifications page, the region containing all the lines "ReqLinesNotificationsRN" doesn't show any NEXT/PREV navigation links if the number of lines are more than the default value set at Profile - PO:%Notif%lines%dis

  • How to set authorization in more detail for ME11,e.g. material group, etc.?

    Hi, As we know, we can use plant, purchasing organization, purchasing group as authorization object to carry out authorization check when creating purchasing info record in ME11. But now my customer wants to set authorization in more detail, for exam

  • Search for content within a PDF

    Is it possible to search for content within a PDF across a mapped drive?

  • Too many digits of precision in imported data

    I store some data in a TDMS file that has four digits of precision. When I recall the data in DIAdem or import it into Excel there are many more digits there than I want. Do I just have to live with that or is there a way to limit the number of digit