Re: [Flashcoders] AS2: SWF Decompiler Recommendations

2013-05-17 Thread Ross Sclafani
sothink swfdecompiler i do not envy you. 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 May 17,

Re: [Flashcoders] Game physics programming needed.

2012-10-28 Thread Ross Sclafani
Semi-warranted. Ross P. Sclafani Design | Technology | Creative http://www.neuromantic.com http://ross.sclafani.net http://www.twitter.com/rosssclafani 347.204.5714 On Oct 29, 2012, at 1:29 AM, Bryan Thompson br...@swfmagic.com wrote: I need to apologize to the list and especially to Oren.

Re: [Flashcoders] AS3

2012-10-26 Thread Ross Sclafani
my framework lets you code like this: _package('com.neuromantic.display.shapes', _import( 'com.neuromantic.display.shapes.Oval'), _class( 'Circle' )._extends( 'Oval',{ Circle: function ( size ) { this._super( size, size );

Re: [Flashcoders] RE: Can Javascript Listen to Flash Events?

2012-05-22 Thread Ross Sclafani
Definitely do this Ross P. Sclafani Design | Technology | Creative http://www.neuromantic.com http://ross.sclafani.net http://www.twitter.com/rosssclafani 347.204.5714 On May 22, 2012, at 1:02 PM, Nathan Mynarcik nat...@mynarcik.com wrote: Would allowscriptaccess=always work in this situation?

Re: [Flashcoders] MVC - ScreenManager

2012-03-26 Thread Ross Sclafani
In my approach, the controller loads the XML, then puts it in the model which causes a CHANGE event to dispatch. 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 26,

Re: [Flashcoders] MVC - ScreenManager

2012-03-26 Thread Ross Sclafani
All services in my MVC strategy are extensions to the controller tree that controllers use to get data from outside to put in the model. In my world, models don't do they hold so outside of their inner framework mechanisms, they are only made up of getters, setters, and vars. All public methods

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Ross Sclafani
Usually I let the view detail the event handlers, which in turn call the appropriate controller methods. In this case, each view would have something like private function saveButton_clickHandler(event:MouseEvent):void{ this.controller.save(/*here is the differing parameter*/); } Where the

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Ross Sclafani
Again, a completely different approach to MVC than mine, so you have your pick :) 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 15, 2012, at 5:44 PM, Peter Ginneberge

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

Re: [Flashcoders] MVC style Correction

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

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 Ross Sclafani
thanks, its just how i do MVC it really get interesting when you follow a mitosis development pattern... You start with one model, controller, and view, add features to each in parallel, and as each class gets too big, you break them out into subcontrollers, submodels, and subviews. Then

Re: [Flashcoders] MVC style Correction

2012-02-24 Thread Ross Sclafani
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik (MIN-WSW) Sent: Thursday, February 23, 2012 8:26 PM To: Flash Coders List Subject: Re: [Flashcoders] MVC style Correction Ross Sclafani ross.sclaf...@gmail.com wrote: It is very easy to locate any code

Re: [Flashcoders] MVC style Correction

2012-02-24 Thread Ross Sclafani
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ross Sclafani Sent: Friday, February 24, 2012 4:29 PM To: Flash Coders List Subject: Re: [Flashcoders] MVC style Correction Apparently there are no rules. Just call it MVC and it's MVC I guess. Ross P. Sclafani Owner / Creative

Re: [Flashcoders] Fwd: MVC

2012-02-17 Thread Ross Sclafani
I'm firmly against views treating models as anything but read only. Personal preference I guess 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 17, 2012, at 1:11 PM,

Re: [Flashcoders] MVC style Correction

2012-02-17 Thread Ross Sclafani
Can somebody show me a View class that doesn't update itself? What does it do? Are all of its properties public? Conversely, can someone show me a controller class that does the work of both modifying the model and manipulating the view? Does it lead to a ton of code in one class? I'm not

[Flashcoders] Fwd: MVC

2012-02-16 Thread Ross Sclafani
From: Ross Sclafani ross.sclaf...@gmail.com Date: February 16, 2012 2:39:34 AM EST To: Cor c...@chello.nl Cc: Flash Coders List flashcoders@chattyfig.figleaf.com, flashcoder...@googlegroups.com Subject: Re: MVC feel free to hit me up any time ill try to have time to respong none the less

Re: [Flashcoders] Fwd: MVC

2012-02-16 Thread Ross Sclafani
as assemblies on the stage using the IDE. The point is that passing arguments to the constructor then becomes an issue for a view. Might I suggest an init() function to pass in Model and Controller? Paul On 16/02/2012 07:59, Ross Sclafani wrote: From: Ross Sclafaniross.sclaf

Re: [Flashcoders] Fwd: MVC

2012-02-16 Thread Ross Sclafani
: perfect! Can I use this for my Flash students? Am 16.02.2012 08:59, schrieb Ross Sclafani: From: Ross Sclafaniross.sclaf...@gmail.com Date: February 16, 2012 2:39:34 AM EST To: Corc...@chello.nl Cc: Flash Coders Listflashcoders@chattyfig.figleaf.com, flashcoder...@googlegroups.com Subject

Re: [Flashcoders] MVC style

2012-02-16 Thread Ross Sclafani
On 16/02/2012 00:05, Ross Sclafani wrote: I am an MVC purist, I always proceed as follows: Models should ONLY store information, particularly the state of the application and any data retrieved from disk or the network. Views hold a reference to a model, watch it for updates

Re: [Flashcoders] AIR Socket.readObject received in multiple ProgressEvents?

2012-02-16 Thread Ross Sclafani
Henke! Have we met on IRC ? I operate there as butter. Used to hit up actionscript and papervison3d on freenode but it's been a while. Ross P. Sclafani Owner / Creative Director Neuromantic Industries http://www.neuromantic.com http://ross.sclafani.net http://www.twitter.com/rosssclafani

Re: [Flashcoders] MVC style

2012-02-15 Thread Ross Sclafani
I am an MVC purist, I always proceed as follows: Models should ONLY store information, particularly the state of the application and any data retrieved from disk or the network. Views hold a reference to a model, watch it for updates, and respond to those updates by rendering the model in its

Re: [Flashcoders] Large Images with Alpha Channel

2012-02-11 Thread Ross Sclafani
Well, you could load them all into flash pro, export a swf and import that at runtime, no? You could even put them all in frames on the main timeline to somewhat automate the sequencing and layout of your walk cycle. Ross P. Sclafani Owner / Creative Director Neuromantic Industries

Re: [Flashcoders] I invite everyone to troll Apple's support forums

2012-01-12 Thread Ross Sclafani
Yeah man. Think of it this way: if you really think flash is on thin ice, you are wasting time keeping Apples forum moderators employed while you waste time you could spend learning a new technology. Flash has matured beyond just the Web, can you say the same about yourself? Ross P. Sclafani

Re: [Flashcoders] Nice looking bit map scaling in flash

2011-10-20 Thread Ross Sclafani
Best solution for bitmap scaling like that is openzoom , basically a port of silver light deepzoom Ross P. Sclafani Design | Technology | Creative 347.204.5714 http://ross.sclafani.net http://www.twitter.com/rosssclafani On Oct 20, 2011, at 8:04 PM, Ben Sand b...@bensand.com wrote: Need to

Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Ross Sclafani
Are you disposing of the image after it is offscreen? Have you run the profiler to see what's happening? Ross P. Sclafani Design | Technology | Creative 347.204.5714 http://ross.sclafani.net http://www.twitter.com/rosssclafani On Oct 18, 2011, at 4:00 PM, Adrian ZajÄ…c zajac.adr...@gmail.com

Re: [Flashcoders] can't get e.target.data

2011-10-08 Thread Ross Sclafani
Has to be. Ross P. Sclafani Design | Technology | Creative 347.204.5714 http://ross.sclafani.net http://www.twitter.com/rosssclafani On Oct 8, 2011, at 3:25 AM, Cor c...@chello.nl wrote: var str:String = String(e.target.data); without new? -Original Message- From:

[Flashcoders] :O

2011-09-01 Thread Ross Sclafani
WOW Unity 3D will publish to Flash Player bit.ly/rmNbGp but i imagine webGL can't be too far behind? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] :O

2011-09-01 Thread Ross Sclafani
in Flash Player* On Sep 1, 2011, at 8:05 PM, Kevin Newman wrote: NVIDIA PhysX in Flash?! Ok, I'm interested. Kevin N. On 9/1/11 6:54 PM, Ross Sclafani wrote: WOW Unity 3D will publish to Flash Player bit.ly/rmNbGp but i imagine webGL can't be too far behind

Re: [Flashcoders] PureMVC vs Cairngorm // who's better?

2011-06-24 Thread Ross Sclafani
I wrote my own MVC package. On Jun 23, 2011, at 7:23 PM, Ben Sand wrote: We use robotlegs On Thursday, 23 June 2011, Jordan L. Chilcott - Interactivity Unlimited jchilc...@interactivityunlimited.com wrote: Huge vote for RobotLegs as well. jord -- Jordan L. Chilcott Sent from my

Re: [Flashcoders] XMLList Namespace Madness

2011-04-29 Thread Ross Sclafani
typo On Apr 29, 2011, at 2:54 PM, Merrill, Jason wrote: color designator (:) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] How make an SWF run on IPad?

2011-04-28 Thread Ross Sclafani
welcome to the most depressing feeling for Flash coders from last year. fortunately things have changed since then, but you will have to repackage the swf into an iOS application using Flash CS5+ or the AIR SDK. google Flash on iPad you will find plenty of discussion and a lot of coverage of

Re: [Flashcoders] How make an SWF run on IPad?

2011-04-28 Thread Ross Sclafani
i cannot overstate how surprising it is to hear this phrased this way. On Apr 28, 2011, at 4:37 PM, Steve Abaffy wrote: it seems IPad does not support flash. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] How make an SWF run on IPad?

2011-04-28 Thread Ross Sclafani
i think this is actually Steve Jobs having some fun with the list. must be. or some kind of coma survivor. On Apr 28, 2011, at 5:02 PM, Paul Andrews wrote: On 28/04/2011 21:21, Steve Abaffy wrote: You must be one of the very last people on earth to not realise until now that the iPad

Re: [Flashcoders] How to Make SWF work on IPad

2011-04-28 Thread Ross Sclafani
you cannot load any type of executable code except javascript to be interpreted by WebKit into an iOS device. this includes code-having SWFs into a app made in iphone packager et al. please do the reading i suggested, this is really old news and readily available On Apr 28, 2011, at 4:22 PM,

Re: [Flashcoders] What is up with adobes documentation?

2011-04-21 Thread Ross Sclafani
I agree with this. Also, any professional worth their salt is going to have direct links to any documentation required to do their job. Ross P. Sclafani Design / Technology / Creative 347.204.5714 http://ross.sclafani.net http://www.twitter.com/rosssclafani On Apr 21, 2011, at 6:47 PM, Dave

Re: [Flashcoders] How to access MovieClip declared in one function in an event listener

2011-04-21 Thread Ross Sclafani
read up on event.target. On Apr 21, 2011, at 9:44 PM, Steve Abaffy wrote: Hello, I basically have the follow: Function DrawMyStuffOnScreen():void{ Var myMovieClip:MovieClip = new DefinedMovieClip(); Var myButton:SimpleButton = new

Re: [Flashcoders] Variable scope with asynchronous SQL connection

2011-04-20 Thread Ross Sclafani
the problem you may run into if you call in a loop is overwriting the object property. i would implement a queue: /// private var statementQueue:Vector.SQLStatement = new Vector.SQLStatement(); public function getDayOfDrill() : void { var sql:SQLStatement = new SQLStatement();

Re: [Flashcoders] Getting ID in asynchronous SQLLite connection

2011-04-19 Thread Ross Sclafani
i recommend XML-Spy or similar to ease editing via grid mode, and then the actual xml format doesnt matter much. On Apr 19, 2011, at 5:12 PM, Mattheis, Erik (MIN-WSW) wrote: The XML is for now going to be edited by account staff by hand, so the simpler the better. For now I'm creating a

[Flashcoders] NativeWindowBoundsEvent.updateAfterEvent() ?

2011-04-06 Thread Ross Sclafani
hello_ I am creating a window docking system using transparent NativeWindows, and I achieve snapping by moving the contents within the NativeWindows when the correct amount of edge overlap occurs. it's working fine, but i'm running into a problem where the NativeWindows appears to be moving