How to get the image appears?

Hi have a problem to report a MXML component an arry in my main MXML application

I don't understand why I get this error when it refers to a table in my main application.

What I did: I've created a table in my main application where I am referring to a couple of images

< mx:Array id = "picArray" >
< mx:Object
thumbnailImage = "assets/DSC_1904_thumb.jpg"
fullImage = "assets/DSC_1904.JPG" / >
< / mx:Array >

later in the code I'm filling in the field of the icon of a horizontal list with the 'thumbnailImage' specified in the 'picArray.

< mx:HorizontalList id = "picList".
iconField = 'thumbnailImage '.
Click = "showImage (Event)" "
dataProvider = "{picArray}.
itemRenderer = "CustomItemRenderer."
columnCount = "4".
columnWidth = "210".
number of lines = "1".
rowHeight = "120".
horizontalScrollPolicy = 'on' width = '863' / >

The photos appear in the list, and when I click on a PopUp is created to see the enlarged image. However, the PopUp does not show the "fullImage". It is at this time there no error message when I want to talk about the MXML of the TitleWindow component the "picList" in the main application in this way:

< mx:Image id = source="@picList.selectedItem.fullImage"/ "popImage" >

How can I get my picture to show?

Dear Thomas

Hello

You need to make 2 changes to get this working:

#1: ViewWindow.mxml


showCloseButton http://www.adobe.com/2006/MXML"creationComplete =" init () ' = 'true' "
Close = "PopUpManager.removePopUp (this)" width = "640" height = "480" title = "Impressions of the North Station" > "
   
        Import mx.managers.PopUpManager;
           
[Bindable]
public var imgPath:String;
           
private function init (): void
{
PopUpManager.centerPopUp (this);
}
]]>
   

   
       
   

#2: Main.mxml

public void showImage(e:MouseEvent):void
{
var viewWindow:ViewWindow is PopUpManager.createPopUp (this, ViewWindow, false) as ViewWindow.;
If (viewWindow)
{
viewWindow.imgPath = picList.selectedItem.fullImage;
}
}

I hope this helps.

Kind regards

Adrian Wiecek

Tags: Flex

