swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] on swfc and pdf2swf


From: Pablo Rodríguez
Subject: [Swftools-common] on swfc and pdf2swf
Date: Sun, 28 Sep 2008 20:45:32 +0200
User-agent: Thunderbird 2.0.0.17 (X11/20080926)

Hi Matthias and everybody,

I have been toying with the ActionScript 2 from Flash MX 2004 (http://www.adobe.com/support/documentation/en/flash/documentation-mx.html).

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,


Pablo




reply via email to

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