all groups > macromedia flash sitedesign > march 2005 >
You're in the

macromedia flash sitedesign

group:

Buttons in a Scroll Pane within a MC


Buttons in a Scroll Pane within a MC huy2301
3/31/2005 9:32:03 PM
macromedia flash sitedesign: Hi there, I have a flashsite i am designing and here is my problem.

I have a movie clip called "eventContent", in that movie clip i have a
scrollpane component called "myScroll" who's contentPath is a movie clip called
"pasteventContent"

Now in MC "pasteventConent" i have buttons which I want to use to control
which frame the MC "eventContent" is on.

I've tried several different aproaches and none of them work.

I tried these in the buttons action.

--------------------------------------------------------------------------------
-------------------------------
on (release) {
eventContent.gotoAndPlay(5);
}

--------------------------------------------------------------------------------
-------------------------------
on (release) {
tellTarget ("/eventContent") {
gotoAndStop(5);
}
}

--------------------------------------------------------------------------------
-------------------------------

I can't seem to get the buttons in my scroll pane to control the MC i want it
to... Is this scenario even do able?

Any help would be much appreciated.

Cheers,

Huy
Re: Buttons in a Scroll Pane within a MC fasterthanlight
3/31/2005 10:02:07 PM
on(release){
_root.eventContent.gotoAndPlay(5);
}

Re: Buttons in a Scroll Pane within a MC huy2301
3/31/2005 11:36:07 PM
AddThis Social Bookmark Button