Similar Questions

  • How to get the image tag

    IAM create small Animation in 10 pictures. 1 frame lable called 'Start', frame label name is 'end '. Button click on how to get the current frame label name.

    var frameObj:Object = {};

    frameObj [1] = "start";

    frameObj [this ._totalframes] = "end";

    etc.

  • If anyone can help with how to get the image

    a database in a view using Dreamweaver page?

    I have a page with a recordset and a database with text and images. The image field has a link to the file and the image as in /images/image1.jpg including the size.

    The thumbnail I want to display on a page of the main display is in the database using varchar with a link like /images/image1.jpg

    When someone wants to see the master page, they click on a link and everything which has been entered showing the database. At least everything except the image.  Right now it shows just /images/image1.jpg

    I don't know how to call the images to the database.

    Thanks for the help and information.

    conch,

    Check the entry of the database, and you may also have too many tags...

    In addition, check to see if your pictures folder is in the root directory, such as an incorrect path can complicate things.

    If this site is located on a remote server, feel free to send me the link here or by e-mail: [email protected]

    In addition, if you have a screenshot, it would be useful.

    Hang on!

    See you soon,.

    wordman

  • How to get the image to display on the Blackberry screen URL

    Hi all

    I'm setting up a Blackberry java application. I have a url to the image... (as you can tell "http://www.christianfilmdatabase.com/wp-content/uploads/2013/06/Movies.jpg"). I get this image dynamically and display on my screen. ... How can I do it... I post my code here...

    Bitmap bitmap = Bitmap.getBitmapResource(imageUrl);
    
                        Background background = BackgroundFactory.createBitmapBackground(bitmap);
    

    Best regards,

    Thank you very much, Peter... Now, I could get the web images and display them on the screen...

  • How to get the image similar to others?

    Hi all

    I am very new to PS, so always try to find my way. I needed to change the image on the left on the home page of my company. All I could find was a free picture that has been coloured, so I enlarged and makes B & W. However, the hair is too dark. The other pictures seem to have a sort of gray or softness on them, even if some people are too Brown. It doesn't have to be perfect, the main thing was to get rid of the old image.  But how can I get the first image to look more like the others?

    Thank you

    see you soon

    Donna

    http://www.Ostara.org.au

    Hello again once, Donna,

    I don't know what you're asking.  I just did what I mentioned above: Image - adjust - curves, then I manipulated the black point and curve a bit so he could look right.  You could refine the result with sharpness, or look online for more sophisticated sharpening devices.

    -Christmas

  • How to get the image of the label number in a different scene.

    I'm completely stumped on this.

    I have my setup of a project like the gameplay in a scene and another scene for the result.

    The scene of the result, say called, GameDone, has 2 images. The first image for victory, labeled, he WON, the second for LOST lost image, labeled.

    I could do the thing very simple and just Stop ("GameDone", 1); but it is bad practice, I think.

    Ive gone through google and found the closest thing in need of a MovieClip. I couldn't understand what to give? A random clip? a new? one of the next scene? one of the current scene?

    import flash.display.Scene;  

    for (var i:uint = 0; i < mc1.scenes.length; i++) {
         var scene:Scene = mc1.scenes[i];
         trace("scene " + scene.name + ": " + scene.numFrames + " frames");
    }

    It was a sample of adobe.

    So how could I, in the scene of gameplay, the frame number for WON or LOST in the scene of 'GameDone '?

    Thank you.

    Try to do the simple thing that you think is a bad practice.  I don't know why you think it is.  The only problem is that you seem to have back for AS3, AS3, it is gotoAndStop (frame, scene);

    Why don't you use the image instead of the image number labels?  Stop ("won", "GameDone");

  • Faulty update OTA. How to get the image of the stock firmware

    OTA update is a failure. It fails on the validation of the chrome.apk. I have roots phone and update of application system in the system partition with the current versions. (Didn't save old versions) No other amendment to the stock firmware. How to restore the system partition so that the OTA update working again? Phone is XT1068 UK version. retgb 21.11.14.titan_retgb.retgball.en.GB

    I'm sorry, but the stock firmware is not available through any official means. You will need to look elsewhere. I wish there's a way, like iFruit, we flash our phones on the site of the bike. According to me, which would save a lot of repairs and Customer Service issues.

    I've heard, but no way to ever know whether he will be executed or not. I keep my fingers crossed on this issue.

    I will be locking this thread as there may be no other discussion of the present. I'm sorry.

  • How to get the image complete at all times without losing the old frame in labview

    Hello

    How to create a vi that accept full frame at all times in a list without losing the old that come from a table.

    Sorry - thought you meant a combo Box is not a listbox control.

    Please find attached an example with a multicolumn listbox.

    You need to build an array of information from the line, then insert a new row in the main table.

    I hope this helps.

  • How to get the icons appearing on the background browser in their place. Now they have moved to the right of the screen, windows vista?

    I don't remember when they moved, it was at least 2 days.

    I think you are talking about the task bar that appears at the bottom by default and now its projection right into your Windows.

    Just right click on the taskbar and make sure that the option "Lock the taskbar" is unchecked. Now click and hold your mouse and drag the taskbar at the bottom again.

  • For jpeg files how yo make the photo appear in the display in "mosaic"?

    For jpeg files how yo get the photo appears in the "mosaic" view all types of files f othe display the document. For the shotos I have jest the artists palette

    Did you use Paint Shop Pro to view the images?

    Start > default programs the value

    Choose associate a file Type or Protocol with a specific program

    Amine to .jpeg and click on it to select a program

    Select the Windows Photo Viewer

  • How to restore items where my images are returned in the top left corner when it is open, and they have a "mesh" around them? Something to reset elements so that the image appears in the center of the box... I can't have more than 1 in. image

    How to restore items where my images are returned in the top left corner when it is open, and they have a "mesh" around them? Something to reset elements so that the image appears in the center of the box... I can't have more than 1 image open at the same time to work on. I e I can't pass a layer on the image to the other.

    OK - I got out my trusty Photoshop Elements 10 - The Missing Manual and figured it out. What I was trying to describe, it was how to make images with 'tab' images 'floating '? This has somehow reset without my knowledge. What you need to do to get your images 'Floating' back is to click on "EDIT" in your editor - at the bottom of the drop-down list hover your cursor to "GÉNÉRAL" and click on - at the bottom of the drop-down list, click in the bottom left box 'ALLOW FLOATING DOCUMENTS IN FULL EDIT MODE' - and then click OK.

    That solved my problem!

  • How can I get the messages appear when sent even if my phone is locked. I only get messages across when I activate the phone

    How can I get the messages appear when sent even if my phone is locked. I only get messages across when I activate the phone

    Settings > Notifications > Messages > display on the lock screen

  • How to rotate the image in movie maker a few degrees to get it exactly horizontal

    If my camera was slightly off level during recording, how I rotate the image a few degrees in Movie Maker to get this level

    I found a copy of 1.9.2.

    Excellent

    Wayne

  • How to get an image to appear in my signature?

    I use Windows Mail (Vista) and I'm trying to put a picture of my signature. My htm file is 3kbs and can be viewed in Mozilla Firefox, but after I apply it as my signature image is not visible and shows just a small red x in a box with the name of the file next to him. How can I fix so that the image appears in my signature?

    Make sure the path to the image in the HTML file is the full path and not the relative path.  In other words:

    FIX:

    Incorrect

    The second has only a relative to the image path and therefore the redX because it can't find the image.  You must specify the full path to the image, so it can be rendered correctly.

    Steve

  • How can I get the image of the Web page when my mouse over the icon in the taskbar?

    I used to get the image of some Web pages I look at one when I spent my mouse on the browser used in the taskbar, now, I only get the Scripture that says what pages are open, how to get back the images? It facilitated visually for me to see.

    Hello

    Are you referring to the feature Aero Peek in Windows 7?

    You can use Aero Peek to take a quick look at other open windows without clicking away from the window you are currently working. For more information, see Preview an open window on the desktop using Peek.

    You may experience this problem if PEAK Aero is disabled on the computer.

    If you can not see the effects of glass window, or if you are unable to use Aero Peek and Aero Shake, use the Aero troubleshooting tool to diagnose and fix the problem automatically.

    Solve problems Aero in Windows 7

    http://support.Microsoft.com/kb/976170

    You can also go to the Control Panel - Performance and options (find it by typing in the search box) - and set for the "look better".

    I hope this helps. If you need help with Windows, let us know and will be happy to help you.

Maybe you are looking for

  • If I pre-order the Captain America civil war right now I'll be able to watch tonight from sound to cinema?

    IF I pre-order the Captain America civil war on iTunes can I watch it tonight since its theatrical release?

  • Download stack Bluetooth USB dongle for Windows 7

    I have a Toshiba USB bluetooth dongle. The software will not be installed using Windows 7 and the dongle doesn't work at all on my PC. Download only that I could find for the software was for Toshiba laptops! Where can I download the software and dri

  • Trying to upgrade my cpu to A4313w.

    I bought a Phenom II Quad Core AM Socket 3 (there was no 2 + listed). On the HP site, it recommends the Phenom II Quad AM2 +.  When I bought the AM3 they said it works very well with the type of motheboard AM2 +. Indeed, when the processor arrived he

  • Connect scam

    A friend of mine fell for that then regulated just before the payment - now he is stuck on the computer. When you transmit computer saying don't like his password. I managed to go to the initial start up and change the password but still no joy. Has

  • Problem with the icon 'Remove hardware safely' on the bottom of the screen

    How can I get the icon 'Remove hardware safely' to stop making its sound? It makes the bonk sound which indicates that you can remove your device. It slows down the PC games and is just annoying. I used the troubleshooter and checked all USB options