Actionscript 3 p2p-RTMFP控制movieClip帧动作
我正在尝试使用p2p网络连接控制电影剪辑。我知道我可以控制电影剪辑的属性,比如 我还可以控制帧动作吗?以下操作不起作用--Actionscript 3 p2p-RTMFP控制movieClip帧动作,actionscript-3,flash,p2p,rtmfp,netconnection,Actionscript 3,Flash,P2p,Rtmfp,Netconnection,我正在尝试使用p2p网络连接控制电影剪辑。我知道我可以控制电影剪辑的属性,比如 我还可以控制帧动作吗?以下操作不起作用-- 它会起作用。 我怀疑你的“绿色”标签。再检查一遍 这很有效 _root.gotoAndStop(_currentframe+1); 我搞不懂。基本上,我正在尝试向第二个swf发送消息。我可以发送Visibility和.x.y位置等属性。但我不能发送帧动作?请参阅以下案例“NetGroup.SendTo.Notify”:rover.x=event.info.message.
它会起作用。 我怀疑你的“绿色”标签。再检查一遍 这很有效
_root.gotoAndStop(_currentframe+1);
我搞不懂。基本上,我正在尝试向第二个swf发送消息。我可以发送Visibility和.x.y位置等属性。但我不能发送帧动作?请参阅以下案例“NetGroup.SendTo.Notify”:rover.x=event.info.message.x;y=event.info.message.y;myFencer.fence.visible=event.info.message.visible;score.frameEvent=event.info.message.frameEvent<代码>obj.frameEvent=score.gotoAndStop(“绿色”)代码>@bobsmo,第二个swf你的意思是相同的swf对吗?。
event.info.message.FrameEvent
的跟踪值是多少?(是-相同的swfs)我无法获取跟踪以显示任何事件。下面是我所拥有的-在一个按钮上单击向swf`case“NetGroup.SendTo.Notify”发送消息:rover.x=event.info.message.x;y=event.info.message.y;myFencer.fence.visible=event.info.message.visible;score.frameEvent=event.info.message.frameEvent;ttrace.text=event.info.message.frameEvent.toString();中断`跟踪不显示任何函数myClickredStart(e:MouseEvent):void{obj.frameEvent=score.gotoAndStop(“绿色”);score.gotoAndStop(“红色”);跟踪(score);跟踪(obj.frameEvent);greenStart.visible=false;redStart.visible=false;}
case "NetGroup.SendTo.Notify":
score.FrameEvent = event.info.message.FrameEvent;
obj.Event = score.gotoAndStop("green");
_root.gotoAndStop(_currentframe+1);