Archive forJanuary, 2006

Two “Out-of-the-Box” Tooltips

This time i offer two different tooltips i used in recent projects. They are pretty easy to use.

The first one gives you the ability to set text, width and mousefollow. The MovieClip automaticly breaks the text to the set width, the height is as high as it needs to fill the text in. Inside the mc you find a guide textfield, here you can change you typo. Also you find a fin mc. You can exchange the png inside or draw a vector fin. Keep in mind, that the peak of the fin has to be on the coordinates 0/0.

The second one is for horizontal use only. It has no width or mouse parameter.

Download Tooltip1
Download Tooltip2

Comments off

Details of the JSFL-Bug

Like i wrote in the previous Post, there is a Bug in JSFL which makes it impossible to implement a requested feature. Here more detailed to give Adobe a hand to find the problem.

To set the linkage behavior via JSFL you skript this:

fl.getDocumentDOM().library.items[0].linkageExportForAS = true;
// enable the linkage export for the first item of the libary

This works perfectly with movieclips. When you try to do this with a image it doesn’t work, the behavior don’t chage.

Now the strange part. Tracing the linkageExportForAS of a image with

alert(fl.getDocumentDOM().library.items[0].linkageExportForAS)
// trace linkageExportForAS for first frame in the libary

returns false if the no linkageExport is enabled (corrent). But when you set the linkageExport for the image manually, it traces undefined. Which means that even when you already set the linkageExport manually and you want to disable it, it’s not working.

Comments off

Tried to upgrade IFC2MC - and failed…

Michael Kneib thought is might be useful not only to have the ability to set the export settings for a generated mc but also for the image itself. So you can access the images via BitmapData.loadBitmap(). Unfortunately because of a bug this seems to be impossible. Though this is obviously possible with movieclips (and maybe also with buttons, graphics and even wav, i didn’t test them) there seems to be a bug when you try to set the linkageExportForAS for an image.

I already wrote a bugreport to adobe, i hope they fix that problem soon. Since this is only a problem concerning the authoring program maybe Adobe fix that on their patch day. Until then you sadly have to wait for this feature…

Comments off