Integrate Image (TITLE 2)

I have a document flash actionscript 2 and I want to integrate a picture on it.
I have a variable called imageUrl that corresponds to the url of the image that I want to
I have a movieclip called imageBox which I want the picture to go (do I even need a movieclip)

Can someone help mw with this?

:

imageBox.loadMovie (imageUrl);

Tags: Adobe Animate

Similar Questions

  • image titles

    How can I generate titles automatically the name of the album

    Photos don't have this batch change option. You can select all the photos in the album at the same time, open the Info Panel with ⌘I and enter the same title for all the photos in the album of title of the Info Panel.

    If you want to add numbers padded to the title using one of the scripts of the section user Tip: Photos for Mac

  • integrate image and text in the report

    I'm doing a label with a logo at the top left, a chart on the side right (an arrow indicating the direction of flow)

    and the text in the body of the tag, so far without success. I tried to use the generation of report vi s to achieve this, but it seems that just the 'standard' reporting rather than on a word one (no Office product on the computer, has no... Works, yech!) limited considerably, although I do not know how the do with the ability of Word template, although I suspect that would make life much easier. I really don't understand what can do the "standard" report When I set the alignment of the Image to add to the report, there is no effect on the placement of my graphics. In addition, it is an addition, which means that I find myself with the image on a label, the text on the other. I want to do is have them both on the same label, the Logo above and the arrow to the right of the text.

    I tried a lot of things, including using the generation of reports "Append façade image" and make a cluster that has been written to fill all of the panel before visible, but it was printed distorted and small, similarly Append control image.

    The printer is a usb Zebra TLP3842

    LV_Pro,

    As FAS so I understand it, the alignment entries apply only to HTML format, so they do not affect the Standard reports.

    Try to put your logo in the header of the standard report.  Then on your front, create a tab control, where you place your text box and graph of arrow in the direction you want to print on the page.  Make the background of the transparent tab control and add the image of the tab control to the report.  I think that it will be justified to the left little matter what you prefer, so play with the size and spacing of everything until it comes out looking how you want.

  • I want to integrate images, such as when you click an image in the pdf file, another image appears as a popup...

    I have a pdf file that deals on the product description. I want to start with a picture of the interface and a link on the next line says "Expand". This link will open the image of the interface with the highest resolution. I can't find a way to incorporate another image... I'm not flipping... When I click on the link, then only, the image should appear as a popup... I have Adobe Acrobat Professional... but cnt find a relevant option for this task...

    is there a javascript to call this particular image when the link is clicked.

    I want just the image to appear as a pop-up and not another file.

    Any help in this matter is highly appreciated.

    Nasreen,

    As Dave said, you can create a button to show/hide a layer.

    You also have a button which shows/hides another button.

    First create a button with the image you want to appear under the icon and then hide it (button properties > General > hidden)

    Then create another button which shows/hides the first button when the user clicks on (button properties > Actions > show/hide a field action)

    Michael

  • How to integrate images into Premiere Pro shot of AVCHD video camera?

    Hi all experts out there.

    I bought a Canon camcorder that records in AVCHD format on an SD card.

    My Mac computer has an SD card reader.

    It is, how to import the captured images on the SD card in first pro?

    Thank you

    Copy the entire map SD (including folders) on your hard disk and then use the media browser to navigate through the folder structure. Once you open the folder PRIVATE with Mo, will prove all the clips and you can drag into your project.

  • OBIEE 11 g title view position of the Image

    Hi all

    Is it possible to change the position of the image title vision in OBIEE 11 g. By default the image is coming up on the left side... In my report, I want to display on the right side...

    Guys please help...

    Concerning

    To achieve this, you will need a custom skin (you can change the original file, but I wouldn't have to do this!).

    The control file rendered with regard to the display of the title of the GUI is in the msgdb. This is the/messages/standardviewtemplates.xml. New: Please follow the process to create a custom look and put her updated the standardviewtemplates.xml.

    Changes must be made here:

    Standard:

    
      
        
            
                
                
                

    After the changes:

    
      
        

    Basically you swap the order of the Logo-> title-> title-> help-> Logo helps. This way, you know what is happening in the doce above and do title-> Logo--> help if you want.

    These changes are application-level everywhere where the custom skin is used (or just applciation-wide full stop if you change the original file).

  • Show dynamic text inside the title for several images on mouseover

    I have 25 animated Clips dragged on the stage and they have for instance similar names for easier manipulation purposes within programming using loops. The instance names look like this: image0, image1, image2 and so on.

    Whenever I'm mouseover on one of these unique images, I want to show the unique title of this image using all securities as a dynamic text named imageTitle container.

    I managed to do this job image by image, but that would require me to copy paste and modify the following code for each image.

    image0.onRollOver = function() { 
        imageTitle.text = "First image title";
        imageTitle.textColor = 0x000000; // setting the text color here
      };



    image0.onRollOut = function() { 
        imageTitle.text = "Choose an image";
        imageTitle.textColor = 0x000000;
    }; 

    Question: The above code wouldn't work, but seems redundant to me. Since I was the name of similar instances (image0, image1,..., image24), how can I put this code inside a loop or something to work for all the images without repeating this code 25 times.

    Update: I've added a table for the project that contains all titles:

    var imagesTitles = new Array("First image title", "Second image title", .... );  

    :

    imageTitle.textColor = 0 x 000000;

    for (var i: Number = 0; i<>

    This ["image" + i] .ivar = i;  key stage

    {This ["image" + i] .onRollOver = Function ()}

    imageTitle.text = imagesTitles [this.ivar];  milestone used here

    }

    {This ["image" + i] .onRollOut = Function ()}

    imageTitle.text = "" Choose image ";"

    }
    }

  • How to escape the quotes in image.metadata.title

    Was working on a web template that uses image.metadata.title and image.metadata.description but when my user place a quote "or an apostrophe I get an error in the processing of the page html or xml I'm generation. What I would like something isg as php htmlspecialchars. I tried the following:

    String.format('%Q',image. Metadata.title) who escapes from the "------" and the apostrophe with------' but I will get in my xml

    < image title = "She said \"this isn\ ' t work------"" > "

    "Unfortunately the------" isn't escape the quote in xml, I would like to have

    < image title = "says she & quot; This n & #039; work & quot; ">

    Similarly, if my user wants to thml in the title of the image or the title I'm getting the same problem.

    It would be nice to have a function SDK for HTML quoting.  But in the meantime I think you should use string.gsub () to make your own replacements, for example

    String.gsub (s, "\ '", "'")

    You can pass an array to the third parameter, which allows you to make all necessary substitutions with call to string.gsub ().

  • Persistent problems, image display

    I thought I had already managed to solve this problem, but it doesn't seem to be the case. I have two tilelists items can be moved between and when you click on each item of information and "largeImage" it should appear in the right panel however this works fine in the preview, but when I change to an air application and run it in fact the images are not displayed in the right panel when you click on each element within the tilelists.

    What changes should I make to this code to make it work correctly when modified in an AIR application?

    <? XML version = "1.0" encoding = "utf-8"? >

    < mx:Application

    ' xmlns:mx = ' http://www.Adobe.com/2006/MXML "layout =" " absolute "creationComplete ="initprofile1NewsAndSportSO ()"

    >

    < mx:Script >

    <! [CDATA]

    [

    Bindable

    ]

    [

    Incorporate (source ='assets/images/bbcnews_small.png' )

    )]

    public var

    Image1: Class;

    [

    Bindable

    ]

    [

    Incorporate (source ='assets/images/itv_small.png' )

    )]

    public var

    Image2: Class;

    [

    Bindable

    ]

    [

    Incorporate (source ='assets/images/skynews_small.png' )

    )]

    public var

    image3: Class;

    []] >

    < / mx:Script >

    < mx:Script >

    <! [CDATA]

    import

    MX. Collections.*;

    import

    flash.net.SharedObject;

    public var

    profile1NewsAndSportSO:SharedObject;

    private var profile1NewsAndSportaddLinksFullAC:ArrayCollection = new

    ArrayCollection([)

    {link:}

    "www.bbcnews.com" , label: "BBC News" , icon: "image1" , largeImage: "assets/images/bbcnews_small.png" , title: "BBC News" , description: "BBC News description will go here"

    },

    {link:}

    "www.itv.com/" , label: "ITV" , icon: "image2" , largeImage: "assets/images/itv_small.png" , title: "ITV" , description: "ITV Description will go here"

    },

    {link:}

    "www.skynews.com" , label: "Sky News" , icon: 'image3' , largeImage: "assets/images/skynews_small.png" , title: "Sky News" , description: "Sky News Description will go here"

    }

    ]);

    private var profile1NewsAndSportaddLinksAC:ArrayCollection = new

    ArrayCollection([)

    {link:}

    "www.bbcnews.com" , label: "BBC News" , icon: "image1" , largeImage: "assets/images/bbcnews_small.png" , title: "BBC News" , description: "BBC News description will go here"

    },

    {link:}

    "www.itv.com/" , label: "ITV" , icon: "image2" , largeImage: "assets/images/itv_small.png" , title: "ITV" , description: "ITV Description will go here"

    },

    {link:}

    "www.skynews.com" , label: "Sky News" , icon: 'image3' , largeImage: "assets/images/skynews_small.png" , title: "Sky News" , description: "Sky News Description will go here"

    }

    ]);

    private function profile1NewsAndSportReset():Sub

    {

    resetprofile1NewsAndSportAC();

    profile1NewsAndSportAddLinksTilelist.DataProvider

    = profile1NewsAndSportaddLinksAC;

    profile1NewsAndSportLinkChoice.DataProvider =

    New

    ArrayCollection ([]);

    }

    private function resetprofile1NewsAndSportAC():Sub

    {

    profile1NewsAndSportaddLinksAC.RemoveAll ();

    for every()var obj:Object in

    profile1NewsAndSportaddLinksFullAC) {}

    profile1NewsAndSportaddLinksAC.AddItem (obj);

    }

    }

    private function initprofile1NewsAndSportSO():Sub

    {

    profile1NewsAndSportSO = SharedObject.getLocal)

    'profile1NewsAndSport '.

    );

    If

    (profile1NewsAndSportSO.size > 0) {

    If

    (profile1NewsAndSportSO.data.profile1NewsAndSportaddList) {}

    if (profile1NewsAndSportSO.data.profile1NewsAndSportaddList! = 'empty' )

    ){

    var profile1NewsAndSportaddList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportaddList.split (',' )

    );

    var profile1NewsAndSporttempAC1:ArrayCollection = new

    ArrayCollection();

    for every()var str:String in

    profile1NewsAndSportaddList) {}

    for every()var obj1:Object in

    profile1NewsAndSportaddLinksAC) {}

    If

    (str is obj1.label) {

    profile1NewsAndSporttempAC1.AddItem (obj1);

    continue

    ;

    }

    }

    }

    If

    (profile1NewsAndSporttempAC1.length > 0) {

    profile1NewsAndSportAddLinksTilelist.DataProvider = profile1NewsAndSporttempAC1;

    }

    }

    }

    If

    (profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList) {}

    var profile1NewsAndSportchoiceList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList.split (',' )

    );

    var profile1NewsAndSporttempAC2:ArrayCollection = new

    ArrayCollection();

    for every()var str2:String in

    profile1NewsAndSportchoiceList) {}

    for every()var obj2:Object in

    profile1NewsAndSportaddLinksAC) {}

    If

    (str2 is obj2.label) {

    profile1NewsAndSporttempAC2.AddItem (obj2);

    continue

    ;

    }

    }

    }

    If

    (profile1NewsAndSporttempAC2.length > 0) {

    profile1NewsAndSportLinkChoice.DataProvider = profile1NewsAndSporttempAC2;

    }

    }

    }

    on the other

    {

    profile1NewsAndSportReset();

    }

    }

    private function saveprofile1NewsAndSport(event:MouseEvent):Sub

    {

    var profile1NewsAndSportaddList:string = ""

    ;

    If

    (profile1NewsAndSportAddLinksTilelist.dataProvider) {}

    If

    (Collection ArrayCollection (profile1NewsAndSportAddLinksTilelist.dataProvider) .length > 0) {

    for every()var obj1:Object in

    profile1NewsAndSportAddLinksTilelist.DataProvider) {}

    profile1NewsAndSportaddList += obj1.label +.

    ","

    ;

    }

    }

    on the other

    {

    profile1NewsAndSportaddList =

    'empty '.

    ;

    }

    }

    profile1NewsAndSportSO.data.profile1NewsAndSportaddList = profile1NewsAndSportaddList;

    var profile1NewsAndSportchoiceList:string = ""

    ;

    for every()var obj2:Object in

    profile1NewsAndSportLinkChoice.DataProvider) {}

    profile1NewsAndSportchoiceList += obj2.label +.

    ","

    ;

    }

    profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList = profile1NewsAndSportchoiceList;

    profile1NewsAndSportSO.Flush ();

    }

    []] >

    < / mx:Script >

    < mx:TileList id=" profile1NewsAndSportAddLinksTilelist "fontWeight =" " "BOLD" "dragEnabled =" " true "dragMoveEnabled =" " true "dropEnabled =" " true "height =" " 292 "width =" 650 "left =" 21 "columnCount =" 5 "rowHeight =" 145 "columnWidth =" 125 "itemClick ="titleLabel.text = profile1NewsAndSportAddLinksTilelist.selectedItem.title; "" "" websiteLinkLabel.text = profile1NewsAndSportAddLinksTilelist.selectedItem.link; descLabel.text = profile1NewsAndSportAddLinksTilelist.selectedItem.description; linkImage.source = profile1NewsAndSportAddLinksTilelist.selectedItem.largeImage; "itemDoubleClick =" {navigateToURL (new URLRequest ('http://' + profile1NewsAndSportAddLinksTilelist.selectedItem.link))} "doubleClickEnabled =" true "backgroundColor =" #000000 "borderColor =" #FFFFFF "color =" #FFFFFF "borderSides =" top right left "y =" 25 " " / > "

    < mx:Canvas id=" SitePreviewArea " y=" 10 "width =" 453 "height =" 540 "backgroundColor =" #545050 "cornerRadius =" 20 "borderStyle =" "x =" 692 solid "largeurBordure =" 2 "dropShadowEnabled =" true "borderColor =" #000000 "" "" ""

    >

    < mx:Label x=" 45 "y =" 309 "text =" name of the Web site: "width =" 150 "height =" 52 "fontSize =" 14 "fontWeight =" "BOLD" "color =" #FFFFFF "left =" 10 " " / > "" "" "

    < mx:Label x=" 150,5 "y =" 309 "id =" titleLabel "width =" 282.5 "height =" 24 "fontWeight =" "BOLD" "fontSize =" 14 "color =" #FCFF00 "" "" ""

    / >

    < mx:Label x=" 124.5 "y =" 385 "text =" Description of the Web site: "width =" 200 "height =" 24 "fontSize =" 14 "fontWeight =" "BOLD" "color =" #FFFFFF "textAlign =" Center " " / > "" "" ""

    < mx:TextArea x=" 16 "y =" 417 "id =" descLabel "width =" 421 "height =" 69 "textAlign =" left "color =" #FCFF00 "largeurBordure =" 0 "backgroundColor =" #545050 "editable =" false "enabled =" true "disabledColor =" #FFFFFF "backgroundDisabledColor =" #545050 "fontWeight =" "BOLD" "fontSize =" 12 "" "" "" "" "" "" "

    / >

    < mx:Label x=" 61 "y =" 342 "text =" link to the site: "width =" 150 "height =" 52 "fontSize =" 14 "fontWeight =" "BOLD" "color =" #FFFFFF "left =" 10 "" "" "" "

    / >

    < mx:TextArea x=" 150,5 "y =" 343 "id =" websiteLinkLabel "width =" 282.5 "height =" 33 "fontWeight =" "BOLD" "fontSize =" 12 "color =" #FCFF00 "largeurBordure =" 0 "backgroundColor =" #545050 "editable =" false "enabled =" true "disabledColor =" #FCFF00 "backgroundDisabledColor =" #545050 "" "" "" "" "" ""

    / >

    < mx:Button id=" goToSiteButton " top=" 494 "left =" 168 "label =" VISIT "fontWeight =" "BOLD" "fontSize =" 14 "color =" #000000 "click =" {navigateToURL (new URLRequest ('http://' + websiteLinkLabel.text))} "fillAlphas =" [1.0, 1.0] "fillColors =" [#FFFFFF, #DCDCDC] "borderColor =" #000000 "" "" ""

    / >

    < mx:Canvas x=" 99.5 "y =" 51 "width =" 250 "height =" 250 "backgroundColor =" #FFFFFF "" ""

    >

    < mx:Image id=" linkImage "" "click =" {navigateToURL (new URLRequest ('http://' + websiteLinkLabel.text))} "width =" 250 "height = » 250 " x=" 0 " y=" 0 "scaleContent = » vrai " top=" 2 « droite = » 2 « gauche = » 2 « bas = » 2 "

    / >

    < / mx:Canvas >

    < / mx:Canvas >

    < mx:TileList id=" profile1NewsAndSportLinkChoice "fontWeight =" " "BOLD" "dragEnabled =" " true "dragMoveEnabled =" " true "dropEnabled =" " true "height =" " 292 "width =" 650 "left =" 21 "columnCount =" 5 "rowHeight =" 145 "columnWidth =" 125 "itemClick ="titleLabel.text = profile1NewsAndSportLinkChoice.selectedItem.title; "" "" websiteLinkLabel.text = profile1NewsAndSportLinkChoice.selectedItem.link; descLabel.text = profile1NewsAndSportLinkChoice.selectedItem.description; linkImage.source = profile1NewsAndSportLinkChoice.selectedItem.largeImage; "itemDoubleClick =" {navigateToURL (new URLRequest ('http://' + profile1NewsAndSportLinkChoice.selectedItem.link))} "doubleClickEnabled =" true "backgroundColor =" #000000 "borderColor =" #FFFFFF "color =" #FFFFFF "borderSides =" top right left "y =" 325 " " "

    / >

    < / mx:Application >

    If this post answers your question or assistance, please mark it as such.

    The problem is that you integrate images, but the imageLarge is always referring to the paths of the files and files are not installed with the AIR app.

    The following code looks nice not because of problems with copy/paste between Flex Builder and here, return.

    Here are the parts of a significant change:

    Replace the paths to images big with 'class' built-in names. I realize they are the same as thumbnails at the moment, but you can have names different 'class' incorporated to the images at full size.

    largeImage: "image1".

    largeImage: "image2".

    largeImage: 'image3 '.

    Change how the source of the large image is defined in your itemClick managers because the two lists of tiles:

    linkImage.source = this [profile1NewsAndSportLinkChoice.selectedItem.largeImage]; »

    Note the use of [this] to convert a string to an object name.

    
    
    
    
    
    
    
    
    
    
    
    
     0){
    
    if
    (profile1NewsAndSportSO.data.profile1NewsAndSportaddList){
    
    if
    
    (profile1NewsAndSportSO.data.profile1NewsAndSportaddList != "empty"){
    
    var
    
     profile1NewsAndSportaddList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportaddList.split(",");
    
    var
    
     profile1NewsAndSporttempAC1:ArrayCollection = newArrayCollection();
    
    for
    
     each(var str:String inprofile1NewsAndSportaddList){
    
    for
    
     each(var obj1:Object inprofile1NewsAndSportaddLinksAC){
    
    if
    (str == obj1.label){
    
    profile1NewsAndSporttempAC1.addItem(obj1);
    
    continue
    ;
    
    }
    
    }
    
    }
    
    if
    (profile1NewsAndSporttempAC1.length > 0){
    
    profile1NewsAndSportAddLinksTilelist.dataProvider = profile1NewsAndSporttempAC1;
    
    }
    
    }
    
    }
    
    if
    (profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList){
    
    var
    
     profile1NewsAndSportchoiceList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList.split(",");
    
    var
    
     profile1NewsAndSporttempAC2:ArrayCollection = newArrayCollection();
    
    for
    
     each(var str2:String inprofile1NewsAndSportchoiceList){
    
    for
    
     each(var obj2:Object inprofile1NewsAndSportaddLinksAC){
    
    if
    (str2 == obj2.label){
    
    profile1NewsAndSporttempAC2.addItem(obj2);
    
    continue
    ;
    
    }
    
    }
    
    }
    
    if
    (profile1NewsAndSporttempAC2.length > 0){
    
    profile1NewsAndSportLinkChoice.dataProvider = profile1NewsAndSporttempAC2;
    
    }
    
    }
    
    }
    
    else
    {
    
    profile1NewsAndSportReset();
    
    }
    
    }
    
    private
    
     function saveprofile1NewsAndSport(event:MouseEvent):void{
    
    var
    
     profile1NewsAndSportaddList:String = "";
    
    if
    (profile1NewsAndSportAddLinksTilelist.dataProvider){
    
    if
    (ArrayCollection(profile1NewsAndSportAddLinksTilelist.dataProvider).length > 0){
    
    for
    
     each(var obj1:Object in
    profile1NewsAndSportAddLinksTilelist.dataProvider){
    
    profile1NewsAndSportaddList += obj1.label +
    
    ","
    ;
    
    }
    
    }
    
    else
    {
    
    profile1NewsAndSportaddList =
    
    "empty"
    ;
    
    }
    
    }
    
    profile1NewsAndSportSO.data.profile1NewsAndSportaddList = profile1NewsAndSportaddList;
    
    var
    
     profile1NewsAndSportchoiceList:String = "";
    
    for
    
     each(var obj2:Object in
    profile1NewsAndSportLinkChoice.dataProvider){
    
    profile1NewsAndSportchoiceList += obj2.label +
    
    ","
    ;
    
    }
    
    profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList = profile1NewsAndSportchoiceList;
    
    profile1NewsAndSportSO.flush();
    
    }
    
    ]]>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  • How to block Images on Web sites

    I want to warn the images on some Web sites. I followed the advice with the right button on the Web page, select VIEW PAGE INFO, then media. I check the box that says BLOCK the IMAGES. I expect to see an icon back UP, but it says SAVE AS. It is where I am lost. A new window opens SAVE the IMAGE title and wants to appoint me the file as favorite and the type of icon.

    I'm puzzled as to why I have create a file on my computer. And it's going to put it under my FAVORITES in Windows? If I do this for different websites, I give each site a unique file name?

    I appreciate your kind advice.

    You need to check Tools > Page Info > Media on what images are hosted.
    It is quite possible that more than one field is used to spread the load of the server.
    Blocking of specific areas is not really recommended as other more important images (icons) could be affected as well and you may forget easily what areas you block.

  • screen background image shows during shutdown

    original background image title: desktop

    I chose a picture as desktop Effect, but it shows for a few seconds during the shutdown. I got a peak long ago and he only started this since I took another. What I've done wrong?

    Hello

    -Have there been recent changes in the computer before the show?

    I suggest you perform the clean boot of your computer and check if it helps.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7.

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

    Note: When you are finished troubleshooting, follow these steps to reset the computer to start as usual. See step 7 in the article.

    It will be useful.

  • Problem with image extract the content and the tile at the same time show on ListField

    My application is Application News get JSON webservice to appear on ListField.

    On each line in the list, it will show you the image thumbnail, title and Teaser as below.

    _______________________________________

    |                |                       Title

    |   Thumb  |_______________________________

    |_______  |                       Teaser

    First of all, I have to get JSON that contains the url of the thumbnail image, title and Teaser.


    I managed to view the title and Teaser, but the thumbnail is not. When I Fetch image with the url of the thumbnail image, it returns only bitmap = null for me.

    My method is first call httpdispatcher to get the thumbnail image, title and Teaser and then wait and call another httpdispatcher to retrieve the url of the image thumbnail, then added to listfield.

    Here is my code

    Class helloScreen{
    
    public void requestSucceeded(byte[] result, String contentType)   {      if (contentType.equals("image/png") ||        contentType.equals("image/jpeg") || contentType.equals("image/gif") ||contentType.equals("image/jpg")) {         bitmap_temp = Bitmap.createBitmapFromBytes(result, 0, result.length, 1);                     synchronized (UiApplication.getEventLock()) {
    
                   }         }         else if (contentType.startsWith("text/")) {
    
                  strResult = new String(result);
    
                 try {                     ja = new JSONArray(strResult);
    
                  } catch (JSONException e) {                   // TODO Auto-generated catch block                    e.printStackTrace();              }
    
               synchronized (UiApplication.getEventLock()) {
                                  int temp_int_next=0;
                    try {
                        callback.erase();
                         for(int x=0;x<10;x++){
    
                             j = (JSONObject) ja.get(x);
    
     String get_htmlOff_first = j.get("teaser").toString().substring(j.get("teaser").toString().indexOf(">")+1);
     final String thumb = replace(j.get("thumb").toString(),"files/","http://www.eng.chula.ac.th/files/");
    
                                    UiApplication.getUiApplication().invokeAndWait(new Runnable() {
    
                                    public void run() {
    
                           getImageURL(thumb); 
    
                                 }});                      
    
    callback.insert(j.get("title")+" ", ""+get_htmlOff_first.trim(), bitmap_temp , temp_int_next , "Event");                      temp_int_next++;
    
                      }
    
                       } catch (JSONException e) {                  // TODO Auto-generated catch block                    e.printStackTrace();              }               
    
                }         }         else {            synchronized (UiApplication.getEventLock()) {         Dialog.alert("Unknown content type: " + contentType);         }         }
    
    
    
    public void getImageURL(String url) {                HttpRequestDispatcher dispatcher2 = new HttpRequestDispatcher(url,                "GET", this);    }
    

    }

    httpRequest, class Dispatcher is used to get the data from the url

    public HttpRequestDispatcher(String url, String method, helloScreen screen)
    {
    this.url = url;
    this.method = method;
    this.screen = screen;
    
    }
    
    public String getType(){
    
        return type;
    
    }
    
    public void run() {
        try {
    
            if(WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED)
           {
                connection = (HttpConnection)Connector.open(url+";interface=wifi");
         }else{
    
            String uid = getWap2Uid();
            connection = (HttpConnection)Connector.open(url+";deviceside=true;ConnectionUID=" + uid);
    
            }
    
        connection.setRequestMethod(method);
    
        connection.setRequestProperty("Accept","text/html, image/jpg, image/jpeg, image/,image/gif");
    
        int responseCode = connection.getResponseCode();
        if (responseCode != HttpConnection.HTTP_OK) {
        screen.requestFailed("Unexpected response code: " + responseCode);
        connection.close();
        return;
        }
        final String contentType = connection.getHeaderField("Content-type");
        final ByteArrayOutputStream baos = new ByteArrayOutputStream();
        InputStream responseData = connection.openInputStream();
        byte[] buffer = new byte[10000];
        int bytesRead = responseData.read(buffer);
        while(bytesRead > 0) {
        baos.write(buffer, 0, bytesRead);
        bytesRead = responseData.read(buffer);
        }
        baos.close();
        connection.close();
    
                  UiApplication.getUiApplication().invokeAndWait(new Runnable() {
    
                        public void run() {
    
                            screen.requestSucceeded(baos.toByteArray(), contentType);
    
                        }
    
                        });
    
        } catch (IOException ex) {
        screen.requestFailed(ex.toString());
        }
    }
    

    The point here is that I have JSON and get the url of the thumbnail to fetch before add to listfield. The image should be ready in bitmap_temp but it still get null.

    UiApplication.getUiApplication().invokeAndWait(new Runnable() {
    
                                   public void run() {
    
                           getImageURL(thumb); 
    
                                 }});
    
    public void getImageURL(String url) {                HttpRequestDispatcher dispatcher2 = new HttpRequestDispatcher(url,                "GET", this);    }
    
    callback.insert(j.get("title")+" ", ""+get_htmlOff_first.trim(), bitmap_temp , temp_int_next , "Event");
    

    All day trying to fix it but no success, so I need help from you guys.

    Thank you

    "Is it possible to leave only 1 thread completely pick 10 pictures.

    Yes and this is how I would recommend that do you it this way.  So have a Thread that you give a list of things to do and let it work through each.

  • Illustrator CC 2015 - placed free distortion image

    I have some difficulties to distort a picture I placed in Illustrator (more precisely, distorting a screenshot to fit to the form of a blank screen). In the past, I was able to manipulate the corners independently, but now (did not have to do this HAVE for a long time) when I make the adjustments he always snaps back to its original position when I release the mouse. Surely I'm on something simple here. Any ideas? Thank you.Screen Shot 2016-03-16 at 1.50.59 PM.png

    It's easier to do in photoshop, then you might remember that he as pole often do.

    In Illustrator

    1. Select image > links page layout > integrate image
    2. Place a copy of the full white shape for the screen on top of the image
    3. with white form and the image selected, choose object > envelope distort > make with the top object.
  • Now the images 'page master' in place

    Hello:

    Quick question:

    In my A-master page, I created a nice background for a Web site. Included in the background is a jpeg image that I use as a "banner". In other words, I placed it on top of my A-master page as a nice image/title to create a pleasant location for all other pages.

    When you are working on other pages, however, this banner tends to move and float around. If I place the other texts or images inside the bars blue, the measurement (don't know their name sorry), he shoots the banner down, incongruous way.

    How can I keep this image jpeg always at the top of a page? Similarly, how to create a banner similar to the background that will be always move according to the length of the content of each page?

    (In fact, if the background banner has been doing the top banner, it would be great! Instead, the background banner remains in place and allows the content to lay on it, while the top always pulled down image when I increase the length of the page.)

    So this is about as clear language I can say briefly what is happening. Perhaps there is a different method to create these banners up and down than simply dragging JPEGs pre-designed in Muse? Something which avoids so stupid adjustment and troubleshooting?

    Thanks a lot -

    J

    Thanks team,

    I managed to solve most of the issues "banner" albums by extending the minimum duration of the project in the site properties. Now that it's longer, there are extreme cases of type text or image, pulling down of the banner when I happen to add more content than the minimum length of original page.

    However, it is always wonderful to have a lower banner at the bottom of the page that moves with a pixel length lowest. In other words, whatever a page with 1000 pix of content or 5000, the bottom bar will follow. I explored pinning, according to your suggestion, rogersphoto-, but I'm not interested in an image that remains on one place on the SCREEN, remains active in the lowest point on the page that a person can row for. It's really just needed to help during the construction, some pages are long, others short, but all have a high standard of master and down. Right now, I'm just a variety of master pages with different lengths for different pages, but it seems sort of silly to do. But, the time between, I would put in solving it my very well be less than trying to understand in this case...

    Thanks for your replies.

  • I have to do something special with images in illustrator?

    Hi all

    A question that I can't find the answer to somehow...

    I am designing a brochure, however I want to insert JPEGs in it. I use illustrator.

    I have from my understanding, 'place' then 'integrate' images in the document. Is there anything else I need to do to make this form for printing? I don't know how the Jpegs fits into illustrator with illustrator a vector program and being in pixels of JPEG files!

    I just want to check it will be ok all printing with no pixellation etc.

    Thank you

    Sally

    It will work. As long as your JPEGs is to print resolution (300 dpi), you will see no pixelation when printing.

    In addition, if you do not want to integrate images, you can leave them as related images, but then you must also include the images in addition to the .ai file.

    Finally, if you have InDesign, it would be the best tool for the design of a brochure.

  • Maybe you are looking for