Re: [Flashcoders] Real System Make Money Easy 2012 Trend‏‏‏‏‏

2012-03-12 Thread Cédric Muller
As they say in their commercial: This is called Market Research LOL, funniest mail for weeks. Point 1 and 2 are hillarious (Er, wait I do own an iPhone, does it count? I don't know if I have access to the internet, but I certainly have access to the AppStore+iTunes). Bring on the pigeons banded

Re: [Flashcoders] Real System Make Money Easy 2012 Trend‏‏‏‏‏

2012-03-12 Thread Kevin Newman
The Starks are /always/ right eventually. On 3/11/12 3:52 AM, Ima Newsletta wrote: Winter is coming ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] AIR Screensaver?

2012-03-12 Thread David Hunter
Hi All, Anyone have any advice on making screensavers from Flash? I have seen some decent looking software http://www.screentime.com/software/flash-screensaverto convert an swf into a screensaver but it is quite pricey, I didn't have any luck with a mac open source alternatives, so I was

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread Adrian Zając
I know only this one: http://www.instantstorm.com/ But I think it's for Windows only Adrian W dniu 2012-03-12 23:58, David Hunter pisze: Hi All, Anyone have any advice on making screensavers from Flash? I have seen some decent looking software

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread Sidney de Koning
Hi David, What you can do is create and run an AIR app on startup of the users machine, respond to the idleTime property and show some media or text accordingly. The only thing is that it won't show up in the screeensavers list on the appropriate OS. I think the SPF app has something

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread John R. Sweeney Jr.
Over the years I've used ScreenTime first for Director screensaver's and then Flash. It really works well. Installs it like an actual screensaver on PC or MAC. It does the job quite well. Later, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread David Hunter
Thanks for the pointers on AIR and feedback on Screentime. I'll look into all that further. Cheers, David On 12 March 2012 23:57, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Over the years I've used ScreenTime first for Director screensaver's and then Flash. It really works well.

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread Henrik Andersson
David Hunter skriver: Hi All, Anyone have any advice on making screensavers from Flash? I have seen some decent looking software http://www.screentime.com/software/flash-screensaverto convert an swf into a screensaver but it is quite pricey, I didn't have any luck with a mac open source

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread David Hunter
That doesn't seem to work on my mac. System Preferences Desktop Screen Saver not picking up my renamed projector file. Is it Windows only? Thanks Henrik. On 13 March 2012 00:38, Henrik Andersson he...@henke37.cjb.net wrote: David Hunter skriver: Hi All, Anyone have any advice on making

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread John R. Sweeney Jr.
If you only want PC, this will work. For the MAC is .saver. You also have to listen for any key strokes, key presses or mouse movement to exit your program. And don't forget that users have NO idea where to put a .scr file or the .saver files and on the MAC side the LIbrary folder is usually

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread Henrik Andersson
David Hunter skriver: That doesn't seem to work on my mac. System Preferences Desktop Screen Saver not picking up my renamed projector file. Is it Windows only? Thanks Henrik. Yup, windows only. ___ Flashcoders mailing list

Re: [Flashcoders] AIR Screensaver?

2012-03-12 Thread Karl DeSaulniers
/Library/Screen Savers (for all users of the computer to use it, otherwise install in the /Users/Library/Screen Savers directory) I also think that if the user clicks a .saver file, it should offer to install itself. Not sure of one built in flash though. I'd try it on my mac before hand

[Flashcoders] Spam

2012-03-11 Thread Randy Tinfow
Thousands of people from all over the world are earning substantial incomes from home just by completing simple online surveys. Anonymous should target THESE jerks. They'd be heroes in all strata of society. RT ***

Re: [Flashcoders] Real System Make Money Easy 2012 Trend‏‏‏‏‏

2012-03-11 Thread John R. Sweeney Jr.
Yeah, next year… :) John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Mar 11, 2012, at 1:52 AM, Ima Newsletta wrote: Winter is coming ___ Flashcoders mailing list

Re: [Flashcoders] Should I use BlazeDS for this?

2012-03-09 Thread Henrik Andersson
Steven Loe skriver: I have a flash project that polls a php server every 10 seconds to check for commands. I have 1200 machines running this on a local network. You want push, not pull. And http can't provide push. You need a different protocol.

