From issues-return-44-apmail-flex-issues-archive=flex.apache.org@flex.apache.org Mon Jun 24 14:50:23 2013 Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 442BBC498 for ; Mon, 24 Jun 2013 14:50:23 +0000 (UTC) Received: (qmail 63785 invoked by uid 500); 24 Jun 2013 14:50:22 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 62623 invoked by uid 500); 24 Jun 2013 14:50:21 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 62380 invoked by uid 99); 24 Jun 2013 14:50:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jun 2013 14:50:20 +0000 Date: Mon, 24 Jun 2013 14:50:19 +0000 (UTC) From: "hari krishna (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLEX-33597) Not able to load Image 480px * 9720px MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 hari krishna created FLEX-33597: ----------------------------------- Summary: Not able to load Image 480px * 9720px Key: FLEX-33597 URL: https://issues.apache.org/jira/browse/FLEX-33597 Project: Apache Flex Issue Type: Bug Components: mx: Image Affects Versions: Adobe Flex SDK 3.2 (Release) Environment: window xp Reporter: hari krishna Priority: Blocker Fix For: Adobe Flex SDK 3.2 (Release) Hi ALL, Facing issue when trying to load image of 480px * 9720px, is there any limit for width and height to image. I am using sdk3.2 and flash player10. I tried in below mentioned ways: 1)Using -not able to see image after application load complete. 2)Using Loader class -not able to dispatch Event.COMPLETE even after total bytes loaded. code: var bitmapPath:String = "http://localhost:8081/testimg/photo01.png"; var myBitmap:Bitmap; var bitmapLoader:Loader; bitmapLoader = new Loader(); bitmapLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, addBitmap); bitmapLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR ,loadingError); bitmapLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRES S,updateInfo); bitmapLoader.load(new URLRequest(bitmapPath)); function addBitmap(event:Event):void { var bd:BitmapData = new BitmapData(event.currentTarget.content.width, event.currentTarget.content.height); bd.draw(event.currentTarget.content); myBitmap = new Bitmap(bd); var img:Image = new Image(); img.addChild(myBitmap); imgContainer.addChild(img); } function updateInfo(e:ProgressEvent):void { trace("Loading: "+String(Math.floor(e.bytesLoaded/1024))+" KB of "+String(Math.floor(e.bytesTotal/1024))+" KB."); } function loadingError(e:IOErrorEvent):void { trace("There has been an error loading the image. The server may be busy. Refresh the page and try again."); } Thanks a lot in advance, Hari krishna. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira