Question about Macromedia Flash MX

1 Answer

Flv player hi this is rahul, i want to make a custom flv player in actionscript2.0plz help me.

Posted by on

Ad

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 4 Answers

Hi rananjay is here. try this script....

// flv player..
// developer.. Rananjay Singh
// video instance name = thevideo
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
the_video.attachVideo(ns);
ns.play("vegas.flv");
//made control on new layer button name = Rewind button,play button
rewindbutton.onRelease = function() {
 ns.seek(0);
};
playbutton.onRelease = function() {
 ns.pause();
};
//loader..
// made new symbol named loader with strock
// inside this select the fill color & make new mc named loadbar
var videoInterval = setInterval(videstatus, 100);
var amountloaded:Number;
function videostatus() {
 amountloaded = ns.bytesLoaded/ns.bytesTotal;
 loader.loadbar._width = amountloaded*217.9;
 // 217.9___ width of loadbar
}
// flv setting-- framerate = 1.1,,, frame every 30
// make anew mc for seekbar named scrub
// then it place on loadbar
var duration:Number;
ns["onMetaFata"] = function (obj) {
 duration = obj.duration;
 loader.scrub._x = ns.time/duration*208.9;
 //208.9 width of loadbar
};
// scrubbar firs see what area cover loadbar 0 to x
var scrubInterval;
loader.scrub.onPress = function() {
 clearInterval(videoInterval);
 scrubInterval = setInterval(scrubit, 10);
 this.startDrag(false, 0, this._y, 208, this._y);
};
loader.scrub.onRelease = function() {
 clearInterval(scrubInterval);
 videoInterval = setInterval(videstatus, 100);
 this.stopDrag();
};
function scrubit() {
 ns.seek(Math.floor((loader.scrub._x/208)*duration));
}
//buffering---- made a videosize blackmc & inside that give text alpha animation,, named buffer
ns.setBufferTime(30);
ns.onStatus = function(info) {
 //if(info.code ==)..... see netstream class in help & compleate it
};
// custom ontextmenu..
var themenu:ContextMenu = new ContextMenu();
themenu.hideBuiltInItems();
_root.menu = themenu;
var i1:ContextMenuItem = new ContextMenuItem("video controls", trace);
var i2:ContextMenuItem = new ContextMenuItem("play/pause video", pauseit);
var i3:ContextMenuItem = new ContextMenuItem("replay video", replayit);
var i4:ContextMenuItem = new ContextMenuItem("copy right", trace);
themenu.customItems[0] = i1;
themenu.customItems[1] = i2;
themenu.customItems[2] = i3;
themenu.customItems[3] = i4;
// after that create two functions for context menu
function pauseit() {
 ns.pause();
}
function replayit() {
 ns.seek(0);
}
// and now prepratin foe volume control
//make a four stage movi clip for sound .. named normal,onover,mute , muteover
_root.createEmptyMovieClip("vsound", _root.getNextHighestDepth());
vsound.attachAudio(ns);
var so:Sound = new Sound(vsound);
so.setVolume(100);
// button name = mute
mute.onRollOver = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("onover");
 } else {
  this.gotoAndStop("muteover");
 }
};
mute.onRollOut = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("normal");
 } else {
  this.gotoAndStop("mute");
 }
};
mute.onRelease = function() {
 if (so.getVolume() == 100) {
  so.setVolume(0);
  this.gotoAndStop("muteover");
 } else {
  so.setVolume(100);
  this.gotoAndStop("onover");
 }
};

Posted on Oct 29, 2007

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
A 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
The service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Good luck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Flv player formet is not working in my mobile sony ericsson satio u1


hi buddy

try to download an FLV player from www.mobile9.com, this website is going to help you download the application you want for video formats like .avio, mp4, flv etc..

Jun 06, 2011 | Cell Phones

Tip

Convert your Youtube videos(.flv) to Quicktime


