How do the properties of the list of all sprites or the cast members?

How can I create a list of all the properties of all of the sprites in a movie or all the properties of all members of the distribution of certain types?
During development, this is for documentation purposes. The main objective is to properties such as size, position, policies and behavior attached (if 'all' is not really needed).

Any suggestions are welcome.

Arman

on GetABigListOfSpriteProps
start_frame = (the frame)

big_list =]

Repeat with n_frame = 1 to (the lastFrame)
go n_frame

Repeat with n_sprite = 1 to (lastChannel)
If (sprite (n_sprite) game = 0) then
next rehearsal
end if

If (sprite (n_sprite) .startFrame< n_frame="" )="">
next rehearsal
end if

sprite_props = [:]
sprite_props.addProp (#channel, n_sprite)
sprite_props.addProp (#startFrame, sprite (n_sprite) .startFrame)
sprite_props.addProp (#endFrame, sprite (n_sprite) .endFrame)
sprite_props.addProp (#loc, .loc sprite (n_sprite))
sprite_props.addProp (#rect, sprite (n_sprite) .rect)
sprite_props.addProp (#width, sprite (n_sprite) .width)
sprite_props.addProp (#height, sprite (n_sprite) .height)
sprite_props.addProp (#member, sprite (n_sprite) .member)
sprite_props.addProp (#name, sprite (n_sprite). member.name)
sprite_props.addProp (#type, sprite (n_sprite). member.type)

case (sprite (n_sprite). member.type) of

#text, #field:
sprite_props.addProp (#font, sprite (n_sprite). member.font)

#bitmap:
sprite_props.addProp (#depth, sprite (n_sprite). member.depth)

cases of termination

sprite_behaviours =]

Repeat with n_behaviour = 1 to the sprite (n_sprite). scriptList.count
sprite_behaviour = [:]
sprite_behaviour.addProp (#member, sprite (n_sprite) .scriptList [n_behaviour] [1])
sprite_behaviour.addProp (#name, sprite (n_sprite) .scriptList [n_behaviour] [1] .name)
sprite_behaviour.addProp (#properties, value (sprite (n_sprite) .scriptList [n_behaviour] [2]))

sprite_behaviours. Add (sprite_behaviour)
end repeat

sprite_props.addProp (#behaviours, sprite_behaviours)

big_list. Add (sprite_props)

end repeat

end repeat

go start_frame

return big_list
end

Tags: Director

Similar Questions

  • Are there script manager code resp. beyond the "cast members"?

    Hello

    Currently, I am working on a big project little documented in the jargon of the Director / without having built myself. So, I am facing a lot of issues and problems.

    (I work with the German edition, so maybe that some of my Director translated English terms are not correct.)

    This time I am facing a very strange behavior of the application. There is a parent script named "PersonalZelle" (personal cell) that has a function named "switchCameraCB". I have not found any call of this function by text search in other scripts. I've tried choosing to search "all members of the distribution" (German: "Alle Besetzungen"). But placing a breakpoint there and debugging, this function is actually used in the currently running application! How can O.o this be?

    So my questions are:

    (1) are there any 'hidden' scripts/code beyond the cast members? If so, how can I find them?

    (2) otherwise, how is it possible to have a function/method used if no code is actually not called it?

    Second example:

    In another script, there is a variable named piVideoNum. This variable is NOT instantiated, and no value it is given in any of the code. But he debugging, there always the correct value that it should have. How can this be? O.o where it takes the value of? As much as I know there is no interface user-part with this fixed variable. In the user interface, you have three videos which you can klick, and if klicked, the correct number of video is recorded in piVideoNum. But in the script attached behavior, there is nothing. The method that handles the klick calls another method and sends the piVideoNum - without having changed before. Perhaps it is also done by some code/script 'hidden '?

    Does anyone have an idea? That would be very helpful!

    I need to change this method, but if I don't know how it works, there is no possibility...

    Well, not exactly.  The beauty of 'ownership' is that each sprite that uses this behavior has it's own, unique value for this property - that is not as a global variable.  So, whenever you click on one of the videos, it will use its own value for this property.  It seems that in your case, they never change, so one of the videos always has a piVideoNum property whose value is set to 1, and another video is configured to use the number 2.  You get the idea.

    They are essentially of three different variables, and you can see it by going to the frame and then typing in the message window:

    put .piVideoNum sprite (1)

    put .piVideoNum sprite (2)

    put .piVideoNum sprite (3)

    (except, of course, use correct sprite numbers), and you will see 3 different values.

  • How do the group members list by using the portal api?

    Hello.

    the CDIP does not provide the means to members of the group list (users or groups), and I think that it is a common need among our community.
    Anyone know how to do with the portal api?

    Thanks for your help and your time.

    Sébastien
  • 15 - n205nr: HOW can I GET a BUILD LIST all THE COMPONENTS OF MY LAPTOP HP 15-n205nr?

    HOW can I GET A BUILD LIST SHOWING all THE COMPONENTS OF MY LAPTOP HP 15-n205nr?

    Hello

    His record:

    http://support.HP.com/us-en/document/c04026602

    and hardware information:

    http://PartSurfer.HP.com/search.aspx?SearchText=F5Y79UA

    Kind regards.

  • How to print (or export) a list of the books in the iBooks?

    I don't want to print the books themselves, just a list of all the books I own. I would rather print the list directly from iBooks, but it would also work to export the list of numbers or pages and print it from there. I can never remember what I have a lot of books. I even bought the same book twice.

    Hey, Krasna.

    Thank you for using communities Support from Apple. Purchases of information tells me that you are eager to find out how you can keep track of your iBooks. I have lots of iBooks myself, so I certainly understand wanting to keep track of them all - I'd be happy to help you!

    While it is not a way to export a list of all your books in the iBooks app, you can see all your books within the application itself. On a Mac, you have several options for viewing your iBooks, all listed through the top center of the application.

    1. Under the books section, you will see all your books and their covers. A cloud in the upper right corner icon means that you bought the book, but it is not downloaded to your device.

    2. Under the Collections section, you will have the option to search through all the purchases of your iBook as well as of different categories such as books, files, PDF and the current (which shows iBooks you are currently reading).

    3. The authors section allows you to see all your iBooks, sorting by author.

    4. The Categories section lists all your iBooks by category, for example, Action & adventure, Fantasy or Biographies.

    5. Finally, the section of list displays all your iBooks, in alphabetical order, in a list. You also be able to see the title, author, category, collection, read last date, date added, size, and that he has downloaded on your device, or even in the cloud. This is probably the view you'd be more interested in keeping track of what iBooks you already own.

    You can take screenshots of the list of books you have and you can print if you want a printed list of the books you own. You can find out how to take a screenshot here:

    How to take a screenshot on your Mac - Apple Support

    You can get additional information about the use of iBooks in the following article: on iBooks

    Good reading!

  • By the numbers, how do the list tables on the side?

    By the numbers, how do the list tables on the side? It used to be on the side, now it is on the top which is a huge pain.

    This changed in the transition from Numbers2.x too 3.x.

    Unless you explicitly removed numbers 2.x, it is always installed and usable on your computer.  You can locate it in the folder "/ Applications/iWork ' 09.

    You should be aware, that numbers 2.x cannot open files saved numbers 3.x - you can export files from Numers3.x back to Numbers2.x by using the item of menu numbers 3.x "file > export to > number ' 09»

  • How to view a list of all the songs by artist

    is it possible to search for a specific artist, and a list of all their songs to listen to.   Similar to how works Spotify?

    Read this previous post in here Apple Knowledge Base by Swandy...

    Listen to the music of AN artist...

  • How to get a list of all files/folders on the Sansa Clip +.

    Hello

    I have a lot of MP3s on my Clip +, but realize that I put there duplicates in different folders. My plan was to use a command prompt to get a list of all the files on the device, and then use a utility that shows me duplicate names and the locations of the files. I could then simply delete the Clip +.

    The problem, it is that the Clip + is simply presented as a 'portable' in Windows Explorer (Windows 7 Home) - there is no way to assign a drive letter :-( Which seems a bit odd, as it is, after all, plugged into one of my USB ports... I used the dir command on all drives assigned in my computer as "devices with removable storage". One of them must be the port to which the Clip + is attached, but they all say "device is not ready". So the Clip + is not identified in this way.

    Is it possible at all to get a list of the files that are on the Clip +?

    Thank you!

    That's how the Clip + shows when connected in USB MTP mode.  If you connect mode MSC (defined in the control panel), Clip + comes as a disk.

    But: the problem you have is, Windows displays only the files that have been transferred in the Clip + under USB mode then logged in as.  I don't know if this applies to designated offices, but - you could try and see.

    Another solution would be to copy all of your files on your computer, under MTP mode; Delete the files on the Clip +. move the Clip + mode MSC; and then transfer the files to the Clip +.  Now, you should be able to see the files under Windows (always connected in MSC mode) and can run the utilities that you had planned.

    I hope this helps.

  • How to display this window that lists all the devices of storage connected to my PC?

    How to display this window that lists all the devices of storage connected to my PC? It lists each device, how much space is used and how much is free? I sometimes open it by accident, but I can never find it when I'm looking for it.

    original title: storage devices

    Beginning

    Control Panel

    If you the small icons view do the following:

    Administration tools

    Computer management

    Storage

    Disk Managment

    If you have the category view do the following:

    System and security

    Administration tools

    Computer management

    Storage

    Disk management

  • How can I generate a list of all the albums I have in my music library

    How can I generate a list of all the albums I have in my music library

    See http://answers.microsoft.com/en-us/windows/forum/windows_7-sound/how-to-print-a-list-of-items-in-the-window-media/6490fe4f-bb0e-4afa-97ca-3ce58c3aaeba

    but, if you only do this several times, you can use this procedure instead:

    Open a command prompt in your folder music [shift-right click on the name of the folder in the Windows Explorer & select a window of commands here]

    Run the dir/ad/b /s > AlbumList.txt

    Then open the text file in Word and he put away: -.

    Replaceyourusernamewith Nothing \Music\ C:\Users\

    Replace-with ^ t [the code of the tab]

    Select all, convert table to use the trademarks of the tab as column separators

    Select column 1 [the artists], and delete

    If there is garbage in all 3 columns - go just delete the columns thus

    That should leave a unique list of album names

  • How to make a list of all the missing files in a catalog in LR2?

    Is there an easy way to get a list of all the missing files for thumbnails in Lr2? I know that the symbol that appears in the upper right of any particular photo that does not contain the file, but how can I get a list of all these photos for a catalogue (or at least large chunks of a catalog).

    Thank you.

    You can click with the right button on a folder and choose synchronize - it has a button to display the missing files.

    John

  • How to display the list of all the constraints, triggers, procedures... .etc

    Hello
    How to view a list of all the available constraints, triggers, procedures, functions and packages in a database. And how to view its definition?

    user12222356 wrote:
    Not working is this said sql statement "object"sys"". "" DBA_OBJECTS"does not exist"

    OK, so the problem is that you have not allowed access to any data dictionary table. If you want to be able to view all of the DBA_ * dictionary of data tables, you need the ADMINISTRATOR to grant you the privilege to CHOOSE ANY DICTIONARY.

    In the future, when you post an error message, in addition to displaying the error message, it will be useful if you can get the error number, for example, that is, ORA-xxxxx

    Justin

  • How to get a list of all components in the EPM environment and their versions?

    Hi all

    E.M.P. verison 11.1.2.2.x

    I was wondering if there is an easier way to get a list of all components of the EPM environment (planning, Shared Services, EAS, Manager of Calc, etc.) and versions for them all.

    Currently I just go to help-> about the browser, but through the workspace, it gives only the version of workspace of the tabs and irrelevant.

    I'm trying to find the version so that I can apply the relevant patches.

    Thank you

    See you soon,.
    Abhishek

    Access

    c:\Oracle\Middleware\oracle_common\OPatch and race

    opatch.bat lsinventory - oh C:\Oracle\Middleware\EPMSystem11R1 - jre c:\oracle\middleware\jdk160_21-details

    This will give you the complete list of products.

    Concerning

    Celvin

    http://www.orahyplabs.com

    Please check the answers as useful/correct as appropriate

  • How to get a list of all the pipes in a ThinApp

    I have a simple program to list all files in a folder.  I use it to get a list of named pipes by the way
    \\.\pipe\*as the argument, but it does not work if I Pack the program as a fine application.  I get the error code 3 (ERROR_PATH_NOT_FOUND).  I tried to use CreateFile on
    \\.\pipe\but he also failed when running as a ThinApp. Are their ways to get a list of all the pipes in a ThinApp?  Here is the source code.

    #include <windows.h>
    #include <tchar.h>
    #include <stdio.h>
    
    #include "stdafx.h"
    
    int main(int argc, char* argv[])
    {
       WIN32_FIND_DATA FindFileData;
       HANDLE hFind;
    
       if( argc != 2 )
       {
              _tprintf(TEXT("Usage: %s [target_file]\n"), argv[0]);
              return -1;
       }
    
       _tprintf (TEXT("Target file is %s\n"), argv[1]);
    
       hFind = FindFirstFile(argv[1], &FindFileData);
       if (hFind == INVALID_HANDLE_VALUE) 
       {
              printf ("FindFirstFile failed (%d)\n", GetLastError());
              return -1;
       } 
       else 
       {
              _tprintf (TEXT("The first file found is %s\n"), 
                   FindFileData.cFileName);
    
              BOOL nextFile = FindNextFile(hFind, &FindFileData);
    
              while (nextFile)
              {
                   _tprintf (TEXT("The next file found is %s\n"), 
                             FindFileData.cFileName);
    
                   nextFile = FindNextFile(hFind, &FindFileData);
              }
    
              FindClose(hFind);
       }
    
       return 0;
    }
    

    OK, so what about the original example of FindFirstFile, if I try with 4.6 it does not work for me. I use 6 VC to create the application and then add it to the cmd project and then rebuild. I tried these combinations:

    App.exe \\.\pipe\* (this works)

    App.exe \\.\pipe\ (this does not work, in native mode as it does not work)

    App.exe //./pipe/* (this works)

    App.exe //./pipe/ (this does not work, in native mode as it does not work)

    can you tell me about the results you get when you try the above?

    Thank you.

  • How to get a list of all the tags of XMLElement

    (CS5, Win7 64 bit)

    I need a list of all unique XML tag names in a given document (just as the Panel tags in InDesign itself).

    I couldn't find a 'normal' way (builtin - in the property or method) to obtain the information. Instead, I found that I had to process recursively through the entire tree of XMLElement, starting with the root element. For a large document, it can take almost a quarter of an hour, and sometimes I have to do it for a book of InDesgin INDD files huge more than a decade.

    There MUST be a better way, right?

    It would be better if I was done through all the PageItems in the document and then recurse XMLElement each PageItem l‟arbre? I guess that would not make a difference to fade way.

    I'm open to suggestions...

    TIA,

    mlavie

    Try this,

    $.writeln (app.activeDocument.xmlTags.everyItem () .name);

Maybe you are looking for