p2p RTMFP controlling movieClip frame action

167 Views Asked by At

I'm trying to control a movieClip using p2p netconnection. I understand that I can control properties of a movieClip --- such as

case "NetGroup.SendTo.Notify":
rover.x = event.info.message.x;
rover.y = event.info.message.y;
myFencer.fence.visible = event.info.message.visible;

Can I also control a frame Action ? the following doen't work ---

case "NetGroup.SendTo.Notify":
score.FrameEvent = event.info.message.FrameEvent;

obj.Event = score.gotoAndStop("green");
1

There are 1 best solutions below

5
Shankar Narayana Damodaran On

It will work.

I suspect your "green" label.Recheck it again.

This works

_root.gotoAndStop(_currentframe+1);