When you download some interesting videos from YouTube you might thinking of sharing with friends on your iPhone, iPod touch or iPod nano anywhere at any time or play the flv videos on your quicktime player. But as we all know, quicktime don't support flv format. Thus, you need a <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>flv converter to quicktime</b></a> to help you <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>convert flv to quicktime</b></a>. The best way to find a good <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>flv to quicktime converter for mac</b></a> is to free try using it first.<br /><br />Aimersoft flv to quicktime converter Mac, also called <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>flv converter to quicktime</b></a>, can help Mac users fulfill a perfect task on <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>converting flv to quicktime mac</b></a>. Apart from <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>converting flv to quicktime</b></a>, aimersoft flv to mp4 converter also allows Mac users trim the video length or crop the video size. The latest version supports snow leopard. Free download it and free use it to <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>converting flv to quicktime</b></a> video files now!<br /><br />After downloaded this <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>flv converter to quicktime</b></a> file successfully, double click it and launch aimersoft flv to quicktime converter for Mac.<br /><img src="5264587263_dfe4727233_m.jpg" /><br /><br />Step 1: Import your flv file<br />Run the <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>flv converter to quicktime</b></a> and drag all FLV(.FLV) video files to the program.Get ready for <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>converting flv to quicktime mac</b></a>.<br /><br />Step 2. Choose the output format "MOV" (Quicktime supports MOV format)<br />Click the format icon "ipod", and it will pop up an box. Then click the format,it will appear the output box, choose the "MOV".<br /><br />Step 3. <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">convert flv to quicktime mac</a> Now<br />Click "Start" when everything is set, and the <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html"><b>flv converter to quicktime</b></a> conversion will be completed automatically. Converted files can be found by clicking "Find Target".<br /><br />Tags: <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">convert flv to quicktime</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">flv converter to quicktime</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">converting flv to quicktime mac</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">converting flv to quicktime</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">flv to quicktime</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">mac convert flv to quicktime</a>,<a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">convert flv to quicktime mac</a>,<a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">mac flv to quicktime</a>,<a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">flv to quicktime converter for mac</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">convert flv to quicktime mac os x free</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">flv quicktime converter mac</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">quicktime to flv converter mac</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">flv to quicktime mac</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">how to convert flv to quicktime</a>, <a href="http://www.aimersoft.com/convert-flv/convert-flv-to-mov-mac-edit-imovie.html">flv to quicktime converter mac</a>

on Mar 02, 2011 | Computers & Internet

Tip

FLV to SWF converter for mac, convert Flash FLV to SWF on mac


PartI. Difference between FLV and SWF
PartII. How to play FLV and SWF on mac
PartIII. How to convert FLV to SWF on mac

PartI. FLV VS. SWF

What is FLV?

FLV files (Flash Video Files), a binary file format, are composed of a video bit stream and an audio bit stream and deliver web video over the Internet with Macromedia Flash Player. FLV files are considered to be streaming video files. If you put FLV file in website, you don't have to download the entire file before playing. FLV content may also be embedded within SWF files. The audio and video data within FLV files are encoded in the same way as they are within SWF files. Unlike SWF format, FLV do not have maximum of 16000 frames limitation and ideally for large video file size. Notable users of the FLV format files are YouTube, Yahoo video, Google Video, Reuters.com, My Space, Facebook video etc.

What is SWF?

SWF (Shockwave Flash)- The file format SWF is a vector graphics file format, not streaming media. SWF file can be played directly in web browser, such as Internet Explorer. However, FLV file can not be playback directly, because it requires a separate SWF file which reads the video content from FLV. The SWF file that plays FLV file is called online flash player. Intended to be small enough for publication on the web, SWF files can contain animations or applets of varying degrees of interactivity and function.

PartII. How to play FLV and SWF on your mac

FLV and SWF are currently very popular over the Internet. When you have downloaded many cartoon movie files which are in SWF file format from Internet or downloaded a video from video sharing website like Youtube to your Mac, you must want to play them in the formats of FLV and SWF. However the default Player on Mac, QuickTime Player, can't playback them. Luckily, the problem will be fixed when you use SWF&FLV Player.

SWF&FLV Player, which is based on the standard Adobe Flash player for Mac OS X, SWF & FLV Player by Eltima Software offers advanced and unique features that allow you to play, rewind, fast-forward and preview SWF and FLV files frame-by-frame, and also create and manage playlists, zoom movies in and out, fit to current window size or restore to original one, set playback quality, control Flash security, check SWF file’s comprehensive information and lots more.

PartIII. How to convert FLV to SWF on mac

Want to publish your website and insert a SWF file into it, right? Use Flash 8.0 to create an embedded SWF with for your web site, however, you will find that the created SWF file goes out of sync in video and audio. How to solve this problem?

