- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
videoList, is there an event & listener for when thumbnails , titles, descriptio ns fully load?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-09-2010 03:23 PM
Our client is a little worried about the delay when the BC player initially loads and the wait for all the thumbnails, titiles, descriptions to load in the right column videoList.
We're thinking of adding a message or preload graphic that'll be visible until all the thumbnails, titles, etc. load. I was trying to find a way to listen for some kind of loadComplete event for the videoList but I haven't found one.
I know I can access the playList in templateReady function.
I tried using listeners like
expModule.addEventListener("contentLoad", fncPreload);
expModule.addEventListener(Event.COMPLETE, fncPreload);
In the templateLoaded function but they didn't fire when the videoList finished loading.
function templateLoaded(e:Event):void {
player = bcp.getModule("videoPlayer");
contentModule = bcp.getModule("content");
expModule = bcp.getModule("experience");
expModule.addEventListener("templateReady", templateReady);
expModule.addEventListener(Event.COMPLETE, fncPreload);
}
function fncPreload():void {
// handle preload event
}
function templateReady(e:Event):void {
...
videoList = expModule.getElementByID("videoList");
...
}
Is there a way to listen for the complete loading of the videoList?
Zak

