Question : Flex show hide text areas onClick dynamic button

Hi there, I'm putting together a basic Flex app. I'm quite a newbie and I'm just wondering if anyone knows how to add a button to every text box created, where on click of the button, the text gets hidden (the text is called from a database). I need the button application to be dynamic as there will be a considerable number of text fields when it's completed.

I've added a sample of the text fields. Basically I need to be able to apply a button to each of these. When the user clicks the button, the text within would be hidden.

Thanks so much for any help provided.
<mx:Text text="NAME" width="215" height="20" id="txtName" textAlign="left" color="#00CC00"/>
<mx:Text width="215" height="100%" id="txtNameInput" textAlign="left" color="white"/>
<mx:Text text="ADDRESS" width="215" height="20" id="txtAddress" textAlign="left" color="#00CC00"/>
<mx:Text width="215" height="100%" id="txtAddressInput" textAlign="left" color="white"/>
<mx:Text text="TELEPHONE" width="215" height="20" id="txtTelephone" textAlign="left" color="#00CC00"/>
<mx:Text width="215" height="100%" id="txtTelephoneInput" textAlign="left" color="white"/>

Answer : Flex show hide text areas onClick dynamic button

There are couple of ways you can do this, using clamfs or inotify.

clamfs lets you mount an existing folder through clamav, so that any files accessed are first scanned.  So lets say you had a folder called /files contain a virus called eicar.txt.  You would mount the /files folder as say /clamav/files using clamfs and then accessing /clamav/files/eicar.txt would give a permission denied (because a virus was detected), whereas /files/eicar.txt would work fine.

inotify is a is a method for the kernel to let applications know about filesystem changes.  It isn't clamav related, but what you can do is set up inotify watchers on various folders, and if any file changes are seen (such as adding a new file) it can trigger clamav to scan the file.
Random Solutions  
programming4us programming4us