rickid
07-27-2006, 06:11 PM
I have an swf that contains a movie clip which uses _root to reference its main timeline.
This swf is then loaded into a scroll pane and _root now does not refer to the original swf's timeline. I can make this work by using scrollPane_sp.content. instead of _root.. However I don't want to edit the original swf.
After reading the difference about _root and _level0, I would have thought that _level0 would refer to the main timeline of the swf with the scrollpane and _root. would refer to the timeline of the loaded swf.
Also would you recommend implementing a scrollPane_sp.redraw(true) loop that constantly redraws the window?
Thanks
This swf is then loaded into a scroll pane and _root now does not refer to the original swf's timeline. I can make this work by using scrollPane_sp.content. instead of _root.. However I don't want to edit the original swf.
After reading the difference about _root and _level0, I would have thought that _level0 would refer to the main timeline of the swf with the scrollpane and _root. would refer to the timeline of the loaded swf.
Also would you recommend implementing a scrollPane_sp.redraw(true) loop that constantly redraws the window?
Thanks