Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2010
    Location
    Orange County, CA
    Posts
    31
    Vote Rating
    0
    vega109 is on a distinguished road

      0  

    Default [CLOSED]Image rotate issue in IE

    [CLOSED]Image rotate issue in IE


    Hello,

    I'm working on image rotating feature. I have a draw component that contains an image sprite.

    Code:
    Ext.create('Ext.draw.Component', {
    	id : 'draw-component',
    	viewBox : false,
    	width : 800,
    	height : 1000,
    	items : [{ 
    		type : 'image',
    		id : 'draw-component-sprite',
    		x : 0,
    		y : 0,
    		width : 800,
    		height : 1000,
    		src : '2.PNG'					
    }]
    });
    To rotate the image I use the setAttributes method:

    Code:
    var sprite = Ext.getCmp('draw-component').surface.items.first();
    sprite.setAttributes( {
    	rotation : {
    		degrees : 90,
    		redraw : true
    			}
    }, true);
    That works fine in FF and Safari but produce an error in IE7. The error message is:
    Line: 10744
    Char: 9
    Error: events is null or not an object
    Code: 0

    Thank you.

  2. #2
    Sencha User
    Join Date
    May 2010
    Location
    Orange County, CA
    Posts
    31
    Vote Rating
    0
    vega109 is on a distinguished road

      0  

    Default


    Oops. I found the issue. I had to use 'rotate' attribute instead of 'rotation'.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    114
    Vote Rating
    6
    johanhaest is on a distinguished road

      0  

    Default


    You don't need to have redraw: true in your setAttributes.
    The 2nd parameter (true) in your setAttributes means you will perform a redraw.

Similar Threads

  1. Auto rotate Carousel?
    By Bucs in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 17 Feb 2012, 1:14 AM
  2. Rotate the button label
    By same66 in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 1 Feb 2011, 5:59 AM
  3. Image Rotate/ Zoom/ Pan
    By durlabh in forum Community Discussion
    Replies: 4
    Last Post: 1 Dec 2010, 9:09 AM
  4. Rotate text in Header
    By Adam W in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 19 Feb 2009, 1:35 PM
  5. Rotate a grid row 90
    By Joschy in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 9 Dec 2008, 1:42 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi