Help with removeChild or another solution

I'm a newbie to actionscript 3 and I worked on a brochure portfolio in Flash gallery that swaps the images XML when a thumbnail is clicked.  Currently, everything works fine but the battery of images each other and I want to turn on click.  I searched all over the Internet trying to troubleshoot but the typical fix

If (lArtLoader)

{artImageL.removeChild (lArtLoader)}

does not work.

Can someone guide me in the right direction please? Here is my code. I thank very you much for any help.

var artTitle:Array = new Array();
var artDescription:Array = new Array();
var artLargeImage:Array = new Array();
var artThumbnailImage:Array = new Array();

var artImageNum:Number = 0;
var maxImages:Number;

//LOAD XML
var artXMLURLLoader:URLLoader = new URLLoader();
artXMLURLLoader.load(new URLRequest("portfolio/art.xml"));
artXMLURLLoader.addEventListener(Event.COMPLETE, artProcessXML);

function artProcessXML(event:Event):void
{
     var artXMLData:XML = new XML(artXMLURLLoader.data);
     maxImages = artXMLData.title.length();
     for (var i:Number = 0; i < maxImages; i++)
     {
          artTitle.push(artXMLData.title[i]);
          artDescription.push(artXMLData.description[i]);
          artLargeImage.push(artXMLData.largeImage[i]);
          artThumbnailImage.push(artXMLData.thumbImage[i]);
     }
     loadArtThumb();
}

artThumbSrol.source = artThumbBox;

//LOAD THUMBNAILS
function loadArtThumb():void
{
     var sArtLoader:Loader = new Loader();
     sArtLoader.load(new URLRequest(artThumbnailImage[artImageNum]));
     sArtLoader.x = 137 * artImageNum;
     //STORE INFO IN THUMBNAILS
     var lArtLoader:Loader = new Loader();
     lArtLoader.load(new URLRequest(artLargeImage[artImageNum]));
     var thisTitle:String = artTitle[artImageNum];
     var thisDescription:String = artDescription[artImageNum];
     sArtLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, artThumbLoaded);
     function artThumbLoaded(event:Event):void
     {
          //ADD THUMBNAIL
          artThumbBox.addChild(sArtLoader);
          artThumbBox.buttonMode = true;
          artThumbSrol.update();
          sArtLoader.addEventListener(MouseEvent.CLICK, artLoadMainImage);
          function artLoadMainImage(event:MouseEvent):void
          {
               //ADD LARGE IMAGE AND TEXT, SHOULD SWAP ON THUMBNAIL CLICK
               artImageL.addChild(lArtLoader);
               artHeadL.text = thisTitle;
               artTextL.htmlText = thisDescription;
               artTextL.wordWrap = true;
          }
     }
     artImageNum++;
     if (artImageNum < maxImages)
     {
          loadArtThumb();
     }
}

In this function:

function artLoadMainImage(event:MouseEvent):void
          {
               //ADD LARGE IMAGE AND TEXT, SHOULD SWAP ON THUMBNAIL CLICK
               artImageL.addChild(lArtLoader);
               artHeadL.text = thisTitle;
               artTextL.htmlText = thisDescription;
               artTextL.wordWrap = true;
          }

you take what is in lArtLoader and the addition of artImageL as a new child object. If each new click you are striking down a new image on top of what is already there. To get rid of any child existing objects just look at what's in artImageL and throw him out before put you in something new. It might look like this:

function artLoadMainImage(event:MouseEvent):void
          {
               //ADD LARGE IMAGE AND TEXT, SHOULD SWAP ON THUMBNAIL CLICK
               if(artImageL.numChildren > 0) {
                    artImageL.removeChildAt(0);
               }
               artImageL.addChild(lArtLoader);
               artHeadL.text = thisTitle;
               artTextL.htmlText = thisDescription;
               artTextL.wordWrap = true;
          }

Tags: Adobe Animate

