how to isert .avi into flash

Dani AI

Generated

For : the core issue is less the .avi extension and more the codec inside and the Flash runtime you target. The different replies from and reflect that variability—some setups decode whatever the OS provides, others only accept specific encoded streams. That difference explains why import worked for some people and not for others.

Practical workflow that avoids surprises: pick the delivery method first (embed in the SWF or load an external video). External files keep SWF size down and let you stream or progressively download. Re-encode the source with a reliable encoder (Adobe Media Encoder or ffmpeg). Match the Flash document frame rate and dimensions. Use two-pass VBR, set audio to 44.1/48 kHz, and force regular keyframes (about every 1–2 seconds) so seeking and streaming work well. In Flash use the Video Import Wizard or a playback component to either embed or link the encoded file.

Important context today: Flash Player has been retired and modern browsers do not run it. For new projects, publish video with HTML5 (MP4 H.264 or WebM) and a JS player. If maintaining older Flash files, keep originals, test in the exact legacy runtime, and prefer external video files rather than embedding large media in SWFs.

Quick troubleshooting: if import fails, re-encode with a standard codec, confirm playback in desktop players, verify FPS and audio sync, and increase keyframe frequency if seeking or buffering is flaky.

Recommended Answers

All 3 Replies

I don't think flash allows you to import .AVI files. Convert your avi to mov, then You'd need to have quicktime player installed. There after you can import it.

Simpler solution: Convert the movie to .FLV (Flash Video ) format and u can import it anyway...

thanks.........

Member Avatar for Member #114696

No flash could import .avi. I have flash mx ver 6 and it do import them.

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.