The storage objects and listeners (base)

A wannabe-AS3 newbie question. My problem (I think) removes unwanted objects and listeners that I switch from one mode to another in my project... Although my difficulty behind which is probably insufficient understanding of the basics of the display list.

In a "mode" of my project, I generated the following structure:
1... sprite ("reviewPage");
2a......... Some graphics on reviewPage
2b......... TextField ("commentBox");
2c......... A number of Sprites ("displayCard_1", "displayCard_2"... "displayCard_n");
3a............. Some graphics on each displayCard;
3b............. Multiple EventListeners on each displayCard (e.g. displayCard.addEventListener (MouseEvent.CLICK, gotoReviseCardMode, false, 0, true))
3c............. TextField (questionBox_1 ""...) "questionBox_n");
3d............. TextField (equationBox_1 ""...) "equationBox_n");
3e............. TextField (answerBox_1 ""...) "answerBox_n").

One of the eventListeners attached to each Sprite displayCard calls a tidy supposed to function, unwanted objects and eventListeners and then move the activity to another mode, defined by another function.

There is only one child on the stage. I guess this will be my reviewPage with all the objects it holds. However when I draw it, and it's name, I get 'root1 [object MainTimeline] ". With the help of stage.removeChildAt (0) removes all visible objects in the display list and left me without children on the scene.

I tried to 'Explorer' my structure by writing a small function to identify each object/container and the hierarchy of the objects attached to them... but have been spectacularly failed in this effort and still overwhelmed by the error messages.

I have a couple of issues / questions:
1. can I remove all eventListeners when I stage.removeChildAt (0)?
2. do I still need to remove these objects from memory? If so, how? How can I explore what listeners and objects use memory after I tried a cleaning like that?
3. How can I remove one of the TextField objects, say answerBox_212, or one of the eventListeners attached to one of the "displayCard" Sprites, the list display and memory?

Any guidance would be greatly appreciated.

See you soon
Dougal

A wannabe-AS3 newbie question. My problem (I think) removes unwanted objects and listeners that I switch from one mode to another in my project... Although my difficulty behind which is probably insufficient understanding of the basics of the display list.

In a "mode" of my project, I generated the following structure:
1... sprite ("reviewPage");
2a......... Some graphics on reviewPage
2b......... TextField ("commentBox");
2c......... A number of Sprites ("displayCard_1", "displayCard_2"... "displayCard_n");
3a............. Some graphics on each displayCard;
3b............. Multiple EventListeners on each displayCard (e.g. displayCard.addEventListener (MouseEvent.CLICK, gotoReviseCardMode, false, 0, true))
3c............. TextField (questionBox_1 ""...) "questionBox_n");
3d............. TextField (equationBox_1 ""...) "equationBox_n");
3e............. TextField (answerBox_1 ""...) "answerBox_n").

One of the eventListeners attached to each Sprite displayCard calls a tidy supposed to function, unwanted objects and eventListeners and then move the activity to another mode, defined by another function.

There is only one child on the stage. I guess this will be my reviewPage with all the objects it holds. However when I draw it, and it's name, I get 'root1 [object MainTimeline] ". With the help of stage.removeChildAt (0) removes all visible objects in the display list and left me without children on the scene.

I tried to 'Explorer' my structure by writing a small function to identify each object/container and the hierarchy of the objects attached to them... but have been spectacularly failed in this effort and still overwhelmed by the error messages.

I have a couple of issues / questions:
1. can I remove all eventListeners when I stage.removeChildAt (0)?
2. do I still need to remove these objects from memory? If so, how? How can I explore what listeners and objects use memory after I tried a cleaning like that?
3. How can I remove one of the TextField objects, say answerBox_212, or one of the eventListeners attached to one of the "displayCard" Sprites, the list display and memory?

Any guidance would be greatly appreciated.

See you soon
Dougal

Tags: Adobe Animate

