 |
Actionscript 3 YouTube API
|
|
com.adobe.webapis.youtubeClass YouTubeService
com.adobe.webapis.ServiceBase
public class YouTubeService
extends URLLoaderBase
The YouTubeService class abstracts all functionality for the YouTube
API.
| apiKey:String
The developer API can be generated from your profile page on YouTube.com. |
static | END_POINT:String
This is the end point for the service that we talk to. |
| users:Users [read-only] |
| videos:Videos [read-only] |
onGetDetails |
Broadcast when video information has been loaded from YouTube in response to
Videos.getDetails() being called. |
onGetProfile |
Broadcast when video information has been loaded from YouTube in response to
Users.getProfile() being called. |
onListByTag |
Broadcast when video information has been loaded from YouTube in response to
Videos.listByTag() being called. |
onListByUser |
Broadcast when video information has been loaded from YouTube in response to
Videos.listByUser() being called. |
onListFavoriteVideos |
Broadcast when video information has been loaded from YouTube in response to
Users.listFavoriteVideo() being called. |
onListFeatured |
Broadcast when video information has been loaded from YouTube in response to
Videos.listFeatured() being called. |
onListFriends |
Broadcast when video information has been loaded from YouTube in response to
Users.listFriends() being called. |
apiKey Property
public var apiKey:String
The developer API can be generated from your profile page on YouTube.com.
END_POINT Property
public static var END_POINT:String
This is the end point for the service that we talk to.
users Property
Usage
users:Users
Implementation
public function get users() : Users
videos Property
Usage
videos:Videos
Implementation
public function get videos() : Videos
onGetDetails Event
Event Object Type: com.adobe.webapis.youtube.events.YouTubeServicetEvent
Broadcast when video information has been loaded from YouTube in response to
Videos.getDetails() being called.
The event contains the following properties:
data.videoDetails A VideoDetail instance
See also
onGetProfile Event
Event Object Type: com.adobe.webapis.youtube.events.YouTubeServicetEvent
Broadcast when video information has been loaded from YouTube in response to
Users.getProfile() being called.
The event contains the following properties:
data.profile The Profile for the specified user.
See also
onListByTag Event
Event Object Type: com.adobe.webapis.youtube.events.YouTubeServicetEvent
Broadcast when video information has been loaded from YouTube in response to
Videos.listByTag() being called.
The event contains the following properties:
data.videoList An Array of Video ojects.
See also
onListByUser Event
Event Object Type: com.adobe.webapis.youtube.events.YouTubeServicetEvent
Broadcast when video information has been loaded from YouTube in response to
Videos.listByUser() being called.
The event contains the following properties:
data.videoList An Array of Video ojects.
See also
onListFavoriteVideos Event
Event Object Type: com.adobe.webapis.youtube.events.YouTubeServicetEvent
Broadcast when video information has been loaded from YouTube in response to
Users.listFavoriteVideo() being called.
The event contains the following properties:
data.videoList An Array of Video ojects.
See also
onListFeatured Event
Event Object Type: com.adobe.webapis.youtube.events.YouTubeServicetEvent
Broadcast when video information has been loaded from YouTube in response to
Videos.listFeatured() being called.
The event contains the following properties:
data.videoList An Array of Video ojects.
See also
onListFriends Event
Event Object Type: com.adobe.webapis.youtube.events.YouTubeServicetEvent
Broadcast when video information has been loaded from YouTube in response to
Users.listFriends() being called.
The event contains the following properties:
data.friendList An Array of Friend ojects.
See also
YouTubeService Constructor
public function YouTubeService(apiKey:String = "")
Parameters
| apiKey:String (default = "") |
Copyright © 2005 Macromedia Inc. All rights reserved.
Mon May 8 2006, 15:56 PDT