Packagecom.adobe.webapis.flickr.methodgroups
Classpublic class Transform

Contains the methods for the Transform method group in the Flickr API. Even though the events are listed here, they're really broadcast from the FlickrService instance itself to make using the service easier.



Public Methods
 MethodDefined by
  
Construct a new Transform "method group" class
Transform
  
rotate(photo_id:String, degrees:Number):void
Rotate a photo.
Transform
Events
 EventSummaryDefined by
   Broadcast as a result of the rotate method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an empty object When success is false, contains an "error" FlickrError instance Transform
Constructor detail
Transform()constructor
public function Transform(service:FlickrService)

Construct a new Transform "method group" class

Parameters
service:FlickrService — The FlickrService this method group is associated with.
Method detail
rotate()method
public function rotate(photo_id:String, degrees:Number):void

Rotate a photo. This method requires authentication with WRITE permission.

Parameters
photo_id:String — The id of the photo to rotate.
 
degrees:Number — The amount of degrees by which to rotate the photo (clockwise) from it's current orientation. Valid values are 90, 180 and 270.

See also

Event detail
photosTransformRotateevent 
Event object type: com.adobe.webapis.flickr.events.FlickrResultEvent

Broadcast as a result of the rotate method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an empty object When success is false, contains an "error" FlickrError instance

See also

rotate
com.adobe.service.flickr.FlickrError