Jump to content
Search Community

Search the Community

Showing results for tags 'invalid_argument'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. I'm getting the "Invalid Argument, Line 14, Character 10552" error from CSSPlugin.min.js on IE8 (Standards mode). Here's the bare essentials of the code that makes the TweenLite / CSSPlugin call to animate the "top" property: var sl = document.getElementById('theSlidesContnr'); var ypos = []; var slideHeight = $('.slide:first').outerHeight(); var totalSlides = $('#theSlidesContnr div.slide').length; var automove = true; var snum; var run; var speed = 3000; function moveSlide() { var d; if(automove) { if(snum === undefined) snum = 1; d = snum; if( snum < totalSlides ) { snum++; } else if( snum >= totalSlides ) { snum = 1; } } TweenLite.to(sl, 1, { css:{ top:ypos[d] }, ease:Power4.easeOut }); //TweenLite.to(sl, 1, { css:{ top:parseInt(ypos[d]) }, ease:Power4.easeOut }); } function autoRotate() { run = window.setInterval( moveSlide, speed); } function init() { for( var i=0; i < totalSlides; i++) ypos[i] = -(slideHeight * i); autoRotate(); } init(); Tried both "//{ css:{ top:ypos[d] }" and "{ css:{ top:parseInt(ypos[d]) }" but got the same error. The same code works fine in the standards browsers & IE7. I made sure to grab the latest greensock JS download. This is similar to another CSSPlugin error in IE8 but for a different line/character location in the code.
×
×
  • Create New...