Re: [Flashcoders] Should I use BlazeDS for this?

2012-03-09 Thread tom rhodes
have a look at sockets http://www.kirupa.com/forum/showthread.php?289815-PHP-AS3-XML-Socket-Game-Server On 9 March 2012 12:23, Henrik Andersson he...@henke37.cjb.net wrote: Steven Loe skriver: I have a flash project that polls a php server every 10 seconds to check for commands. I have

Re: [Flashcoders] MVC - ScreenManager

2012-03-09 Thread Glen Pike
:D On 09/03/2012 05:20, Karl DeSaulniers wrote: If you can't take the Henrik, get out of the kitchen.. lol ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Should I use BlazeDS for this?

2012-03-09 Thread Dave Watts
When we have network slowdowns, polling sometimes fails and the project hangs. Is Blaze/LiveCycle well behaved on thin networks? Is it more robust than polling under these conditions? To add to Henrik's answer, LiveCycle supports async (push) via RTMP, but BlazeDS doesn't include RTMP support.

Re: [Flashcoders] Should I use BlazeDS for this?

2012-03-09 Thread Peter Ginneberge
WebOrb seems to have RTMP in all their editions (including the free one). http://www.themidnightcoders.com/products/weborb-for-java/product-editions.html regards, Muzak - Original Message - From: Dave Watts dwa...@figleaf.com To: Steven Loe stevenloe5...@yahoo.com; Flash Coders List

Re: [Flashcoders] Should I use BlazeDS for this?

2012-03-09 Thread Steven Loe
The problem I'm having is this:  I've done a lot of flash projects, but none where I've needed to control many hundreds of clients via server polling/messaging. I don't have a sense of what protocol to use in order to get lightweight (hopefully reliable) communication from server to clients

Re: [Flashcoders] Should I use BlazeDS for this?

2012-03-09 Thread tom rhodes
you could look at haxe too, neko server would be very fast and you could use haxe remoting between client and server over a socket connection. would perform a hell of a lot better than polling imo. On 9 March 2012 19:51, Steven Loe stevenloe5...@yahoo.com wrote: The problem I'm having is this:

[Flashcoders] MVC - ScreenManager

