Msg#: 4266583 posted 8:38 pm on Feb 13, 2011 (gmt 0)
I have an html page with several swf videos. I don't want all the videos to download on page load, instead I would like them to download only when a visitor clicks to play them.
Currently I achieve this using an I-frame with an image in it that loads another page with the movie. It's messy.
Is there a way of embedding the video on the page but requiring a click before it downloads? I know it sounds simple but I can't seem to find useful info about how to do this. Any pointers much appreciated.
Msg#: 4266583 posted 6:44 pm on Feb 16, 2011 (gmt 0)
Brilliant - I have the videos in .flv format so that would be easy. I also have the FlashMX editor used to prepare the videos so could prepare the wrapper file.
How is it done roughly? Does it require additional software or scripts or can I just mess around in FlashMX with actionscript and the like? - searching for this sort of thing seemed to return application specific information.
Msg#: 4266583 posted 1:01 am on Feb 17, 2011 (gmt 0)
Please clarify the reference to Flash MX.
That was the name of version 6 back in 2002 (the first to incorporate video, but not well). It may not be enough, or if working with FLVs is possible at all it may be horrendously complicated (I'm sorry, I can't remember after all this time).
More recent Flash versions (8x) used a built-in FLV component (simply double-clicking an FLV wouldl launch an easy wizard). You make a "wrapper" SWF file of the correct dimensions, with extra space at the bottom if you want to load transport controls.
For multiple choice the "wrapper" SWFs can be loaded into an interface SWF as required using buttons (I generally use loadMovie into a placeholder movieClip).
Msg#: 4266583 posted 5:29 pm on Feb 17, 2011 (gmt 0)
Well if what you have are videos embedded in SWFs you could still use Flash MX to make a menu interface SWF and load them into a placeholder movieClip on demand (perhaps with clickable thumbnals instead of standard buttons).
It may be 2002 vintage, but it is still a powerful tool and old-style Actionscript works fine.