Loader will load the images from another server, but then we get error on Bitmap operation

I develop an application that currently uses Loader to get the images to another server.  This should not work now because we are still waiting for the owner of that server to put a crossdomain in place file.  However, it works - sort of .

Charger can load the images very well, without error.  But then the application has a feature that we are a great duplicate of the image to display in a sidebar, we do this in this way:

var myBitmap:Bitmap = Bitmap (loader.content);

and when will we get a Flash player 2122 security error, violation of sandbox.

So although I hope that all this will fix itself when the crossdomain.xml file is set up, I am confused as to why we get only the sandbox error when we do a bitmap image, and not when we try to initially retrieve the image.

(By the way: is there a better way to make a "copy" of an image loaded by a loader and change its width and height to display simultaneously in another part of the scene?)  "I have need to change its real dimensions - I just need to change its display width and height).

Thank you!

The sandbox allows you to view, not not editing from another server without a cross-domain.

Therefore, when you try to load up, it loads, it 'read only' and gives you an error when you try to "change" by a new Bitmap out of it.

This should resolve itself once crossdomain is in place.

|| EDIT |

I just realized that I have to clarify my statement a bit more.

When you load images from another server without a crossdomain, it only allows the load for display.  When you try to load data, it will fail.  It is because that data XML, or another type of data is editable by default, and the images are only visible by default.  As a result, the image fails when you try to convert it to an editable form.

Tags: Adobe Animate

