rach236
04-11-2006, 08:09 PM
Hi All,
This is something i am confused about and am having problems with at the moment. I have just built a swf which i want to import into a scroll pane. The swf I am importing has a series of movie clips in it and quite a bit of script. In this swf i have used script such as
_root.[button]...etc
and
_root.reel_mc["cell"+i].titleText_txt
where reel is a mc on the main frame cell a mc in reel and titleText_txt an instance name in the cell mc.
When I import this swf to the scroll panel all these are now wrong so nothing happens. I have tried changing the _root with _parent and also adding scrollPanel to the chain of movies (this is the instance name i have given my scroll panel) neither seems to work. I am confused by the difference between _root and _parent and the whole level thing!!
So firstly is there a way of changing these so it works? I also want to import the scroll panel swf into another swf so i am going to get more problems here.
Secondly, once I change all these, when i publish my content stuff nothing will work unless I view it in the scroll panel. Is there any way of getting round this?
I hope you understand this I think I may have rambled a little:rolleyes:
Thanks!
This is something i am confused about and am having problems with at the moment. I have just built a swf which i want to import into a scroll pane. The swf I am importing has a series of movie clips in it and quite a bit of script. In this swf i have used script such as
_root.[button]...etc
and
_root.reel_mc["cell"+i].titleText_txt
where reel is a mc on the main frame cell a mc in reel and titleText_txt an instance name in the cell mc.
When I import this swf to the scroll panel all these are now wrong so nothing happens. I have tried changing the _root with _parent and also adding scrollPanel to the chain of movies (this is the instance name i have given my scroll panel) neither seems to work. I am confused by the difference between _root and _parent and the whole level thing!!
So firstly is there a way of changing these so it works? I also want to import the scroll panel swf into another swf so i am going to get more problems here.
Secondly, once I change all these, when i publish my content stuff nothing will work unless I view it in the scroll panel. Is there any way of getting round this?
I hope you understand this I think I may have rambled a little:rolleyes:
Thanks!