Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Actionscript 3 p2p-RTMFP控制movieClip帧动作_Actionscript 3_Flash_P2p_Rtmfp_Netconnection - Fatal编程技术网

Actionscript 3 p2p-RTMFP控制movieClip帧动作

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.

我正在尝试使用p2p网络连接控制电影剪辑。我知道我可以控制电影剪辑的属性,比如

我还可以控制帧动作吗?以下操作不起作用--


它会起作用。

我怀疑你的“绿色”标签。再检查一遍

这很有效

_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);