3 Replies Latest reply on Oct 12, 2010 3:01 PM by Ned Murphy

    Can't add content to ScrollPane immediatly after attachMovie

    eltremmel Level 1



      I've successfully attached a clip (identifier = "myPane_mc") which contains a ScrollPane (instance name = "myPane_sp") to the main Timeline from the Library. No problem.





      However, I can't immediatley load another clip (identifier = "myPic_mc") into the ScrollPane.



      myPane_mc_01.myPane_sp.contentPath =  "myPic_mc";


      Is this particular to the ScrollPane component? It works fine if I place the contentPath code in the next frame of the Timeline, but is there a function that I can attach to myPane_mc_01 to load myPane_sp's content without the additional frame?