Flashcom Video Player Source

A Flashcom Application coded with OOP patterned to MVP, to detect user bandwidth and play specific FLV. The application uses Object Oriented Progamming Methodology and is patterned closely to Model-View-Presenter.

The title would have been much better if I can have a full sentence; “A Flashcom Application coded with OOP patterned to MVP, to detect user bandwidth and play specific FLV“.

We have recently been fascinated by a fad; “no hanging codes on frames”. You can remember the old days of Flash 5 when there was no option but to write piggy-bag codes on Buttons and MovieClips. But hey, there was Flem (by Branden Hall), which helped you write codes pretty much on the frames and not really on top of the MovieClips. But then as Flash/ActionScript evolved into a more matured form, things have taken shape in a much better way.

The next step was collection of Scripts/Codes on a single frame on the main timeline if possible and a few ones on the frame(s) of nested MovieClips. But then with more advancement and the ability to code more and more in an OOP manner, we can now reduce the number of frames where codes are hung in your FLA. If you look at the current application, you can see a single include file that initialize the necessary modules and the presenter took over the whole thing. Well, you virtually write everything in your favorite Text-Editor without taxing on Flash to do the loooooooooong compilation everytime you publish your Flash Document (Movie). Oh! Yes, MTASC have been a boon for ActionScript 2 Compilation.

About the Application

This application check the bandwidth speed of a user accessing the application and serves a particular flash video (flv) accordingly. The settings/configuration is configured in an external “config.xml”.

The importance here is not really what the application can do but on how to approach, adapt a methodology on building a Rich Internet Application with AS 2.0, adapting OOP/DP.

The application uses Object Oriented Programming Methodology and is patterned closely to Model-View-Presenter. Macromedia Flash MX 2004 Professional was used for the application and coded in ActionScript 2.0.

This application is distributed under the GNU GENERAL PUBLIC LICENSE
A copy of the license text is available at http://www.gnu.org/copyleft/gpl.html

System Requirements, Installation/Deployment instructions are included in the Readme.txt file included with the either of the source downloads. You can read through the Class Documentation generated by the Community edition of BLDoc.

Source File Downloads


Don't like it? There are lots of published articles, pick a random one.

oCricket

Brajeshwar posted this article on Mon, Jan 17th, 2005 at 7:34 am
Categorized under Technology and has the following tags

Prev Article: Virtual Stan

Next Article: National Treasure

Archives: Visit the Archives for more articles.

Comments Post Yours

There are no response so far. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Great Indian Developer Summit 2009

I got a Press Release of the upcoming GIDS '09 and here is an excerpt. The summit's program covers Java, REST, Unit testing, Groovy, Spring, Struts 2.0, SOA, Cloud Computing, Web Services, JRuby, RoR, Ruby, JVM, ...21st Jan, 2009

The flourishing gun market in Pakistan

VICE Travel: Darra, Pakistanby Top-Notch112 (Via: Deep Green Crystals) 20th Jan, 2009

Angry Ringtone for iPhone and others

[audio:http://audio.brajeshwar.com/angry-ring-ring.mp3] The ANGRY RINGTONE for iPhone. (Click the PLAY button above!) Download * iPhone Ringtone (.m4r) * MP3 Ringtone (.mp3) * Zipped (both .m4r and .mp3) To use it as an iPhone Ringtone; just double click the file "angry-ring-ring.m4r" and it ...15th Jan, 2009

IIM Ahmedabad's Leverage 2009

Leverage, the Venture Capital and Private Equity Club of IIM Ahmedabad and the Centre for Innovation Incubation and Entrepreneurship bring to you the 1st edition of the Venture Capital and Private Equity Conference on the ...12th Jan, 2009

Fedora 10 Released

Let's talk history! Fedora was created in late 2003 as a Linux based Operating System which gives the users an admittance from anywhere in the world to the most up-to-date free and open source software ...28th Nov, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • oCricket oCricket is about Cricket and people enthusiastic about it.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 949 Articles and 6,472 comments, contained within 22 categories and 1,497 tags.