Loading with charger image

Hello

Anyone know how to properly load images from a domain?

I am trying to load an image from a domain, for example "http://domain.com/image.gif".

When I try on the spot, it woks fine, but when I try to get a domain / server, it does not work.

Here is my sample code.

private function getImage(e:ListEvent):void {
    imgLoader = new Loader();
    imgLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressActivity);
imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageComplete);
imgLoader.addEventListener(IOErrorEvent.IO_ERROR, onError);
imgLoader.load(new URLRequest(domain+"/eScore/piano/"+e.data.label+".gif"));

}

/**************************************/
 listener functions defined
/************************************/

I also try this without the contentLoaderInfo, how come it works locally and not on a server?

Thank you

Thanks for the reply

It does not load images when I try to load it directly from for example "http://mydomain.com/imagefolder/image.gif" but it works when I try to load locally as 'http://127.0.0.1/imagefolder/image.gif'.

I discovered that I need to put a cross-domain on the domain server file.

for any body wondering here is the xml file that I downloaded on my domain. and of course by replacing mydomain by the real domain address


http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">

  www.mydomain.com" />
  

Thanks again Brandon

Tags: BlackBerry Developers

Similar Questions

  • Cannot load image on stage with charger

    thoughts?

    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" borderColor="#FFFFFF" creationComplete="init()"
         width="100%" height="100%">
    
    <mx:Script>
         <![CDATA[
         
             import flash.media.Sound;
             import flash.media.SoundChannel;
             import flash.net.URLRequest;
             import flash.display.Loader;
             
             private var song:SoundChannel;
             private var request:URLRequest = new URLRequest("Gun_44magnum.wav");
            private var soundFactory:Sound = new Sound();
            
            private var img:Loader = new Loader();
           
            
    
    
    
    
        
              private function init():void{
                   addEventListener(MouseEvent.CLICK, shootScreen);
                  soundFactory.load(request);
                  img.load(new URLRequest("bulletHole.jpg"));
                  img.contentLoaderInfo.addEventListener(Event.COMPLETE, shootScreen);
                   
    
                   
    
              }
              
              
              private function shootScreen(e:Event):void{
             
              // song = soundFactory.play();
                   trace("loaded");
                   addChild(img);
              }
         ]]>
    </mx:Script>
         
    </mx:WindowedApplication>
    
    

    error

    TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Loader@157ea281 to mx.core.IUIComponent.
         at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3259]
         at mx.core::Container/addChildAt()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2207]
         at mx.core::Container/addChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2140]
         at bangBang/shootScreen()[/Volumes/Files/Canulla/Brodeur/prof_dev/bangBang/src/bangBang.mxml:41]
    
    
    img.addEventListener(Event.added, loadImage);//img is your loader, loader is not image...
    func loadImage(e)
    {
    var image:Image = new Image();
    image.source = e.currentTarget.content;
    addChild(image);
    
  • CD sent the hospital with MRI images, but it does not load on my computer.

    original title: automatic load problems

    I have a cd that has sent to me by the hospital that contains images of MRI and CT scan on him and it will not auto load.

    Image radiographic CDs I saw included a viewer.  Open the CD using Windows Explorer and see if there's some looks a listed program.  Easily, you should be able to distinguish the MRI/CT images themselves programs (applications).

    If there is no application of visualization on the CD, you can either Google using the image files file extension or see if any of the applications here works for you: http://www.idoimaging.com/finder

  • ADSM 5.0.5 not loaded with image ASA 7.0.5

    Hello

    Having an ASA5520, who was running with the image: asa704-4 - k8.bin and the ADSM: asdm504 - 2.bin

    I improved the image in version 7.0.5 and the ADSM in 5.0.5

    The ASA boots properly with this new version 7.0.5, but still start with the asdm504 - 2.bin ADSM and not the asdm505.bin

    In the configuration, I have the following initialization variable:

    boot system Disk0: / asa705 - k8.bin

    Disk0: / asdm505.bin starting system

    So, I would like to know why the ASA 5520 does not accept the ADSM file at startup.

    PS: the ADSM file in the flash size is: 5823304

    You do not want to have the boot system command reference the asdm .bin file. the correct command to the asdm file is:

    ASDM image disk0: /.

    Make sure that you remove the start control system of the asdm file references. you want to just start the file asa704.bin.

  • Loading only last image

    This code is the xml loading properly, filling the mainClipArray correctly, but adding only the last image of the scene.

    In my view, that he does not expect completeClipLoad() finish.  I tried to delete: nowhere from the function to see if in the meantime a return would, but not luck.

    Any ideas?

    CODE:

    var myXML:XML;
    var xmlLoader:URLLoader = new URLLoader();
    var mainClipArray:Array = [];
    var count: int = 0;
    var myLoader:Loader = new Loader();

    xmlLoader.load (new URLRequest ("portfolio.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, completeXMLLoad);

    function completeXMLLoad(e:Event):void {}
    myXML = XML (e.target.data);
    var len:int = myXML.portfolio.unit.length ();
    for (var i: int = 0; i < len; i ++) {}
    counter = i;
    mainClipArray [i] = new pane();

    Load the small image
    var smallfilename = myXML.portfolio.unit [i].small.filename;

    myLoader.load (new URLRequest (smallfilename));
    myLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, completeClipLoad);

    mainClipArray [i] .x = i * 15;

    addChild (mainClipArray [i]);
    }
    }

    function completeClipLoad(e:Event):void {}
    trace ("inside");
    mainClipArray [counter] .addChild (myLoader);
    trace ("additional child");
    }

    Delay the progression will not help you if you still have a single charger.  I would say that you can move the var myLoader:Loader = new Loader(); line inside the loop so that you have a new instance of charger for each occurrence of loading, but then, you also have to set the completeClipLoad feature to use the event target (e.target) instead of 'telephone '.  But this still wouldn't resolve questions completely because you have this counter variable that will work as fast as the loop for, with the finish likely to loop before the first element is responsible... and since your completeClipLoad also made use of this variable, you will end up with only the last used pane object.

    If you want to control the load order and keep the code in one place (the other suggestions offered above the code inside the component could also be a viable approach), a better strategy is to use a loop set rather than a loop for example, where a single load step at a time and the completion of a loading triggers the next to begin.  Something like (it's just a hierarchical form)...

    counter = 0;

    imgArray;

    function completeXMLLoad(e:Event):void {}
    ... / / treat all the XML in the imgAray

    loadSmallImage(); Start by just loading the first image

    }

    function loadSmallImage() {}

    creating instance of charger

    assign the load complete listener

    load imgArray [meter]

    }

    function loadComplete(e:Event) {}

    process the image in a new pane

    incrementing counter

    If the counter is < imgarray.length="" -=""> loadSmallImage().

    }

  • How to load and place images dynamically

    I have a problem with loading images dynamically. I want to import a series of images and the display in the order across the screen. The images will have different widths, so it is important to know the width of each imported image as IM will place an image immediately to the right of the previous image. I thought that the code below would control the presentation, but the event handler seems to work (perhaps partly because the images are different sizes) not well.

    What should I do to control the positioning of the images?

    Thnks a lot.

    XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"creationComplete =" init () "> "
    < mx:Script >
    <! [CDATA]
    Mx.events import. *;
    private var imageLoader:Loader
    private var imageX:Number = 0;
    public void init (): void {}
    for (var i: int = 0; i < 4; i ++) {}
    imageLoader = new Loader();
    var url: String = "images/animal" + i + ".png";
    var urlReq:URLRequest = new URLRequest (url);
    imageLoader.load (urlReq);
    trace ("image =" + URL)
    container.addChild (imageLoader);
    imageLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, imageLoaded);
    }
    }
    public void imageLoaded(e:Event):void {}
    imageLoader.x = imageX;
    trace ("imageloader.x =" + e.Target.Width);
    imageX += e.target.width
    imageLoader.y = 100
    }
    []] >
    < / mx:Script >
    < mx:UIComponent id = "container" / >
    < / mx:Application >

    Unless I'm mistaking completely your goal, you do the way of things too hard on yourself.

    Install a HBox and addChild() to add images to that:

    (I made a few changes to make it work for me locally in order to do not copy/paste).

         
              
         
    
         
    

    In addition, you need to use the charger because it has other ways to load images, e.g., you can create a new Image, as I do above and set the source property to the path of the file, or you can embed images, but I guess that is not an option.

  • XML, miniature scroll, charger image and buttons [to halfway works]

    Intro:

    I started a site based on flash a few years ago. In 2006, I was able to get a scroll of the xml thumbnail image, charger to work without problem.

    For many reasons, I had to put the project on hold until now. [one was that my 30 day trial of flash has expired and just recently I was able to buy Adobe CS4 Web Suite, but also a new computer that could run applications].

    Last Friday, saw a bump on the road in the development of my site as two, rather simple task, transformed into something out of a nightmare that I was unable to go beyond these two, apparently, a relatively simple task.

    I posted in 4 other forums flash issues, in detail, what I face - and I have a bit of interest/views in the topic as suggested by the figures - but not answer/response at the moment. [Which confirms other messages I've seen which suggest that work with buttons became more and more difficult with the new version of flash - thing Im a bit surprised with actually Adobe - I would have thought there would be a palette where you can define parameters...]

    Screenshot of the website/timeline:

    Before entering the two questions I have, I want to post an image of the site as it seems every time that a swf file is saved, but also a piece of the timeline in the back for reference.

    http://farm3.static.flickr.com/2567/3668589225_28341dff8c_o.jpg

    Question #1

    From now on, when the swf file is saved you get exactly what you see above:

    a: A miniature of scrolling

    b:.. who loads an image when you click on - PEFECT...

    BUT...

    1a: I need for the buttons load in this action, not so that it loads just on its own.

    [i.e., the silk_paintings Gallery is open, so I need the key "silk_paintings" to call this action]

    Note: Initially, I had attacked this problem by taking on the layer actions you see above and applying it directly on the individual buttons with some crude MouseEvent listener/Handerls... who does not work - at all.

    Im sure it can be 'easy' to make a table out of it, but with my level of coding, it can be "easier" to apply it to the buttons.

    1b: How I see currently, I take the list xml - and duplicate it for the number of galleries that I have.

    [I would then rename the xml list to reflect the name of the galleries that they represent, i.e. "silk_paintings"]

    [in addition, I have to rename the files to "thumbnails1, 2, 3, etc., & ' pictures 1,2,3, etc." "]

    From there I would be duplicate actions and paste it into the buttons, replacing the name of xml list by "silk_paintings", etc., as well as writing in the listener Manager MouseEvent to make it work. [ah, ha, but what is this magic phrase, I tried to implement different code to other tutorials and everything in the vein.]

    Question #2

    At this point, I'd be tickled pink just to get it to basic functionality for work.

    However, once the buttons are working and call the xml, etc., so I need the buttons stay on the semi-transparent blue color, it's every time in the State to 'hit '. [Note: NOT pictured above.]

    With the way the keys are currently implemented, and want to use scripts to interact with the Gallery of thumbnails, there must be some miraculous code to tell this button color to stay as every time that the user has clicked and of course it goes back to white when you click another button.

    Conclusion:

    Since it is an Adobe Forum, I would like to make some additional statements in the hope that developers, etc. can be considered.

    Adobes products are not cheap, and when I went to buy the websuite I went as long as designer in need of a program do not need to program.

    I understand the flexibility that gives coding, but something as simple that link buttons are not in the areas of rocket science. [Yes, for many, is not... but my brain just doesn't work this way despite all the tutorials that have been launched against me.]

    Yet once, it seems there will be a Panel button where you could if drag on options like thumbnail slider scroll, charger, then settings would come to the top. [much like Apple iWeb. - but before the argument a be pro and one for the non-pros, I see it differently. Software should not be the limiting factor in how flexible you can design, or rather those who lack programming should not be. [With all that talent and I say this with all humility and honesty, programmers working for Adobe, I'm sure something could be programmed like what Im request.]

    Note: the Director is a good example, in 1997 I knew nothing of the multimedia and in a week I gathered a portfolio, by clicking on the buttons, speeches, films and all. - and no, I don't have the money to buy more software!

    Right now I'm at the mercy of someone who reads the code as it's a night tale, they say their children, and who can see exactly the problem I have and you can share the appropriate, correct code. [as I noticed it, it must be on the target - of course - but this target changes with just a slight change in design.]

    Thank you

    peace

    Dalen

    p. s.

    The ActionScript: [note: this is only the current work/good code that Im trying to get the buttons to call.]

    
     stop();
    fscommand("allowscale", false);//keep SWF display at 100%
    
    var x:XML = new XML ();//Define XML Object
    x.ignoreWhite = true;
    
    var fullURL:Array = new Array;//Array of full size image urls
    var thumbURL:Array = new Array;//Array of thumbnail urls
    var thumbX:Number = 25;//Initial offset of _x for first thumbnail
    
    x.onLoad = function(){ //Function runs after XML is loaded
        var photos:Array = this.firstChild.childNodes;//Defines variable for length of XML file
         for (i=0;i<photos.length;i++) {//For loop to step through all entry lines of XML file
              fullURL.push(photos[i].attributes.urls);//Each loop, adds URL for full sized image to Array fullURL
              thumbURL.push(photos[i].attributes.thumbs);//Each loop, adds URL for thumbnails to Array thumbURL
              trace(i+". Full Image = "+fullURL[i]+"  Thumb Image = "+thumbURL[i]);          
              var t = panel.attachMovie("b","b"+i,i);//Each loop, Define local variable 't' as a new instance of 'b' movie clip, given unique instance name of 'b' plus the index number of the For loop
              t.img.loadMovie(thumbURL[i]);// Each loop, load thumbnail image from XML data into variable movie clip
              t._y = 0;//Set Y coordinate of variable movie clip
              t._x = thumbX;//Set X coordinate of variable movie clip based on variable thumbX
              t.numb = i;//Set sub-variable 'numb' inside variable t to hold index number
              t._alpha = 75;//Set the Alpha value of the variable movie clip to 75% - for onRollOver highlight action
              thumbX += 55;//Increment thumbX value so next thumbnail is placed 125 pixels to the right of the one before
              t.onRollOver = function () {//define onRollOver event of the variable movie clip
                   this._alpha = 100;//Set thumbnail alpha to 100% for highlight
              }
              t.onRollOut = function () {//define onRollOut event of the variable movie clip
                   this._alpha = 75;//Reset thumbnail alpha to 75%
              }
              t.onPress = function () {//define onPress event of the variable movie clip
                   this._rotation += 3;//rotates thumbnail 3 degrees to indicate it's been pressed
                   this._x += 3;//Offset X coordinate by 3 pixels to keep clip centered during rotation
                   this._y -= 3;//Offset Y coordinate by 3 pixels to keep clip centered during rotation
              }
              t.onReleaseOutside = function () {//define onRelease event of the variable movie clip
                   this._rotation -= 3;//rotate thumbnail back 3 degrees
                   this._x -= 3;//Reset X coordinate by 3 pixels to keep clip centered during rotation
                   this._y += 3;//Reset Y coordinate by 3 pixels to keep clip centered during rotation
                   this._alpha = 75;//Reset thumbnail alpha to 75%
              }
              t.onRelease  = function () {//define onRelease function to load full sized image
                   this._rotation -= 3;//rotate thumbnail back 3 degrees
                   this._x -= 3;//Reset X coordinate by 3 pixels to keep clip centered during 
                   this._y += 3;//Reset Y coordinate by 3 pixels to keep clip centered during 
                   this._alpha = 75;//Reset thumbnail alpha to 75%
                   holder.loadMovie(fullURL[this.numb]);//Load full sized image into holder clip based on sub-variable t.numb, referenced by 'this'
              }
         }
         holder.loadMovie(fullURL[0]);//Initially load first full size image into holder clip
    }
    
    
    x.load ("silk_paintings.xml");// path to XML file
    
    panel.onRollOver = panelOver;
    
    function panelOver() {
         this.onEnterFrame = scrollPanel;
         delete this.onRollOver;
    }
    
    var b = stroke.getBounds(_root);
    
    function scrollPanel() {
         if (_xmouse<b.xMin||_xmouse>b.xMax||_ymouse<b.yMin||_ymouse>b.yMax) {
         this.onRollOver = panelOver;
         delete this.onEnterFrame;
         }
         if (panel._x >= 740) {
         panel._x = 740;
         }
    if(panel._x <= (thumbX-10))  {
              panel._x = (thumbX-10)
         }
         
         var xdist = _xmouse - 830;
         
         panel._x += -xdist / 7;
    }
    

    The xml code:

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <slideshow>
    <photo thumbs="thumbnails/i_brown_fairy.jpg"  urls="images/brown_fairy.jpg"  />
    <photo thumbs="thumbnails/i_blonde_fairy.jpg"  urls="images/blonde_fairy.jpg"  />
    <photo thumbs="thumbnails/i_flower_fairy.jpg"  urls="images/flower_fairy.jpg"  />
    <photo thumbs="thumbnails/i_red_fairy.jpg"  urls="images/red-fairy.jpg"  />
    </slideshow>
    

    Joint a link to the file that I did is named "index".

    https://RCPT.yousendit.com/706233226/5e7b4fe0973dacf090b5cbae32c47398

    I would have to include the following files but was limited because of 'you-send-it' does not download files.  Files not included: [but functioning]: miniature list xml - images [file] - [folder]

    Again, I thank you

    Dalen

    Would it be possible for you to download this file for me? It becomes increasingly difficult to follow what you're doing in this file when you are working only with descriptions. I have an upload of file available at: http://www.ddg-designs.com/client/blind.html . If you prefer, you can contact me via a private message on this forum to make other arrangements.

  • load a different image to the scene

    Hello
    I am trying to place an image on the home page of a website that I'm building, but I want the picture to change every time the page loads. someone could give me an idea on how to implement or know of a good tutorial? my client is a photographer, so they want to view a different photo each time the page reloads. I want also the anchor point of the image is at the top left so that the image starts in the same place. Any ideas? Thanks in advance.

    Sure. The basic idea is simple. You want to load a random image. Flash only provides a way to produce anything to chance and this is the method random() of the Math class.

    Se, random() will only help you generate a number. But if you go a step further and add this number result to ".jpg", what you will get is a string specifying the name of an image file in this case 1.jpg. For example

    Math.Random () returns a 1 stored in a variable called pic
    var myFile:String = peak + ".jpg";

    You can now use loadMovie, MovieClipLoader (the two AS2) or the class Loader (AS3) to load the file on the stage. I'll show MovieClipLoader and loader

    MovieClipLoader - guess the loading images are in the same directory as swf
    var myMCL:MovieClipLoader = new MovieClipLoader();
    myMCL.loadClip (myFile);

    Charger - guess same as above
    var _ldr:Loader = new Loader();
    addChild (_ldr);
    _ldr. Load (new URLRequest (myFile));

    The only code you need to control is the Math.Random () so that you have put an upper and lower limit on the returned result. You will find help with that inside the Flash documentation.

    I hope this helps.

  • Boot camp Win 7 0 x 34 blue screen during windows startup after the restoration with the image of the system.

    The hard drive on the Macbook pro was repartioned, all the boot camp and other drivers updated and Windows installed from the installation DVD. All the Windows updates available from 2012 (installation disc is 2012) until today have been installed and Boot camp 5.1 with all its drivers installed. Restoration was launched with an image of an external hard drive and a system repair disc system. Once Windows loads after the login screen, it crashes. A blue screen appears with the error code 0 x 00000034 and mention cache_manager... Windows restarts by itself and I can only use it in safe mode, which means that I can't download or install upgrades or programs.

    Analyze the dmp file since the first crash with Windows debugging tool showed that the problem seems to lie with

    AppleHFS.sys and svchost.exe with Bug Check 34 {107, ffffffffc0000420, 0, 0}.

    Here is the link to the complete analysis of the dmp for details file:

    https://1drv.Ms/u/s! AuzUtP_j9nLagwWWqWUTre4qNYmu

    Thank you very much in advance for your help

    Moschtermeedchen

    AppleHFS.sys/AppleMNT.sys are used to allow access to filesystems OSX JHFS +. Restoring Windows on Mac backups can be painful. If you have already fresh install of W7 on the internal drive, try the restore without installing any driver BC. Please be aware that such a restore is not aware of the partitions on your internal drive and can erase your internal drive.

  • All sites https fails to load with an invalid certificate

    I bought a new computer, I freshly installed 14 Firefox on Windows 7 (64-bit) and all https sites fails to load, with various failures of security certificate. Gmail, for example, does not charge for this reason:"accounts.google.com uses an invalid security certificate. The certificate is not reliable because no issuer channel was provided. »... Even after the addition of a manual control. My Bank Web site does not open because the serial number is used on another certificate... etc etc.

    I tried all the most commonly recommended solutions - cert8.db removal uninstall Firefox, creating new profiles, copy on the old PC profile, create a new profile under a new user... Nothing seems to have no effect. I tried Firefox 14 and 15 (beta), charges both installs. I tried to disable my antivirus and firewall (ESET).

    I'm out of ideas. Chrome and IE work without any problem. All other computers on the home network even behind the same router have Firefoxes that work very well.

    What security (firewall, antivirus) software do you have?

    Some security software intercepts them secure connections and sends its own certificate.

    Some examples are ESET and Bitdefender.

    • ESET setup-> Advanced Configuration-> expand web and email-> SSL shaft
    • SSL protocol: do not scan SSL protocol
    • BitDefender-> privacy-> settings disable SSL Scan
  • Loads of bad images on Web pages

    I have some questions related to the weird development with images bad load on a web page to place another image.  I'm building a logon screen and have a number of images on the page.  When I come to the page on Mac book all right, but when I use an IPad or an IPhone I have the problem.

    Question:

    When I load the Web page it is sometimes not find images or will completely replace an image with another image.

    Example: I have an image of the static logo on the page, it will sometimes load an image in its place, all styles inline as well as the original name but visually be the background image. as by chance, happens to my social icon images as well static on the page he them will randomly change to another image in the same directory (/ images /).

    My Question

    Is there any type of bug known with certain types of codes (we use JSP, HTML, CSS, Javascript and JQuery on this page)?

      • I use WIFI with usually a good connection.
      • What is happening on all devices to test IPhone 5, IPhone 6 6s IPhone more and IPadAir.
      • Tested in Safari and Chrome same issue on both, but more often on Safari.

    Thanks in advance!

    Hello squshipillow,

    N ° there is no problem as what you describe. The libraries you are using probably having a few 'reactive' models are automatically triggered when he meets an iPhone.

  • X 1 carbon Gen4 SCCM package for Win10 x 64-Driver Ethernet fails to load on WIM image

    Hello world

    Im trying to deploy Win10 64-bit for the new X 1 carbon Gen 4 (type 20FB). IM using the following SCCM Package (http://support.lenovo.com/ch/de/downloads/ds111758) about the drivers.

    The problem I have is, after loading the WIM image from our WDS server, it stops deployment with the following error message: the following network device had not installed a PCI VEN_8086 & DEV_1570 & SUBSYS_223317AA & REV_21 driver

    The fact is that the SCCM package I mentioned, has exactly this driver in it... and the new X 1 Yoga uses the same package and its working properly.

    If anyone has an idea what may be wrong, please report it as soon as possible.

    If you need more information, contact me.

    Thanks for help

    Best regards

    MS

    SRY, slipped just with the 20.19.15.4416 update

  • problem with resize image

    Hello

    I want to resize the image when running according to the display width.

    I try some code below, but it shows me the white screen.

    class image extends screen
    {
    EncodedImage bit;
    BMF BitmapField;
    image()
    {
    try {}
                    
    BMF = new BitmapField (Bitmap.getBitmapResource ("next.png"));
    bmf.setImage (bit.scaleImage32 (50,50));
    Add (BMF);
    }
    catch (System.Exception e)
    {}
                
               
    }
    }

    Hey hardikkhamar,

    Hey man, how do you think that this code is useful when dealing with the image url using http call?

    Please Reffer to the code once more... its for the local image that is in your res folder...

    you have loading.png image, right?

    then get image coded this bitmap to aid

    PNGEncodedImage encode = PNGEncodedImage.encode(Bitmap.getBitmapResource("loading.png"););
    

    and then going on to encode this method with the width and height required... its that simple man...

    Bitmap Resizedbitmap = setsizeImage(encode, 200,150);
    

    Not to say thanks, Press the congratulations on the right side to thank the user who has helped you.
    Please mark as resolved messages if you found a solution.

  • APEX 5.0. With the image stored in a BLOB gives ORA-06502.

    Hello

    I want to create an interactive report - computer desk with an image that is stored in a BLOB but it a: returnes ORA-06502: PL/SQL: digital or value error: character of number conversion error.

    I created a test with only the image report (charged - which is a BLOB) and an ID (PK - one number from a sequence)

    SELECT ID, invoice of foto

    I tried with and without a formatmask for the ' 999999999999999 ID' and the Type of plain text, because it seems not to be a better choice...

    For the Type 'pay' is 'View Image' and the 'Table name' and 'BLOB column' are defined. 'Primary Key column 1' set ID 'column of Type mime"points to a field that contains" image/jpeg", as the stored image is a photo in format jpg.

    The image from a Forms application displays OK.

    DB is a 11.2.0.4 on Linux 6.6 and APEX is 5.0

    What did I miss?

    Thank you

    Dino

    Dino Hustinx wrote:

    I want to create an interactive report - computer desk with an image that is stored in a BLOB but it a: returnes ORA-06502: PL/SQL: digital or value error: character of number conversion error.

    I created a test with only the image report (charged - which is a BLOB) and an ID (PK - one number from a sequence)

    SELECT ID, invoice of foto

    As described in the documentation, the report query selects the length of the BLOB, not the column itself column:

    select id, dbms_lob.get_length(billed) billed from foto
    
  • How to get the text to change with each image in the slideshow base

    Hi, I'm putting the different positions and text on three different images. When I saw the text just remains the same.  I tried to change individually, but it doesn't seem to work. I took images in Photoshop and make all the same size with compensation for the text to be included later in the Muse. Then I loaded the three images in the slide show and thumbnail to bring the image before and at the Center. But regardless I the title and text appear unchanged, even if the changes to the image.  I don't know what to do with the image and text together in Photoshop would do anything for type resolution when it was introduced to the Muse.  Any ideas please.  I enclose the schema where I wish to address three different types of job seeker.slide problem.JPG

    Hi brush them... you have checked the title text on your widget option?... Try again with different slidshows which shows the option.so of text you can add the text you want in each image/trigger...sorry my English and I hope to help you

Maybe you are looking for