textfields
June 24th, 2007 . by polyGeek![]() |
Watch the video tutorial covering TextFields |
There are three versions of time indicators that you can use to display to the user where they are in the video.
The timeRemaining TextField displays how much time is left in the video.
The timePlayed TextField displays how much time has elapsed since the video began playing - and only counts while the video is playing.
The timeCombo displays both timeRemaining and timePlayed in one TextField.
If you would like to see the meta data contained in an FLV file then create a TextField and give it an instance name of metaData. It will display all of the properties and values of the meta data. This is how you would find out what the native width and height of the video are if you didn’t already know. This is handy to build into your Flash file and leave off stage so that you can only see it in the authoring tool.
The downloadProgress bar is a visual representation of how much of the video stream has been downloaded. If you would like to display to your users the same information as a text value then create a TextField and give it an instance name of downloadPercent.
The metaDuration is a TextField that displays the duration of the video as reported by the metaData inside the FLV file.

