[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] on swfc and pdf2swf

From: Pablo Rodríguez
Subject: Re: [Swftools-common] on swfc and pdf2swf
Date: Tue, 30 Sep 2008 22:39:55 +0200
User-agent: Thunderbird (X11/20080926)

Huub Schaeks wrote:
Hello Pablo

The only change I have to make to the AS example to have swfc compile it is 
remove the type specification from
function(active:Boolean) , so that changes to function(active). This seems to 
be a general rule: type specifications are flagged as syntax errors and are not 
needed. I have not tested the correctness of the compiled code in this case 


Thanks, Huub, for your reply.


Date: Sun, 28 Sep 2008 20:45:32 +0200
From: address@hidden
To: address@hidden
Subject: [Swftools-common] on swfc and pdf2swf

Hi Matthias and everybody,

I have been toying with the ActionScript 2 from Flash MX 2004

There are plenty of examples in their “ActionScript Language Reference”.
And many of them work with swfc, but with some of them there are syntax
errors: how should be the following example be translated into swfc syntax?

this.onEnterFrame = function() {
silenceLevel_pb.setProgress(active_mic.activityLevel, 100);
active_mic.onActivity = function(active:Boolean) {
if (active) {
silenceLevel_pb.indeterminate = false;
silenceLevel_pb.setStyle("themeColor", "haloGreen");
silenceLevel_pb.label = "Activity level: %3";
} else {
silenceLevel_pb.indeterminate = true;
silenceLevel_pb.setStyle("themeColor", "0xFF0000");
silenceLevel_pb.label = "Activity level: (inactive)";

On the poppler compilation: is it enabled if the proper libraries are
found or must it be enabled as a compilation option?

Poppler seems to support embedded multimedia objects in PDF documents.
Would it be possible to improve this in pdf2swf?

Thanks for your help,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]