Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-14-2008, 06:04 PM   #1
timaging
Dave
 
timaging's Avatar
 
Join Date: May 2008
Location: Boston
Posts: 51
Send a message via AIM to timaging
Default 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
__________________
================
ti media
interactive/motion graphics
boston, ma
www.taylorimaging.com
www.ti-3d.com
================
timaging is offline   Reply With Quote
Old 06-14-2008, 06:15 PM   #2
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

Better if you attached your .fla to this forum...
atomic is offline   Reply With Quote
Old 06-14-2008, 06:21 PM   #3
timaging
Dave
 
timaging's Avatar
 
Join Date: May 2008
Location: Boston
Posts: 51
Send a message via AIM to timaging
Default

well, it appears that I can only attach 500k or less, but here's a link:

http://client.taylorimaging.com/CueQuestion2.zip

I added the flv and loop just in case.
__________________
================
ti media
interactive/motion graphics
boston, ma
www.taylorimaging.com
www.ti-3d.com
================
timaging is offline   Reply With Quote
Old 06-14-2008, 06:23 PM   #4
timaging
Dave
 
timaging's Avatar
 
Join Date: May 2008
Location: Boston
Posts: 51
Send a message via AIM to timaging
Default

crap-I'm using the FLVplayback component and mcTween 2 as well. Do you need those?

Dave
__________________
================
ti media
interactive/motion graphics
boston, ma
www.taylorimaging.com
www.ti-3d.com
================
timaging is offline   Reply With Quote
Old 06-14-2008, 06:31 PM   #5
timaging
Dave
 
timaging's Avatar
 
Join Date: May 2008
Location: Boston
Posts: 51
Send a message via AIM to timaging
Default

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
__________________
================
ti media
interactive/motion graphics
boston, ma
www.taylorimaging.com
www.ti-3d.com
================
timaging is offline   Reply With Quote
Old 06-14-2008, 06:36 PM   #6
timaging
Dave
 
timaging's Avatar
 
Join Date: May 2008
Location: Boston
Posts: 51
Send a message via AIM to timaging
Default

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
__________________
================
ti media
interactive/motion graphics
boston, ma
www.taylorimaging.com
www.ti-3d.com
================

Last edited by timaging; 06-14-2008 at 06:44 PM.
timaging is offline   Reply With Quote
Old 06-14-2008, 07:29 PM   #7
timaging
Dave
 
timaging's Avatar
 
Join Date: May 2008
Location: Boston
Posts: 51
Send a message via AIM to timaging
Default

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
__________________
================
ti media
interactive/motion graphics
boston, ma
www.taylorimaging.com
www.ti-3d.com
================
timaging is offline   Reply With Quote
Old 06-14-2008, 08:05 PM   #8
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

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!
atomic is offline   Reply With Quote
Old 06-14-2008, 09:14 PM   #9
timaging
Dave
 
timaging's Avatar
 
Join Date: May 2008
Location: Boston
Posts: 51
Send a message via AIM to timaging
Default

I hear ya... nice here too and the Sox game is on. Thanks for checking back!
__________________
================
ti media
interactive/motion graphics
boston, ma
www.taylorimaging.com
www.ti-3d.com
================
timaging is offline   Reply With Quote
Old 06-15-2008, 02:16 AM   #10
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

May I ask why this .flv just for a VO soundtrack?
atomic is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cue point help pbeternal99 ActionScript 2.0 0 11-14-2007 10:28 PM
Cue Point Help SkyQuest ActionScript 2.0 5 11-02-2007 04:34 PM
[AS2] question and answer game - problem in code rugbyfitzy Gaming and Game Development 7 03-22-2007 02:50 PM
Animation of two lines with a moving pivot point ujnip ActionScript 2.0 2 09-12-2006 03:16 AM
Forum netiquette question cdeg General Chat 36 03-02-2004 11:07 PM


All times are GMT. The time now is 06:39 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.