A workaround is FLV to SWF converter for mac which is a special flash creator. Mac FLV to SWF converter can convert FLV to SWF as simple as a piece of cake, without any actionscript and programming. Mac FLV to SWF converter empowers you to embed your SWF in a HTML web page during flv to swf conversion.

Step1. Add FLV files
Click "Add video" button to open the directory and choose all FLV files you want to convert.

Step2. Take slide
Choose two or more FLV files and click "Slide" button.

flash-slideshow.jpg

Step3. Choose a customize flash player
Go to "the step3 of cutomize" panel, and then hit "Player" tab to choose a customize flash player for your flash video.

flash-player.jpg

Step4. Set a flash preloader template
Press the "Preloader" tab to select a cool flash preloader template.

set-preloader.jpg

Step5. Convert FLV to SWF
Hit the "Start" button to start FLV to SWF conversion.

Next: Create free flash slideshow for website with photos.

on Jun 24, 2010 | Computers & Internet

1 Answer

I can't open saved flv file


Do you have a flv player? Windows media player can't play FLV. Either get a flv converter to convert it to something which is more easily playable (have a look at some of these http://en.softonic.com/s/free-flv-converter ) or use a youtube downloader which can convert straight from flv ( http://youtubedownload.altervista.org/ ) or get a flv player ( http://download.cnet.com/FLV-Player/3000-13632_4-10467081.html )

I reccomend using a converter, as you'll be able to share videos more easily and watch them on a number of devices.

Oct 01, 2009 | YouTube Computers & Internet

2 Answers

Imac not recognizing maxtor external hard drive


flv-to-mp4-mac-converter.gif

flv to mp4 mac video converter can easily and fastly help mac users to convert various video formats from one to another with perfect output quality and high conversion speed.
flv to mpg Converter is an ideal FLV to mpg conversion tool in converting Flash Video (FLV) into mpg formats.
Looking for all-in-one software to convert flv to mp4 ? Once owning FLV to MP4 converter, you can convert FLV to MP4 with excellent image and sound quality . All FLV files encoded with H.264, H.263, On2 VP6 and Nellymoser are supported. Besides converting FLV to MP4, this software also can convert FLV to avi, mov, 3gp, wmv, vob, etc. Easy-to-use interface and fast output speed let convert FLV to MP4 without any trouble.
Flv to mp3 converter is an easy-to-use software to convert flv to mp3 No matter you are a professional or not, you can convert flv files to mp3 without any difficulties. Just download the flv to mp3 converter, try it to convert flv to mp3 and have a wonderful converting experience right now.
flv converter is a so well engineered flv video conversion program that it can covert YouTube FLV video files to more common files, like FLV to AVI, FLV to MP4, FLV to MPEG-4 to fit more portable devices.
FLV Converter Mac OS X software is a all-in-one converting tool. You can either convert FLV to AVI, MPEG, WMV, MPG, MP4, 3GP, XviD, DivX, DAT, MOV, MP3, WMA, OGG, etc. Or convert them to FLV FlashVideo format. Besides, you can customize various options to make the software easiest to use for your demand.
avi to flv Converter is a powerful flv video converter which can convert avi to flv, DivX, XviD, MP4, M4V, FLV, 3GP, ASF, RM, RMVB, MOV, ASX, MKV, OGM, SVCD, VCD, VOB to FLV.avi to FLV converter is a powerful Flash Video Encoder to convert any video into avi video and FLV streaming video formats.
In contrast to various video conversion tools, FLV to MPEG Converter is a professional program which is much easier to customize, offers higher quality. No matter you are novice or pros, three clicks can finish this conversion FLV to MPEG: (1) Add file, (2) Select output formats and destination, (3) Click Start!Want to convert FLV to MPEG? Come to try FLV to MPEG Converter with your own. The earlier you use FLV to MPEG Converter, the simpler you convert FLV to MPEG!
flv to mpeg video converter
On how to convert FLV files to AVI? First choice is FLV to AVI video converter. flv to avi converterFriendly-user interface and high output quality let you convert FLV files to AVI without any difficulty. Besides converting FLV files to AVI, FLV to AVI video converter also can convert FLV to mov, wmv, mp4, 3gp, mpg, mpeg, vob, etc. Versatile editing functions also supported by FLV to AVI video converter.
flv to wmv Flv to WMV Converter is the best FLV file conersion tool that can convert Flash FLV video files to AVI, MPEG, WMV video files so that they can be played in Windows Media Player or edited by video editing software. You can set output video's bitrate, framerate, output audio's bitrate. support completely batch conversion Flv files to WMV/AVI/MEPG with super speed. The simple and friendly interface make user feel free to to use. freedownload is supported.
Easy-to-use flv to mov converter greatly realizes video conversion. Besides converting FLV to MOV, FLV to MOV Converter can split, merge, edit, apply effects, capture, rip and burn files. Batches conversion let you save much time to convert FLV to MOV.
flv to rmvb such as convert flv to rm, flv to rmvb, flv to ra. either convert flv to rm/rmvb/ra or convert flv to vcd. both means the same. and happenly this software flv to vcd converter can tackle it. so if you want to save your flv video to a vcd/svcd disk, just feel free to use this flv to vcd converter.If you happenly want to convert FLV on Mac, I suggest thismac flv converter
wmv to flv is specially designed for Mac os x unsers, it is both a mac FLV encoder and mac FLV decoder, which means you can convert FLV to any other video or convert any other video to FLV! Free download supported.

