Neill Karl
10-01-2004, 09:11 PM
I'm using AMS Pro to put together a product demo CD. I've used Camtasia to create several demonstration videos, and have used Camtasia to put them in .SWF format. Since I'm using AMS Pro, it's a simple matter to take the Flash file, load it up, and put the controls in. *Except!* I really need a progress indicator of some kind. Not to hard to make, but I can't figure out a way to find out the total length of the Flash file, in frames or seconds, from within AMS. I think I could track my location in the movie by tracking the elapsed time, but I need to know the total first! I'm sure that if I was a REAL programmer, and had Flash MS or some other way of editing and creating Flash, I could solve this quickly. But, I'm not. I have to work with the Flash from Camtasia.
I could solve my problems by just using AVI instead of Flash, but I like the small size of the Flash, and have found that, when I reduce the size of the video from the original, the Flash looks a lot better than the AVI. So, I'm sticking with Flash.
I've tried just loading the html file created by Camtasia into a web object and using the Camtasia-created control bar. This *almost* works, too, But I'd like to do my own control bar, to suit my color schemes. Also, there's a size issue of some kind that forces me to leave a border around the html object that I'd like to avoid.
So, if I could just figure out how to determine the length of the .SWF file (or my current position in the file - I could just seek to the end to get the total), I'd be all set up. I did figure out the file size, but that doesn't quite work either. Oh, and in case you're interested, I did figure out how to get the frames-per-second info from the movie - it's a variable that you can pull out with the flash.getvariable command - it's "csMovieFPS". Too bad I can't figure out the variable for length or current position!
So, short of learning Flash and buying Flash MS, any idea how I can solve my problem?
Thanks!
I could solve my problems by just using AVI instead of Flash, but I like the small size of the Flash, and have found that, when I reduce the size of the video from the original, the Flash looks a lot better than the AVI. So, I'm sticking with Flash.
I've tried just loading the html file created by Camtasia into a web object and using the Camtasia-created control bar. This *almost* works, too, But I'd like to do my own control bar, to suit my color schemes. Also, there's a size issue of some kind that forces me to leave a border around the html object that I'd like to avoid.
So, if I could just figure out how to determine the length of the .SWF file (or my current position in the file - I could just seek to the end to get the total), I'd be all set up. I did figure out the file size, but that doesn't quite work either. Oh, and in case you're interested, I did figure out how to get the frames-per-second info from the movie - it's a variable that you can pull out with the flash.getvariable command - it's "csMovieFPS". Too bad I can't figure out the variable for length or current position!
So, short of learning Flash and buying Flash MS, any idea how I can solve my problem?
Thanks!