Groups | Blog | Home
all groups > flash exchange extensions > july 2007 >

flash exchange extensions : Broken JSFL Commands


JSFL monkey
7/2/2007 7:10:06 PM
Anyone at Adobe I could use your help!

I'm an experienced JSFL developer, and there's a few serious bugs in the CS3
version of JSFL.

1. The library.updateItem() command causes the Flash Authoring environment to
completely crash. In my search for information, I saw a post from another JSFL
developer out there with a
[h]Text[/h]http://bbs.coldhardflash.com/viewtopic.php?p=5079&sid=70914cc4151ad43
143f446ac7eba8682.

Even the most simple use of this command, such as this one-line piece of code,
crashes Flash:

fl.getDocumentDOM().library.updateItem("nameOfItemInLibrary.png");

2. The new fl.findObjectInDocByName() command and fl.findObjectInDocByType()
command don't work. Any attempt to use them results in the error that the
command is "not a function."

I'd like to know what is going on with this... Does Adobe know about this? Are
there any plans to fix this? Am I crazy? Is there something wrong with my
particular installation of CS3? If the updateItem() command works fine in Flash
8... but not in CS3, is this an indicator that Adobe has no intention to
maintain JSFL in future versions of Flash?

Also, here's one other question which is slightly off-topic... Is there any
chance of adding a JSFL command that will tell you the location or pathname to
a library bitmap's source file on the hard-drive? This is a significantly
useful bit of information that cannot be accessed through JSFL in any other way.

Thanks for any information!

Bilyk
7/10/2007 4:06:37 PM
I'm also having problems with CS3 JSFL. In particular: this doesn't work for me anymore.

fl.getDocumentDOM().library.itemExists("linkageID")

Bilyk
7/10/2007 4:11:18 PM
Ah... they changed it on me.
it's no longer itemExists("linkageID")
but
itemExists('Folder_1/Symbol_1')
gangsterflashman
7/12/2007 12:00:00 AM

ceflash.com
9/24/2008 12:42:27 AM
I think i meet the same problem.
Flash CS3 crash, even I use the sample code.

From http://www.developmentnow.com/g/67_2007_7_0_0_990564/Broken-JSFL-Commands.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button