It was a good example of MVC Ross, I think Henrik was saying it should
have been designed using MVC.
I did see a nice example on a Microsoft poster using a clock with:
analog and digital views; data in the model and the controller enabling
the views etc.
I am wondering what an adapter might get up to.
John
On 27/02/2012 13:17, Ross Sclafani wrote:
I'm not implying that the code even adheres to my personal MVC file structure,
but its functional operation is a good example to illustrate my MVC paradigm.
Ross P. Sclafani
Owner / Creative Director
Neuromantic Industries
http://www.neuromantic.com
http://ross.sclafani.net
http://www.twitter.com/rosssclafani
347.204.5714
On Feb 27, 2012, at 6:39 AM, Henrik Andersson<he...@henke37.cjb.net> wrote:
Ross Sclafani skriver:
An MVC Example
FLVPlayback is an interesting MVC component:
it holds a NetStream as a model of the video
it holds a Video as a view of the Video
It acts as controller to set the model in motion by connecting it to a stream
the ui is also a view of the video: the percent elapsed is represented n the
scrub bar, ther is a play button while paused, a pause button while playing,
then there are the time readouts..
Sadly, that is not true.
First sentence of the manual page for the FLVPlayback class:
FLVPlayback extends the Sprite class and wraps a VideoPlayer object.
I don't have enough time to figure out how much this matters, but I
assume that if you care you are better of reading the source code anyway.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders