Because of the constant attack by the wiki spam bots, accounts that are created and not used will be deleted. If you are a legitimate user, and your IP was blocked, please contact any active administrator - look at Special:RecentChanges and see who is busy fighting spam.

How do I create a AVM2 compatible SWF?

From SWFTools
Jump to: navigation, search

pdf2swf -T9 -s insertstop input.pdf -o output.swf


-T9 -- creates a AS3/AVM2 compatible swf
-s insertstop -- inserts a stop command at the end of each frame

To catch link events, use the parameter
-s internallinkfunction=true (instead of internallinkfunction=functionName)
and in your loader code catch the (now bubbeling) TextEvent.LINK event:
addEventListener(TextEvent.LINK, handleLink);

Feature is available with 0.9 of swftools

See http://www.mail-archive.com/swftools-common@nongnu.org/msg01709.html for posting by Matthias.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox