Old 09-17-2009   #1 (permalink)
Registered User
 
stiney51's Avatar
 

Join Date: May 2006
Location: Maine, USA
Posts: 656
Blog Entries: 16
Images: 7

Battle Wins: 3 (rank: #12)
Looping with FLVPLAYBACK (CS3)

Trying to do a simple flash file to play a flv movie. Need the movie to loop and not sure how to go about this. Any help from you flash gurus out there (Unleash?) would be quite appreciated.
stiney51 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-17-2009   #2 (permalink)
Janitor of Lunacy
 
Tamlin's Avatar
 

Join Date: May 2006
Location: Sitting in the Wishing Chair
Posts: 5,758
Blog Entries: 2
Images: 530

Battle Wins: 20 (rank: #1)
These of any help to ya?

FLVPlayback Loop - kirupaForum

FLVPlayback loop? - Flash Kit Community Forums
__________________

"I might join your century, but only as a doubtful guest"
Tamlin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-17-2009   #3 (permalink)
Just unleashed!
 
unleash's Avatar
 
Pinboliada Champion! Tournaments Won: 1

Join Date: Jul 2005
Location: Inbetween
Posts: 2,629
Blog Entries: 10
Images: 20

Battle Wins: 1 (rank: #35)
You want the movie inside the movie to loop right (not the whole flash thingy cause that is simple just dont use an "stop();" at the end... )

If you want another movie to loop... there are a few things you can do. Here are the two things I know about:

this is the crude but simple one. You just need to put this in the FLV object....
Quote:
on(complete){
this.autoRewind = true;
this.play();
}
This one has more code, and you need to set the path to the movie twice... also this one is a bit more bug attracting than the first one since its bigger and uses more variables....
Quote:
flPlayer.contentPath = "Movie path";
FLV.play();
this.onEnterFrame = function() {
if (Math.round(FLV.playheadTime) == Math.round(FLV.totalTime)) {
FLV.stop();
FLV.contentPath = "Movie path";
FLV.play();
}
}
Do note that I used FLV as the instance name for the player... maybe you use a different one.

If this doesn't do the trick... I would need the file or the pasted code you have here Without the code I cant really see what the next step should be...
__________________
Ads are the cave art of the twentieth century.

That what doesn't destroy us, makes us stronger.

Last edited by unleash; 09-17-2009 at 05:27 PM. Reason: forgot something important...
unleash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-17-2009   #4 (permalink)
Registered User
 
stiney51's Avatar
 

Join Date: May 2006
Location: Maine, USA
Posts: 656
Blog Entries: 16
Images: 7

Battle Wins: 3 (rank: #12)
Got it to work in a way similar to the 2nd example, but it does require me to put in the url in the action script & the flvplayback component.

How do you place code in the FLV object?
stiney51 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-17-2009   #5 (permalink)
Just unleashed!
 
unleash's Avatar
 
Pinboliada Champion! Tournaments Won: 1

Join Date: Jul 2005
Location: Inbetween
Posts: 2,629
Blog Entries: 10
Images: 20

Battle Wins: 1 (rank: #35)
Just click on the object, go to the AS panel (where you type in you code) and type your code... it works similar to a layer you just need to select the object instead of the layer
__________________
Ads are the cave art of the twentieth century.

That what doesn't destroy us, makes us stronger.
unleash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-17-2009   #6 (permalink)
Registered User
 
stiney51's Avatar
 

Join Date: May 2006
Location: Maine, USA
Posts: 656
Blog Entries: 16
Images: 7

Battle Wins: 3 (rank: #12)
Quote:
Originally Posted by unleash View Post
Just click on the object, go to the AS panel (where you type in you code) and type your code... it works similar to a layer you just need to select the object instead of the layer
All fine and good except "current selection cannot have actions applied to it"
stiney51 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-17-2009   #7 (permalink)
Just unleashed!
 
unleash's Avatar
 
Pinboliada Champion! Tournaments Won: 1

Join Date: Jul 2005
Location: Inbetween
Posts: 2,629
Blog Entries: 10
Images: 20

Battle Wins: 1 (rank: #35)
oh, crap... I forgot about that part

I dont really use FLV players much... if I need sounds I simply use the "newsound" function... If I need video... well than it becomes a lot harder for me.

lol
__________________
Ads are the cave art of the twentieth century.

That what doesn't destroy us, makes us stronger.
unleash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Looping Help LimitLess HTML / PHP / ASP / JS 3 03-09-2005 11:44 AM


All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT