View Full Version : loading MC or .swf into FlvPlayback component
nyc10011
11-05-2007, 02:19 AM
I am trying to get a MC instance, with linkage (mc_nav_buttons) in library to play inside an FLVplybk on main TL. I need the MC will load/play in same FLV player when cuepoint is heard. There are videos already playing, preceding what I am trying to make occur. Do I need to have a var container to hold the empty MC (createEmptyMovieClip)? I've tried several approaches, but I can't get anything to work. Oh, BTW, I am an AS newbie, which would probably explain my dilemma.
Is there anyone out there that would know the proper approach and/or syntax?
Thank you for taking the time to read this and thank you, in advance, for your help.
nyc10011
The code I am using is a listener (below), which loads other elements on cuepoint properly:
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object){
if(eventObject.info.name == "slide_whistle"){
whistle_sound.start();
play_ad_1.play();
mc_nav_buttons.play();
}
FLVPlybk.addEventListener("cuePoint", listenerObject);
nyc10011
11-05-2007, 08:28 PM
Does anyone know how to attach a Movie Clip instance (with linkage) to an FLV component. I am trying to do this so that when an embedded cuepoint is reached, a MC will play in FLV component on stage. Is this at all possible? Does anyone know the proper procedure and or syntax? I'd really appreciate some feedback. I'd be willing to compensate for expert advice. I've tried several approaches. I've finally narrowed it down to creating and container with (createEmptyMovieClip), but I don't know how to invoke it using a listener.
var container2:MovieClip = this.attachMovie("nav_btns", "nav_btns_mc", this.getNextHighestDepth(), {_x:-50, _y:-150});
var label2:MovieClip = container2.createEmptyMovieClip("nav_btns");
LISTENER:
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object){
if(eventObject.info.name == "slide_whistle"){
mc_nav_buttons.play();
}
}
FLVPlybk.addEventListener("cuePoint", listenerObject);
Thank you,
nyc10011
jsurak@yahoo.com
nyc10011
11-06-2007, 03:07 PM
Hello. Does anyone know if it is possible to load either MC with linkage from library or a .swf from directory into a FLV player, triggered by CuePoint?
I'm having a heck of a time trying to figure this one out. I'd like a MC to load at the end of FLV playback with buttons that link back to the previously played flv's. I'd really appreciate some feedback.
Does anyone know the proper procedure and/or syntax?
Thank you,
nyc10011
nyc10011
11-07-2007, 02:24 AM
Does anyone know if it is possible to load either a MC with linkage from library or a .swf from same directory into a FLV player, triggered by CuePoint?
I'd like to get a MC with buttons that link back to the previously played flv's to load at the end of FLV playback . I'd really appreciate some feedback.
Does anyone know the proper procedure and/or syntax?
Thank you,
nyc10011
atomic
11-07-2007, 05:22 AM
Doubt you can load a .swf in the FLV player, but you could possibly fake it, by attaching some movie clip from the Library, and/or loading an external.swf in a container clip over your flv player. Don't actually know what your player's design is, but it might work...
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.