Packagecom.gestureworks.cml.element
Classpublic class FlickrQuery
InheritanceFlickrQuery Inheritance ElementFactory Inheritance flash.display.Sprite

The FlickQuery is designed to be used with the dock to set a query in CML that may be used in conjunction with searchFields and the dials to provide a way to search via groups, users, and tags.
     
       
     
     

See also

YouTube


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] sets the alpha for display objects
ElementFactory
  apikey : String
The user's API key, necessary for making queries to the API, but not necessary for single images.
FlickrQuery
 Inheritedblur : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedbottom : Number
sets the bottom value
ElementFactory
 Inheritedclass_ : String
Object's css class;
ElementFactory
 InheritedclassName : String
sets the class name of displayobject
ElementFactory
 InheritedcmlIndex : int
sets the cml index
ElementFactory
  data : Object
[read-only]
FlickrQuery
 InheriteddebugStyle : *
sets the debug style
ElementFactory
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 InheriteddropShadow : Boolean
Sets the drop shadow effect
ElementFactory
  groupid : String
Groupid is currently not supported by the Actionscript version of the Flickr API.
FlickrQuery
 Inheritedheight : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedheightPercent : String
sets the height percent of display object
ElementFactory
 InheritedhorizontalCenter : Number
sets the horizontal center of display object
ElementFactory
 Inheritedid : String
sets the id of child
ElementFactory
 Inheritedindex : int
sets the index of display object
ElementFactory
  isCommons : Boolean
Return images that are part of the Flickr commons project.
FlickrQuery
 Inheritedleft : Number
sets left value
ElementFactory
  loaded : String
[read-only] Read-only property indicating if the element is loaded or not.
FlickrQuery
  pageNumber : int = 1
FlickrQuery
  pages : Number
[read-only] Read-only property indicating number of page results returned.
FlickrQuery
 InheritedpropertyStates : Array
Deprecated: Please Use state
ElementFactory
  resultPhotos : Array
FlickrQuery
  results : Number
[read-only] Read-only property indicating total results returned.
FlickrQuery
  resultsPerPage : int
Select the number of results to turn per page.
FlickrQuery
 Inheritedright : Number
sets the right value
ElementFactory
 Inheritedscale : Number
Sets both the x and y scale values
ElementFactory
 InheritedscaleX : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedscaleY : Number
[override] Sets width of the display object in pixels
ElementFactory
 Inheritedstate : Array
property states array
ElementFactory
  tagMode : String
Either "any" for an OR combination of tags, or "all" for an AND combination.
FlickrQuery
  tags : String
A comma separated list of tags to search for.
FlickrQuery
  text : String
An optional string to search for, this will search titles, descriptions, and tags.
FlickrQuery
 Inheritedtop : Number
sets top value
ElementFactory
  userid : String
FlickrQuery
 InheritedverticalCenter : Number
sets the vertical center of display object
ElementFactory
 Inheritedwidth : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedwidthPercent : String
sets the percent of width of display object
ElementFactory
Public Methods
 MethodDefined By
  
Constructor
FlickrQuery
 Inherited
clone():*
Returns clone of self
ElementFactory
  
[override] CML display callback Initialisation
FlickrQuery
  
dispose():void
[override] Dispose method to nullify the children and remove listener
FlickrQuery
  
FlickrQuery
  
init():void
[override] Initialisation method
FlickrQuery
  
nextPage():void
FlickrQuery
 Inherited
parseCML(cml:XMLList):XMLList
parses cml file
ElementFactory
 Inherited
postparseCML(cml:XMLList):void
post parses the cml file
ElementFactory
  
FlickrQuery
 Inherited
updateProperties(state:Number = 0):void
this method updates the properties
ElementFactory
Property Detail
apikeyproperty
apikey:String

The user's API key, necessary for making queries to the API, but not necessary for single images.


Implementation
    public function get apikey():String
    public function set apikey(value:String):void
dataproperty 
data:Object  [read-only]


Implementation
    public function get data():Object
groupidproperty 
groupid:String

Groupid is currently not supported by the Actionscript version of the Flickr API.


Implementation
    public function get groupid():String
    public function set groupid(value:String):void
isCommonsproperty 
isCommons:Boolean

Return images that are part of the Flickr commons project.


Implementation
    public function get isCommons():Boolean
    public function set isCommons(value:Boolean):void
loadedproperty 
loaded:String  [read-only]

Read-only property indicating if the element is loaded or not.


Implementation
    public function get loaded():String
pageNumberproperty 
public var pageNumber:int = 1

pagesproperty 
pages:Number  [read-only]

Read-only property indicating number of page results returned.


Implementation
    public function get pages():Number
resultPhotosproperty 
public var resultPhotos:Array

resultsproperty 
results:Number  [read-only]

Read-only property indicating total results returned.


Implementation
    public function get results():Number
resultsPerPageproperty 
resultsPerPage:int

Select the number of results to turn per page.

The default value is 12.


Implementation
    public function get resultsPerPage():int
    public function set resultsPerPage(value:int):void
tagModeproperty 
tagMode:String

Either "any" for an OR combination of tags, or "all" for an AND combination.

The default value is "all".


Implementation
    public function get tagMode():String
    public function set tagMode(value:String):void
tagsproperty 
tags:String

A comma separated list of tags to search for.


Implementation
    public function get tags():String
    public function set tags(value:String):void
textproperty 
text:String

An optional string to search for, this will search titles, descriptions, and tags.


Implementation
    public function get text():String
    public function set text(value:String):void
useridproperty 
userid:String


Implementation
    public function get userid():String
    public function set userid(value:String):void
Constructor Detail
FlickrQuery()Constructor
public function FlickrQuery()

Constructor

Method Detail
displayComplete()method
override public function displayComplete():void

CML display callback Initialisation

dispose()method 
override public function dispose():void

Dispose method to nullify the children and remove listener

flickrSearch()method 
public function flickrSearch():void

init()method 
override public function init():void

Initialisation method

nextPage()method 
public function nextPage():void

previousPage()method 
public function previousPage():void