[Event(name="search",type="com.adobe.flickr.events.SearchEvent")]
0 ) tags.text += " ";
tags.text += event.criteria.tags;
}
if( event.criteria.userName != null ) {
userName.text = event.criteria.userName;
currentState = "optionsState";
}
if( event.criteria.nsid != null ) {
criteria.nsid = event.criteria.nsid;
}
}
private function showMoreOrLess() : void
{
if( currentState == "optionsState" ) {
currentState = "";
} else {
currentState = "optionsState";
}
}
public function clear() : void
{
tags.text = "";
tagMode.selected = true;
userName.text = "";
if( minDateTaken != null ) minDateTaken.selectedDate = null;
if( maxDateTaken != null ) maxDateTaken.selectedDate = null;
criteria.clear();
}
public function deleteItems( event:TrashcanEvent ) : void
{
historyGrid.deleteItems(event);
clear();
}
public function deleteSelectedItem() : void
{
historyGrid.deleteSelectedItem();
clear();
}
]]>
{tags.text}
{userName.text}