Question
Resize FLV dynamically
I am trying to
resize a FLV movie that is loaded through ActionScript 3 so
that the end user would be able to switch back and forth from a
smaller movie to a larger movie without starting the movie over.
The movie is encoded at 320 x 240 and I would like it to scale to
640 x 480 on the click of a button instead of using the fullscreen
functionality because I lose my captions when I switch to
fullscreen mode. A simple toggle button would be ideal. Some help
with setScale, setSize or whatever is easiest and how to use them
dynamically to change a FLV from 320x240 to 640x480 and back again
using a button would be greatly appreciated.
This project requires I use ActionScript 3 to load the movie instead of placing it on the stage because of the volume of movies that I am having to do. It has produced a lot of unique problems since I am really using the new FLVPlaybackCaptioning for the first time and I am having to use multiple languages for the captions. I am also just now switching from ActionScript 2 to ActionScript 3.
Currently I have a Dynamic Text field that is given an instance name of "captionText" and a combo box that is given the instance name of "language". The combo box serves as a data provider for the languages and captions that are loaded in an external XML file. The XML file contains all my caption information, language codes, as well as cuepoint information for the movie. You can view the working movie at:
Feel free to email me at jferrell@sieducation.com and thanks in advance for any help you can give me.
View the movie HERE
My code so far is below.
This project requires I use ActionScript 3 to load the movie instead of placing it on the stage because of the volume of movies that I am having to do. It has produced a lot of unique problems since I am really using the new FLVPlaybackCaptioning for the first time and I am having to use multiple languages for the captions. I am also just now switching from ActionScript 2 to ActionScript 3.
Currently I have a Dynamic Text field that is given an instance name of "captionText" and a combo box that is given the instance name of "language". The combo box serves as a data provider for the languages and captions that are loaded in an external XML file. The XML file contains all my caption information, language codes, as well as cuepoint information for the movie. You can view the working movie at:
Feel free to email me at jferrell@sieducation.com and thanks in advance for any help you can give me.
View the movie HERE
My code so far is below.