Bug when save area flash to image on server

hi all,
I've a problem when save area flash to image on server (both Win or Linux), but on local (OS: Window) it allaway runs well. I try to find this bug, when user "loadMovie" function it's bug, but i don't use "loadMovie" function it runs well (on Sever)
source below:
* Print Button has been clicked
function print_me(){
    trace("printing...");
    var _loc4 = new flash.display.BitmapData(300,300, false);
    _loc4.draw(this);
    my_mc = _root.snap_mc;
    my_mc.cont_mc.attachBitmap(_loc4, 5, "auto", true);
    my_mc.cont_mc._width = 200;
    my_mc.cont_mc._yscale = my_mc.cont_mc._xscale;
    var _loc2 = new flash.display.BitmapData(my_mc._width, my_mc._height, false);   
    _loc2.draw(my_mc);
    myclr = "";
    for (i = 0; i < _loc2.width; i++)
        for (j = 0; j < _loc2.height; j++)
            clr = _loc2.getPixel(i, j).toString(16); // cannot get color of this pixel when it runs on server(all away return FFFFFF - white) , but on local it runs well
            myclr = myclr + (clr + ",");
        } // end of for
    } // end of for
    var _loc3 = new LoadVars();
    _loc3.w = _loc2.width;
    _loc3.h = _loc2.height;
    _loc3.clr = myclr;
     _root.result_.text    = myclr;
     // send php save image
      _loc3.sendAndLoad("http://example.com/save_image.php", _loc3, "post");