Sep 25, 2009 | Computers & Internet

Tip

Three ways to convert MOV to Flash video FLV, SWF on mac


On mac, MOV is one of the most common video formats. MOV file, a Quicktime video file, is a video and audio container format developed by Apple Computer Inc.

Recently, I found that many mac users are confused on how to convert MOV to Flash video, turn quicktime .mov files into FLV, change MOV movies to SWF flash video on mac. As a video fan and webmaster, do you have the similar problem?

Yes? No worry! This passage will list 3 methods for you to convert MOV to flash video, including methods for mov to flv converting and converting mov to swf file. You can choose the most suitable one according to your requirements.


First Method: Using Flash 8 video Encoder to convert MOV to Flash FLV files

Flash Professional 8, a Flash Video Encoder application, is purposed to convert the video file including MOV to FLV format. What's more, with Flash 8 video Encoder, you can directly export FLV files from QuickTime, Adobe After Effects, Final Cut Pro, and so on.

Cons: Flash video Encoder just supports video but not audio. The audio portion of the file cannot be imported or the audio section will be dimmed in the Encoder. And it just can convert MOV to Flash video in FLV format, but not in SWF format. It can't do batch conversion.

If you are interested in how to use Flash Video Encoder, you can visit: http://www.adobe.com/designcenter/tutorials/videoencoderwizard/

Second Method: With QuickTime Pro to convert MOV to Flash video(FLV)

I know QuickTime Player(QT) is not strange for all of you. But about QuickTime Pro, how much did you know? Did you know QT Pro has the ability to convert and edit video?

QuickTime Pro is the upgraded version of QuickTime Player. You have to pay $29.99 to get the upgraded one. Using QT Pro, you are able to convert clips to a number of formats, including convert MOV to Flash video. And the operation is easy-to-done.

Cons: It supports to convert MOV to Flash video in FLV format, but not in SWF format. It has no batch converting mov to flv ability.

How to using QuickTime Pro to convert MOV to Flash video(FLV)

Step1. Open an MOV file with QuickTime Player. Go to 'File', then select 'Export'

Step2. In the list of 'Export', choose 'Movie to Flash video(FLV)'

Step3. Finally, Click 'Save' button

Third Method: By Mac MOV to Flash converter to turn MOV to SWF and FLV

Doremisoft MOV to Flash converter Mac, a great FLV and SWF Flash video Creator, can convert MOV to FLV, change MOV to SWF on mac. And It is able to embed video in an HTML web page. Mac MOV to Flash converter provides a wealth of features: powerful editing and practical customize features, such as video clipping, merging, cropping,sliding, free flash player, effect, loading template provided, adding text/image, url to flash video...

Pros: MOV to Flash video converter mac can not only convert MOV to FLV file, but also convert MOV to SWF with customize flash player and skinning control bar. And it supports batch conversion, so you can import and convert as many video files as you wish. Easy-to-use, no actionscript required.

More details for features of Mac MOV to Flash converter, please visit introduction of flash converter.

How to using Flash converter to convert MOV to Flash video(FLV & SWF)

