06-14-2008, 06:04 PM
|
#1
|
|
Dave
Join Date: May 2008
Location: Boston
Posts: 51
|
Cue Point question
Hi-hopefully this makes sense, so here goes...
originally, I was using MediaDisplay to automatically go to a cue point, but I also needed to jump to cue points, so I switched over to flv player.
my original code would automatically advance to my next label with this code:
=======================
// Create a listener object to move to cue frames
var pointListener = new Object();
pointListener.cuePoint = function(evt){
goToAndPlay(evt.cuePointName);
}
VO_vid.addEventListener("cuePoint", pointListener);
=======================
Now, I've had to change that code to make the navigation work, and have that jump to cue points with this code:
=======================
var videoEvents:Object = new Object();
videoEvents.target = this;
videoEvents.cuePoint = function( evt:Object ):Void
{
// On cuePoint, look for a button named with the cue name
// plus "_btn". If it exists, then call its select method...
var button = this.target[ evt.info.name+"_btn" ];
if( button != undefined )
button.select();
}
display.addEventListener("cuePoint",videoEvents);
=======================
Now, my scene doesn't automatically jump to the next label. Is there a way to combine these, so that the interactivity attached to my movie buttons will still work?
Just an FYI.. the instance name of the movie is "display"-I am not sure if that's important or not.
Please let me know if you need to see sample code for the buttons, or if there's anything else I can supply to get my scene properly working.
THANKS!!
Dave
|
|
|
06-14-2008, 06:15 PM
|
#2
|
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
|
Better if you attached your .fla to this forum...
|
|
|
06-14-2008, 06:23 PM
|
#4
|
|
Dave
Join Date: May 2008
Location: Boston
Posts: 51
|
crap-I'm using the FLVplayback component and mcTween 2 as well. Do you need those?
Dave
|
|
|
06-14-2008, 06:31 PM
|
#5
|
|
Dave
Join Date: May 2008
Location: Boston
Posts: 51
|
oh, and this file that I just posted for you also has that mcTween array question I had earier. I think on frame 19?
THANK YOU!!!
Dave
|
|
|
06-14-2008, 06:36 PM
|
#6
|
|
Dave
Join Date: May 2008
Location: Boston
Posts: 51
|
Just in case you need it, here is the tutorial I was working from on the Dan Carr site for navigating through the flv, but after I used that stuff, my automatic advance to cue points broke. This file has the FLV extension I mentioned. I'm guessing you have mcTween:
http://client.taylorimaging.com/vidt...mediapreso.zip
Last edited by timaging; 06-14-2008 at 06:44 PM.
|
|
|
06-14-2008, 07:29 PM
|
#7
|
|
Dave
Join Date: May 2008
Location: Boston
Posts: 51
|
heya,
just checking to see if you needed anything else from me, or is that file such a mess that you just tossed it in the trash? Let me know either way so I can figure out a Plan B if necessary.
thanks,
Dave
|
|
|
06-14-2008, 08:05 PM
|
#8
|
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
|
Haven't really looked at it yet... Too nice outside and I need to finish up my vegetable garden! Will look into it after sundown!
|
|
|
06-14-2008, 09:14 PM
|
#9
|
|
Dave
Join Date: May 2008
Location: Boston
Posts: 51
|
I hear ya... nice here too and the Sox game is on. Thanks for checking back!
|
|
|
06-15-2008, 02:16 AM
|
#10
|
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
|
May I ask why this .flv just for a VO soundtrack?
|
|
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 08:39 AM.
///
|
|