var mclListener:Object = new Object();
mclListener.onLoadStart = function(target_mc1:MovieClip) {
   trace("start");
mclListener.onLoadComplete = function(target_mc1:MovieClip) {
  trace("complete");
//abc();
mclListener.onLoadInit = function(target_mc1:MovieClip) {
   trace("onLoadInit");
    // Print when load image completed
    print_me();
mclListener.onLoadError = function(target_mc1:MovieClip) {
   trace("error");
var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
_root.mc.loadMovie('http://example.com/box_rose_frame.jpg');
any body help?
thanks

thanks your help.
I fixed it: if use "loadMovie(url)" function with
- Url: remote, ex: http://example.com/abc.jpg => errror
-Url: local, ex: ../../upload/abc.jpg => run well
it's fixed
Regard

Similar Messages

  • Automator bug when save as finder plugin

    I've got a simple workflow that I've saved it as Finder plugin.
    1)Get Selected Items
    2)Open Finder Items (choose an application to open)
    I can run the workflow within automator. But when I save it as a Finder plugin, running it via the finder contextual menu doesn't work. I tried debugging and found these errors in /var/log/system.log whenever I run the worklow as a plugin.
    Nov 17 19:07:35 MyMac Automator Runner\[2414\]: Error while processing arguments
    Nov 17 19:07:37 MyMac Automator Runner\[2414\]: The action “Initiate Remote Broadcast” could not be loaded because the application “QuickTime Broadcaster” was not found.

    Finder is passing a list to Automator's workflows as the parameter 'input'. I found there were two items in the list for a given item selected in Finder:
    The first was the POSIX-style path to the selected item: /Users/jd/filename.
    The second was the older-style, non-UNIX, path: Macintosh HD:Users:jd:filename.
    When I ran my workflow within Automator I found only the old-style path was being passed to my script.
    Debugging techniques:
    1) Determining the class of the 'input'; in this case a 'list' NOT a 'string' as I'd assumed.
    2) Using a try-on error block to retrieve error info.
    Here's my code. In my workflow this applescript is preceded by a Finder command to get the selected items.
    on run {input, parameters}
    set commitInfo to "No repository information"
    set finderItemList to input
    set inputAsString to ((item 1 of finderItemList) as string)
    set pathAsString to POSIX path of inputAsString
    try
    set commitInfo to do shell script "cd " & pathAsString & "; git log"
    display dialog commitInfo
    on error errTxt number errNum
    set errMsg to pathAsString & " " & errTxt
    display dialog errTxt & return & errNum
    return input
    end try
    return commitInfo
    end run

  • Just submitted a podcast to i-tunes, when users are dowloaded it, images are only appering for a few seconds not the entire length of the relvant chapter.

    Built in garage band with artwork and chapters - saved as an podcast and set live to i-tunes (and checked in quicktime) but once downloaded images only appear for a few seconds.

    I subscribed to your podcast and downloaded episode 20 (in iTunes): it plays perfectly normally and the images appear as you would expect. I also dragged it out to the Desktop and opened it in the Quicktime Player and again everything was normal.
    The problem you do have is that you have not entered a duration for this and a few other episodes, so that the default 1 second is there. As a result when you play the episode in the Store page (as opposed to subscribing) it only plays the first second.
    As to the problem you describe, I can't explain it - there's nothing wrong with the file, so it must be a local issue with your iTunes.

  • Upload image from server in jdev release2 11.1.2.4.0?????

    HI i am using jdev 11.1.2.4.0
    my requirments are
    1.upload image from server
    2.display image and edited by using editor page like paint.
    3.save that edited copy also
    i am new i jdev,is this requirements are done by jdev,please help,i dont have any idea,please help????

    Unfortunately upgrading to 10.8.2 messes up your previously configured steps and you can no longer rely on Java Preferences to define your JDK setup.
    What I suggest is doing this:
    1) Delete your current JDev installation + the system directory
    2) Ensure that the symbolic link as described in step 3 of the following link is still present and points to actual file
    3) Follow the steps in this blog: https://blogs.oracle.com/blueberry/entry/how_to_saddle_your_mountain ... to reinstall JDev.
    This should get you back up and running.
    CM.

  • Why are some jpg images scrambled when they appear in my screen saver?   The same images look fine in Preview and Finder.  Some images appear scrambled in the screen saver 'preview' window and the actual screen saver. Other jpg images look fine.

    Why are some jpg images scrambled when they appear in my screen saver?   The same images look fine in Preview and Finder.  Some images appear scrambled in the screen saver 'preview' window and the actual screen saver. Other jpg images look fine.

    The desktop image is fine, taken from the exact same pool of jpg photos.  However, as soon as the slide show screen saver comes on, the images are scrambled.  What is it about the apple screen saver algorithm that scrambles the pics?

  • How do you stop Lightroom from automatically making adjustemnts when you are looking at the images?

    There is some kind of auto adjustment happening when I look at my images for the first time.
    Any knowledge of this, I've looked in help and can't find anything.
    Anyone know how to make it stop?
    Usually it looks pretty good, but it would be nice to simply revert if you don't like what it did.
    If you could please e-mail me, I don't really like the format of this forum, so I'm don't know when I'll be back, or where my post will be!
    Thanks!
    jayme (@) jaymehalbritter.com

    Jayme, what you see first is the camera produced jpg (thumbnail) which is done by the camera at the time the shot is taken even if you have set the camera to save as raw. This thumbnail jpg, which is part of the raw file, is required for you to view the image on the camera lcd screen. If it were not produced you would not be able see the image either in the camera or on your computer. Raw files are not in a viewable format until they are processed by a raw converter.
    When you import the raw files into the LR library LR will first display the camera produced thumbnail as a preview until it has been able to convert the raw data. This is done at the LR default settings. Since the LR conversion engine is different from the camera firmware it is not able to produce an exact jpg image. LR does not have the info/ technology used by the camera and uses its own proprietary procedures to produce its own conversion.
    All the camera manufacturers have their own proprietary technology for processing the raw data which is not publicly shared for competitive reasons.
    Tools are provided in LR to allow you to make your own adjustments to the raw data and create an image to your liking. Hopefully even better than what your camera is able to produce. You now have your own "darkroom" to produce your images.
    There are lots of tutorials available to bring your skils up to mark. Have fun. There is a thread in the FAQ which deals with this issue. Every raw converter has its own taste which you can adjust.

  • Bug when exporting large images

    I found this bug in Flash 8, so I just downloaded CS5.5 trial and I see the same problem.
    When I increase the image export resolution to get a larger image, at one point the lower section of the image became white (the image has the appropriate size but the content is not rendered in the lower section). As bigger is the image, larger is the white fraction. The amount of useful pixels always stay around 10 or 13 megapixels. Here some examples:
    Original image was 3375x6710 pixels in the left one and 2625x5219 en the right one. Any idea to solve this?? Can anyone reproduce this problem?

    That article is regarding the size of the bitmaps you can put INSIDE the project, and the issue I'm experiencing is regarding the size of the output when you use the "Export image" function.
    Actually I got the same problem even if I delete all bitmaps from the stage and try to export only the vector features (lines, text, etc...).
    I can't see clearly how the limit explained in that article could be related to a limit of exported images.
    As example, the following image shows the same issue, but this time of a project with only vector data, no bitmaps at all, you can see how the rendering is truncated.

  • On right mouse click, there is no "save as" or "copy image" when I want to save a pictureon line. I have to go back to IE to access this option. Is this not available? Many thanks, Joy

    On right mouse click, there is no "save as" or "copy image" when I want to save a picture on line. I have to go back to IE to use this option. Is this not available? Many thanks, Joy
    There are so many occasions on line when I want to save an image that I can't believe I can't do so using Firefox, which I find so good in all other ways. I can Bookmark, save a page or send a link, but not take a simple copy image.

    Hi, Many thanks for replying, it's much appreciated. I started Firefox in safe mode and found I had the full right click menu on a pic on my home page. However, after moving around the web, I've found that the problem still occurs in eBay and it doesn't make any difference in safe mode. still no full menu. After returning to normal mode, I find that this still stands i.e. I do get the full menu on other sites but not in eBay. As I often want to save a pic in Ebay and can do so in IE, I'm baffled as to why this one site is giving problems. As this is where I've mostly been trying to save pics, I didn't realise that it was a "one site" problem and not applicable to everywhere else. If IE didn't work in this respect, I could blame the eBay site, but it does, so that just makes it more puzzling - and very annoying! I have tried accessing Ebay direct, rather than clicking on the toolbar, but this makes no difference. Any further thoughts would be much appreciated. Joy

  • Transform implementation goes wrong when I try transforming a image through script and save the new image using a HTML to canvas plugin.

    Transform implementation goes wrong when I try transforming a image through script and save the new image using a HTML to canvas plugin. The rotation comes up fine, but the origin of the transformation is faulty (compared to other browsers like Chrome & IE)

    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the mozillaZine forum site in order to post at that forum.

  • I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.

  • How can I edit lightroom 5 smart previews on mac book pro (mbp) when the lightroom 5 master image files are on my external hard drive is disconnected from the mbp

    How can I edit lightroom 5 smart previews on mac book pro (mbp) when the lightroom 5 master image files are on my external hard drive is disconnected from the mbp? So far when I try to disconnect the external HD from the mbp, I get the following pop up window: The disk "external hard drive A" couldn't be ejected because "Lightroom" is using it. Quit that application and try to eject this disk again. When I do that and restart Lightroom 5, the Adobe Photoshop Lightroom - Select Catalog screen pops up but doesn't list my external hard drive A as a choice.
    I've reviewed Adobe's Lightroom Help | Smart Previews Lightroom 5 web page and still haven't been able to figure what I'm doing wrong. Any help would be appreciated.

    Your internal HDD. by default, is named 'Macintosh HD'. From what information you supplied, it looks like there is already a Lightroom catalog installed on you local (internal) HDD using the standard naming convention Adobe uses as well as a Lightroom catalog on your external drive which you created. To be sure of which catalog Lightroom is loading when it starts up, To do this, start Lightroom as you normally would. After it starts, select the Lightroom menu item, then select the Catalog Preferences item and finally, navigate to the General tab. The Location information will tell you exactly what catalog Lightroom is opening by default. This will likely be the Photography Mac Book Pro Versions catalog on your external HDD. Once that is confirmed, you are ready to proceed. As an additional test/verification, you can shut down Lightroom and, this time, start Lightroom while holding down the ALT/OPTION key. This will cause Lightroom to pause and display a screen which will allow you to chose a different catalog to open. Navigate to the /Users/[user name]/Pictures/Lightroom folder and select the Lightroom 5 Catalog.lrcat file. When Lightroom comes up, there should be no previews or folders as this catalog should be empty. Now you can be certain which catalog is being used and which catalog has all your data and you are ready to migrate your current catalog. Shut down Lightroom.
    To migrate your current catalog, use Finder to locate your Photography Mac Book Pro Versions folder on your external drive. Select the folder and select COPY from the context menu. Next, use Finder to navigate to the /Users/[user name]/Pictures/Lightroom folder on you internal HDD. You can start at the Macintosh HD level and work your way down by opening each level (Macintosh HD/Users/[user name]/Pictures). Select the /Pictures folder and then select PASTE... from the context menu. When the COPY/PASTE is complete, you should see the following files on the Macintosh HD:
    Macintosh HD/Users/[user name]/Pictures/Lightroom/ and
    Macintosh HD/Users/[user name]/Pictures/Photography Mac Book Pro Versions
    The Macintosh HD/Users/[user name]/Pictures/Lightroom folder will contain the empty default catalog the Adobe created when Lightroom was installed and Macintosh HD/Users/[user name]/Pictures/Photography Mac Book Pro Versions will contain a copy of the catalog you created on your external HDD.
    You are almost done now. Make sure your external drive is still attached for this step. Restart Lightroom using the ALT/OPTION key again. When the Select Catalog screen appears, select the Choose a Different Catalog button (lower left side). When you do, a Finder window will open to allow you to navigate to a catalog of your choosing. Navigate to Macintosh HD/Users/[user name]/Pictures/Photography Mac Book Pro Versions and select the file Photography Mac Book Pro Version.lrcat. This is the copy you just created. Select the Open button and Lightroom should start. You should see all of your previews and settings just as before. Also, in the left hand panel, all of your folder should show up and none of them should be dimmed and none of your previews should display a small exclamation point badge. Either a dimmed folder name or an exclamation point badge indicates that Lightroom can't find the associated image file. If everything looks good, go to the Lightroom menu, select Preferences and then select the General tab. Under Default Catalog, select an option to either load the LAST catalog opened or select the Users/[user name]/Pictures/Photography Mac Book Pro Versions catalog from the drop down. Shut down Lightroom and then restart it normally. This time, when Lightroom starts, you should be viewing the new copy of your catalog. You can confirm this by looking at the General tab on the Catalog Preferences screen (Lightroom/Catalog Preferences menu items). Shut down Lightroom once again and this time, eject your external drive before restarting. This time, your folders in the left hand panel will be dimmed but you should be able to work with your smart previews. If Lightroom should display a Select Catalog screen with the external drive detached, double check your settings as it indicates Lightroom is still looking at the copy of the catalog on the external drive rather than the new copy you made.
    Finally, if you are seeing dimmed folders and/or exclamation point badges with the external drive attached, this indicates a problem. You can select any folder and select Update Folder Location from the context menu. This will allow you to navigate to the copy on the external drive and select it. Lightroom will then update the catalog (select to synchronize the content). This will not only clear the dimmed folder problem but also remove the exclamation point badges for all photos in that missing folder. However, it may indicate that not all went well with the copy of the catalog so make sure to verify all went well. You can use the Get Info option on the two folders. You should see the same number of files/folders for both the copy on the internal drive as well as on the external drive but you can't rely on the byte count because of the possibility of differences between the geometry of the two drives. Hope this all helps!

  • How do you save your photos in iPhoto and be able to find the photos when you are in different programs. When i try to find them I can only find the iPhotos not the individual photos.

    How do you save your photos in iPhoto and be able to find the photos when you are in different programs. When i try to find them I can only find the iPhotos not the individual photos.

    Use the media browser. In every open/attach window in tithe lower left hand corner under media ==> photos ==> iPhoto
    LN

  • Why are my duotone images turning black and white when put in indesign?

    why are my duotone images turning black and white when put in indesign?
    I have been playing duo and montotone images into indesing with no trouble. Then all of a sudden as I placew them they go black and whitre. I have tried everything from re saving, re making in photoshop and differant colours et5c. But nothing seems to wrok. The images already in my document arew fine it is just new ones. If someone could help that would be great

    Can you start a new document and then load one of the duotones known to be good in the working file and have it correct? If so, try one of the duotones known to be bad in the working document in the new file. Does it work?
    If no to either suggestion, can you share one of the images known to be good and one known to be bad? ZIP 'em up and upload to dropbox and plop a link here. Or, to keep the file sizes down, you can quickly make a new set and provide those.
    As well, the ID version and OS info would probably be helpful.
    Take care, Mike

  • Why are my Illustrator images getting thicker strokes when I take the bounding box and make them smaller?

    Why are my Illustrator images getting thicker strokes when I take the bounding box and make them smaller? This has never happened to me. I'm not an expert at Illustrator, but I do know some fundamentals.

    Thank you for responding so quickly. No apologies necessary - I know this Forum isn't McDonalds - don't expect an answer to be served up right away. You helped me out with a big issue yesterday.
    I am using a mac - OSX 10.7.5
    I have Adobe Creative Suites - CS5 - Illustrator version is 15.0.2
    The contents I am placing are all  Vector - Illustrator files
    But, I wonder about some of the vector files I work with.  Could a "line weight/thickness" be 'assigned' to the drawing and screw things up? I used 'simple' linear (line) drawings from SolidWorks that have been converted to ai files. It's just weird because I checked the stroke of the drawing and it's not out of line.
    I am attaching part of some box labels. You can see how the drawings, of the products, on the 'left side' are "thick" after embedding them. I think the "Global Logo" was pasted into a template not linked that's why it's okay. But look at the Quiet Thunder logo - it looks terrible. These labels are only 2.25" X 6.5", so its important I keep the images lightweight. 
    Your help is very much appreciated. Thank you!

  • When links are clicked, they do not fully display the NEW page until the mouse is moved.I know it is a current bug, and appears in no other browsers that I know of.

    It was pointed out that my links do not function correctly on Firefox on a Windows platform. When links are clicked, they do not fully display the NEW page until the mouse is moved! I have now observed it for myself on my fathers PC running Windows XP on Firefox.My PC is on Windows7
    It is the 5 version of Firefox, so I know it is a current bug, and appears in no other browsers that I know of.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4+ you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for