SIGN IN
::
SPONSORS
::
ADVERTISING
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
STOCKYARD
VIDEOS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE FLASH:
Home
Flash Forum
Flash Tutorials
Flash Video Tutorials
Web Streaming Forum
Adobe Flash
Podcast
Re: Flash Video help please.
COW Forums
:
Adobe Flash
FAQ
•
VIEW ALL
•
ADD A NEW POST
•
PRINT
Respond to this post
•
Return to posts index
•
Read entire thread
Re: Flash Video help please.
by
DaveTrep
on May 9, 2007 at 3:43:20 pm
Hi ilegal31
if I have understood you right you need to add a listener to your flash file that looks for when the video has completed playing. Try attaching the following code to the frame where the video is placed (put the video in the _root layer and name the player "player"). This will work if you are using the flv playback component for your video.
import mx.video.*;
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject) {
gotoAndStop(_root._currentframe+1);
trace(player.playheadTime);
};
player.addEventListener("complete", listenerObject);
stop();
that should do it!
cheers
Dave
Posts Index
Read Thread
Reply
Like
Current Message Thread:
Flash Video help please.
by ilegal31 on May 9, 2007 at 12:56:01 pm
Re: Flash Video help please.
by DaveTrep on May 9, 2007 at 3:43:20 pm
Re: Flash Video help please.
by ilegal31 on May 9, 2007 at 4:32:50 pm
Re: Flash Video help please.
by Frank on May 28, 2007 at 4:17:26 am
LOGIN TO REPLY
FORUMS
•
TUTORIALS
•
MAGAZINE
•
STOCKYARD
•
VIDEOS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
© 2013
CreativeCOW.net
All rights are reserved. -
Privacy Policy
[
Top
]