Display object properties into spreadsheet

For a VAB excel 2013 project, I created a class module with 20 properties. In the project I created 30 instances of the object. I did some calculations and populate all the porteties with values. My challenge is now  how to efficiently
display the result intoa worksheet as a table ?
I would like to have the first column populated with the 20 preperty names.
The first line  populated by the 30 object instance names.
Each line populated with the property values.
Thanks for you help

Hi Paykun,
>> My challenge is now  how to efficiently display the result intoa worksheet as a table ?
In my option, to achieve your requirement, you would need two steps. First step is getting the value of the properties and objects, second is writing the value into a table. Since this forum is discussing about Excel developing like Excel automation, Excel
Customation which use the vba to operate Excel, your first step is more related with vba, if you have any issue about getting values, I will recommend you go to the link below for help.
VBA forum: http://social.msdn.microsoft.com/Forums/en-US/home?forum=isvvba
For the second step, I will recommend you creating a table in the worksheet, and then loop through the values to the cells of the table. For how to set the value, you could refer the link below:
# ListObject Object (Excel)
https://msdn.microsoft.com/en-us/library/office/ff197604.aspx?f=255&MSPPError=-2147217396
Based on my experience, there is no significant performance issue when you write 600 values into excel.​​
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.

Similar Messages

  • Object ID and Object ID Version fields in Displaying Object Properties - XI

    Hi,
    In displaying Object Properties in XI we can see different fields like Type, Description, SCV, Object ID, Object ID Version, Status, Person Responsible, Changed On, Changed By, Display Language, Original Language.
    But when i refer to the SAP Library documentation for these fields, Object ID and Object ID Version are not included. Here is the link for the documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    With that said, i have no information on those two fields, only assumptions i've made that i would like to verify in this forum with the questions below
    1.
    Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object  (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    Or does the Object ID change every time the object is edited and change list activated for it?
    What is the behavior of these two fields when transported? e.g. dev to qa...  are they both retained on the target IB's?  (specifically for ID objects because the change list needs to be activated first on the target ID)
    2.
    Does any one know where the Object ID and Object ID Version gets stored?  (saved on a table in the ABAP stack or saved somewhere in the Java stack? e.g. can be viewed in Visual Admin or a URL)  I am thinking of extracting all the XI objects with their corresponding Object ID and Object ID Version (per system) in one step.  I know this is possible only if the Object ID & Object ID Version are stored in an ABAP table...
    Kindly give me some inputs.
    Please answer directly with the questions above. I will reward points for it.
    Thanks in advance.

    HI,
    >Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    The Object Id is created the first time you create the object.
    Object Version Id is created the first time you save/activate a object.
    Now suppose if you modify the object a new Object Version Id will be created but the Object ID will remain the same.
    For IR Objects the Object Id & Object Version ID will remain the same across systems.
    For ID Objects the Object Id & Object Version ID is not the same across systems.
    Not sure about the table. Can you try in SE11 and check all tables with SXMS*. Could be also that tables might not be available from GUI i.e you might have to login to DB to find out.
    Regards,
    Sumit

  • On import, graphics resized after displaying object properties

    Hello, my XML files contain many links to EPS files, such as:
    <image href="mygraphic.eps" align="right" id="0B">
    After importing the XML files, the graphics are sized correctly. They're exactly the size of the imported-by-reference graphic.
    Some of the graphics resize if I display the object properties or simply save the file. For example, an EPS will resize itself 20%.
    In one file that contains two images, only one might resize itself.
    My read/write rules have no rules to resize a graphic on import.
    What could I be missing?

    Thanks for the suggestion, I'll give it a try. But I'm not sure I can even read any temperatures from this old gpu. I ran sensors-detect and it found none.
    Also, if it was a heat issue, why does it go away as soon as I restart the X server? Surely it would still be overheating. Maybe it's time to take this thing apart again and clean it out.
    Last edited by xamindar (2015-01-17 16:29:38)

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to add a file as an object in Numbers spreadsheet

    In MS Excel one can add any file namely doc, xls, PDF as an object in a spreadsheet......how can we do that in MAC Numbers

    Hi Niranjan,
    In Numbers for Mac,
    Menu > Insert > Choose...
    Navigate to the file that you want to insert.
    You can insert screen shots, PDF documents and photographs. They will become pics (with restricted editing features).
    I can't see a way to insert a doc, xls, Numbers, Pages or any other file type.
    You can Copy from within a document and Paste into Numbers.
    What are you trying to do?
    Regards,
    Ian.

  • EventListener function specific to generated display object container

    This has to be simple, if only I knew how. I'm an AS3 newbie,
    and am having difficulty setting up multiple specific
    EventListeners within a code generated display object container.
    I am generating a 'page' (Sprite) with a heap of 'cards'
    (Sprites) on it. Each of those cards, in turn, contains a selection
    of text boxes and other objects generated from database output
    using a 'for' loop.
    My hope is to attach an EventListener to each 'card' so that
    a MouseEvent will let me manipulate the data that lead to the
    content of that actual card (the i-th iteration of my for loop).
    I've been playing with everything I can think of (limited
    repertoire of thoughts though) and the best I've managed is for my
    EventListener to access the final set of data, whichever 'card' I
    click on.
    I've summarised and attached my code for the function, and
    would appreciate any advice (however basic) on how to get back to
    the i-set of data from the EventListener attached to the i-th card.
    I can handle the PHP and MySQL side of things but am fumbling my
    way into the OOP of AS3.
    Cheers
    Dougal

    Another way would be to extend Sprite and add an id value.
    Something like:
    package{
    import flash.display.Sprite;
    public class MySprite extends Sprite {
    private var _id:int;
    public function MySprite(id:int){ _id = id; }
    public function get id():int { return _id; }
    And then in your code you'd just make instance of MySprite,
    passing it i:
    // build the cards and text boxes and add them to the
    reviewPage
    for (var i:int = 1; i < (cardsRequired+1); i++) {
    // setup the locations for all the objects
    var displayCard:Sprite = new MySprite(i);
    You can then get i in the event listener function by using
    the id getter:
    function accessThisData(e:MouseEvent):void{
    trace(e.target.parent.id);
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Display/Edit Properties in a Table

    Hello everyone,
    i'm currently writing a javafx2 app for my bachelor thesis.
    in that app, i need a table like view to display the properties in.
    but, a normal TableView doesn't do what i want:
    a TableView expects a new object for each Row, and displays the columns (aka properties) sideways
    but i need them displayed downwards.
    my first attempt was a normal tableview, but i didn't manage to display them the way i wanted
    my 2nd attempt, was a combination of a splitpane and 2 ListViews, which in fact worked, regarding the way properties/their names were displayed.
    but: i didn't manage to make the ListCells editable...
    i'll post a short code, containing an example class that i want to display, and the code of my 2nd attempt.
    would be great if you could guide me to either a solution with the TableView, as i'd preferr that solution, or hint me how to make ListCells in a ListView editable.
    public class MyClass
       private String name;
       private String type;
       private Double creationTime;
       public MyClass(MyObject object)
          this.name = object.getName();
          this.type = object.getType();
          this.creationTime = object.getCreationTime();
       public String getName()
          return this.name;
       public void setName(String newName)
          this.name = newName;
       public String getType()
          return this.type;
       public void setType(String newType)
          this.type = newType;
       public Double getCreationTime()
          return this.creationTime;
       public void setCreationTime(Double newCreationTime)
          this.CreationTime = newCreationTime;
    }that's the class of the object whose properties i want to displayed/edited
    public class MyListView extends SplitPane {
        ListView propertyNamesListView;
        ListView propertyValuesListView;
        private MyObject object;
        private ObservableList<String> propertyName;
        private ObservableList<String> propertyValue;
        static class EditableListCell extends ListCell<String>{
            public EditableListCell() {
                super();
                this.setEditable(true);
            @Override
            public void updateItem(String item, boolean empty)
                super.updateItem(item, empty);
                setText(item);
                setEditable(true);
        public MyListView()
            propertyNamesListView = new ListView();
            propertyValuesListView = new ListView();
            propertyValuesListView.setEditable(true);
            propertyValuesListView.setCellFactory(new Callback<ListView<String>, ListCell<String>>() {
                @Override public ListCell<String> call(ListView<String> list) {
                    return new EditableListCell();
            propertyValuesListView.getFocusModel().focusedIndexProperty().addListener(new ChangeListener() {
                @Override
                public void changed(ObservableValue observable, Object oldValue, Object newValue) {
                    if(newValue instanceof Integer)
                        propertyValuesListView.edit((Integer)newValue);
            this.getItems().addAll(propertyNamesListView, propertyValuesListView);
        public void setObject(MyObject object)
            this.object = object();
            propertyValue = FXCollections.observableArrayList();
            propertyValue.add(object.getName());
            propertyValue.add(object.getType());
            propertyValuesListView.setItems(propertyValue);
            propertyName = FXCollections.observableArrayList("Name", "Type");
            propertyNamesListView.setItems(propertyName);
    }that's my take on the combined ListViews, but i can't edit the fields :(
    i really hope that you can help me, looking forward for your responses :-)

    Thank you Carsten,
    I had the wrong Item.
    I used "display as text (saves state)"....
    Regards,
    Tim

  • [svn] 3149: Fix bugs introduced by the display object sharing optimization.

    Revision: 3149
    Author: [email protected]
    Date: 2008-09-08 16:58:35 -0700 (Mon, 08 Sep 2008)
    Log Message:
    Fix bugs introduced by the display object sharing optimization. This checkin should fix ordering problems when dynamically adding/removing graphic elements, and ordering problems when changing graphic element properties that require a display object (rotation, alpha, filters, etc).
    Bugs:
    MXMLG-219: BitmapGraphic component content always rendered from 0, 0 origin.
    MXMLG-220: setting visible property of Rect and Ellipse does nothing.
    MXMLG-222: setting the alpha of a rectangle changes z-order when there are 3 or more rectangles
    SDK-16754: Z-order incorrect when a Group is present
    QA: Yes - the test files from these bugs (or something equivalent) should be added to our standard test suite
    Reviewer: Deepa
    Ticket Links:
    http://bugs.adobe.com/jira/browse/MXMLG-219
    http://bugs.adobe.com/jira/browse/MXMLG-220
    http://bugs.adobe.com/jira/browse/MXMLG-222
    http://bugs.adobe.com/jira/browse/SDK-16754
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement .as

    This is the great thread ;-)
    My favorite threads are below.
    Munky posted great reply :8}
    SQL Query Help
    order in a connect by

  • Custom SSIS Source: How do I make it create a new connection manager and display its properties window?

    I am writing a custom SSIS source that uses a standard SSIS Flat File Connection Manager. I have got a working UI that shows all usable connection managers in a dropdown list and allows the user to pick one. I would like to be able to have a button that
    the user can click on to create a new connection manager, and it would open the properties window for the new connection manager so it can be set up.
    Abridged code:
    Public Class MyNewSourceUI
    Implements IDtsComponentUI
    Private MetaData As IDTSComponentMetaData100
    Public Function Edit(ByVal parentWindow As IWin32Window, _
    ByVal variables As Variables, _
    ByVal connections As Connections) As Boolean _
    Implements Microsoft.SqlServer.Dts.Pipeline.Design.IDtsComponentUI.Edit
    Dim UIwin As New MyNewSourcePropertiesWindow(MetaData, connections)
    Return (UIwin.ShowDialog() = DialogResult.OK)
    End Function
    Public Sub Initialize(ByVal dtsComponentMetadata As IDTSComponentMetaData100, _
    ByVal serviceProvider As System.IServiceProvider) _
    Implements Microsoft.SqlServer.Dts.Pipeline.Design.IDtsComponentUI.Initialize
    MetaData = dtsComponentMetadata
    End Sub
    End Class
    Public Class MyNewSourcePropertiesWindow
    Inherits System.Windows.Forms.Form
    Private _metadata As IDTSComponentMetaData100
    Private _cnxions As Connections
    Public Sub New(ByVal ComponentMetaData As IDTSComponentMetaData100, ByVal connections As Connections)
    InitializeComponent()
    _metadata = ComponentMetaData
    _cnxions = connections
    ShowConnections()
    'Setup Existing Metadata '
    End Sub
    Private Sub ShowConnections()
    Me.cboConnection.Items.Clear()
    Me.cboConnection.Items.AddRange((
    From i As ConnectionManager In _cnxions _
    Where CType(i.Properties("CreationName").GetValue(i), String) = "FLATFILE" _
    AndAlso CType(i.Properties("Format").GetValue(i), String) = "Delimited" _
    Select i.Name).ToArray())
    End Sub
    Private Sub btnNewConnection_Click(ByVal sender as Object, ByVal e as System.EventArgs) Handles btnNewConnection.Click
    Dim newconn As ConnectionManager = _cnxions.Add("FLATFILE")
    ShowConnections()
    Me.cboConnection.SelectedItem = newconn.Name
    End Sub
    Private Sub btnCancel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCancel.Click
    Me.DialogResult = DialogResult.Cancel
    Me.Close()
    End Sub
    Private Sub btnOK_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOK.Click
    'Store any metadata changes '
    Me.DialogResult = DialogResult.OK
    Me.Close()
    End Sub
    End Class
    That's what I've got so far. I had assumed that adding a new connection would automatically display the properties window to the user (right?). However, in my tests, what actually happens is that it creates the new source with a random GUID for a name and no
    other properties set up, and puts it in the connections pane, and that's it. Not real useful.
    Obviously, something else is required to make the properties window appear, but I can't find what it is. There's no ShowUI() member on any of the classes I have, and I haven't been able to find out the name of the UI class that's used by the flat file source.
    Does anyone know how this is done? I know it can be done, because such a button exists in the normal Flat File Source UI.

    Yes, you need to drive the UI creation. I see you create a custom connection manager, in this case on how to build its UI please refer to http://kzhendev.wordpress.com/2013/08/07/part-2-adding-a-custom-ui-to-the-connection-manager/
    Arthur My Blog

  • Can't edit object properties (Acrobat X, Acrobat 8.x)

    I'm trying to tag a PDF for accessibility. I would like to be able to tag the images in the document as 'background'.
    Unfortunately, I'm not able to edit any of the object properties for images.
    Here's what I do:
    Expose the Content tools.
    Click Edit Object.
    Click to select an image.
    Right-click and select Properties.
    At this point, a multi-tab dialog pops up, in which all fields are disabled.
    I thought to work around the problem by going back to Acrobat 8.x, but I'm seeing the same behavior there.
    What step am I missing, here?

    These are the steps I've been told to use to edit the tags on an image:
    Open the Content section in Tools.
    Click 'Edit Object'.
    Click image to select it.
    Right-click image and select 'Properties'.
    Change to Tags tab.
    Set tag to 'Artifact.'
    These steps are impossible to complete, because all fields in the Properties (a.k.a. "TouchUp properties" [sic]) dialog are disabled.
    If in fact this has "nothing to do with tagging an image", then I shouldn't even be able to access the dialog, much less be able to access it and discover that all settings it exposes are disabled.
    In fact, every means that I've found so far that gives me access to the "TouchUp proerties" dialog for an image or a path, gives it to me with all fields except color disabled. (Please note: this is not just paths, it's also images. Even if it were just paths, that would be a serious problem, since any brochure or magazine layout is liable to contain a huge number of paths that need to be tagged as background images.)
    The ONLY ways so far that I've found that it's possible to edit the tags on an image are:
    Use 'Find...' as described above to bring the image/path/etc. into the reading order, and then use the TouchUp Reading Order dialog or right-click in the Reading Order pane to set it as background. This is inexact and time-consuming, especially for things like graphic-intensive brochures or magazine layouts.
    Use a marquee-selection in the TouchUp Reading Order tool to select objects and set them as background. This is inadequate because in many of the cases that I deal with, you'll still be left with a lot of objects you can't select in this manner. (Try using this method to select an image that has the same vertical or horizontal dimension as the page it resides on, for example.)
    If you are aware of another way, I wisth you'd tell me what it is.
    It sounds to me like you're thinking I'm using the Select Object tool. I'm not. It's pretty obvious that's not going to work, because it doesn't even afford access to the "TouchUp properties" dialog.

  • Objects turn into orange shapes when working in 3D...

    Almost every time I start working with obects in a 3D project, at some point while moving the camera in 3D space, the objects turn into bright orange "shapes", and I have to quit and restart Motion. Anyone else having this strange problem?

    No, I don't have two displays, just one 23" apple cinema display. The problem has gotten worse since my last post....I can't make any more than a few adjustments in 3D space, especially moving lights around, without all the objects turning orange and having to close and reopen the project. I notice that when moving a light, the light hitting the object "strobes" and turns into"pixellated lines" a few times, and then objects turns orange. It's getting very frustrating...that along with the text "pan tool" bug, I'm having to close and reopen Motion close to 40 times a day.

  • Read graphic Object properties 'scaling'

    Hi all,
    I am trying to read 'scaling' graphic Object properties values using in below code.  In case graphic having 60% that time also I am getting only 100%. So can I get some help? Thank you very much.
    function CheckScaing(doc)
       graphicObj = doc.FirstGraphicInDoc;
    while(graphicObj.ObjectValid())
            graphicObj = graphicObj.NextGraphicInDoc;
                  if(graphicObj.type == Constants.FO_Inset)
                      name = graphicObj.InsetFile;
                      var insetDpis=graphicObj.InsetDpi
                      alert(insetDpis)

    Hello,
    There is no available built-in concerning the graphic objects displayed on the canvas. All you can do use another stacked canvas to show/hide the graphic objects located on it.
    Francois

  • FrameMaker 10 - Finding all graphics in a book with a Object Properties Scaling equal to 0%?

    Is there a way in FrameMaker 10 in the book to quickly find all imported graphics (.bmp, .cgm, .jpg, & .wmf) that are out-of-aspect ratio or where the Object Properties Scaling equals 0%?
    I import a lot of graphic (around a 100 or so) in FrameMaker 10 and I would like to be reassured that all imported graphic have the correct aspect ratio, and find any that are wrong quickly.
    I would like to be able to do this search in the Book format rather than each section.
    Is there a way to do this?
    Thanks!

    Denis, this would require scripting. ExtendScript would likely be the first choice and would be perfect for the job. Given that you want to operate on the whole book at once, the script would be a little bit longer, so you might not get someone to post it here for free. I would consider it because it would be a nice addition to the samples on my website, but I can't do it right this minute. If no one offers for free, hit me up in a day or two and I might be able to accommodate  you.
    One question though... are you really looking to verify the aspect ratio? This could be a considerably more complicated task. FrameMaker doesn't save the original ratio, so you would need to reimport the graphic into some other scratchpad area, calculate the aspect ratio, then compare it to the place of reference. I'm not sure that I could go that far.
    Alex, I think you may have misunderstood the question. Also, it's not even clear if these are structured files, and if so, if there is a structured application to save as XML.
    Russ

  • WYSIWYG element HTML object properties disabled

    Hi,
    In WYSIWYG element HTML object properties link is getting disabled after entering value into the element. Is there any way to make it enable even after entering value.
    Thanks & Regards
    Prasad
    Server details:
    UCM 10gR3
    Site Studio 7.7
    Unix
    verity search

    Hi,
    you have to divide the process into several steps:
    get the image tag at the caret position
    read it' properties
    bring up a window with ooptions to change those properties
    remove the existing image tag
    place a new image tag with the new properties at the caret position
    alternately you can change the properties of the existing image tag.
    There a reloads of threads in this forum about how to change tag properties or the tag structure of a HTML document, so I omit this. Please try to do a search for such topics in this forum.
    A GUI (Java classes ImageDialog and ImagePreview) for entering image properties is available at http://www.calcom.de/eng/dev/index.htm
    Directly changing a table's width with the mouse is more complex, because you'd have to constantly write new width properties for the table and update the document while the mouse is moved. Probably better would be to bring up a dialog window to change the table properties instead.
    Hope this helps
    Ulrich

  • Problement with Display object

    Hello,
    With this code i can't show two times same display object
    Can you help me ?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();">
    <mx:Script>
    <![CDATA[
    private var a:Array = new Array();
    private var b:Array = new Array();
    private var counter:int = 0;
    private function init ():void
    a.push("http://dutron.files.wordpress.com/2008/12/sourire-de-cochon.jpg");
    a.push("http://www.lanature.fr/fond-ecran/photos/petit-cochon.jpg");
    a.push("http://www.coloriagesanimaux.net/animaux/cochons/cochon.jpg");
    loadSlide();
    private function loadSlide():void
    trace("loadSlide");
    var imgLoader:Loader = new Loader()  ;
    imgLoader.load (new URLRequest(a[counter]));
    imgLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,imageLoaded);
    private function imageLoaded (e:Event):void
    b.push(e.target.content);
    if (counter == (a.length - 1))
    - trace("all slides images");
    else
    counter++;
    loadSlide ();
    public function showSlide(e:Event):void
    var cLoader:DisplayObject = b[e.currentTarget.selectedIndex];
    if(cLoader)
    contentImage.source = cLoader ;
    ]]>
    </mx:Script>
    <mx:HBox>
    <mx:ComboBox change="showSlide(event)" >
          <mx:ArrayCollection>
             <mx:Object label="AL" data="1"/>
             <mx:Object label="AK" data="2"/>
             <mx:Object label="AR" data="3 Rock"/>
          </mx:ArrayCollection>
       </mx:ComboBox>
    <mx:Image  id="contentImage" />
    </mx:HBox>
    </mx:Application>

    I've changed your showSlide function into one line of code:
    public function showSlide(e:Event):void
    contentImage.source = a[e.currentTarget.selectedIndex];
    ...and now it's working. I must say I was a little lazy and didn't examine the rest of your code as much as I should . But it seems that you've written to much of it and you've complicated it a little. I don't get it, why are you creating the second array (b:Array)? I'm assuming, that you wanted to keep every picture in the memory to shorten the time of they load, am I right? But from what I know it's not important, cause every modern web browser will do it for you, and will keep them in it's cache after the first load.

Maybe you are looking for

  • Hello,i have one iphone 3gs and i want it to upgrade my iso from 4.1 to 6 but now it dond wanna activate,what i can do?sorry for the language i am from romania so..

    i have one iphone 3gs and i want it to upgrade my iso from 4.1 to 6 but now it dond wanna activate,what i can do?sorry for the language i am from romania so..

  • How to get Graphic Driver Card 845gl!

    hi all! I have installed Solaris 9 intel! But the monitor display very bad! It's only 16 color! I know my Graphic driver card is not supported in Solaris OS. Now I want to find driver of it! Can U help me? My card is 845gl Graphic!

  • Want to avoid a sub report

    Hello, My report is grouped by Account, all fields are placed in the Group Footer section. The detail section id suppressed. I am showing narratives for accounts, and each account can have multiple narratives. Because I put narratives in the group fo

  • Equipment Asset value?

    Hi Bw Gurus, I have a requirement to provide a report on De Installed Equipments from CRM and the asset value from ERP. I can get information like sevice order no, contract no , age of the equipment from the due data etc from CRM. Where as the Asset

  • Server hangs with queue based printing

    We have a Netware 6.5 SP1 server used for queue based printing with HP Print Servers.However very often queues do not respond and we re-start the server so that queues will be operational. Will service pack 2 will sove this problem? Is there any issu