Hello,
How can I send a actionscript command to a swf movie from Delphi? E.g. I want to use print(); to print some flash frames.
kimb
Code: Select all
print("", "bmax");
Code: Select all
Printing SWF "printing.swf"
Code: Select all
BRCC32 printing_movie.rc
Code: Select all
{$R 'res\printing_movie.res'}
var
ResourceStream: TResourceStream;
begin
ResourceStream := TResourceStream.Create(0, 'Printing', 'SWF');
FlashPlayerControl1.LoadMovieFromStream(1 { level 1 - just for example } , ResourceStream);
ResourceStream.Free;
end;
Code: Select all
function DoPrint(){
var pj = new PrintJob();
if (pj.start()){
pj.addPage("mc1");
pj.addPage("mc2");
pj.addPage("mc3");
pj.addPage("mc4");
pj.send();
}
delete pj;
}
Return to “Delphi / Builder / VCL Edition”
Users browsing this forum: No registered users and 60 guests