I think you can compile an SWC and link against that.
On 26/02/2012 20:23, it...@aol.com wrote:
Hello Actionscript Experts,
Scenario: I have a shared library *.swf file with most of my assets. It
is loaded after the main
That actually makes a lot of sense to me and I haven't written one MVC
Thanks for the break-down!
In relation to what Henrik said about using adaptors,
I see the sub controllers as the adaptors, but they are not actually
adaptors, just sub controllers with targets to the main controller.
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:
Impressive, most impressive:
Flashcoders mailing list
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
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
In my world, an adapter is code I write to shoehorn code I didn't write into my
framework. Code sealed in a third party SWF loaded by one of my views is a
common candidate for an adapter.
From a completely green field, I can't imagine needing to adapt any code I
write to other code I've
Well, not every object has to be a Model, a View, or a Controller. You
can have your controller and view work with an instance of an adapter.
You wouldn't want an adapter hanging out in the ether - but but your MVC
objects could certainly have a uses a relationship to an adapter object.
I've been putting all my class files in one of three folders, model, view,
controller. I'm mostly concerned with making the code as easy to understand as
Where would you expect transfer object class - a class that just defines a set
of values to pass as a group?
Where would you
I don't think that it makes sense to categorise every class in terms of
the MVC trinity.
Classes that implement the MVC pattern, sure, but not everything else.
There's no need to put a sound processing class within the view class
hierachy, even if the view uses it to play audio from the
I generally have a dataTypes folder at the same level as the MVC folder for
I'd probably have an events folder at the same level in your case, but I can't
see much of an argument for custom events in a properly architected MVC
application. Since every write to the
Mail list logo