Hi everyone,
I'm trying to attach a movieclip ("webText_mc") to a scrollpane component. I've used the following code:
webBase_mc.webBaseInner_mc.webScrollPane.contentPath = "webText_mc";
webBase_mc.webBaseInner_mc.webScrollPane.setStyle("borderStyle", "none");
Using this code, and with the component called "webScrollPane" it's not working, but if the scrollpane is only one level deep within the "webBase_mc" clip, ie. I take it out of the "webBaseInner_mc" it works. The problem is that I need it inside the webBaseInner mc b/c I'm planning to animate this clip later on.
I get the following error when testing:
**Error** Scene=Scene 1, layer=actions, frame=1:Line 9: Function name expected
webBase_mc.webBaseInner_mc.btnWebServices_mc.onRelease = function {
**Error** Symbol=webBaseInner_mc, layer=Layer 1, frame=1:Line 17: Statement must appear within on/onClipEvent handler
q
Total ActionScript Errors: 2 Reported Errors: 2
Can someone tell me what I might be doing wrong? I've uploaded the file here if the .fla is needed to help troubleshoot:
Appreciate any help.
I'm trying to attach a movieclip ("webText_mc") to a scrollpane component. I've used the following code:
webBase_mc.webBaseInner_mc.webScrollPane.contentPath = "webText_mc";
webBase_mc.webBaseInner_mc.webScrollPane.setStyle("borderStyle", "none");
Using this code, and with the component called "webScrollPane" it's not working, but if the scrollpane is only one level deep within the "webBase_mc" clip, ie. I take it out of the "webBaseInner_mc" it works. The problem is that I need it inside the webBaseInner mc b/c I'm planning to animate this clip later on.
I get the following error when testing:
**Error** Scene=Scene 1, layer=actions, frame=1:Line 9: Function name expected
webBase_mc.webBaseInner_mc.btnWebServices_mc.onRelease = function {
**Error** Symbol=webBaseInner_mc, layer=Layer 1, frame=1:Line 17: Statement must appear within on/onClipEvent handler
q
Total ActionScript Errors: 2 Reported Errors: 2
Can someone tell me what I might be doing wrong? I've uploaded the file here if the .fla is needed to help troubleshoot:
Appreciate any help.