|
From: womp on 25 Jun 2008 11:39 I have a swf file with only an flv file in it. How, through Lingo, can I access the file duration, current time and issue start and stop commands. Thanks for your help. Craig
From: Rob Dillon on 25 Jun 2008 14:48 Use an FLVPlayback component without a skin. Name the component instance and set the path for the flv to be used. Save the swf and link it to the Director movie. Then in Director you can use a behavior for each of the buttons that you make to play and stop the flv. Similarly, you can get the playheadPercentage and the totalTime property values to tell you the progress of the video.
From: Dean Utian on 27 Jun 2008 22:41 womp wrote: > I have a swf file with only an flv file in it. How, through Lingo, can I > access the file duration, current time and issue start and stop commands. Hi Craig, Have a look at my Director and Flash Video Tutorial at: http://www.deansdirectortutorials.com/FlashVideo/ At the bottom of the page I have template files including: * Director file with swf member that can be dynamically linked to an external FLV. There is a behavior that lets you set the FLV the swf sprite will load. Also includes behaviors to stop, play and rewind the FLV, and wait until the end of the FLV * FLA file showing setup in Flash. regards Dean Director Lecturer / Consultant / Director Enthusiast http://www.deansdirectortutorials.com/ http://www.multimediacreative.com.au email: d.utian(a)unsw.edu.au
From: womp on 28 Jun 2008 12:01 Dean, That is PERFECT. Between you and mediamacros, my week of suffering is over. THANKS SO MUCH (and yes, I'm yelling that) My approach was to create all the controls in Director and just have an AS2 programmer create methods in a Flash MC to start and stop the FLV, set the flv time and read back the flv time and set the volume. Then I'd create the object like your or Chuck's code does and call those methods from Director. But the AS2 programmer I had wasn't able to do what I needed quickly. So with what you've offered, it will be easy. Thanks again Craig "Dean Utian" <d.utian(a)unsw.edu.au> wrote in message news:4865A4C2.68BA0D7E(a)unsw.edu.au... > womp wrote: > >> I have a swf file with only an flv file in it. How, through Lingo, can I >> access the file duration, current time and issue start and stop commands. > > Hi Craig, > > Have a look at my Director and Flash Video Tutorial at: > http://www.deansdirectortutorials.com/FlashVideo/ > > At the bottom of the page I have template files including: > * Director file with swf member that can be dynamically linked to an > external > FLV. There is a behavior that lets you set the FLV the swf sprite will > load. > Also includes behaviors to stop, play and rewind the FLV, and wait until > the > end of the FLV > > * FLA file showing setup in Flash. > > regards > Dean > > Director Lecturer / Consultant / Director Enthusiast > http://www.deansdirectortutorials.com/ > http://www.multimediacreative.com.au > email: d.utian(a)unsw.edu.au >
From: womp on 28 Jun 2008 12:38 Dean, The Flash developer I'm working with says that all of the controls within Flash are compiled and packaged and can't be changed. I thought, "Wow, Dean has this great stuff, all we need to do is go in and change the look of the buttons and their size and we're set" but then I noticed that 3 or four files are .swf that we can't edit. The Flash developer says that Adobe provides options for this stuff but you can't make your own unless you start from scratch and do everything, including the code, from scratch. Is there a way to use what I downloaded and completely customize the look without altering any of the code? Craig "Dean Utian" <d.utian(a)unsw.edu.au> wrote in message news:4865A4C2.68BA0D7E(a)unsw.edu.au... > womp wrote: > >> I have a swf file with only an flv file in it. How, through Lingo, can I >> access the file duration, current time and issue start and stop commands. > > Hi Craig, > > Have a look at my Director and Flash Video Tutorial at: > http://www.deansdirectortutorials.com/FlashVideo/ > > At the bottom of the page I have template files including: > * Director file with swf member that can be dynamically linked to an > external > FLV. There is a behavior that lets you set the FLV the swf sprite will > load. > Also includes behaviors to stop, play and rewind the FLV, and wait until > the > end of the FLV > > * FLA file showing setup in Flash. > > regards > Dean > > Director Lecturer / Consultant / Director Enthusiast > http://www.deansdirectortutorials.com/ > http://www.multimediacreative.com.au > email: d.utian(a)unsw.edu.au >
|
Next
|
Last
Pages: 1 2 3 4 Prev: Playing a Quicktime Movie Then Jumping to a Marker Next: DIRECTOR 11 PROBLEM + CURSOR + WMV |