« [OT]: Mr.Techno - A very funny video | Main | [OT] Signs You're a Crappy Programmer (and don't know it) »

Hacking your way around FlashPaper API's - A almost complete Object Dump of the various Flash Paper API's

Listen to this article Listen to this article :: Talkr

FlashPaper is do damn good but the only problem is that you cant really get the full potential until you hack around a bit. In my case I was creating a online catalog which has multiple pages and a page flip effect and there are around
1000's of these pdf documents which has to be converted into online and have the flip effect.

Obviously the easiest approach would be to batch convert these PDF files into FlashPaper SWF's and then loading them into a Flip Book Player. But the only problem is that you really cant have each of the page on a flip book contain all the FlashPaper controls. I started hacking around it and I am almost done disbaling everything and customizing the look to what I want it to look like.

Here is a Object Dump of all the FlashPaper SWF contains and luckily most of them can be tweeked. Check this out, it has 100's of properties which you can hack around.

This page contains the Object Dump which lists (mostly) all the API's available and their values and types : FlashPaper API - Object Dump.html

Out of all these the most used ones would be:

1) To make the complete toolbar invisible. With this you should be able to get rid of the Flash Paper logo as well

.toolbar_mc._visible = false;

2) If you are working on a single page SWF and you dont want to show the disable scrollbar which lies there useless then you can use the ones below.

_root.theDocMC.document_mc.y_sb._alpha = 0;
_root.theDocMC.document_mc.x_sb._alpha = 0;

Note:

The page flip effects seems to be damn slow when using SWF's instead of JPG's or MovieClips. Does anybody out there know of a good opensource Flip Book which is fast, sleek, fancy and still works great with external SWF's?

|

TrackBack

TrackBack URL for this entry:
http://www.lastashero.com/blog/mt-tb.cgi/29

Comments

Hi there, thanks for the objeck dump. I have just started playing around with flash paper for a page flip (how original) for a conttact. I now see what you mean about it being slow. Did you find a way aroud the slowness? I am using Dynamic page flip v2 found here http://76design.com/shiftcontrol/index.php/2006/08/22/dynamic-page-flip-v2/

If you have found a way to deal with flash paper swfs moving fast I would love to know.

THanks

Yes, the page flip gets really slow. I think the only way to get it faster is to set cacheAsBitmap on the mc where you load your swf:s.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Recent Visitors

Feeds


Link to Podcast (RSS feed) for this blog

Aggregated By :