| Package | com.gestureworks.cml.element |
| Class | public class FlickrQuery |
| Inheritance | FlickrQuery ElementFactory flash.display.Sprite |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | alpha : 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 | ||
![]() | blur : Boolean
Sets the drop shadow effect
| ElementFactory | |
![]() | bottom : Number
sets the bottom value
| ElementFactory | |
![]() | class_ : String
Object's css class;
| ElementFactory | |
![]() | className : String
sets the class name of displayobject
| ElementFactory | |
![]() | cmlIndex : int
sets the cml index
| ElementFactory | |
| data : Object [read-only] | FlickrQuery | ||
![]() | debugStyle : *
sets the debug style
| ElementFactory | |
![]() | displayEvents : String
Use for dispatch completes. | ElementFactory | |
![]() | dropShadow : Boolean
Sets the drop shadow effect
| ElementFactory | |
| groupid : String
Groupid is currently not supported by the Actionscript version of the Flickr API. | FlickrQuery | ||
![]() | height : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | heightPercent : String
sets the height percent of display object
| ElementFactory | |
![]() | horizontalCenter : Number
sets the horizontal center of display object
| ElementFactory | |
![]() | id : String
sets the id of child
| ElementFactory | |
![]() | index : int
sets the index of display object
| ElementFactory | |
| isCommons : Boolean
Return images that are part of the Flickr commons project. | FlickrQuery | ||
![]() | left : 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 | ||
![]() | propertyStates : 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 | ||
![]() | right : Number
sets the right value
| ElementFactory | |
![]() | scale : Number
Sets both the x and y scale values
| ElementFactory | |
![]() | scaleX : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | scaleY : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | state : 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 | ||
![]() | top : Number
sets top value
| ElementFactory | |
| userid : String | FlickrQuery | ||
![]() | verticalCenter : Number
sets the vertical center of display object
| ElementFactory | |
![]() | width : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | widthPercent : String
sets the percent of width of display object
| ElementFactory | |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| FlickrQuery | ||
![]() | clone():*
Returns clone of self
| ElementFactory | |
displayComplete():void [override]
CML display callback Initialisation
| FlickrQuery | ||
dispose():void [override]
Dispose method to nullify the children and remove listener
| FlickrQuery | ||
flickrSearch():void | FlickrQuery | ||
init():void [override]
Initialisation method
| FlickrQuery | ||
nextPage():void | FlickrQuery | ||
![]() | parseCML(cml:XMLList):XMLList
parses cml file
| ElementFactory | |
![]() | postparseCML(cml:XMLList):void
post parses the cml file
| ElementFactory | |
previousPage():void | FlickrQuery | ||
![]() | updateProperties(state:Number = 0):void
this method updates the properties
| ElementFactory | |
| apikey | property |
apikey:StringThe user's API key, necessary for making queries to the API, but not necessary for single images.
public function get apikey():String public function set apikey(value:String):void| data | property |
data:Object [read-only] public function get data():Object| groupid | property |
groupid:StringGroupid is currently not supported by the Actionscript version of the Flickr API.
public function get groupid():String public function set groupid(value:String):void| isCommons | property |
isCommons:BooleanReturn images that are part of the Flickr commons project.
public function get isCommons():Boolean public function set isCommons(value:Boolean):void| loaded | property |
loaded:String [read-only] Read-only property indicating if the element is loaded or not.
public function get loaded():String| pageNumber | property |
public var pageNumber:int = 1| pages | property |
pages:Number [read-only] Read-only property indicating number of page results returned.
public function get pages():Number| resultPhotos | property |
public var resultPhotos:Array| results | property |
results:Number [read-only] Read-only property indicating total results returned.
public function get results():Number| resultsPerPage | property |
resultsPerPage:intSelect the number of results to turn per page.
The default value is 12.
public function get resultsPerPage():int public function set resultsPerPage(value:int):void| tagMode | property |
tagMode:StringEither "any" for an OR combination of tags, or "all" for an AND combination.
The default value is "all".
public function get tagMode():String public function set tagMode(value:String):void| tags | property |
tags:StringA comma separated list of tags to search for.
public function get tags():String public function set tags(value:String):void| text | property |
text:StringAn optional string to search for, this will search titles, descriptions, and tags.
public function get text():String public function set text(value:String):void| userid | property |
userid:String public function get userid():String public function set userid(value:String):void| FlickrQuery | () | Constructor |
public function FlickrQuery()Constructor
| displayComplete | () | method |
override public function displayComplete():voidCML display callback Initialisation
| dispose | () | method |
override public function dispose():voidDispose method to nullify the children and remove listener
| flickrSearch | () | method |
public function flickrSearch():void| init | () | method |
override public function init():voidInitialisation method
| nextPage | () | method |
public function nextPage():void| previousPage | () | method |
public function previousPage():void