Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

Can't get timeline to move after flv

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pedro93 - 17 Jul 2008 22:30 GMT
Hello,

I have had great success placing flv videos in movies and being able to
navigate via. buttons. I now want to place an flv and after it finishes have it
automaticly move to another location on the timeline. Have tried every action
and behavior.

Help.

Thanks:confused;
whodeee05 - 17 Jul 2008 22:35 GMT
this is straight from the FLash help files for AS2.0 - this is using  
my_FLVPlybk as the instance name of the component.
 
import mx.video.*;

var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
    gotoAndStop(10);  //or whatever code you want to place here
};
my_FLVPlybk.addEventListener("complete", listenerObject);
pedro93 - 21 Jul 2008 15:55 GMT
Thanks for the help. I am getting closer, but I still can't get it to do what I
want. The code you sent made the movie symbol move to the appointed frame, but
it did not allow the movie symbol to play. And when I had a progressive
downloaded flv in the movie symbol it would not play. Any suggestions?

Again thanks for your help.
whodeee05 - 21 Jul 2008 16:01 GMT
can you post the actionscript that you are using?  Also you might need to
replace gotoAndStop with gotoAndPlay.  
So basically what you want to have happen is when an flv is done playing, to
go to another frame on your timeline that has another flv, and to start playing
that one?  Is that right?
pedro93 - 21 Jul 2008 16:25 GMT
I pretty much took the script that you sent to me: Below, and changed the
instance of the flv to my unique name. I have then applied it to the flv
component. Well actually I have tried to apply it to the movie symbols as well.

I am making a production that will run at a performing arts center to tell of
coming attractions and acts. Some of the pages will be just photos with
background music, but some of the pages have video.
whodeee05 - 21 Jul 2008 16:32 GMT
That script will only work when used with an instance of an flv component, it
won't work with a movieclip.  Are you embedding the flv into the flash file or
are you linking to an external flv?  If the flv is embedded the script will not
work.  It seems like your problem can be fixed easily, but I am still unsure
exactly what you want your file to do and how you have it set up.
pedro93 - 23 Jul 2008 16:59 GMT
Hello and thanks,

My main problem was I was getting a syntax error. I fiddled a bunch and
eventually it worked. Don't know what I finally did, but now I can cut and
paste and it is working great. Thanks for all your time, It really means a lot.

Peter
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.