Jump to content
Search Community

Search the Community

Showing results for tags 'appendchild'.

  • 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. Hi, I'm trying to animate an arbitrary number of objects created dynamically, but somehow it's not working, the object is cerated and added to the div but it doesn't move. Can anybody help be here? The code I have: var newImg = document.createElement("img"); newImg.src = "http://www.browsealoud.com/images/browsealoud/plus/uk/Chrome.jpg"; //animationContainer is a div (I've checked this object is correctly referenced) this.animationContainer.appendChild(newImg); tl.fromTo(newImg, 5, {left:"20", ease:Linear.easeNone}, {left:"80", ease:Linear.easeNone}, 0); Thank you!
×
×
  • Create New...