| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
a little doody i whipped up.
open a symbol with stuff on it. run the command, in the ouputwindow a class shell will be generated containing all the vars and includes declared. for explanation view: http://johan.plasmapudding.com/index.php?id=228 for download of mxp: http://www.lennel.net/commands/classBuilder.zip hope it helps someone. |
|
|
|
|
|
#2 |
|
Tracing The Dark
Join Date: Sep 2004
Posts: 538
|
How to retrieve the symbol name in the library of the object which is on the stage
EX: by using following we will get the instance name of an element : fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].name I have a standard format of creating certain flash files. Where in I will have to check if there is a certain movie clip on the stage which doesn’t have an instance name. I know the Symbol name. How do I find this movie clip is present on the stage? Thanks ![]() |
|
|
|
|
|
|
|
|
#3 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
aah if u go through the code for this extension u will c a line something like this:
(took me a while to find it as well!!!) fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].libraryItem which is then the item object in the library |
|
|
|
|
|
#4 |
|
Tracing The Dark
Join Date: Sep 2004
Posts: 538
|
Thanks a lot for that...i just want to add some thing: fl.trace("mayur " + fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].libraryItem ) this gives u out put [object ,libraryItem ] while fl.trace("mayur " + fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].libraryItem .name ) gives u the name ex : if the name in the librbry for that item is "mayur" then it gives the out put as mayur ![]() |
|
|
|
|
|
#5 |
|
Tracing The Dark
Join Date: Sep 2004
Posts: 538
|
I want to delete all the items in the lirary which do not have a linkage name and those which are not used onto the stage
Pease suggest me some thing ......... |
|
|
|
|
|
#6 |
|
Tracing The Dark
Join Date: Sep 2004
Posts: 538
|
hi!!!!!!!!!!!!!!!!!!!1
I started it this morning i did it... I am succesfull to remove all unused items form the library ..... |
|
|
|
|
|
#7 |
|
Tracing The Dark
Join Date: Sep 2004
Posts: 538
|
I want to access the child movie clip of any movie clip which is on the stage (using jsfl)
plz help me out |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|