ryosaeb4
05-06-2010, 10:12 AM
Hi everybody..
I've a ScrollPane component on my time line called scrollX.
The scrollX source is a movieclip called contentX from library.
Now inside my contentX I've a button whit this code:
inviaScriviBTN.addEventListener (MouseEvent.MOUSE_DOWN, goReplyScrivi);
function goReplyScrivi (event:MouseEvent):void
{
MovieClip(root).gotoAndStop ("invio_con_successo");
trace("invio_con_successo");
}
I need go to a label called "invio_con_successo" into my root timeline (where the scrollpane live).
But It dosn't work... may be the MovieClip path is wrong...
How Can I do it?
:confused:
I've this error:
ArgumentError: Error #2109: Frame label invio_con_successo not found in scene Scena 1.
at flash.display::MovieClip/gotoAndStop()
at contentX/goReplyScrivi()
I've a ScrollPane component on my time line called scrollX.
The scrollX source is a movieclip called contentX from library.
Now inside my contentX I've a button whit this code:
inviaScriviBTN.addEventListener (MouseEvent.MOUSE_DOWN, goReplyScrivi);
function goReplyScrivi (event:MouseEvent):void
{
MovieClip(root).gotoAndStop ("invio_con_successo");
trace("invio_con_successo");
}
I need go to a label called "invio_con_successo" into my root timeline (where the scrollpane live).
But It dosn't work... may be the MovieClip path is wrong...
How Can I do it?
:confused:
I've this error:
ArgumentError: Error #2109: Frame label invio_con_successo not found in scene Scena 1.
at flash.display::MovieClip/gotoAndStop()
at contentX/goReplyScrivi()