Delphi中的源码:
procedure TForm1.FormCreate(Sender: TObject);
begin
ShockwaveFlash1.LoadMovie(0,'C:/Documents and Settings/5678go/桌面/a.swf');
ShockwaveFlash1.Play;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
with ShockwaveFlash1 do
begin
ShockwaveFlash1.SetVariable('MyAry[0]','0');
ShockwaveFlash1.SetVariable('MyAry[1]','1');
end;
end;
Delphi中的源码:
procedure TForm1.FormCreate(Sender: TObject);
begin
ShockwaveFlash1.LoadMovie(0,'C:/Documents and Settings/5678go/桌面/a.swf');
ShockwaveFlash1.Play;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
with ShockwaveFlash1 do
begin
ShockwaveFlash1.SetVariable('MyAry[0]','0');
ShockwaveFlash1.SetVariable('MyAry[1]','1');
end;
end;