Step1. Import MOV files to Flash converter
Download Flash converter mac, install it as its installation wizard. Run it and add MOV files you want to convert.

Step2. Start Convert MOV to Flash converter
After importing MOV movies, Click 'Start' button to get MOV to Flash conversion started. The process can't be easier more. Two steps is all right.

mac-mov-to-flash-converter-flv-swf.jpg

Next: Customize and make your own Flash player.

on May 12, 2010 | Computers & Internet

Tip

How to convert flv files on mac


What's FLV
3588477112_fd8be0a259_o.jpg
Flash Video (FLV) is a file format used to deliver video over theInternet using Adobe Flash Player (initially produced by Macromedia)versions 6–10. Until version 9 update 2 of the Flash Player, FlashVideo referred to a proprietary file format, having the extension FLV.Notable users of the Flash Video format include YouTube, Google Video,Yahoo! Video, Reuters.com, metacafe, and many other news providers.flvis so popular and we need frequently convert .flv on mac.

How to download online youtube FLV video on Mac
The best choice is to use the free youtube tool named Free youtube Downloader for mac.
Commonly, many users are bothered that found an interesting videoonline but cannot save it on Mac. Actually, it is not hard to downloadFLV video from YouTube video-sharing sites with the Aimersoft freeyoutube downloader for mac.

How to play FLV on Mac
An FLV player is a type of media player that is used for playing flashvideo from PC as well as from Internet websites. An FLV player can beused standalone, without the need of the Adobe Flash authoring ordevelopmental tools.
The following player supports FLV files in their default installations:

Aimersoft free youtube dowloader for mac.

How to convert FLV to MP4, MOV, MKV, AVI, etc on Mac OS
flv converter for mac is a professional Mac FLV converter to convert FLV video to MOV, MKV, MOV, MP4, AVI, etc on Mac.
This Mac flv Converter also help you convert all the other audio andvideo formats from one to another on Mac, e.g. WMV (Windows MediaVideo), AVI (DivX, XviD, etc.), MPEG ( MPEG1, MPEG2, VCD, SVCD), MP4,3GPP, 3GPP2, MOV, IFO, VOB, DAT, ASF, MKV, TS, MTS, M2TS, TP, TRP, MP3,M4A, WAV, AC3, MKA, etc.
flv converter for mac has a friendly interface to users for mac .Moreover, it can convert .flv on mac with good quality.
*If you need to convert DVD to FLV video on Mac, just free download this DVD to FLV ripper for Mac.

How to download online FLV video to iPod, iPhone, Apple TV, etc
Want to download on line FLV video and play FLV video on iPod, iPhone and other portable players?
First download with free youtube downloader for mac and then,convert them to iPod, iPhone and other portable players?
This all-in-one flv converter for mac will convert flv files good formac users and then you can upload them to YouTube, Google Video, Yahoo!Video, Reuters.com, metacafe and many other video-sharing websites, andconvert flv mac or t convert them to all the other video and audioformats such as MP4, MOV, MKV, AVI, MP3, M4V, AAC, etc on Mac OS, allthe output video can be player on iPod, iPhone, Apple TV, PSP, PS3,iRiver, and Creative Zen etc.

In our daily life, online videos are more and more popular, we enjoythem. However, just videos online can't satisfy our needs. Sometimes,we are likely to download it or put it on our portable player. If youwant to this, the information above can help you a lot. Now, just findwhat's your favorite online videos and do more with them.

on Feb 05, 2010 | Computers & Internet

4 Answers

Cannot play flv files


Hi Jai,

Visit the link below to configure your media player to play flv files

http://www.mediacollege.com/adobe/flash/video/windows-media-player/


I hope this information allows you to resolve this issue.

If I have helped you, please help me, and rate this suggestion the highest FixYa rating. (Two Thumbs Up) If you cannot rate this post with the highest rating, then please comment to this post and I will try to help you further.

Jun 27, 2009 | Microsoft Windows Media Player

Not finding what you are looking for?
Macromedia Flash MX Logo

Related Topics:

198 people viewed this question

Ask a Question

Usually answered in minutes!

Top Macromedia Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18424 Answers

Folusho Adeyanju
Folusho Adeyanju

Level 2 Expert

131 Answers

Tony

Level 3 Expert

2600 Answers

Are you a Macromedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...