PDA

View Full Version : Linkage Properties and JSFL


dman75
07-18-2006, 10:40 AM
Hello all,

This is my problem.

I Imported a PNG file into the library.

Using JSFL I'm trying to get the linkageExportForAS property.

fl.getDocumentDOM().library.getItemProperty(\"linkageExportForAS\")

If the 'Export for Action Script' is not set, I do get 'false' when getting the property (which is correct)

The weird thing is that if the 'Export For Action Script' is set to true (flagged) I'm getting "undefined".

Does anyone has a clue????

Thank you.

jjbilly
07-18-2006, 12:45 PM
What happens when you access linkageIdentifier?

(Also - just in case - as you've posted, the word linkage is broken by a space - no chance you've copied it in from your code like that, I suppose?)

dman75
07-20-2006, 06:59 AM
thanks for the reply,

The LinkageIdentifier acts correctly, meaning that if the 'ExportForActionScript is off it returnes 'undefined', If its on it returns the name of the file.

What am I missing?

Thank you.

mooska
07-20-2006, 07:19 AM
Maybe adobe/MM forget to update this property for bitmap. In mx2004 you couldnt set this for bitmap object.