Similar Questions

  • Need help with removeChild

    I so want to do this stuff of animation, which, once the function buttonOff() is called, the existing button is removed, and after 3 seconds it will return. But I can't seem to put the button on

    private function buttonOff():void
            {
                Button3=new LabelButton();
                Button4=new LabelButton();
                Button3.label="Hello";
                Button4.label="There";
                Button4.x=200;
    
                this.removeChild(Button3);
                this.removeChild(Button4);
    
                setTimeout(addBtnChild,3000);
    
            }
    
            private function addBtnChild():void
            {   
    
                this.addChild(Button3);
                this.addChild(Button4);
            }
    

    Hey torres.

    you get compile errors? I don't see where you add the children initially. usually, when you delete an object that is not a child of the parent calling the removeChild method, it throws an error saying that it must be a child. What exactly is what your buttonOff function looks like?

  • help with removeChild

    I have a flash movie in which I created something that works similarly to a calculator. When the user clicks a button, depending on which button was pressed and in what order, a series of video clips is displayed from left to right on positions, using addChild. I have a button on the calculator that I would have to function similar to a button 'Clear' on a real calculator. When you click on it, it would remove that clips of film presented by clicking on the buttons of the calculator. Can someone point me in the right direction as to how I can remove only the clips that are part of the screen of the calculator? Some examples of code.

    var mcSelection:MovieClip = new MovieClip();

    Check how many times clicked a button on the calculator
    function checkTime()
    {
    If (counter == 1)
    {
    mcSelection.x = 94.4;
    mcSelection.y = 264;
    }

    Else if (count == 2)
    {
    mcSelection.x = 121,9;
    mcSelection.y = 264;
    }
    etc, etc...

    for the buttons of the calculator
    function onClick_4(evt:MouseEvent):void {}
    Counter = counter + 1;
    checkTime();
    var mcNum4_1:MovieClip = new mcNum4;
    addChild (mcNum4_1);
    mcNum4_1.x = mcSelection.x;
    mcNum4_1.y = mcSelection.y;
    }

    I tried different variants of removeChild and removeChildAt, but both parts of the calculator are getting deleted, or I remove the parts of the screen a clip at a time instead of all together, or I get errors in the range. How to target a range of clips to remove? Do I need to assign a specific level range when new clips are added and then delete this beach? It will be a different number of clips and clips combination every time.

    Thanks for all the ideas.

    you click return back you're not updating your table.

  • Help with a quick temporary solution

    I'll have my rebuilt exchange server so I bought a desktop computer HP slimline can I install exchange on a desktop computer

    The form factor of the real hardware is not relevant, but you must run a server operating system to install Exchange Server.

  • I need help with the Sunbird calendar, how do I transfer it to another computer to my iphone?

    I installed Sunbird in a computer and my calendar has all my info, events and task that I would like to see on another computer I just download Sunbird in. Also, is it possible that I can access Sunbird on my iphone?
    Thank you in advance,

    Try the forum here - http://forums.mozillazine.org/viewforum.php?f=46 - for help with Sunbird, this forum is for the support of Firefox.

  • I was told that I have to disable my account from my PC to add to another computer... I've done it before and I lost many of my images that were on LR.  No matter WHAT HELP with this please

    I'm trying to load another computer with CC, I was told that I have to disable my PC mine.  I did once before and lost a lot of my images from LR, suggestions on this please.

    I do the LR back ups system too.

    Thank you very much

    PAM

    Hi goaliemom

    There is no way to disable CC products. When you enable a CC product on another computer, simply connect to Creative Cloud.CC will ask you if you it will activate on more than 2 computers.

    I've done it before and I lost many of my images that were on LR.  No matter WHAT HELP with this please

    On the computer on which you will see that your images are not displayed?

    Catalog check the most recently used file > open recent in Lightroom

    Try opening a recent backup made on your newly added computer

    ~ Assani

  • Help with solution of Liz Castro iBooks bug when resizing images in epub for iPad

    Hello world.

    I create an epub for iPad with small images that will expand when they are tapped. I read Liz Castro book and blog article and learned the bug with iBooks and the solution, which, like an HTML novice, I found it difficult to understand.  It took me some time to make it work, but I just wanted to share my (imperfect) progress for other laity or secular and ask for help!

    I just add this in my template.css

    {div. Group}
    Width: 50%! important;
    }
    img {width: 100%;}

    and in each of my html chapters where there is an image, I removed the img src reference that has been automatically generated by Indesign and added this...

    < div class = "group" >
    < img src = "exampleimage.jpeg" alt = "This is an example" / > "
    < / div >

    I rezipped my files, transferred to my iPad, and the images appear small and expand when double-tapped. Fantastic! Thanks to Liz Castro. It is a bigger step.

    But it is not perfect. I would like my image to be aligned to the centre and to ensure that there is some space between the text and the image. My images are now aligned to the left, and there is no space between them and the text preceding and following them, so that it looks like a mess on the page. Before I changed the code it worked well, after I changed it it does not work. When I initially exported the InDesign file, on the Image taitouche set the spacing to the Center and 2ems has added to the image and check the box to Insert a Page break before and after a page break.

    To remedy this, I added the following to the div.group in css

    text-align: center;

    top of the margin: 2em;

    margin-bottom: 2em;

    When I converted it to an epub I've seen there is no center of the image, but there was a margin at the top and bottom. While the file opens in the problem of Sigil that it won't transfer to iBooks on the iPad, which I think means that there is a coding error.


    Is anyone know how can I Center of the image and add some space between him and the text?

    Any help would be highly appreciated.

    Some things to consider:

    1 centering and space above and below your div can be done in CSS with:

    {div. Group}
    Width: 50%! important;

    top of the margin: 1.0em.

    margin-bottom: 1.0em;

    text-align: center ;}

    There might be other ways improve to achieve this. I am not an expert in CSS or HTML; I know that what has worked for me in previous projects.

    2. in iBooks, there is a bug (or "feature") which causes the iBooks to ignore text-align for some items (such as

    ) if iBooks preferences are set to full Justification = WE. Instead of being centered, these items will be left-aligned (or perhaps justified? I have not tested). This is the default setting, so most users likely to leave like that. (the elements are not affected by this bug.)

    This is detailed in one of the blog posts from Liz Castro and also on the blog of Walt Shiel:

    http://www.pigsgourdsandwikis.com/2010/06/beating-iBooks-bugs.html

    http://waltshiel.com/2010/06/23/one-solution-to-iBooks-1-1-centering-problem/

    One of them is to wrap the text inside such an element in the empty tags .

    3. I don't know what is your target audience, but keep in mind that iBooks is far behind Amazon and BN.com in terms of volume sales. Kindle and the Nook do not support resizing images (again, in any case), so unless your book depends on this photo processing to deliver his message, you could put a lot of time and effort in a feature that few readers (yet, cases) can take advantage of.

    4. If you use Twitter, you can follow the hashtag #eprdctn - it is used by a small community of designers in the ebook to exchange information on the evolving ebook design world.

    5. other good sources of information:

    http://ebookarchitects.com/

    http://www.kindleformatting.com/ (I know it is not related to iBooks, but it is full of good info)

  • There is no RESET FUNCTION of FIREFOX in my version of Firefox 16.0. Do you have another solution?

    Your solution to reset Firefox doesn't seem to be available in version 16.0. You have another solution or can you help me understand how to RESET the version 16.0?

    Upgrade to Firefox 29 is not possible in this case because the versions of Firefox need OS X 10.6 or later.

    Latest Firefox for Mac OS X 10.5:

    Another option to consider is to install the latest version of Firefox 10.0.x ESR that this version is newer than the version of Firefox 16.0.2.

    What kind of question (s) you want to reset Firefox do you have?

    You see only the reset button on the page "help > troubleshooting information" If you use the profile that is marked as default value = 1 in the profiles.ini file.
    If you do not have the "Reset" button then either use the Profile Manager to create a new profile or use the Profile Manager to start with the current default profile for the reset button in Firefox.

    Create a new profile as a test to see if your profile is the source of the problem.

    See "create a profile":

    If the new profile works then you can transfer files from a profile already used in the new profile, but be careful not to copy files corrupted to avoid transporting on the problem

  • Very slow Macbook Pro (2012), please help with report EtreCheck

    Hi all

    My Macbook runs very slowly, I tried a number of things suggested online but none worked. I recently went to a repair shop and they suggested it could be to do with the dataflex (not sure if this was exactly, but I remember it sounding similar.) They described as a hard drive to another internal component connection, sorry for the inaccuracy.) I have me am replaced, but this did not help either.

    I downloaded the software EtreCheck and I was wondering if someone could help me to make light of the report on possible solutions? I have the feeling that it could be the hard drive needs to be replaced, but have no evidence of that. Verification has been run for the problem of "Beachballing" and got the sub report, please let me know if more info would be helpful. I hope it's telling in a way!

    Thank you for the pointers.

    EtreCheck version: 2.7.8 (238)

    Report generated 2016-01-26 22:56:56

    Download EtreCheck from http://etrecheck.com

    Duration 10:23

    Performance: Poor

    Click the [Support] links to help with non-Apple products.

    Click [details] for more information on this line.

    Problem: Beachballing

    Hardware Information:

    MacBook Pro (13-inch, mid-2012)

    [Data sheet] - [User Guide] - [Warranty & Service]

    MacBook Pro - model: MacBookPro9, 2

    1 2.5 GHz Intel Core i5 CPU: 2 strands

    4 GB of RAM expandable - [Instructions]

    BANK 0/DIMM0

    OK 2 GB DDR3 1600 MHz

    BANK 1/DIMM0

    OK 2 GB DDR3 1600 MHz

    Bluetooth: Good - transfer/Airdrop2 taken in charge

    Wireless: en1: 802.11 a/b/g/n

    Battery: Health = Normal - Cycle count = 420 - SN = 9G22603YVD3MB

    Video information:

    Graphics Intel HD 4000

    Color LCD 1280 x 800

    Software:

    OS X Mavericks 10.9.5 (13F34) - since startup time: less than an hour

    Disc information:

    Disk0 APPLE drive HARD TOSHIBA MK5065GSXF: (500,11 GB) (rotation)

    EFI (disk0s1) : 210 MB

    Macintosh HD (disk0s2) /: 499,25 go-go (248,48 free)

    HD (disk0s3) [recovery] recovery: 650 MB

    OPTIARC DVD RW AD - 5970H)

    USB information:

    Apple Inc. FaceTime HD camera (built-in)

    Apple Inc. Apple keyboard / Trackpad

    Computer, Inc. Apple IR receiver.

    Apple Inc. BRCM20702 hub.

    Apple Inc. Bluetooth USB host controller.

    Lightning information:

    Apple Inc. Thunderbolt_bus.

    Guardian:

    Mac App Store and identified developers

    Launch system officers:

    [failure] com.apple.maspushagent.plist [details]

    Launch system demons:

    com.Apple.Security.syspolicy.plist [failure]

    Launch officers:

    [loading] com.google.keystone.agent.plist [Support]

    [loading] com.oracle.java.Java - Updater.plist [Support]

    Launch demons:

    [loading] com.adobe.fpsaud.plist [Support]

    [loading] com.google.keystone.daemon.plist [Support]

    [loading] com.oracle.java.Helper - Tool.plist [Support]

    Items in user login:

    iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

    Other applications:

    [ongoing] com.etresoft.EtreCheck.85920

    Plug-ins Internet:

    FlashPlayer - 10.6: Version: 19.0.0.226 - SDK 10.6 [Support]

    QuickTime Plugin: Version: 7.7.3

    Flash Player: Version: 19.0.0.226 - SDK 10.6 obsolete! Update

    Default browser: Version: 537 - SDK 10.9

    o1dbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Support]

    googletalkbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Support]

    JavaAppletPlugin: Version: 25 check the version of Java 8 update

    3rd party preference panes:

    Flash Player [Support]

    Java [Support]

    TeXDistPrefPane [Support]

    Time Machine:

    Time Machine not configured!

    Top of page process CPU:

    6% update_dyld_shared_cache

    4% WindowServer

    3% kernel_task

    mdworker (3) 2%

    1% launchd (4)

    Top of page process of memory:

    508 MB com.apple.WebKit.WebContent (4)

    502 MB kernel_task

    Safari of 283 MB

    Finder 197 MB

    152 MB softwareupdated

    Virtual memory information:

    988 MB of free RAM

    3.03 GB used RAM (750 MB cache)

    Used Swap 0 B

    Diagnostic information:

    26 January 2016, 21:59:30 self-test - spent

    Hello mrdivorce,

    It looks like of course as evidence of a hard drive failing for me. Hard drives 2.5 "in the MacBook Pro tend to fail after 2-3 years. Judging by the date on your MacBook, I think that your time is up. Maybe try to find a different repair store. Looking for Service Center authorized Apple (https://locate.apple.com/).

    I suggest upgrading to an SSD and increasing your RAM too. Then you have the hardware to run the last OS X 10.11.

  • Need help with the error Code 80244019 Windows Update

    From: Doug

    I get code 80244019 whenever I try to use Windows Update. I tried to change the DWORD in regedit nothing helps... Norton has recently found and 'resolved' trojan.zlob in 128 files in the registry, 21 cases (10 of which were in system32) and 1 browser cache. Whenever I try to use IE to go to http://windowsupdate.microsoft.com I am redirected to msn.com.

    Any advice or solutions would be welcome.

    From: PA bear [MS MVP]

    Chances are that ZLOB was not completely removed and she was accompanied by infections Vundo and SDBot variant, all protected by a rootkit infection. You are going to need specialized assistance to clean this machine,

    Unexplained computer behavior may be caused by deceptive software

    http://support.Microsoft.com/kb/827315

    Run a check of /thorough/ for hijackware, including post your hijackthis on a proper forum log.

    Verification / help with Hijackware

    http://aumha.org/a/parasite.htm

    http://aumha.org/a/quickfix.htm

    http://aumha.NET/viewtopic.php?t=5878

    http://wiki.CastleCops.com/Malware_Removal_and_Prevention:_Introduction

    http://MVPs.org/winhelp2002/unwanted.htm

    http://inetexplorer.MVPs.org/data/prevention.htm

    http://inetexplorer.MVPs.org/tshoot.html

    http://www.MVPs.org/sramesh2k/Malware_Defence.htm

    http://defendingyourmachine2.blogspot.com/

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    When all else fails, HijackThis v2.0.2

    (http://aumha.org/downloads/hijackthis.exe) is the tool to use.

    It will help you to identify and remove any hijackware/spyware with

    assistance of an expert.  * Post your log to

    http://aumha.NET/viewforum.php?f=30,

    http://forums.Spybot.info/forumdisplay.php?f=22,

    http://CastleCops.com/forum67.html, or other appropriate review bodies

    by an expert in the field, not here.* *.

    If the procedures look too complex - and there is no shame in admitting

    isn't your cup of tea - take the local machine, good reputation and

    independent computer repair shop (i.e., not BigBoxStoreUSA).

    --

    ~ Robear Dyer (PA Bear)

    Another response of the community of Windows Vista discussion groups

  • Help with WRT54GS on FiOS (ethernet, no coaxial cable)

    Hey guys, I'm new here and just try to get help with this insoluble problem that I started having with my Linksys WRT54GS and Verizon FiOS last week.

    To simplify my story complete and real question here, I put it all points to try to make it simpler to understand:

    -In the fall of 2007, I switch from Comcast to Verizon FiOS after getting screwed on waiting for two weeks and never get a new router, that one was fried in a storm

    -Little brother spills the first Actiontec router and it breaks

    Actiontec wireless - replacement of the router is non-existent (MI42WR)

    -After trying fill the Linksys for the Actiontec, it turns out to be a pain much more than a real solution to the lack of wireless

    -Past of the coaxial cable to the full ethernet cat5 last year to use Linksys WRT54GS
    -Fortunately directly connected to ONTARIO to Linksys WRT54GS via ethernet cat5 for a year while the wireless is perfect for other computers

    (last week)

    -Off router Linksys for a night the week last to give him a night's rest
    N ' unable to connect to Verizon with WRT54GS old or new router WRT54GL (which I'm now back)

    -HAVE ethernet light outside still has a green light indicating that it is working
    -Do not fill the Actiontec and Linksys again
    -I don't want to go back to the use of the Actiontec for what anyone, but stuck with it for now
    -A reset the router, computer connection and DHCP has published many times, but nothing helps

    -A updated my WRT54GS firmware before you type this and still nothing

    -No connection to any Linksys router, but the works of Actiontec

    I can't think of a solution except maybe try one of another company, as D-Link... (sad face) I'm already back the new router Monday, since I don't believe that my WRT54GS is broken even if it is not connected. If I don't think that maybe Verizon has done something that is not allowing one of my Linksys routers to connect, because fortunately, they started to charge me an extra $10-12 on FiOS bill without notice. Although at this stage, I have a hard time believing that even switch to another router company and use their products will do everything for me...

    Right now, I am suffering with this router Verizon terrible stock and my parents and aunt are complained about these last two weeks. I hope that someone here knows what may be the real problem that can sound with little assistance.

    Ah, found the solution work for a guy who had exactly the same problem as me, but with a D-Link router.

    "The best solution is to go to the ethernet connections and click Cancel, the green light on the actiontec to go yellow, unplug it in this State." Disconnect the battery power and the BBU. Put the new router in place, reconnect battery and BBU, then taken power for the new router.

    Just releasing and switching router should work but if it is not these steps work. »

    Thank you for at least trying to help me to abandoned.

  • Need help with my Mail window. I can't export my message to the PST format. I keep getting the message error "an error occurred during initialization of MAPI".

    Hello

    Need help with my Mail window. I can't export my message to the PST format. I keep getting the message error "an error occurred during initialization of MAPI". Y at - it solution or another method?

    Hi ErikLee,

    Do you have MS Outlook installed on your computer?

    Windows mail import and export opportunities are limited to an Outlook .pst file or an Exchange Server mailbox. They are available only if MS Outlook is installed.
    If MS Outlook is not installed and you start an import or export action, the necessary support files are not present for Windows mail complete the operation. Then I suggest you to install Outlook temporarily and see if the problem is resolved.

    Follow the instructions below and check if the problem is resolved.

    1. reboot your computer, and then start Windows Mail.
    2. on the Tools menu, click Options.
    3. in the connection tab, click on edit to open the Internet Properties dialog box.
    4. in the tab programs, click on an application other than Windows mail e-mail in the e-mail list. Click on apply and then click OK.
    5. click OK again to close the Options dialog box.
    6. exit Windows mail and restart Windows mail.

    If this does not work, I suggest you upgrade to Windows Live Mail to import or export messages that may help you resolve the issue.

    To download Windows Live Mail, visit the following Microsoft Web site:
    http://get.live.com/wlmail/overview

    For more information about Windows Live Mail, see the Microsoft Web site at the following address:
    http://windowshelp.Microsoft.com/Windows/en-us/help/4b30d3d6-abe2-46d1-a5fd-4a1ba786a1381033.mspx

    Check whether the problem is resolved.

    Please post back and let us know if it helped to solve your problem.

    Kind regards
    KarthiK TP

  • Need help with problems of performance with 14 elements

    I scanned the forums and provided below to help with feedback. At this point, the organizer of the elements is unusable for me - I'm looking for suggestions to help refine the installer to make it usable.

    MY SETUP

    • Just more than 50000 items in the catalog, about 95% of them are photos, videos of rest. 98% of the source files are on a drive to the server in my house, with a gigabit connection.
    • I left full recognition of faces (took two days!) and Yes, during that who was running the organizer was unusable.
    • My PC is an i7 - 4790 k with 16 GB of RAM. Windows Pro 10. Boot drive is SSD.

    THE SCENARIO

    I have a new series of images on my C drive local - images that I scanned, about 30 pictures. Using the view of the pane left records that I navigate to the folder on my C drive. If I move to the tab places it takes about 25 seconds to react and make enforcement appear the places page. If I then go to the people tab it takes about 75 seconds, for the application to respond. In both cases, the application is completely insensitive during the wait.

    Clearly, I can't clean my collection with this kind of response. So here are my questions:

    1. What are the key strategies to improve performance, given my configuration?
    2. Have I not too many objects in the catalog? Should I aim lower number? I saw that there is no actual limit but I feel Im beyond a theoretical limit of messages.
    3. Broken content is to catalog help with questions like this? Is there another internal setting, I should be updated or change?
    4. Given the number of images should I use Lightroom instead?

    The only change that I'm not going to do is to move all the content of my return to my local drive. Sound on the server so that it is completely backed up and protected. So I'm looking for ideas that help given this configuration.

    Thanks to everyone for their help.

    Mark

    mgill2012 wrote:

    .........

    Thanks to everyone for their help.

    Mark

    Mark,

    I can't offer a positive solution to your problem, but I hope to give you some answers or thoughts on this subject.

    Let's start with the description of your case: it's a perfect description of what has been reported in several positions:

    -powerful Installer (computer, SSD)

    -l' use of the recognition of people and/or geolocation

    -use of a NAS for the library.

    -Library of more than 50,000 points.

    -very long indexing, then extremely slow.

    I do not use a SSD (will probably later) or a NAS (I never do). I 65 000 objects and don't care about recognition of face or geolocation, which explains that with a basic setup on I3, 8 GB of RAM, I have an organizing extremely fast speed. Even on an old secondary computer with Vista, it is still quite manageable.

    Your choice is typical of advanced specialists and competent (I guess that less than 1% of the current user of items based). I have yet to see no answer (satisfactory or not...) Adobe staff.

    Given the number of images should I use Lightroom instead?

    I guess that's what Adobe could answer you... and that would be wise. You can use a trial version to make your choice and do a search on the forum for Lightroom. I have not seen similar, even if complaints with NASs, it seems to be a lot to say. Lightroom can convert your organizing catalogs (maybe some problems lately...)

    The only change that I'm not going to do is to move all the content of my return to my local drive. Sound on the server so that it is completely backed up and protected. So I'm looking for ideas that help given this configuration.

    If the use of the network is primarily to ensure maximum security (for not sharing images), why not would you use the choice to store your library on your computer (internal or external disk) with a sync to your NAS as a backup solution? I can tell you that my workflow includes Windows Synctoy to record each session easily and quickly (catalogs and libraries).

    Your very precise description of the case call to assess each factor of different performance individually. Even if the method above is not the final answer, it could shed light on the influence of the use of the network.

    1. Have I not too many objects in the catalog? Should I aim lower number? I saw that there is no actual limit but I feel Im beyond a theoretical limit of messages.
    2. Broken content is to catalog help with questions like this?

    Splitting the catalog is usually a very bad solution, a number of post seems to show that with the recognition of the people/geotagging, the problems around the range of 50,000 points. You can make a copy of the catalog and remove half of the files to check the influence of numbers point; Maybe it's possible with version 14 (deletion is extremely slow, but worked for me, even if it failed with older versions).

    Is there another internal setting, I should be updated or change?

    Sorry, I can't help you there...

    Other factors are using recognition Geotagging and people. Even if you absolutely need those features, disable to see their influence could help Adobe to solve performance issues.

  • Help with sum multiline and formatting «,»

    Hey guys, I need help with a question that I am struggling to solve...

    I have a multiline field in which I paste information from an excel spreadsheet. This information is in a format 1.234,56.

    I was able to have the numbers stuck on the ground in another area, by removing the ',': something like this:

    var withcoma = this.getField("Input_1").value; This is my multi-line field used to paste data from excel

    nocoma = withcoma.replace(/\,/g, ".");

    the var values = nocoma.split("\r");

    var total = 0;

    for (var i in values) total += Number(values[i]);

    this.getField("Total").value = total;


    The point is that I have to be able to change the numbers that I have to format to the format 1,234.56 1.234,56 if I choose to use a different currency than my original and also wear numbers in the field "Total" correctly updated.

    Could someone point me in the right direction?

    Thank you very much!!!

    The solution was to add another line of code to remove the periods used so that thousands separators in numbers.

  • Help with skinning

    Hello

    I am new to flex and the concept of counting, I was on the right track until I'm stuck on an aspect which I am sure is a simple oversight.

    Basically, when I skin a BorderContainer disappear all components in this container.

    This is my example of component with a 'Hello' label on the inside:

    < s:BorderContainer
    height = "30" skinClass = "skins.defaults.footerContainer" id = "footerContainer" left = "2" right = low "2" = "1" backgroundColor = "#000000" > ""

    < s:Label color = "#ffffff" text = "hello" / >

    < / s:BorderContainer >

    and here's the skin (especially just a PNG image backgroun)

    " < = xmlns:fx s:SparkSkin ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    ' xmlns:fb = ' http://ns.Adobe.com/FlashBuilder/2009 "
    xmlns:MX = "library://ns.adobe.com/flex/mx".
    >


    < s: states >
    < name s: State = "normal" / >
    < name s: State = "disabled" / >
    < name s: State = "normalAndMaximized" stateGroups = "maximizedGroup" / >
    < name s: State = "disabledAndMaximized" stateGroups = "maximizedGroup" / >
    < / s: states >

    <! - fill - >
    <!-defines the background color of the skin. ->
    < s:Rect id = "backgroundRect" left = "0" right = "0" top = low "0" = "1" radiusX = "0" radiusY = "0" >

    < s:fill >
    (< s:BitmapFill source="@Embed('skins/defaults/img/footerBg.png') ' fillMode ="repeat"/ >
    < / s:fill >

    < / s:Rect >

    < / s:SparkSkin >

    As soon as I remove the class the object text label skin appears again!

    Thank you for reading

    David

    Hello

    Here is my answer:

    1. what?

    2. why?

    3. Another solution?

    What?

    You must add this part of your skin:

    Why?

    The architecture of the spark (introduce in Flex 4.0) is a couple of skin/component. The component has the logic underlying the management of events and the skin is responsible for posting things. The contract beetween these two parts are called "SkinPart" which could be either necessary or not. The component is declaring that is necessary, this, this and this component (mandatory or not) and use them as part of its logic (recording managers and so on). The skin should create the SkinPart required, reported by the component.

    In your case, you're skinning a BorderContainer (which is a SkinnableContainer). This component declares that he has need of a group called «contentGroup» component It is not necessary, so he didn't complain to the compilation. Logic for SkinnableContainer add child components in this skinPart 'contentGroup' if it exists. This is the reason why you do not see your label.

    Another solution?

    According to the documentation (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Border Container.html #includeExamplesSummary), it was not recommended to this component of the skin. The default skin is directly written in as3 and is designed to be the most effective way of adding line and fill a container (by css attribute).

    Basically, you want to add a fill to bitmap image to the background of your container... So how you can get what you want:

    BorderContainer can do this natively! In this case, use the attribute "backgroundImage" and "backgroundImageFillMode".


       

Maybe you are looking for

  • Send the question: why this is happening?

    I hope someone can enlighten me on a problem that I was. I get e-mails (I use Mail from Mac software) who allow themselves to be trashed. If I rebuild my mailbox, they disappear, but I can't remove them otherwise. Why do I get these messages? And why

  • Sony Xperia Z5 compact rings once then goes to voicemail

    I have a Sony Xperia Z5 compact which works well the 1.5 months I got it. But these days I have problems with it. When people call me, I can hear it ring once and then he rejects. People call all say that they are not receiving says that the phone is

  • MSCVR71.dll is missing

    system cannot find the file mscvr71.dll. the origin of some programs do not work.

  • Trust to PC

    I have a problem trusting my pc I bought my knees with windows 8 and trust then I upgraded to 8.1 because of some drawbacks I have downgraded to windows 8 by refreshing the pc without affecting the files so only I got the problem with confidence in m

  • Is there a way to export my Animated Gif animated film?

    Is there a way to export my Animated Gif animated film?