views:

15

answers:

1

Creating a simple video for embedding by importing a video into flash creates a separate swf for the controls. Is there a way to have the controls embedded in the main SWF, so you don't have to worry about paths to the control swf?

A: 

so you are doing something like this http://www.webdesign.org/flash-swish/flash-tutorials/flash-cs5-flv-playback-video-tutorial.18633.html

but if you want dynamic url, you should code init() function which will get from e.g. FlashVars the needed url and put it inside of your VideoDisplay or FLVPlayer component and start playback.

So, please, clarify what are you looking for.

Eugene
Yeah that's basically what I'm doing. What I want to know is if there's any way to package the controls in with the SWF so that I never have to worry about paths, or the additional file.
Joren
what about to use flex?
Eugene