How access Image in TileList ItemRenderer?

Hi!
I need draw net above some images in TileList, something like this:
I extended class Image and wrote function which draw net. I use this class in TileList ItemRenderer. But how I can access required item Image and call draw function?
Thanks!

Your code is missing. But in the click event of the renderer you should be able to do this:
If you have assigned an id to the renderer component (may need to wrap in canvas or other container)
click="myRenderer.text"
or
click="data.myProperty"
If you do post your code we can give a better answer.
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services

Similar Messages

  • How access images from iPhoto Library?

    I appear to have done something terrible with one of my iPhoto libraries.
    Over the holidays, as I recall, I had attempted to move the iPhoto library from the computer to an external hard drive.
    This particular library, now on the external drive, shows 266 gigabytes in the finder, but I can't access any of the images.
    So, something appears to be in the iPhoto library, but something may be missing that permits access.
    If there's no hope of recovery of 2 years of images, should I just delete the library -- and lose all images forever?
    Or, is there some hope or method of recovery?

    Well it wouold really help if you told us that version of iPhoto you have - and exactly what you did? and exactly what is happening?  we know nothing at all about your or your system except what you tell us - which at this stage is only that you have a problem of some sort.
    The only wild guess I can make at this time it for you to depress and hold the option key and launch iPhoto and select the library on the external drive.
    LN

  • How to access images in my localmachine without deploying them

    Hi
    I am trying to access images in my localmachine from an ADF Application (11.1.2.4). If the source of the images is an url address it works fine. However, if they are in my local machine I don't know how to make it work. I don't want to deploy them with the application. I want them to be referenced like:
    file:///C:/images/bla/bla.jpg
    I might be failing is something really silly. Apologies in advance.
    Regards

    You can only address images inside your web root directly. The application can't just reference your file system.
    You can archive this using a servlet which you call via an url with parameters (e.g. the filename) and send the image from there (where you have access to the file system).
    Timo

  • How can I access images from IPhoto on my Mac to Photoshop CS6

    How can I access images from IPhoto library on my Mac to Photoshop CS6?  I enable jpg with format "Photoshop" and this is what comes up -  "Could not complete your request because Photoshop does not recognize this type of file" 

    MountainArtist wrote:
    …I enable jpg with format "Photoshop" and this is what comes up -  "Could not complete your request because Photoshop does not recognize this type of file" 
    Photoshop is not a format.  It's an application.
    What you are looking at are not true JPEGs, just iPhoto's "tease" representations of the hidden images it swallowed, as explained above.

  • How can I update Camera raw for Photoshop CS5 to access images from Canon Rebel T4i?

    How can I update Camera Raw for Photoshop CS5 to access images from Canon Rebel T4i? The updated version of Camera Raw 7 says it only works with CS6. Outside of buying a new Photoshop, is there anything I can do?

    Buy Lightroom (much cheaper alternative to Photoshop) - does all your 'Photo-related' tasks. Full version of LightRoom 4 is $149/- - http://www.adobe.com/products/photoshop-lightroom.html
    LightRoom 4 supports ACR (Adobe Camera Raw) 7. Once processed with Lightroom, if you still need, you could take the photo in JPG or TIFF format into Photoshop CS5 for further processing.
    Another option is to use Canon Raw Codec that would've come with your camera's box to process the RAW images and then take them into Photoshop.

  • How to access images files outside an ear file

    I tried accessing images that are not part of the ear file which i deployed. And
    which created on a fly during the execution of applicaiton. I get URL not found
    error, can any one let me know if is there any way where in i could access the
    files not part of deployed ear. I am uisnig Weblogic 6.1 Awaiting for a reply
    ASAP.
    Thanks
    Anastasia

    Generally, accessing files that are not within your
              war hierarchy is not allowed. Everything the webapp
              needs should be contained within the webapp.
              WebLogic does have an extension known as "virtual
              directories" which does allow you to access content
              outside the war. There is information on it at:
              http://e-docs.bea.com/wls/docs70/ConsoleHelp/war_webappext_virtualdirectorymapping_config.html
              mark
              > "Ajit Mukka" <[email protected]> wrote in message
              > news:[email protected]..
              >
              > Hi
              >
              > I tried accessing files that are part of my Default WebApp directory.
              > These files are not part of the ear file which i deployed. I create
              > few runtime files and make dynamic calls to access those files.
              > I get URL not found error, can any one let me know if is there any
              > way wherein i could access the files not part of deployed ear.
              > awaiting for a reply asap.
              >
              > Thanks
              > Ajit
              >
              

  • Image source in itemrenderer

    imglist = arraycollection which contains names of images
    which are coming from database
    myimg = array of images
    all images are stored in newfolder
    how to use tilelist itemrenderer for images

    Hi Jed,
    Thanks for responding
    That is the exact path assigned to the Source of the Image
    control. However, it isn't exactly a trace of the Image.Source
    property.
    The code in question is attached
    The alert shows the path I originally posted and shows that
    the fileImgThumb.exists returns False.
    As I mentioned, this works perfectly in Windows. There is
    some code elsewhere in the app that creates the thumbnail. That
    does work on the Mac as the thumbnail image is created and saved
    where expected.
    I am not sure what I might be doing wrong.
    Thanks for your help,
    Sid

  • Access image in item render

    hello guys i have an item renderer
    like so
    <mx:Component>
    <mx:HBox width="100%" height="70" paddingLeft="0" paddingRight="0">
    <mx:Image id="gb"  source="assets/Warning.png" enabled="true" alpha="1" click="outerDocument.ShowPidmHideDuplicate();"  useHandCursor="true" buttonMode="true"/>
    <mx:Text id="stext" text="{data.fwvitals_messageA}"
                        fontFamily="
    Georgia"                     fontSize="
    14" fontWeight="bold" />
    <mx:Image id="his" source="assets/history.png" enabled="true" alpha="1" useHandCursor="true" buttonMode="true"/>
    </mx:HBox>
    </mx:Component>
    I would like to access the image in the item renderer so i can change it to something else using actionscript 3.0 does anyone know how does one go about doing this?

    Hi miguel,
    You can access the image in your itemRenderer the following way by writing the ActionScript block within the itemRenderer...
    <mx:itemRenderer>
        <mx:Component>
         <mx:HBox width="100%" height="70" paddingLeft="0" paddingRight="0">
          <mx:Script>
                      <![CDATA[
                   private function changeImage():void
                      gb.source = "assets/Warning1.png";
                      his.source = "assets/history1.png";
                      ]]>
                  </mx:Script>
          <mx:Image id="gb"  source="assets/Warning.png" enabled="true" alpha="1" click="outerDocument.ShowPidmHideDuplicate();"  useHandCursor="true" buttonMode="true"/>
          <mx:Text id="stext" text="{data.fwvitals_messageA}" fontFamily="Georgia" fontSize="14" fontWeight="bold" />
          <mx:Image id="his" source="assets/history.png" enabled="true" alpha="1" useHandCursor="true" buttonMode="true"/>
         </mx:HBox>
        </mx:Component>
    </mx:itemRenderer>
    You can call the function changeImage() either on a button click or any event you want to chnage the source of image..
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • Access image files on mobile device

    Hi
    I've just started playing about with J2ME and was writing a application for my mobile (LG8120) ... it a simple applicaion, an image scroller. Allowing the user to scroll around a large image using the keypad ... Anyhow, i've come across a snag! .. How do you access images off the mobile device?, such as taken by the camara, or sent to me ... basically file access! ...
    thanks for your time ...

    For image access you have 'Image' class and 'ImageItem' to display image on form.
    You can either get image from resource file (bundled with jar) or via HTTP.
    For resource file use :
    getClass().getResourceAsStream(imageFile)
    For HTTP use:
    HttpConnection newHttpConnection = (HttpConnection) Connector.open(imageUrl);
    To create image use:
    Image.createImage()

  • Only some pages of my website made with Muse can't be edit in the Business Catalyst Admin Console... How access all my pages edit possibilities ?

    My website is made with Adobe Muse and published with Business Catalyst.
    Some pages can be edit on the Business Catalyst Console, but, unfortunately, some other pages can't.
    Why some pages and not others ?
    Thanks for yours answers.

    Hi,
    I have try the edit mode with Firefox and Chrome and no one doesn’t work.
    For the french pages, I must reload the page to have the blue blocks. And if I do that on an english one, it switches on the french one...
    Caroline Duhamel
    +33 (0)6 08 34 33 61
    Le 24 oct. 2014 à 09:40, rohit776 <[email protected]> a écrit :
    Only some pages of my website made with Muse can't be edit in the Business Catalyst Admin Console... How access all my pages edit possibilities ?
    created by rohit776 in Help with using Adobe Muse CC - View the full discussion
    Hi,
    I have just checked at my end and it seems everything is working fine and I am able to edit even the English version pages.
    Can you please try some other browser or in a different system to edit your site and check if you are able to do so.
    Regards,
    Rohit Nair
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6862093#6862093
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How insert image in TextFrame ?

    Hi Experts
    I want to insert image in a textframe  which has extreme data (means a  + sign is exist on textframe boundary).
    My text length is 200 character. but in text fame only 100 character is visible.
    I want to insert image after 150 character from starting using script, but image is not insert.
    My Script is :-
    #target indesign
    var myDocument=app.activeDocument;
    try
    var myTextFrame=myDocument.spreads.item(0).textFrames.item(1);
    var insertionPoint=myTextFrame.insertionPoints.item(150);
    //var TextFrame=insertionPoint.textFrames.add((myDocument.layers.item("Layer 1")));
    insertionPoint.place(File("/C/temp/1.jpg"));
    catch(e)
        var k=0;
    If I increase the text frame sizes as much as that +sign remove or whole 200 character appear in textframe then image is insert in text frame.
    But I can not increase the text frame size.
    But I can create  a new textframe and then link this textframe with previous textframe.
    How insert image in this condition ?
    Thanks.

    Hi,
    Change:
    var insertionPoint=myTextFrame.insertionPoints.item(150);
    to:
    var insertionPoint=myTextFrame.parentStory.insertionPoints.item(150);
    TextFrame has as many insertionPoints as can be shown, no more.
    You can access a story insertionPoints regardless which frame is its parent.
    Jarek

  • How many images can iPhoto 2.01 hold?

    How many images can iPhoto 2.01 hold? What's the maximum.
    And why does iPhoto occassionally crash when dragging folders of images into the Album list area?
    thanks,
    Hairfarmer

    I have 70,000 RAW images arranged in directories by year/day.  The only thing slow about it is during catalog backup. When first starting LR it takes a couple of minutes to enumerate the dates with photo counts, but that occurs in the background.  I detect no database related slowness while editing or performing random accesses and searches.  I have seen no difference in the above after having upgraded to V4.
    The only slowness that I find annoying has nothing to do with the database.  It is after a certain number of spot removals of varying sizes. The larger and/or more varied the spot size tends to accelerate this.  At some point it starts disk thrashing and becomes impossible to work with (I have to back up to a history step when it was running OK, which can take several minutes).  When this occurs the task manager shows a high rate of page faults, meaning it is swapping out stuff to disk (even though I have plenty of unused ram).  This suggests a problem with the compiler, but that is just an wild educated guess.

  • How many images can LR4 catalog hold?

    I have been using Lightroom since version 1, it is my main editing software. LR4 is brilliant, however I it seems to run much slower then LR3 especially in the print module. I'm thinking this maybe due to the size of my catalog. How many images can a catelog hold?
    Many thanks
    RP

    I have 70,000 RAW images arranged in directories by year/day.  The only thing slow about it is during catalog backup. When first starting LR it takes a couple of minutes to enumerate the dates with photo counts, but that occurs in the background.  I detect no database related slowness while editing or performing random accesses and searches.  I have seen no difference in the above after having upgraded to V4.
    The only slowness that I find annoying has nothing to do with the database.  It is after a certain number of spot removals of varying sizes. The larger and/or more varied the spot size tends to accelerate this.  At some point it starts disk thrashing and becomes impossible to work with (I have to back up to a history step when it was running OK, which can take several minutes).  When this occurs the task manager shows a high rate of page faults, meaning it is swapping out stuff to disk (even though I have plenty of unused ram).  This suggests a problem with the compiler, but that is just an wild educated guess.

  • How many images per sec can I get from ImageIO.read(url) ??????

    Hello,
    In my program I read images from a url...I'm wondering how many images I can get with ImageIO.read(url) per second..
    Hereby is the code that I'm using:
    import java.awt.*; //Contains all of the classes for creating user interfaces and for painting graphics and images
    import java.awt.event.*;//Provides interfaces and classes for dealing with different types of events fired by AWT components
    import java.awt.image.*;//Provides classes for creating and modifying images
    import java.io.*;//Provides for system input and output through data streams, serialization and the file system
    import java.net.URL;
    import javax.imageio.*;//The main package of the Java Image I/O API.
    import javax.swing.*;//Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
    import java.text.*;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class getPic extends Component{
    private BufferedImage img;
        static int n=0;
        private URL url;
        private DateFormat dateFormat;
        private Date date;
        private String s;
        private String str1= ".jpeg";
        private String str2="C:\\Users\\";
        private String str3;
        private String str4;
          public getPic() {
         try {
                  url = new URL("http://"); //a url that gives a real-time image
                  img = ImageIO.read(url);
                } catch (IOException e) {
               System.err.println("Unable to read file");
    public void savePic(){
    try{
    n++;
    str3=str2.concat(Integer.toString(n-1));
                        str4=str3.concat(str1);
                        ImageIO.write(img, "jpeg" , new File(str4));
                    } catch(IOException e) {
                      System.err.println("Unable to output results");
    @Override
        public Dimension getPreferredSize() {
            if (img == null) {
               return new Dimension(100,100);
            } else {
               return new Dimension(img.getWidth(), img.getHeight());
        @Override
          public void paint(Graphics g) {  //http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Paint.html
            g.drawImage(img, 10, 10, null);//http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Graphics.html
        public static void main(String[] args) throws IOException {
           JFrame f = new JFrame(" Image without processing!!");
           f.addWindowListener(new WindowAdapter(){//http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/WindowListener.html
                @Override
                    public void windowClosing(WindowEvent e) {
                        System.exit(0);
        int i=0;
        for( ; ; ){
            i++;
            getPic pi = new getPic();
            pi.savePic();
            f.add(pi);
            f.pack();  //Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.
            f.setVisible(true);
         try
            Thread.sleep(1000);
            }catch (InterruptedException ie)
            System.out.println(ie.getMessage());
    }Thank you in advance for your answers
    Joan

    Finally I solved my problem(getting as many images as possible from a url infinitely) using the above code:
    import java.net.*;
    import java.io.*;
    public class UserApplication {
        private static int n=0;
        String url;
      public void UserApplication(){
        public static void main(String[] args) throws Exception {
            UserApplication app= new UserApplication();
            for(;;){
            app.urlStr();
        private void urlStr(){
            try{
                url= "http://mplamplampla/frame.php/";
                HttpURLConnection con=(HttpURLConnection) ((new URL(url).openConnection()));
                BufferedOutputStream out = new BufferedOutputStream( new FileOutputStream("C:\\Users\\mpla\\Desktop\\" + n + ".jpeg"));
                con.setDoInput(true);
                con.setDoOutput(false);
                con.setRequestMethod("GET");
                BufferedInputStream in = new BufferedInputStream(con.getInputStream());
                int bt = 0;
                byte[] buffer = new byte[4096];
                while ((bt = in.read(buffer, 0, 4096)) > -1) {
                  out.write(buffer, 0, bt);
                in.close();
                out.close();
                System.out.println("Image " + n + " saved");
                n++;
                } catch (Exception e) {e.printStackTrace();}
    }

  • Access image size and color profile

    Hi all,
    Is it possible to access image size and color profile ? If not, will it be possible in CS6 ?
    Thanks.

    Load the external XMP library and get it from that?

Maybe you are looking for

  • Hidden items in apex 4 now hidden and proteced

    Hi all, The option hidden and proteced is no longer available in Apex 4. Now a hidden item is automatically hidden and proteced. This gives me problems with my app. I created a page with a menu. When I click on the menu my page gets filled with conte

  • Help in setting up a clustered scalable JMS env

    hello I have two separate machines I have created a cluster spanning the two machines, with 2 managed servers The cluster is working well I am experimenting with JMS and i want to utilize the two machine for scalability reasons I have created One JMS

  • ISight Not Functioning, Photo Booth Gives Green Screen

    I got my Macbook Pro back from the repair shop recently and shortly after my built in iSight stopped functioning correctly. The green light goes on to show me it's working but: In Photo Booth I see this | | In iChat when not in a video conference I s

  • Dynamic label in qml

    How to add  dynamic label in qml 

  • Photos are there, but where?

    I have 15 or 20 photos on my iPhone 4 that are linked to contacts on the phone.  After one of the iOS updates, the photos disappeared from the Camera Roll, but they still appear when I view the contacts.  That is, they are on the phone somewhere, but