2012-03-08 Thread Terry Riney
Good morning, Like others before me I would like to really learn MVC by first doing my own as opposed to a framework. This link is very close to what I need to accomplish: http://www.ultrashock.com/index.php/forum/viewthread/80283/ I have put my work in but keep getting block in one way or

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Ross Sclafani
This guys approach sounds a lot like mine. At an airport but I'll try to check out his files 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 Mar 8, 2012, at 9:14 AM, Terry

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Terry Riney
On 3/8/2012 9:49 AM, Ross Sclafani wrote: This guys approach sounds a lot like mine. At an airport but I'll try to check out his files Ross P. Sclafani Owner / Creative Director Neuromantic Industries http://www.neuromantic.com http://ross.sclafani.net http://www.twitter.com/rosssclafani

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Terry Riney
On 3/8/2012 11:16 AM, Terry Riney wrote: On 3/8/2012 9:49 AM, Ross Sclafani wrote: This guys approach sounds a lot like mine. At an airport but I'll try to check out his files Ross P. Sclafani Owner / Creative Director Neuromantic Industries http://www.neuromantic.com http://ross.sclafani.net

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Terry Riney
On 3/8/2012 11:38 AM, Terry Riney wrote: On 3/8/2012 11:16 AM, Terry Riney wrote: On 3/8/2012 9:49 AM, Ross Sclafani wrote: This guys approach sounds a lot like mine. At an airport but I'll try to check out his files Ross P. Sclafani Owner / Creative Director Neuromantic Industries

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Terry Riney
On 3/8/2012 11:47 AM, Terry Riney wrote: On 3/8/2012 11:38 AM, Terry Riney wrote: On 3/8/2012 11:16 AM, Terry Riney wrote: On 3/8/2012 9:49 AM, Ross Sclafani wrote: This guys approach sounds a lot like mine. At an airport but I'll try to check out his files Ross P. Sclafani Owner / Creative

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Henrik Andersson
Terry Riney skriver: Would like to pass a score/time/damage to client will stick with score/damage right now: package observer{ import observer.Observer; /** * A Java-style Observable class used to represent the subject * of the Observer design pattern. Observers must

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Terry Riney
On 3/8/2012 12:42 PM, Henrik Andersson wrote: Terry Riney skriver: Would like to pass a score/time/damage to client will stick with score/damage right now: package observer{ import observer.Observer; /** * A Java-style Observable class used to represent the subject * of

[Flashcoders] Should I use BlazeDS for this?

2012-03-08 Thread Steven Loe
I have a flash project that polls a php server every 10 seconds to check for commands. I have 1200 machines running this on a local network. When we have network slowdowns, polling sometimes fails and the project hangs. Is Blaze/LiveCycle well behaved on thin networks? Is it more robust than

Re: [Flashcoders] MVC - ScreenManager

2012-03-08 Thread Karl DeSaulniers
If you can't take the Henrik, get out of the kitchen.. lol On Mar 8, 2012, at 11:53 AM, Terry Riney wrote: On 3/8/2012 12:42 PM, Henrik Andersson wrote: Terry Riney skriver: Would like to pass a score/time/damage to client will stick with score/damage right now: package observer{

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread David Hunter
Hi all, Really pleased that my original question has generated so much positive discussion, debate and learning on MVC. For me it has certainly shed some light on different ways to implement it and probably some improvements or different approaches I could take in the future. Currently I connect

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread Ross Sclafani
yay me! Ross P. Sclafani design / technology / creative http://ross.sclafani.net http://www.twitter.com/rosssclafani http://www.linkedin.com/in/rosssclafani [347] 204.5714 let go of even your longest held beliefs, the only truth is in observation. On Mar 7, 2012, at 10:27 AM, David Hunter

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread Paul Andrews
On 07/03/2012 15:37, Ross Sclafani wrote: yay me! Indeed! Your MVC introductory example was superb. Paul Ross P. Sclafani design / technology / creative http://ross.sclafani.net http://www.twitter.com/rosssclafani http://www.linkedin.com/in/rosssclafani [347] 204.5714 let go of even

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread John McCormack
Issues which have not been resolved has to do with how the logic is distributed amongst MVC partners. So if anyone comes across an example in which they are uncertain, please let us hear about it. On that subject, the book by Joel Hooks' and Lindsey Fallow: ActionScript Developers Guide to

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread Ross Sclafani
sounds about right. Ross P. Sclafani design / technology / creative http://ross.sclafani.net http://www.twitter.com/rosssclafani http://www.linkedin.com/in/rosssclafani [347] 204.5714 let go of even your longest held beliefs, the only truth is in observation. On Mar 7, 2012, at 11:29 AM,

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread Karl DeSaulniers
So a view can possibly have its own MVC within it? As long as the view is the only one using the data? View Controller View Model View View Or am I interp. this incorrectly? Best, Karl On Mar 7, 2012, at 10:29 AM, John McCormack wrote: Issues which have not been resolved has to do with

RE: [Flashcoders] MVC style Correction

2012-03-07 Thread Cor
I have an example of that. If you wish I can send it to you Best regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: woensdag 7 maart 2012 21:16 To: Flash Coders

RE: [Flashcoders] MVC style Correction

2012-03-07 Thread Cor
Instead of sending, everyone can get it here: www.codobyte.com/MVC.zip Best regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: woensdag 7 maart 2012 21:16 To:

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread Peter Ginneberge
What he was asking was where does certain logic go, such as: where do you check whether an email address is valid. So if only the view cares about the valid email address, you can do so in the view, otherwise move the logic to the controller. It also depends on how strict you are about what

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread Karl DeSaulniers
I see. Thanks. Karl On Mar 7, 2012, at 4:52 PM, Peter Ginneberge wrote: What he was asking was where does certain logic go, such as: where do you check whether an email address is valid. So if only the view cares about the valid email address, you can do so in the view, otherwise

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Karl DeSaulniers
@Ross The more and more we all talk about this, and I get to see examples, the more I would like to see a working example of yours. I really like the simplicity and flow of your idea and with your permission, like to try out your style of MVC based off your example. My idea is to leverage

RE: [Flashcoders] MVC style Correction

2012-03-06 Thread Cor
+1 !!! Oh, would I love to see this too!! Best regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: dinsdag 6 maart 2012 10:26 To: Flash Coders List

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Karl DeSaulniers
Forgive me if I am wrong, but I watched that video and it confused me. The gentleman started creating the view first then made the model and had the interaction between the two then went and created the controller and in creating the controller took away some code from the view that the model

RE: [Flashcoders] MVC style Correction

2012-03-06 Thread Cor
My guess is the view needs the reference to the controller, because it invokes function in there to update the model through the controller. I am not a OOP or MVC specialist, and know nothing more as showed in the video, so don't shoot me! -Original Message- From:

RE: [Flashcoders] MVC style Correction

2012-03-06 Thread Cor
You could ofcourse take another approach: In the view: dispatchEvent(new Event(View.YOURVIEWEVENT)); and in the Contoller: View.addEventListener(View.YOURVIEWEVENT, callback); So there is a loose coupling as Paul wrote. -Original Message- From:

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Karl DeSaulniers
Bang! :) On Mar 6, 2012, at 4:21 AM, Cor wrote: My guess is the view needs the reference to the controller, because it invokes function in there to update the model through the controller. I am not a OOP or MVC specialist, and know nothing more as showed in the video, so don't shoot me!

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Karl DeSaulniers
I kind of like that. I guess I am looking to the controller to do the event dispatching to the model the model to listening for the result. the view listening for changes to the model. On Mar 6, 2012, at 4:26 AM, Cor wrote: You could ofcourse take another approach: In the view:

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Karl DeSaulniers
More like a CMV Well its bedtime for me. Looking forward to more discussions. Best, Karl On Mar 6, 2012, at 4:35 AM, Karl DeSaulniers wrote: I kind of like that. I guess I am looking to the controller to do the event dispatching to the model the model to listening for the result. the

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Paul Andrews
On 06/03/2012 10:35, Karl DeSaulniers wrote: I kind of like that. I guess I am looking to the controller to do the event dispatching to the model The controller manipulates the model, so it wouldn't really need to dispatch events to it. the model to listening for the result. the view

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Peter Ginneberge
I guess I am looking to the controller to do the event dispatching to the model the model to listening for the result. You don't normally do that. The controller talks to the model directly, so the controller knows the model. The model doesn't know neither view nor controller and dispatches

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Kevin Newman
I think a core concept got lost with MVC - the controller controls things. That is, it can directly update (control or talk to) a model and a view. A model should not directly update (control) anything except it's own data sources (remote or otherwise), and should only broadcast changes to

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Kevin Newman
Also, this thread has helped to flesh out my understanding of MVC to a substantial degree. I love that. :-) Kevin N. On 3/6/12 11:40 AM, Kevin Newman wrote: That's how I understand MVC anyway. ___ Flashcoders mailing list

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread John McCormack
Absolutely agree, so thank you everyone - very much. Each day I look for more. As a result of people talking about RobotLegs I bought and today received Joel Hooks' ActionScript Developers Guide to RobotLegs. A new direction - which I am thankful for. John On 06/03/2012 18:57, Kevin Newman

RE: [Flashcoders] MVC style Correction

2012-03-06 Thread Cor
+1 Best regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John McCormack Sent: dinsdag 6 maart 2012 21:30 To: Flash Coders List Subject: Re: [Flashcoders] MVC style Correction

RE: [Flashcoders] MVC style Correction

2012-03-05 Thread Cor
@Karl, I just created my first MVC and it is still in progress... Lots of fun! This video helped me a lot! http://pv3d.org/2009/02/11/actionscript-3-model-view-controller-mvc/ Unfortuneatly the tutor mentions Controller can update View, but that example is not included. If anyone can give

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
On 05/03/2012 10:26, Cor wrote: @Karl, I just created my first MVC and it is still in progress... Lots of fun! This video helped me a lot! http://pv3d.org/2009/02/11/actionscript-3-model-view-controller-mvc/ Unfortuneatly the tutor mentions Controller can update View, but that example is

RE: [Flashcoders] MVC style Correction

2012-03-05 Thread Cor
Thanks Paul, In the documentation I read there is mostly the View telling the Controller an event has taken place. The View holds e reference of the Model and the Controller. Look at : http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/actions

RE: [Flashcoders] MVC style Correction

2012-03-05 Thread Merrill, Jason
tutor mentions Controller can update View, but that example is not included. If anyone can give me a little example of how that is done in MVC, don't hasitate In about the simplest form: //In the controller: onSomeEventHandler(event:SomeEvent):void { _someViewInstance.update(); }

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
That's a lot to follow. As you show in your example, my views dispatch custom events *with payloads*, where required, so if a slider value is changed I might dispatch VOLUME_CHANGE with the changed value, or a reference to it. Controllers need to pickup the events broadcast by the views. I

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
The dependency with this is that any changes to the UI - additional views being added or removed, requires that the controller be changed too. Any change to a view could cause the controller to become broken. For this reason, I would say it's bad practice. On 05/03/2012 13:57, Merrill, Jason

RE: [Flashcoders] MVC style Correction

2012-03-05 Thread Merrill, Jason
It's the simplest form of MVC. I didn't say it was the best, I was just giving the man what he asked for. :) Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ -Original Message- From:

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
On 05/03/2012 14:13, Merrill, Jason wrote: It's the simplest form of MVC. I didn't say it was the best, I was just giving the man what he asked for. :) Fair enough, but they do sell cigarettes with a health warning these days.. ;-) Jason Merrill Instructional Technology Architect II

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Ross Sclafani
i prefer to have the model update the views. preferably via event for loose coupling. the situations that a controller would alter a view in the versions of MVC i have studied are for things that are pure visual responses. like say a rollover: ROLL_OVER event on View -- calls onRollOver on

RE: [Flashcoders] MVC style Correction

2012-03-05 Thread Cor
OK, I almost started changing my approach, but this confirms I shouldn't. I stopped smoking in 1978 but I still listen to all the warnings. :-) Thank you!! -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
I think a view can handle it's own rollover without concerning a controller. A controller is only there to manipulate the model on behlaf of the view. It has no interest in visuals. On 05/03/2012 14:36, Ross Sclafani wrote: i prefer to have the model update the views. preferably via event

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
On 05/03/2012 14:43, Merrill, Jason wrote: Fair enough, but they do sell cigarettes with a health warning these days.. ;-) Trolling is so 2 years ago. :) I don't know why you consider the comment trolling. The OP wanted to know about how to do a technique and it's seems reasonable enough

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
On 05/03/2012 14:36, Ross Sclafani wrote: snip I could see a scenario where one such rollover needs to cause changes in multiple views, and this approach could be implemented, but i would normally rout these types updates through a submodel dedicated to UI. Do you have an example? I've

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Ross Sclafani
that is exactly how i roll.. but there are some schools that have the controller effecting all change, even temporary ones on the views. like i said, the flash SDK provides a great API for handling these things inside the views themselves. but you could imagine in a develpoment environment

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Peter Ginneberge
The dependency with this is that any changes to the UI - additional views being added or removed, requires that the controller be changed too. Any change to a view could cause the controller to become broken. For this reason, I would say it's bad practice. Not necessarily so. But.. you'd use

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
I'm guessing we're now into nuancing the model to hold view states and the presenter is controlling multiple views, or is that wrong? On 05/03/2012 15:33, Peter Ginneberge wrote: The dependency with this is that any changes to the UI - additional views being added or removed, requires that the

RE: [Flashcoders] MVC style Correction

2012-03-05 Thread Cor
I am still at the most basic level, so I 'll stick to MVC for this moment. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews Sent: maandag 5 maart 2012 17:01 To: Flash Coders List Subject: Re:

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Ross Sclafani
i think the flash display API prevents the need for all of these additional concerns and extra classes outside of Models Views and Controllers I also loathe Interfaces. the only time i use interfaces is to allow objects with two different class lineages to be used interchangeably. like a time

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Kevin Newman
If the model is updating the view, then it doesn't sound like you have a generic view at all. This can be appropriate in certain cases, but if you really want reusable View objects (like a generic scrolling text or image list view), they should be generic and abstracted from the underlying

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Paul Andrews
On 05/03/2012 16:44, Kevin Newman wrote: If the model is updating the view, Not my model. My views listen for model change events. then it doesn't sound like you have a generic view at all. This can be appropriate in certain cases, but if you really want reusable View objects (like a generic

RE: [Flashcoders] MVC style Correction

2012-03-05 Thread Merrill, Jason
Fair enough, but they do sell cigarettes with a health warning these days.. ;-) Trolling is so 2 years ago. :) Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ -Original Message- From:

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Peter Ginneberge
I'm guessing we're now into nuancing the model to hold view states and the presenter is controlling multiple views, or is that wrong? Not in GWT, no. There's one Presenter (or Controller) for the whole app. And then there's an MVP triad for every view. The app controller would then for

[Flashcoders] Algorithm ideas

2012-03-05 Thread Paul Andrews
Lets imagine I have 100 sprites scattered around the stage - no regular pattern, but generally spread evenly. My task is to remove 40 of them. That's easy, but I want to remove them as evenly as possible, so the density thins but is reasonably consistent across the stage. Any ideas? I don't

Re: [Flashcoders] Algorithm ideas

2012-03-05 Thread Paul Andrews
On 05/03/2012 23:12, Paul Andrews wrote: Lets imagine I have 100 sprites scattered around the stage - no regular pattern, but generally spread evenly. My task is to remove 40 of them. That's easy, but I want to remove them as evenly as possible, so the density thins but is reasonably

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Karl DeSaulniers
Thanks Cor. On Mar 5, 2012, at 4:26 AM, Cor wrote: @Karl, I just created my first MVC and it is still in progress... Lots of fun! This video helped me a lot! http://pv3d.org/2009/02/11/actionscript-3-model-view-controller-mvc/ Unfortuneatly the tutor mentions Controller can update

[Flashcoders] Mexico City

2012-03-03 Thread Randy Tinfow
Any listers in Mexico City? Will need to rent a machine with Flash CS5+ or higher to do some maintenance work on Wednesday or Thursday, March 7th or 8th. Thanks, Randy Tinfow ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] MVC style Correction

2012-03-01 Thread Peter Ginneberge
Wanted to add that I use my own custom MVC micro-architecture which is based on (a mixture of) ARP and Cairngorm. Back when I was still developing in Flash (before I moved to Flex) I used ARP by Aral Balkan, which as far as I know was the first real MVC framework for Flash. Not even sure if

Re: [Flashcoders] MVC style Correction

2012-03-01 Thread Peter Ginneberge
Found this FlashPaper swf that explains the ARP Pizza sample app: http://aralbalkan.com/downloads/FlashToFlex.swf The sample app is included in this download: http://osflash.org/downloads/arp/ARP_2.02.zip ___ Flashcoders mailing list

Re: [Flashcoders] MVC style Correction

2012-02-29 Thread Peter Ginneberge
Here's what I use. packages: - business Contains singleton with services (RemoteObject, WebService, HTTPService, SQLite), used by Command classes. - commands Contains commands that are executed by the Controller when a matching event is triggered. Commands are responsible for

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

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread John McCormack
Kevin mentions... ...need to transform the format to fit the view, you would do that in the controller Henrik mentions... The data changing should be done in an adapter that the controller puts in between the model and the view. So the problems arise because the data that isn't quite what

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Henrik Andersson
John McCormack skriver: Kevin mentions... ...need to transform the format to fit the view, you would do that in the controller Henrik mentions... The data changing should be done in an adapter that the controller puts in between the model and the view. So the problems arise because the

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread John McCormack
Thanks Henrik, I guess things are much simpler if all parts know enough about the data format to be able to do what they need to do. I think I was imagining things more complicated than they need be. Thanks Ben, this was interesting...

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread tom rhodes
i've done stuff with my own informal model, view and controller separation. i've done things with pureMVC and now i've done a couple of things with robotlegs. i much prefer robotlegs, it's made me think of a lot of things differently, has reduced the size of my classes and i think enforces a

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

2012-02-26 Thread ITSCO
Hello Actionscript Experts, Scenario: I have a shared library *.swf file with most of my assets. It is loaded after the main introductory *.swf file is already loaded. I then call from the Shared Library file the needed assets. Appears that this scenario of importing assets works great

<    5   6   7   8   9   10   11   12   13   14   >