slen
07-18-2005, 03:20 AM
I am having trouble in movie clips. Below is my scenario:
I have 2 movie clips. One of the movie clips, image_mc, has a scrollPane, image_scroll. In the movie has a global function.
_global.myFunctio = function(myname)
{
image_scroll.contentPath = myname;
}
In another movie, “scrollers”, the action script look like this.
….
myWindow=popupManage … (... {…ContentPath: “image_mc”…})
_global.myFunction(“Hello_mc”);
…
My global function isn’t been invoked. Can anyone give me some suggestion to this problem? I am using this approach because I want to have a popup window appears when a picture button is clicked in the movie clip, scrollers. When “image_scroll” is loaded, if the size of the pass in mc is big, it automatically shows the scrollbars. If my approach isn’t right, do you know any approach is good?
Please help me …
Thank you very much ….
I have 2 movie clips. One of the movie clips, image_mc, has a scrollPane, image_scroll. In the movie has a global function.
_global.myFunctio = function(myname)
{
image_scroll.contentPath = myname;
}
In another movie, “scrollers”, the action script look like this.
….
myWindow=popupManage … (... {…ContentPath: “image_mc”…})
_global.myFunction(“Hello_mc”);
…
My global function isn’t been invoked. Can anyone give me some suggestion to this problem? I am using this approach because I want to have a popup window appears when a picture button is clicked in the movie clip, scrollers. When “image_scroll” is loaded, if the size of the pass in mc is big, it automatically shows the scrollbars. If my approach isn’t right, do you know any approach is good?
Please help me …
Thank you very much ….