Similar Questions

  • What to use for the storage media and backup?

    What material and components should I buy if I want to automatically back up our three Macs and watch downloaded (NOT continuous) movies on TV?

    Here is our current configuration:

    -Computers: (Mac Mini, MBP and Air)

    -Router/backup: via TimeCapsule (with our satellite Internet connected to the TimeCapsule via ethernet input)

    -Film/storage media: digital WD hard drive

    -J' have an Apple TV (3rd generation), but we do not use it... cannot

    We currently live in Kenya, where internet speed is not great... so we are unable to stream movies.  Average speed is about 100 Kbps.  Have about 2 TB of movies we watch currently on TV by plugging a portable hard disk into the DVD drive. I know enough that IT is dangerous (e.g. not much!), but need advice on options on a good way to potentially combine these requirements (storage backup and film). Potentially, something like a new RAID drive plugged into a router. RAID drive backups using Time Machine and then also has films on which can be wired (via the USB port? Ethernet to Apple TV 4th Gen to HDMI to TV?) TV to watch movies. Not sure if I need something like Plex media server or something to do, however.

    Thanks much for any help!

    I suggest that you consider a dedicated NAS device. An example would be the Synology DS416.

  • Import only the public objects and patterns

    Oracle 11.2.0.1

    I have a test database set up with all users of the application - no data, no object.

    I want to import only (production), users of the DDL application and also public objects such as synonyms and links from db. This will give what I need?

    impdb system/******@orcl parfile=imp.txt
    
    
    --parfile contents
    full=yes
    network_link=remote_link
    content=metadata_only
    directory=DATA_PUMP_DIR
    logfile=schema_only_from_prod.log
    INCLUDE=SCHEMA:"IN('APPSYS1_GLOBAL','APPSYS2_GLOBAL','GLOBAL','PCDB','QDB','VCDB','ZAP')"
    
    

    Hi orclrunner,

    This command will import all the metadata this schema in your clause 'include', including the structure of the table and other items. If you want just synonymous inside and db links patterns, I think that you need will use the 'patterns' clause to specify patterns and the include to specify that you want just the links to the db and synonyms.

    Something like this:

    impdb system/***@orcl parfile = imp.txt

    -parfile content

    schemas = APPSYS1_GLOBAL, APPSYS2_GLOBAL, GLOBAL, PCDB, QDB, VCDB, ZAP

    network_link = remote_link

    Content = metadata_only

    Directory = DATA_PUMP_DIR

    logfile = schema_only_from_prod.log

    INCLUDE = DATABASE_LINK, SYNONYM

    Sorry, I can't test whether the syntax of the command is correct at this time.

    I hope this helps.

    Kind regards

    Anatoli has.

  • Sizing the storage SAN and RAM

    Hello

    I intend to install a VView infrstaructure into our existing environment VI. We currently hold 21 ESX host and we intend to use 4 of this virtual host ESX to run jobs for a call center.

    We'd start with 140 thinclients (Wyse or SunRay) and I begin to get an idea of the minimum requirements of storage I need. I would use the technology of cloning related.

    My figure is really simple:

    140 posts Vista running applications office and IE only.

    Our ESX hosts are HP Proliant BL460c blade with two quad core 2.66 Ghz proc, they currently have 16 GB of RAM installed.

    Is it realistic to predict a simple requirements as follows:

    RAM: 140 x 512 MB RAM: 70 GB of RAM spread over three ESX

    SAN: 140 x 15 GB = 2.1 to

    Agreed!

    Less Ram, fewer resources, less use of the drive, better compatibility...

    We keep round 200 vm per lun for our VDI, but this depends on how you have your set up storage space and the table itself (if it is capable of it).

    W

  • The selected objects and the markers?

    Hello!

    Not sure what just happened, but I think I can hit a hotkey shortcut to hide the visual aid for the selected objects.

    How can I change this back? I can't see which element (object, anchor, path, etc.) I chose on my work.

    This happened to me before and I don't remember how I fixed it, although I know it's a simple solution.

    Googling didn't help me, I'm afraid.

    View > show/hide edges.

    JET

  • Make the visible object, and then print?

    Apologies for being a tad lazy... after finally got my head around the basics of dynamic forms and managed to create the shape that I wanted to, I'm kinda stuck on javascript, and my brain (mathematically hopeless) text based will probably take months to understand the code required for the final piece of the puzzle.

    In its newly opened State, my form has all the fields of user on page 1 input and an object of the containing page 2 assembly instructions text field.

    As the shape may extend to 2 or sometimes even 3 pages at the end, the subject of guidelines (which almost fills a page and does not allow for breaks) will move to page 3 or 4.

    The purpose of guidelines is visible (display only).

    I added a subform with two fields impression over the subject of the text of the directive. One is the standard print button that prints the entire document, and, as expected, the directives do not print.  The other was to print the form and guidelines, but it does not make the visible guidelines.

    So... the first question is, can someone tell me why this script does not work? (no action at all, but no syntax error)

    + PRODUCT - CHANGE NOT (ID:E8C4C0CE-1372-4CCB-96F3-AA8469CAF35F CRC:1860632424)

    + Type: Action

    + Result1: SetPresence ("$Node2", "visible")

    + Node2: form1 [0]. Text6 [0]

    + Node1: form1 [0]. #subform [23]. PrintButton2 [0]

    + Condition1: Button ("$Node1", "click")

    + ActionName: PrintButton2.click

    this.resolveNode("Text6").presence

     

    XFA. Host.Print (1

    , "0" , (xfa.host.numPages 1).toString() , 0 , 0 , 0 , 0 ,

    (0);

    Better yet: y at - it a (not excessively complex) way to print a specific object only (in this case, the guidelines text field)?

    Thank you very much!

    Hello

    Your form is already dynamic (flowing), then for your second button print, you can hide the main pages in the click event, print the remaining pages and then finally show all pages.

    If you are looking for the syntax change the presence and properties of an object (Text6) watch here: http://assure.ly/h7whb8.

    This will allow for example the object is visible and printing:

    Text6.presence = "visible";
    Text6.relevant = "+print";
    

    To change back to Visible (display only):

    Text6.presence = "visible";
    Text6.relevant = "-print";
    

    Hope that helps,

    Niall

  • using the JavaScript object and flow

    Two problems:

    Problem 1

    I'm trying to understand the best way to manage a service on the attached form (the form is under construction and messy!).

    There is a requirement to attach files to the form. I have it understood, but would like to cope better. There are about 8 places to attach files, and each time I move things around I need to change the code for each button, so I think that function in a script object implementation is the way to go (let me know if there is a better way!).

    I think I've learned how to work the script objects, but have not tried this although there are has a few pieces I could not understand yet.

    The way it works now, it's you click on the button to fixation, attach a file and the file name is entered in the field surrounding the button - there is a separate field around each button (see subform "subProjectInfo.subAttach" on page 2). What I can't understand, it is if I put this in a function/script object, how do I get the name of the file in the appropriate box? I have to return the data back to the button, I guess, which can then fill in the field?


    Problem 2

    At the bottom of the same page (2) is a subform (subProjectInfo.subMilestones) with a table in full expansion. I followed the example in the purchase order example, but I can't get the headers to repeat correctly. When it breaks to a new page, the header above is repeated whenever a row is added.

    Extra bonus question!

    I hope one of you more knowledgeable guys can take a look at the structure of the form and let me know what it feels like to a 'best practices' point of view - use of subforms, that sort of thing. I use a lot of subforms to wrap things and have been wondering about the performance, that kind of thing. This is the most complex form, I've done so far and want to make sure that I'm going down the correct road!

    Hi Jono,

    Hopefully, I've solved your problem 2, I deleted simoly repeat for each item in the MilestoneHeader.GeaderRow [0]. And now it is only repeated for new pages.

    When I have time, I'll try to check your problem 1.

    ARO

    Paul Butenko

  • How/where can I change my payment method for the storage cloud and pay for the app? New card or simply to change date of exp?

    I need to change the credit card I use to pay for storage in the cloud and on the app store. I can't find anything or anywhere to make this change, and of course there is no phone number for questions. Should I just wait until my payments go by?

    Full instructions are in this document of Apple. See the section on the update payment information.

    Manage your account information Apple ID - Apple Support

  • How to get the storage allocated profile and used the plugin vCloud 5.1 Vdc

    How can I get the storage allocated and used for a Vdc in vCloud 5.1 plugin?

    VCloud plugin 1.5, there was a property of VclVdc.storageCapacity give us the space allotted, limit, use (s) and overhead costs.

    VCloud plugin 5.1 we allways null VclVdc.storageCapacity. Then VclVdc.getStorageProfiles () but presents the objects, there is that the "limit value".

    ¿WHERE are the other values?

    I have attached two screenshots. vCloud console shows the data, but not vCloud plugin.

    Thank you very much.

    Damian

    Tell me if this work. This was written in a few minutes.

    var host = vdc.getHost();
    
    var queryService = host.getQueryService();// toAdminObject().getAdminQueryService();
    
    var profs = vdc.getStorageProfiles();
    
    for each (var prof in profs) {
    
        var expression = new VclExpression(VclQueryAdminOrgVdcStorageProfileField.HREF, prof.getReference().href  , VclExpressionType.EQUALS);
        var filter = new VclFilter(expression);
        var params = new VclQueryParams();
        params.setFilter(filter);
        var resultSet = queryService.queryRecords(VclQueryRecordType.ADMINORGVDCSTORAGEPROFILE,params);
    
        while (resultSet != null) {
            var records = resultSet.getRecords(new VclQueryResultAdminOrgVdcStorageProfileRecord);
            System.log(records.length + " records found");
                for each (var record in records) {
                    //obtain data from record
                    System.log("storageUsedMB : " + record.storageUsedMB);
                    System.log("storageLimitMB : " + record.storageLimitMB);
                }
        resultSet = resultSet.getNextPage();
        }
    
    }
    
  • OfficeJet 6500 E710a-f: how to download the latest firmware and the BASE driver for my Officejet 6500 on Windows 7

    I'm looking for a way to download the latest driver and firmware base packages for my Officejet 6500 E710a-f for Windows 7, x 64 (latest patches and service packs applied).

    Regardless of the road I take (including the link called "Download drivers"), finding drivers inevitably leads me to the same page that contains the vertical tabs named 'Troubleshooting', 'How to' and so on and none of the links - not even under 'options to support more' - led to a Basic downloadable driver package. In fact, none of them leads to a downloadable driver package of all kinds. The most that I could find is that package Wizard driver installation that attempts to download the package that I am not interested in-oh and a few mentions in the KB articles downloadable driver packages.

    I also tried "Printer Setup, Installation" & Setup and then variously "Installation, install & connect printer ' and 'Software updates' & Firmware, which none offer a downloadable package.

    This used to work perfectly fine a few months ago, but now I'm getting round on the same page over and over again. I can not find the basic driver or the software for the printer more.

    Where can I find the basic driver package (used about 30 MB in size) in order to avoid the crapware included in the package (130MO) "full feature" more great who gets automatically downloaded to an unknown destination on my hard drive using this driver installation wizard. It's my PC and I want to be the one who decides in which runs when and how. Now I can try to track down the location of download using ProcMon and what not, but it would give me is this package 'feature complete' with a bunch of crapware added on strictly necessary. How to get the base driver package?

    Thank you!

    Never mind. Fascinating, the "Download drivers" link under the Support tab at the top leads to a different page that the link "search for drivers' next to my question posted .

    Both methods require enter the name of the model (after picking "Printers" in the first case) in a similar way, but the former led in circles on the same page with no possibility to download, while the latter one immediately takes me to the downloads, I was looking for.

  • Break the association between the object and original transformation?

    Hello

    freehand_t2.png

    After I had created an array of doubles for the original design, I've found that once the original object is modified, all copies are changed automatically thereafter.

    Is it possible to break the link between the original object and are copies of the transformation, so that the subsequent changes can be made on each individual copy?

    Bob

    Change > separate attributes. This will give you the items as a group. The transform is more effective.

    Judy Arndt

  • Sort of rescan the storage for all my guests without going through each of them in vi client?

    I could do it from powershell, that works, but I was wondering if there is a way to GUI to force all hosts in a cluster of rescan for additional storage.

    It is the powershell command in case someone needed it.

    Get-VMHost | Get-VMHostStorage - RescanAllHba - RescanVmfs

    Right click on the cluster object and choose "Rescan for data warehouses" work?

  • State "Unknown" to the storage controller on one of our servers, PowerEdge R730

    Hello

    I'm having a problem with one of our servers. I tried to add all our servers PRTG to monitor the State of health and the hard drives. On two of our three servers, it works absolutely perfect, on our third-party server, all the disks are red because 'the component status' is 'unknown '.

    Then I checked this server iDRAC interface and noticed, that under the "storage->-> health and properties of physical disks" the status field contains a question mark for each hard drive. Under 'Storage-> controllers' fields status for 'Health and Properties' and 'Battery controller' it shows an exclamation mark.

    On our other servers, all statuses are all green. Version of firmware and driver are exactly the same on all three servers. I don't know if it's a hardware problem or if it's just a setting error.

    Any ideas?

    Hello.

    What version of OpenManage Server Administrator, OMSA do you use on a server? You are able to view the status of controller and physical drives in the BIOS of the controller, using Ctrl + R? What version of firmware BIOS, H730P and iDRAC?

  • try to install the storage pool. Windows 8 does not recognize disks external wd 2

    I go to the storage space and try to create the pool.  Windows 8 does not recognize my 2 external drives of 2 TB wd.   I can load files and cannot get the readers in the Explorer of files, but could not create the storage pool.

    The following site can help you create a storage pool:

    http://www.bleepingcomputer.com/tutorials/how-to-configure-storage-spaces-Windows-8/

  • Citing the free transform on the smart object place encompassing top left

    I've got something weird going on in PS CC 2015. It runs on a computer Windows 10. I placed a psd file of a company in the active document logo. I shot it, scaled and added some layer styles. Then at some point I had to resize it again, so I called the free transform command, but now the framework encompassing loads in the upper left corner of the document. Any changes to one of the settings in the Panel Options F. T. causes the logo to disappear completely, even if I can go back to the default values. This occurs only after I added a mask to the layer. Without the mask, everything works fine - add the mask, and I get this oddity.

    No idea why?

    Smart Object Bounding Box.jpg

    the dynamic linked object should update its content

    window-> properties: update of content

    something more I would say... Double-click on the smart object and use the crop inside tool

Maybe you are looking for