Hello fellow netizens,

I am looking for a tutorial that would explain how to create swf files in flash 8 with the start/stop pause and volume adjuster buttons built into the video player.

The files I am working with are both .avi and flv so there is no problem of being limited to just one file type and so forth, but the main thing I would like to accomplish is have my clients be able to start the movie manually instead of it starting automatically when they visit my website.

Please let me know your suggestion, any feedback would be highly appreciated.


thank you

Dani AI

Generated

asked for a Flash 8 workflow that gives the visitor manual play/pause/stop and volume control for AVI/FLV clips. Replies from , and pointed to templates and tutorials; below is a concise, practical path that fills the gaps those notes leave open.

Convert any AVI to FLV (Flash-friendly) and place the FLV on a web server that supports byte-range requests so seeking/progressive download works. In Flash 8, add an FLVPlayback component to the stage and give it an instance name (for example flvPlayer). In the component parameters set the source to your FLV and turn AutoPlay off so the movie does not start immediately. You can use a built-in skin for quick controls or build your own buttons and wire them with ActionScript 2.0.

Example AS2 wiring for simple custom buttons (stage instance names: playBtn, pauseBtn, stopBtn, and flvPlayer):

playBtn.onRelease = function() {
    flvPlayer.play();
};
pauseBtn.onRelease = function() {
    flvPlayer.pause();
};
stopBtn.onRelease = function() {
    flvPlayer.stop();
};

Notes and troubleshooting: if seeking fails, ensure the server returns correct MIME/type and supports byte-range headers; some hosts need video/x-flv added. If playback is choppy, re-encode with a shorter keyframe interval (encoder setting) and choose a bitrate appropriate to target bandwidth. Finally, be aware Flash has been deprecated (end of life in 2020); for new projects prefer HTML5 <video> players (with JS skins) instead of relying on Flash in modern browsers.

Recommended Answers

All 3 Replies

Flash 8 comes with default templates for the controllers. You can pick one. It has been a while since I used them but the easiest thing to do is make your video in another format. Ex. WMV and then import it into flash 8 at that time you can pick the controller you wish to be displayed and the settings. I Think :) Its been a while.

Hi
I found a tutorial at adobe.com. This is a pdf file and can be downloaded.

Hope this may help you :)

Member Avatar for Member #114696

goto www.kirupa.com there you would surely find that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.