| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
milky...
|
is there anyway of creating a list of all the things in the library, what their linkage is and other details like that? I tried the generate size report, but it only lists Symbol, Shape Bytes, Text Bytes, ActionScript Bytes.
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Feb 2001
Location: vancouver
Posts: 2,219
|
You could do it with JSFL, but not Actionscript...
K. |
|
|
|
|
|
|
|
|
#3 |
|
milky...
|
Thought so, Don't know of anything do you? Or can point me in the right direction?
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Feb 2001
Location: vancouver
Posts: 2,219
|
In terms of a JSFL script? Something like this maybe:
ActionScript Code:
Check out the JSFL dictionary for more details on the available properties - you'll mainly need to look at the Library and Item classes... http://www.macromedia.com/livedocs/f...45.html#120689 HTH, K. |
|
|
|
|
|
#5 |
|
milky...
|
Thanks, this is very useful.
|
|
|
|
|
|
#6 |
|
milky...
|
OK, i pasted your code in (which i'm not sure you intended) and it didn't display anything. Was that the wrong thing to do?
I looked through the documentation and couldn't find any reference to libItems.name, libItems.itemType or libItems.linkageIdentifier Last edited by ubergrafik; 03-24-2005 at 02:24 AM.. |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Feb 2001
Location: vancouver
Posts: 2,219
|
That is not actionscript, as mentioned it is JSFL...
You need to create a new Flash Javascript file, paste in that code, and save it. Then run the script from the Commands/Run Command menu... K. |
|
|
|
|
|
#8 |
|
milky...
|
Cool. Working. I'll tweak it and let you know how i go. Thanks!
|
|
|
|
|
|
#9 |
|
Flash Sucks
|
why do you need this? if you don't mind me asking.
-Michael |
|
|
|
|
|
#10 | ||
|
milky...
|
I have a large library and wanted to get all the settings recorded somewhere, so it can be referred to at a later stage.
FYI, this is saved out as a jsfl file and put into the commands folder and run from inside flash. I'll post up the final version with instructions when it is going... OK, I'd still like to do a few things tho. So far, I have all the info that i need, printing out line by line in the output window. Code as follows: ActionScript Code:
OK. So here's how it outputs: Quote:
Quote:
Cheers!! |
||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|