FMX - Control clip timeline

I have a question about controlling clip timeline with AS.

I have a button(Button.A) that has a menu-like objects in the timeline and the following AS.

[AS]onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this._currentframe<this._totalframes) {
nextFrame();
}
} else {
if (this._currentframe>1) {
prevFrame();
}
}
}
[/AS]

What i want to do now is to have another button(Button.B) that will tell the (Button.A) to do the prevFrame.

Is this possible ???

Hope it’s understandable :slight_smile: