Thursday, January 26, 2012

Getting the movieclip name with the currentTarget Event property

When you want to get the name of the clicked movieclip use the currentTarget Event property
In the sample below you can see a function that create dynamically movieclips (createRows).
Each new movieclip have an event listener, when the user will click each one of the movieclips the name of the movieclip will be traced:

row_5
row_4
row_3
row_2
row_1


linux bulk prefix filenames

  In order to bulk add prefix to filenames  in a directory run the following comnmand for f in * ; do mv -- "$f" "2018-05-24_...