Instead, using code would be a better solution to pull a link to your flash file from a field in an element in Sitecore. This can be either on the current element of the page that the user is viewing, or if you need it through the site, and then on the element that your subtask refers to, which displays Flash video.
Thus, your code remains simple, and if you need to switch to other languages, you do not need to change your code; you just need to create a new translation of the element that points to another flash file.
source share