Similar Questions

  • Lightroom starts but then I get "error reading the preview cache. LR needs to stop smoking.  Will try next time it starts. I restart from scratch and the same thing happens.  Help please!

    Lightroom starts but then I get "error reading the preview cache. LR needs to stop smoking.  Will try next time it starts. I restart from scratch and the same thing happens.  Help please!

    In the same folder that your catalog file is stored in, there is a subfolder whose name ends with Previews.LRDATA. Delete this subfolder whose name ends with Previews.LRDATA. Do not remove anything else.

  • Flash as2 cross subject to access the SWF from another server domain

    I have question cross-domain, how do I access the .swf from another swf file without using System.Security.allowDomain() in the swf file, which we are called.

    I use 2 domains and I have 2 files swf is a.com (a.swf) and another is of bcom (b.swf) I want to access the file the a.swf b.swf frames, if I use the system.Security.allowDomain() in b.swf file I can access executives. But without using this way I can access the file from another domain.

    Because I have a risk to change the file b.swf so I vant to go without changing the file b.swf is any other wey to access frames of the file the file a.swf b.swf. Please someone help me solve this problem.

    use a local executable (such as php) to load the b.swf and send it back to a.swf.  for example:

    loadSWF.php:

    <>

    $fh = fopen ("www.b.com/b.swf", "r");

    Header ("Content-type: application/x-shockwave-flash");

    fpassthru ($FH);

    ?>

    a.fla:

    var target_mc:MovieClip=this.createEmptyMovieClip("target_mc",this.getNextHighestDepth());

    target_mc.loadMovie ("loadSWF.php");

  • Loading the Images from the Internet into my BB APP...

    Hello, I need help on loading images from the internet into my BB application (not in the web browser)

    then a few buttons next and prev images I have saved in a table addresses do not know how to load and display them in my application any idea any example of code...?

    Thnx in advance

    This should give you some hints:

    http://www.coderholic.com/BlackBerry-webbitmapfield/

    most important: do not the networks on the thread of the event.

  • Load the image from jar

    Hello

    My images are in a file named images.jar.

    It s works well.

    But, if I need to load an image using READ_IMAGE_FILE,

    He does not judge.

    How can I load an image inside this pot in a part of the image?

    Thank you.

    I should had pressed before F1...

    READ_IMAGE_FILE ('image', 'URL', 'block.image_item') worked. Thank you.

  • need help to load the image from a xml file

    (Based on the example of Chapter 10, ActionScript 3.0 for ADOBE FLASH CS4, IPC)
    By using the 'setSong' function, I shoot with success of the < artist > child of my xml data, no problem. But I also have to display the jpg file in the < image > node and I meet a lot of difficulties. I tried adding more variables to the setSong function, but am frustrated. Someone could shine a little light and point this beginner in the right direction?

    function setSongs (): void {}
    for (var i = 0; i < 4; i ++) {}
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;
    }
    }

    myXML:

    <? XML version = "1.0" encoding = "utf-8"? >
    < songlist >
    song <>
    < image id = "1" > images/dummyFace1.jpg < / image >
    < artist > first guy < / artist >
    < album > Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor. < / album >
    < / song >

    song <>
    < image id = "2" > images/dummyFace2.jpg < / image >
    < artist > second person < / artist >
    ante < album > Nam. Metus had integer and lacus accumsan commodo. < / album >
    < / song >

    song <>
    < image id = "3" > images/dummyFace3.jpg < / image >
    < artist > third Fellow < / artist >
    < album > Cras non sem vitae massa pharetra sold. Integer outbound < / album >
    < / song >

    song <>
    < image id = "4" > images/dummyFace4.jpg < / image >
    Fourth individual < artist > < / artist >
    < album > surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore. < / album >
    < / song >
    < / songlist >

    :

    function setSongs (): void {}
    for (var i = 0; i)< 4;="" i++)="">
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;

    var ldr:Loader = new Loader();

    var urlR:URLRequest = new URLRequest (image songList_XML.song [i + songCount]);

    LDR. Load (urlR);

    LDR.x = Whatever (i);

    LDR.y = whateverelse (i);

    addChild (ldr);

    }
    }

    myXML:




    images/dummyFace1.jpg
    First guy
    Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor.


    images/dummyFace2.jpg
    Second person
    Nam ante. Metus had integer and lacus accumsan commodo.


    images/dummyFace3.jpg
    Third Member
    CRAs non sem vitae massa pharetra sold. Integer is.


    images/dummyFace4.jpg
    Fourth person
    Surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore.

  • I fixed the fan from my computer, but then internet stops working

    Sometimes, when I start my computer, it displays a message saying that the CPU fans work shutdown? (Y/N).
    Then I opened my computer and move some cords around so it works again, but then the computer does not detect the internet card more. Sometimes to solve this problem I let it sit for a week, but I need to use it now!
    Help, please!

    (This happens on another computer I do use one I use to post)
    I can't open system information for a reason any

    Computer to computer record does not:
    OS: Windows XP Professional SP3
    Graphics card: NVidia Geforce 6200
    Network: 3Com Etherlink?
    Manufacturing: MSI?
    Processor: AMD Athlon XP 1600 +.
    Sound: Turtle Beach Santa Cruz

    Hello

    Make sure that the network adapter is in the PCI slot.

    If it does, and it's not working, then try another card.

    Here's an example: http://www.newegg.com/Product/Product.aspx?Item=N82E16833156107

    P.S. Consider that pushing the thing around you can judge the computer unstable. Think twice before wanting to put money in such an old computer.

    -------------------------------
    My posts reflect my understanding and experience. It does not necessarily reflect the opinion or the vision of Microsoft, or anyone else.

  • When you try to delete the files from Fuji Film 'Finepix Studio' CD, getting error code 5, "cannot delete the file, access is denied."

    original title: when TRYING TO REMOVE FUJI Film 'FINEPIX STUDIO' FILES from the CD-ROM, I get ERROR CODE 5, "DELETE FILE FAILED, ACCESS IS DENIED"

    Charge FINEPIX STUDIO CD, pictures changed, closed the program and it wont let me open it.   Tried to uninstall the program, but getting the message above

    E-mail address is removed from the privacy *.

    Hi, James SnyderTD,.
     
    Take possession of the file/folder that you get this error message.
     
    See the following articles for the same thing:
     
     
     
  • Flash CS6. AS3: How to load the image from a link on an image and addChild (image) on the other?

    How can I addChild outside of magazine images? When I try to addChild on the other images of the same charger, I get an error.
    I need to download all my 10 no images ONLY ONCE and place it on the screen in other frameworks (for the same film Clip).
    Also I can't play this once coded as3 framework. I know how to add an array of images, but I don't need to understand how do it with a single image.

    Here is my charger for images...


       var shirt1 = String()""https://static.topsport.lt/sites/all/themes/topsport2/files/images/marskineliai_png/215.pn g"" "");

       var img1Request:URLRequest = new URLRequest(shirt1);
      
    var img1Loader:Loader = new Loader();
       img1Loader
    .load(img1Request);
       myMovieClip
    .removeChildAt(0);
       myMovieClip
    .addChild(img1Loader);

    You declare the imgLoader outside the service, otherwise it is limited in the service...

    var img1Loader:Loader;

    function onLoaderComplete(e:Event):void
    {

    ...
    img1Loader = new Loader();

  • Is it possible to load the images from a folder?

    How?

    Using URL - loading in a container called images.

    sym.$('images').css('background-image', myImages[i]);

    or

    SYM. $("images") .css ({'background-image': "url('"+myImages[i]+"')"});

  • How to load an image from a URL cascading

    I am trying to load an image from a URL, but it could not be shown. The source code is as below:

    ImageView {}
    imageSource: "https://developer.blackberry.com/cascades/files/reference/images/image_carl_larsson_1898.png."
    }

    If waterfall doesn't support loading image URL, is there an ordinary or simple to dynamically load the image of the url in C++?

    Thank you

    Have a look here:

    https://github.com/BlackBerry/Cascades-samples/tree/master/TLDR

  • Satellite A100-549: BSOD after I used the recovery from another PC

    Hello.

    Had a few probs with my laptop and decided to recover it using another pc recovery disc.
    I get the laptop is a Toshiba a100-549. Unfortunately for some reason I can't disks that were originally with her.

    The opertaing system is Windows xp. The disks I got with a Vista.
    It loads OK but goes to a blue screen after 30 seconds and restarts. Is there a reason for this and can I do.

    I think I may need to get your hands on a good drive and load it on again.
    Someone at - it copies of drives for this laptop and able to send me their. I'll gladly pay for them...

    Colin

    Hello

    Don t user recovery drive to another PC, because it won't work.
    You can use a clean Windows OS disk or the Toshiba recovery disc.

    Why? Because the recovery disk contains an image. The image is a package containing a Windows OS, drivers and other software.
    If you want to use the recovery from another PC disk then all the drivers, tools and software distributed for this PC will be loaded on your Toshiba laptop.
    This can cause the BSOD!

    So if you n t have the Toshiba recovery disc then you should use MS Windows CD!
    Toshiba drivers can be downloaded from the Toshiba page!

  • Partition question - what would be the best way to increase its space and take part of the space from another partition

    Hello, I have my 500 GB SATA broken down into 3 partitions. Vista and 2 others. The problem is the process of using Partition Magic, Vista has been given only 30 GB, now its operation with 1-2 GB of free space. I want to know what would be the best way to increase its space and take part of the space from another partition, but I don't want to have to reinstall or do I want to lose all the data like photos, browser, documents and news ect.

    -Thank you

     

    You can read more details on "How to move from one partition to the other sapce without loss of data.

  • 6 of Lightroom. When I opened to develop &amp; load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    When I opened to develop & load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    Most likely, LR has problems talking to your video card.

    In the Preferences dialog box, tab Performance, disable the use of the GPU.

  • Loading/downloading the images from the camera

    I downloaded the images from the camera to the computer, then accidentally deleted from the memory card.  Move them back to the memory card?

    I downloaded the images from the camera to the computer, then accidentally deleted from the memory card.  Move them back to the memory card?

    =====================================================
    FWIW... this task is easier to do than to explain.

    (1) connect the camera via a USB cable and turn it on... or insert the memory card in
    your Media Player.

    (2) go to... Start / my computer... your camera should be attached to a drive letter.
    The reader should be recognized as one or several removable disks... it can
    have several drive letters.

    Removable disk (e :))
    Removable drive (g)
    Removable disk (h :))

    Left 3) click on drive letters... When you identify the drive letter for the camera or
    Media Player... (it will be one that does not launch a dialog box indicating:)
    Please insert a disc in the drive?) ...

    Follow these steps...

    4) navigate to the folder in which the photos are... Open it and go... Edition/select all... good
    Click the group selected (highlighted), then from the menu choose... Send to /.
    Removable disk?

    Only a limited number of files can be copied to the root directory of the card... if you
    Transfer lots of pictures... they must be in one or more folders.

    If these files have been changed in any way, rename, rotate, changing the brightness...
    No matter what... the camera will recognize them is no longer, but they will always be on the map
    If you want to use as a backup. You can click on the left to see what is on the drive letter
    the map.

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

Maybe you are looking for

  • Add people

    So, I've updated for Mac OS Sierra. Have been using the Photos app since it was released and spent a lot of time organize using faces and now I have hundreds of photos to browse again and put names to people. I'm in add people and get 632 white pictu

  • How to use my gift card money in itunes for games

    How use the currency for games iTunes gift cards, in particular, game of Thrones ascent, which I play on my iPad Air through FaceBook, but also windows platform uses. ?   Does anyone know how to do this?

  • Pavilion 14-e042tx: maximum RAM

    Hi experts, I have PC Pavilion 14-e042tx-book of notes, I want to improve his memory RAM. Althogh I read the support and training page, I can't find his RAM maximum expandable. Please tell me, how much is at its maximum expandable RAM. Thank you.

  • Cooling fan dv6 - land of dark shadow 6b90ec

    Hello guys I have a little request than here where I can order cooling fan dv6 - 6b90ec shadow dark because my fan is verry noisy when I clean up problem is the same. Thank you and I will wait for a response

  • How can I delete a backup partition C once it has been burned to a disc for recording?

    Hi, I saved my data on a disk and now I'm trying to delete the backup of my computer to save space, but the program always comes up with a window asking permission and does not delete the C drive backup! Also if I save my D recovery drive on a disk r