Comments on: FlashTextFormatter with SWFObject (Release 2) https://joshblog.net/2006/06/20/flashtextformatter-with-swfobject-release-2/ Archive of older blog posts written by Josh Tynjala about Flash, Flex, and ActionScript Wed, 26 Jun 2013 02:52:46 +0000 hourly 1 https://wordpress.org/?v=4.9.9 By: aron / philipp development blog / FlashTextFormatter plugin for wordpress https://joshblog.net/2006/06/20/flashtextformatter-with-swfobject-release-2/#comment-199 Tue, 05 Feb 2008 17:46:47 +0000 http://www.zeuslabs.us/archives/76/flashtextformatter-with-swfobject-release-2/#comment-199 […] We’re actually using this fix from zeuslab (FTF w/ SWFObject). […]

]]>
By: Josh Tynjala https://joshblog.net/2006/06/20/flashtextformatter-with-swfobject-release-2/#comment-198 Fri, 18 Aug 2006 15:05:14 +0000 http://www.zeuslabs.us/archives/76/flashtextformatter-with-swfobject-release-2/#comment-198 Oh man, that’s a tough one. I don’t think a stylesheet would do it. Maybe you could add a print mode to your posts. Make the address look like this: http://your-blog/post/?print=true. The script will detect when the print variable is true and know to skip the SWF.

]]>
By: Joeflash https://joshblog.net/2006/06/20/flashtextformatter-with-swfobject-release-2/#comment-197 Fri, 18 Aug 2006 03:44:06 +0000 http://www.zeuslabs.us/archives/76/flashtextformatter-with-swfobject-release-2/#comment-197 Great mod, but my concern with this plugin is it makes printing code from the page impossible. How would you implement an alternate stylesheet combined with the SWFObject that allows the text and not the SWF to show up when the user prints the page?

]]>
By: Josh Tynjala https://joshblog.net/2006/06/20/flashtextformatter-with-swfobject-release-2/#comment-196 Wed, 21 Jun 2006 19:44:34 +0000 http://www.zeuslabs.us/archives/76/flashtextformatter-with-swfobject-release-2/#comment-196 In WordPress, you can type your code like this:

[ftf w=450 h=150]var x:Number = 0;

function doSomething():Void
{
    callSomethingElse();
}[/ftf]

The plugin will remove any html tags (WordPress likes to add extra line breaks and things), and it places the code within pre tags. I should probably use code tags as well, since it’s for code. I believe the only customization options are for the width and height. Maybe the language definitions include more options. I’m not the original developer. I merely patched the plugin to display SWFs via SWFObject so that IE users didn’t have to click twice.

]]>
By: Geoff https://joshblog.net/2006/06/20/flashtextformatter-with-swfobject-release-2/#comment-195 Wed, 21 Jun 2006 14:56:10 +0000 http://www.zeuslabs.us/archives/76/flashtextformatter-with-swfobject-release-2/#comment-195 That’s very nice – what does the code look like on the admin side of things? Is it added automatically?

Also, my code blocks are code tags with pre tags inside (sometimes), would I be able to customize the output of the text version?

]]>