Re: [Flashcoders] Importing A Button or Other Component Dynamically With Pure AS 3

2012-02-27 Thread Glen Pike
I think you can compile an SWC and link against that. http://jessewarden.com/2009/05/creating-modules-in-flash-cs4.html 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

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Karl DeSaulniers
That actually makes a lot of sense to me and I haven't written one MVC yet. 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.

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Henrik Andersson
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:

[Flashcoders] Air3.2

2012-02-27 Thread Ima Newsletta
Impressive, most impressive: http://www.youtube.com/watch?v=ZPHATCbnHE0feature=player_embedded# ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Ross Sclafani
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

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread John McCormack
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

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Ross Sclafani
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

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Kevin Newman
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. For

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Mattheis, Erik (MIN-WSW)
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 possible. Where would you expect transfer object class - a class that just defines a set of values to pass as a group? Where would you

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Paul Andrews
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

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Ross Sclafani
My takes: I generally have a dataTypes folder at the same level as the MVC folder for 'transfer objects' 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