Package | com.gestureworks.cml.elements |
Class | public class FlickrQuery |
Inheritance | FlickrQuery ![]() ![]() |
See also
Property | Defined By | ||
---|---|---|---|
apikey : String
The user's API key, necessary for making queries to the API,
but not necessary for single images. | FlickrQuery | ||
![]() | autoShuffle : Boolean
autoshuffles
| TouchContainer | |
![]() | childList : ChildList
Returns the object's childList. | TouchContainer | |
![]() | className : String
sets the class name of displayobject
| TouchContainer | |
![]() | cloneExclusions : Vector.<String> [read-only]
Returns a list of properties to exclude when cloning this object
| TouchContainer | |
![]() | cmlIndex : int
Returns the index created by the CML parser. | TouchContainer | |
data : Object [read-only] | FlickrQuery | ||
![]() | dimensionsTo : Object
Sets the dimensions of TouchContainer to given object
| TouchContainer | |
![]() | dropShadow : Boolean
Sets the drop shadow effect
| TouchContainer | |
![]() | group : String | TouchContainer | |
groupid : String
Groupid is currently not supported by the Actionscript version of the Flickr API. | FlickrQuery | ||
![]() | height : Number [override]
sets the height of the container
| TouchContainer | |
![]() | heightPercent : Number
sets the height of the container
| TouchContainer | |
![]() | id : String
Returns the object's id. | TouchContainer | |
isCommons : Boolean
Return images that are part of the Flickr commons project. | FlickrQuery | ||
![]() | layout : *
specifies the type of layout
| TouchContainer | |
![]() | layoutList : Dictionary | TouchContainer | |
loaded : String [read-only]
Read-only property indicating if the element is loaded or not. | FlickrQuery | ||
![]() | mouseChildren : Boolean [override]
sets the mousechildren value to true or false. | TouchContainer | |
![]() | paddingBottom : Number
Sets the number of pixels between the container's bottom border and the bottom of its content area. | TouchContainer | |
![]() | paddingLeft : Number
Sets the number of pixels between the component's left border and the left edge of its content area. | TouchContainer | |
![]() | paddingRight : Number
Sets the number of pixels between the component's right border and the right edge of its content area. | TouchContainer | |
![]() | paddingTop : Number
Sets the number of pixels between the container's top border and the top of its content area. | TouchContainer | |
pageNumber : int = 1 | FlickrQuery | ||
pages : Number [read-only]
Read-only property indicating number of page results returned. | FlickrQuery | ||
photosetid : String
Photoset id is used to return every photo in a photoset. | FlickrQuery | ||
![]() | position : *
Sets the position
| TouchContainer | |
![]() | relativeX : Boolean
When set true this containers children's x position will be laid out relatively
to each other. | TouchContainer | |
![]() | relativeY : Boolean
When set true this containers children's y position will be laid out relatively
to each other. | TouchContainer | |
resultPhotos : Array | FlickrQuery | ||
results : Number [read-only]
Read-only property indicating total results per page returned. | FlickrQuery | ||
resultsPerPage : int
Select the number of results to turn per page. | FlickrQuery | ||
setDescription : String [read-only]
Read only property that returns the description of a set after set info is returned. | FlickrQuery | ||
![]() | sound : String | TouchContainer | |
![]() | state : Dictionary | TouchContainer | |
![]() | stateId : *
Returns the current state id. | TouchContainer | |
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 | ||
![]() | toBitmap : Boolean | TouchContainer | |
total : int [read-only]
Read-only property to get the total number of results available to a search (regardless of per page limitations)
| FlickrQuery | ||
userid : String | FlickrQuery | ||
![]() | width : Number [override]
sets the width of the container
| TouchContainer | |
![]() | widthPercent : Number
sets the width of the container
| TouchContainer |
Method | Defined By | ||
---|---|---|---|
Constructor
| FlickrQuery | ||
![]() | activateTouch():void | TouchContainer | |
![]() | addAllChildren():void
method searches the child and adds to the list
| TouchContainer | |
![]() | addChild(child:DisplayObject):DisplayObject [override]
Adds child to display list and, if not already added, the child list
| TouchContainer | |
![]() | addChildAt(child:DisplayObject, index:int):DisplayObject [override]
Adds child to display list and, if not already added, the child list
| TouchContainer | |
![]() | applyLayout(value:* = null):void
Apply the containers layout
| TouchContainer | |
![]() | childToList(id:String, child:*):void
child appended to the childlist
| TouchContainer | |
![]() | clone():*
Clone method
| TouchContainer | |
dispose():void [override]
Destructor
| FlickrQuery | ||
flickrSearch():void | FlickrQuery | ||
flickrSet():void | FlickrQuery | ||
flickrSetInfo():void | FlickrQuery | ||
![]() | getElementById(id:String):*
Searches CML childList by id. | TouchContainer | |
![]() | getElementsByClassName(className:String):Array
Searches the CML childList by className. | TouchContainer | |
![]() | getElementsByTagName(tagName:Class):Array
Searches the CML childList by tagName as Class. | TouchContainer | |
init():void [override]
Initialisation method
| FlickrQuery | ||
![]() | loadState(sId:* = null, recursion:Boolean = false):void
Loads state by index number. | TouchContainer | |
![]() | makeGestureList(value:XMLList):Object
Creates gestureList object from XML
| TouchContainer | |
nextPage():void | FlickrQuery | ||
![]() | parseCML(cml:XMLList):XMLList
Parse cml for local layouts. | TouchContainer | |
![]() | postparseCML(cml:XMLList):void
Abstract method allows the setting of a postparse CML routine. | TouchContainer | |
previousPage():void | FlickrQuery | ||
![]() | querySelector(selector:String):*
Searches the CML childList by selector. | TouchContainer | |
![]() | querySelectorAll(selector:*):Array
Search the CML childList by selector. | TouchContainer | |
![]() | removeChild(child:DisplayObject):DisplayObject [override]
Removes child from display list and, if not already removed, the child list
| TouchContainer | |
![]() | removeChildAt(index:int):DisplayObject [override]
Removes child from display list and, if not already removed, the child list
| TouchContainer | |
![]() | removeChildren(beginIndex:int = 0, endIndex:int = 2147483647):void [override]
Removes children from display list and, if not already removed, the child list
| TouchContainer | |
![]() | saveState(sId:* = null, recursion:Boolean = false):void
Save state by index number. | TouchContainer | |
![]() | searchChildren(value:*, returnType:Class = null):*
This method does a depth first search of childLists. | TouchContainer | |
![]() | setDimensionsToChild():void
method sets the dimensions of each child
| TouchContainer | |
![]() | tweenState(sId:* = null, tweenTime:Number = 1):void
Tween state by stateIndex from current to given state index. | TouchContainer | |
![]() | updatePadding():void
Updates child padding within this container
| TouchContainer | |
![]() | updatePercentDim():void
Updates child percent dimensions within this container
| TouchContainer | |
![]() | updateProperties(state:* = 0):void
Updates properties from state. | TouchContainer | |
![]() | updateRelativePos():void
Updates child relative positions within this container
| TouchContainer |
apikey | property |
apikey:String
The 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:String
Groupid 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:Boolean
Return 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
photosetid | property |
photosetid:String
Photoset id is used to return every photo in a photoset. This does not run on search, it needs to be used with the flickrSet() method to retrieve results.
public function get photosetid():String
public function set photosetid(value:String):void
resultPhotos | property |
public var resultPhotos:Array
results | property |
results:Number
[read-only] Read-only property indicating total results per page returned.
public function get results():Number
resultsPerPage | property |
resultsPerPage:int
Select 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
setDescription | property |
setDescription:String
[read-only] Read only property that returns the description of a set after set info is returned.
public function get setDescription():String
tagMode | property |
tagMode:String
Either "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:String
A comma separated list of tags to search for.
public function get tags():String
public function set tags(value:String):void
text | property |
text:String
An optional string to search for, this will search titles, descriptions, and tags.
public function get text():String
public function set text(value:String):void
total | property |
total:int
[read-only] Read-only property to get the total number of results available to a search (regardless of per page limitations)
public function get total():int
userid | property |
userid:String
public function get userid():String
public function set userid(value:String):void
FlickrQuery | () | Constructor |
public function FlickrQuery()
Constructor
dispose | () | method |
override public function dispose():void
Destructor
flickrSearch | () | method |
public function flickrSearch():void
flickrSet | () | method |
public function flickrSet():void
flickrSetInfo | () | method |
public function flickrSetInfo():void
init | () | method |
override public function init():void
Initialisation method
nextPage | () | method |
public function nextPage():void
previousPage | () | method |
public function previousPage():void