Cue Points and SWF Files

This is a discussion on "Cue Points and SWF Files" within the Flash & Multimedia Forum section. This forum, and the thread "Cue Points and SWF Files are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 31st, 2007, 16:41
New Member
Join Date: May 2007
Location: Iowa
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Cue Points and SWF Files

I have a project that involves a 3 minute video (avi) and a Flash quiz. Once the video is done playing, I need it to load/play my flash quiz without the user clicking a link.

I'm not doing a great job making this work. I created a new Flash 8 doc and imported my vid and set a cue point for the end of the movie. My idea is once the cue point hits the end of the movie, load quiz.swf.

The cue Points are:
Name Time Type
end 00:03:34.643 Event

Parameters for "end"
Name Value
quiz pass

The action script is:
var vidList:Object = new Object ();
vidList.cuePoint = function(cues) {
pass.loadmovieNum("quiz.swf", 0);
}
vid.addEventListener("cuepoint", vidList);

Am I way off base on this? I'm willing to credit a paypal account if you can make this work. Thank you.
Reply With Quote

  #2 (permalink)  
Old May 31st, 2007, 18:42
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: Cue Points and SWF Files

Is pass the name of your movieclip container where the quiz.swf is being loaded? It looks like you are missing some stuff, but since I am at work and about to head into a bunch of meetings...

Read this, it might help -

Flash 9 -

http://livedocs.adobe.com/flash/9.0/...1af6-7ca1.html

Flash 8 -

http://livedocs.adobe.com/flash/8/ma...=00003484.html
Last Blog Entry: Yay!? (Oct 8th, 2007)

Last edited by Sgaspar11; May 31st, 2007 at 18:48.
Reply With Quote
  #3 (permalink)  
Old May 31st, 2007, 19:34
New Member
Join Date: May 2007
Location: Iowa
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cue Points and SWF Files

Hi Sgaspar11,

"pass" is the parameter value for my cue point. I didn't know if I even
needed to create a parameter, for my quiz but I did it anyway.

My cue point for this example would be:

end 00:01:37:400 Event

Parameters for "end"

quiz pass

You're right, I'm not doing the action scripting correctly. Ufda! Thanks for the links, I'll look that over. If you run into anything regarding loading a swf after a video is done playing , let me know.

Thanks.
Reply With Quote
  #4 (permalink)  
Old May 31st, 2007, 20:29
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: Cue Points and SWF Files

Cool, so let me clarify

You're telling it to load a .swf. Are you loading that into the same .swf as the flash movie(it looks like this might be the case based on your script)? Or it is opening in a seperate window? How do you have/want that to work?
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #5 (permalink)  
Old May 31st, 2007, 20:46
New Member
Join Date: May 2007
Location: Iowa
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cue Points and SWF Files

Good question. I do indeed want the quiz to load into the same swf as the movie (shortvid.swf).

If I don't set any cue points and just do loadMove("quiz.swf") in my shortvideo.swf it will load the quiz. What I can't do is play my shortvid first and then load the quiz.

I must not be writing my script correctly and/or not setting up my cue events right. I'm not real strong at action scripting so I'm getting a little beyond my skill sets. If I only had the mind of a programmer.
Reply With Quote
  #6 (permalink)  
Old Jun 1st, 2007, 14:44
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: Cue Points and SWF Files

Read this:

http://www.quip.net/blog/2006/flash/...external-video
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #7 (permalink)  
Old Jun 1st, 2007, 16:38
New Member
Join Date: May 2007
Location: Iowa
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Cue Points and SWF Files

I'll take a look at it thank you. I haven't had a chance to follow up on it. I will sure be glad when this problem is solved.
Reply With Quote
Reply

Tags
cue points, flash 8

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
rep points Gerry Webforumz Cafe 4 Aug 29th, 2007 16:26
Flash 7 cue points edd_jedi Flash & Multimedia Forum 3 May 3rd, 2007 12:41
Reputation points.... What are they? ivyholly Webforumz Cafe 48 Apr 25th, 2007 18:31
Rep Points crewdesign Webforumz Suggestions and Feedback 1 Oct 16th, 2006 02:31


All times are GMT. The time now is 22:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43