Package | de.stevenwood.taggalaxy.flickr |
Class | public class FlickrPhoto |
Inheritance | FlickrPhoto FlickrConn flash.events.EventDispatcher |
flickr.photos.getSizes
method, as well as photo details like description, owner and
the Flickr photo page URL, retrieved by the flickr.photos.getInfo
method.Property | Defined by | ||
---|---|---|---|
description : String [read-only] The describing text of the photo, if available.
| FlickrPhoto | ||
infoLoaded : Boolean [read-only] Whether the details of the photo has been retrieved yet.
| FlickrPhoto | ||
loader : URLLoader The Instance of the URLLoader class used for all loading operations.
| FlickrConn | ||
owner : String | FlickrPhoto | ||
photoPageUrl : String [read-only] The URL of the photos webpage on Flickr.
| FlickrPhoto | ||
realName : String [read-only] The real name of the owner of the photo, if available.
| FlickrPhoto | ||
sizes : Object | FlickrPhoto | ||
sizesLoaded : Boolean [read-only] Whether the size information of the photo has been retrieved yet.
| FlickrPhoto | ||
title : String | FlickrPhoto | ||
userName : String [read-only] The Flickr user name of the owner of the photo.
| FlickrPhoto |
Method | Defined by | ||
---|---|---|---|
FlickrPhoto(inputSrc:String, inputId:String, inputSecret:String, inputTitle:String, inputOwner:String)
Creates a new FlickrPhoto object.
| FlickrPhoto | ||
addListeners():void
Adds listeners to URLLoader object
| FlickrConn | ||
cancelLoading():void
Cancels the load operation in progress.
| FlickrConn | ||
getId():String
| FlickrPhoto | ||
getSrcMedium():String
| FlickrPhoto | ||
getSrcSquare():String
| FlickrPhoto | ||
getSrcThumb():String
Not in use.
| FlickrPhoto | ||
loadedHandler(event:Event):void
Called when loading of photo details from the Flickr API has finished.
| FlickrPhoto | ||
loadInfo():void
Starts loading the detailed information from the Flickr API.
| FlickrPhoto | ||
loadSizes():void
Starts loading the information about available sizes from the Flickr API.
| FlickrPhoto | ||
removeListeners():void
Removes listeners from URLLoader object
| FlickrConn | ||
toString():String
Debugging: display information about all available sizes
| FlickrPhoto |
description | property |
description:String
[read-only]The describing text of the photo, if available.
Implementation public function get description():String
infoLoaded | property |
infoLoaded:Boolean
[read-only]Whether the details of the photo has been retrieved yet.
Implementation public function get infoLoaded():Boolean
owner | property |
public var owner:String
photoPageUrl | property |
photoPageUrl:String
[read-only]The URL of the photos webpage on Flickr.
Implementation public function get photoPageUrl():String
realName | property |
realName:String
[read-only]The real name of the owner of the photo, if available.
Implementation public function get realName():String
sizes | property |
public var sizes:Object
sizesLoaded | property |
sizesLoaded:Boolean
[read-only]Whether the size information of the photo has been retrieved yet.
Implementation public function get sizesLoaded():Boolean
title | property |
public var title:String
userName | property |
userName:String
[read-only]The Flickr user name of the owner of the photo.
Implementation public function get userName():String
FlickrPhoto | () | constructor |
public function FlickrPhoto(inputSrc:String, inputId:String, inputSecret:String, inputTitle:String, inputOwner:String)
Creates a new FlickrPhoto object. Takes all information that is already known about a photo from the FlickrPhotoList object.
ParametersinputSrc:String — The URL of the Photo without the size specific extension.
|
|
inputId:String — The ID of the Photo
|
|
inputSecret:String — The Secret of the Photo
|
|
inputTitle:String — The Title of the Photo
|
|
inputOwner:String — The Owner of the Photo
|
getId | () | method |
public function getId():String
Returns
String — The ID of the photo |
getSrcMedium | () | method |
public function getSrcMedium():String
Returns
String — The URL of the medium preview image of the photo, 500 pixels on longest side. |
getSrcSquare | () | method |
public function getSrcSquare():String
Returns
String — The URL of the square preview image of the photo, 75 x 75 pixels. |
getSrcThumb | () | method |
public function getSrcThumb():String
Not in use.
ReturnsString — The URL of the thumbnail preview image of the photo, 100 pixels on longest side. |
loadedHandler | () | method |
public override function loadedHandler(event:Event):void
Called when loading of photo details from the Flickr API has finished.
Parametersevent:Event |
loadInfo | () | method |
public function loadInfo():void
Starts loading the detailed information from the Flickr API.
loadSizes | () | method |
public function loadSizes():void
Starts loading the information about available sizes from the Flickr API.
toString | () | method |
public override function toString():String
Debugging: display information about all available sizes
ReturnsString — a string describing the internal "sizes" object
|