syntax to reference items in the child movie
Posted on 2007-10-13
I have a scrollpane that I am using in swf A that loads swf B using the contentPath attribute. In swf B I have a function that runs when the swf is loaded that attaches movie clips representing advertisements (1 rectangle for each ad) while looping over the number of ads available. This works just fine when swf B is run by itself, but when loaded into swf A, the function does not run, leaving me with a blank scrollpane.
What is the syntax to reference items in the child movie? The items I am looking to manipulate are on the main timeline of swf B, so I'm thinking it should be:
but that comes back undefined