Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread John McCormack
I will be buying it shortly. It's a great product. I was interested to see that you mentioned FDT on the blog. Does FDT offer significant coding enhancements as an IDE? John co...@moock.org wrote: i didn't see anyone post an announcement about fb4 to flashcoders, so i figure it's worth spread

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread allandt bik-elliott (thefieldcomic.com)
also does it include some of the great shortcut stuff from fdt and fd like the shortcuts for creating methods or jumping to a method / variable implementation from it's usage which fb3 was sorely missing? a On 29 March 2010 09:51, John McCormack wrote: > I will be buying it shortly. It's a gre

[Flashcoders] Recursive and e:Event

2010-03-29 Thread Lehr, Theodore
I am having an issue trying to recursively go through some xml... When the xml was local (i.e. var newXml:XML = ..;) then a recursive function like: function (parseXML(_xml:*) { ... parseXML(ixml); } worked fine but when I try to pull it in from another file via:

[Flashcoders] RE: Recursive and e:Event

2010-03-29 Thread Lehr, Theodore
sorry - jumped the gun - I worked it out with: xmlLoader.addEventListener(Event.COMPLETE, function(e:event):viod { var xml:XML = new XML)e.target.data); function(xml); }); From: Lehr, Theodore Sent: Monday, March 29, 2010 7:31 AM To: Flash Coders

RE: [Flashcoders] Recursive and e:Event

2010-03-29 Thread Keith Reinfeld
> I need to find a way to get around this can I call the function > without e:Event? Yes: function (parseXML(e:Event=null) { ... parseXML(ixml); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net __

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread Ruben Sainz
Why FB4 support Flex-Air project but don´t Action Script- Air project? 2010/3/29 allandt bik-elliott (thefieldcomic.com) > also does it include some of the great shortcut stuff from fdt and fd like > the shortcuts for creating methods or jumping to a method / variable > implementation from it's

Re: [Flashcoders] Recursive and e:Event

2010-03-29 Thread Nathan Mynarcik
Try changing your function to below: function (parseXML(e:Event = null) { ... parseXML(ixml); } --Original Message-- From: Lehr, Theodore Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Recur

[Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
I have a function that is building some xml through a recursive function... and then call another function once the xml is done how can I tell when it is done being built: I can not do: function buildXML() { buidlXML(); callotherfunction(); } because that would called to much..

RE: [Flashcoders] RE: Recursive and e:Event

2010-03-29 Thread Keith Reinfeld
> sorry - jumped the gun - I worked it out with: > > xmlLoader.addEventListener(Event.COMPLETE, function(e:event):viod { > var xml:XML = new XML)e.target.data); > function(xml); > }); Interesting... How are you able to removeEventListener with that syntax? Regards, Keith Reinfeld H

RE: [Flashcoders] Recursive and e:Event

2010-03-29 Thread p...@ipauland.com
Far better to separate the event handling from the recursion altogether.   In the event handler get the XML, then pass it to the recursive routine. Don't pass an event to the recursive routine, pass the data/XML.   Generally with recursive code, when you run out of arguments to pass, you stop calli

Re: [Flashcoders] Process issue

2010-03-29 Thread p...@ipauland.com
Generally..     var myXML:XML = XML(something);   buildXML(myXML); // now all XML is processed  callotherfunction();       function buildXML(xml:XML) { .. if (something){       buidlXML(someXML); }       On 29 March 2010 at 14:13 "Lehr, Theodore" wrote: > I have a function that is building some

RE: [Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
The problem is that the function is taking too long to do that... like I have: function buildXML(_xml:*):void { . . buildXML(ixml); trace(""); } trace("here"); and it traces to: here --- --- -

Re: [Flashcoders] Process issue

2010-03-29 Thread kennethkawam...@gmail.com
Create a Class which processes your XML and dispatches an Event when it's done. Upon receiving the Event, you can proceed to the next function. -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 29 March 2010 13:56, Lehr, Theodore wrote: > The problem is that the function is taking too long t

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread co...@moock.org
i'm not a full-time fdt user, but i think it's commonly accepted that fdt's actionscript editing assistants are still better than fb4. see: http://www.fdt.powerflasher.com/developer-tools/fdt-3/whats-new/new-quick-fixes/ http://www.fdt.powerflasher.com/developer-tools/fdt-3/features/unique-featu

Re: [Flashcoders] Process issue

2010-03-29 Thread Nathan Mynarcik
Why not call your next function inside the buildXML() function after it is all done? Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: "Lehr, Theodore" Date: Mon, 29 Mar 2010 08:56:44 To: Flash Coders List Subject: RE:

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread co...@moock.org
creating a method from a usage: sadly, still no. navigating to a method from its usage: if i understand what you're referring to correctly, that feature was in fb3 and is in fb4 too. mouse over the method name and press the command key to bring up a hyperlink to the method definition. command+

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread allandt bik-elliott (thefieldcomic.com)
yeh - transposing and duplicating lines are massive for me in fd a On 29 March 2010 14:23, co...@moock.org wrote: > creating a method from a usage: sadly, still no. > > navigating to a method from its usage: if i understand what you're > referring to correctly, that feature was in fb3 and is in

RE: [Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
it is recursively calling itself From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [nat...@mynarcik.com] Sent: Monday, March 29, 2010 9:19 AM To: Flash Coders List Subject: Re: [Fl

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread co...@moock.org
ps. for those using fb4, it looks like sourcemate offers a potential workaround for many of the missing editing assistants: http://www.elementriver.com/sourcemate/features/ colin co...@moock.org wrote: i'm not a full-time fdt user, but i think it's commonly accepted that fdt's actionscript e

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread co...@moock.org
I've just started working with FB4 in the past couple of weeks, and I love it. I think Adobe got it right. Well, except for the help system. I keep the CS4 Flash help open for my AS3 reference. -- have you seen the new ActionScript 3.0 unified reference? http://help.adobe.com/en_US/FlashPlatform

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread Zeh Fernando
They are. In FDT, with the caret on a method/property/reference, F3 takes you to the definition. F4 in a reference takes you straight to the class. The ctrl+cursor thing also works, but in all honesty I seldom use it. Back to the last edited location is ctrl+q. Zeh On Mon, Mar 29, 2010 at 9:23 A

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread Kerry Thompson
Zeh Fernando wrote: > In FDT, with the caret on a method/property/reference, F3 takes you to the > definition. F4 in a reference takes you straight to the class. The > ctrl+cursor thing also works, but in all honesty I seldom use it. Back to > the last edited location is ctrl+q. FlashBuilder 4 ha

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread Eric E. Dolecki
Indeed it's great - is there a key combo to cycle through the bookmarks? I haven't found that yet. On Mon, Mar 29, 2010 at 10:06 AM, Kerry Thompson wrote: > Zeh Fernando wrote: > > > In FDT, with the caret on a method/property/reference, F3 takes you to > the > > definition. F4 in a reference tak

[Flashcoders] Error #2032 Stream Error

2010-03-29 Thread Lehr, Theodore
I am working on a closed network... I am trying to load some xml via load(new URLRequest("https://..";)); but I am getting Error #2032 Stream Error... I can put the url in a browser and I see the xml but for sme reason the player can not load it - any thoughts? _

Re: [Flashcoders] flash builder 4 released

2010-03-29 Thread Kerry Thompson
Eric E. Dolecki wrote: > Indeed it's great - is there a key combo to cycle through the bookmarks? I > haven't found that yet. Not that I know of. Here's a link to the Adobe page that describes it:

RE: [Flashcoders] flash builder 4 released

2010-03-29 Thread Karina Steffens
Thanks Colin, I put that link in my bookmarks. So far, I found the AS3 online documentation less than ideal - if you search for anything from the Flash IDE, you might as well be using Google. Karina > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoder

Re: [Flashcoders] Error #2032 Stream Error

2010-03-29 Thread Nathan Mynarcik
I'm betting this is your issue: "https://"; Just a guess. --Original Message-- From: Lehr, Theodore Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Error #2032 Stream Error Sent: Mar 29, 2010 9:40 AM I am working

RE: [Flashcoders] RE: Recursive and e:Event

2010-03-29 Thread Merrill, Jason
>>xmlLoader.addEventListener(Event.COMPLETE, function(e:event):viod { >> var xml:XML = new XML)e.target.data); >>function(xml); >>}); Wow, that's nasty nasty nasty... and doesn't give you ANY compiler errors eh? :) Jason Merrill Bank of America Global Learning Learning & Performa

[Flashcoders] What good is a Controller?

2010-03-29 Thread Karina Steffens
Hi List, Ok, this may sound a bit odd coming from someone who's been coding with MVC for the last 7 years, but I seem to be missing the point of a Controller... I'm hoping to start a discussion to help me (and maybe others like me) improve my architecture by better understanding the Controller, an

RE: [Flashcoders] Error #2032 Stream Error

2010-03-29 Thread Lehr, Theodore
right - sorry - network issue From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik [nat...@mynarcik.com] Sent: Monday, March 29, 2010 10:55 AM To: Flash Coders List Subject: Re: [Flas

Re: [Flashcoders] What good is a Controller?

2010-03-29 Thread allandt bik-elliott (thefieldcomic.com)
the way i understand it, the controller is supposed to provide the logic and functionality for the views as well as acting as an intermediary between the view and the model (my version fires events back to the views but others use the controller to pass events back from the model to the view as wel

Re: [Flashcoders] What good is a Controller?

2010-03-29 Thread Henrik Andersson
allandt bik-elliott (thefieldcomic.com) wrote: if you look at the html / php / mysql model, mvc has a very natural flow - the mysql database and the php interact much like the controller (php) and the model (mysql) and the result is then fed to the views (the served html page). I do not believ

Re: [Flashcoders] What good is a Controller?

2010-03-29 Thread Dave Watts
> there is plenty of commentary out there to suggest that the controller is > largely unnecessary and that the views can do it all as encapsulated objects > (i've even read something by someone much smarter than me [ > http://c2.com/cgi-bin/wiki?MvcIsNotObjectOriented] that suggested that the c > i

Re: [Flashcoders] What good is a Controller?

2010-03-29 Thread allandt bik-elliott (thefieldcomic.com)
:) On 29 March 2010 18:03, Dave Watts wrote: > > there is plenty of commentary out there to suggest that the controller is > > largely unnecessary and that the views can do it all as encapsulated > objects > > (i've even read something by someone much smarter than me [ > > http://c2.com/cgi-bin/

Re: [Flashcoders] What good is a Controller?

2010-03-29 Thread Jim Lafser
When I've implemented MVC: * I have one controller for each view * Each view knows about it's controller, but only as a generic controller (either as an interface or a base class) * Each View registers it's controller as the event listener for each of it's buttons.

Re: [Flashcoders] RE: Recursive and e:Event

2010-03-29 Thread Taka Kojima
Aside from the typos, anonymous functions are the devil. On Mon, Mar 29, 2010 at 8:09 AM, Merrill, Jason < jason.merr...@bankofamerica.com> wrote: > >>xmlLoader.addEventListener(Event.COMPLETE, function(e:event):viod { >>> var xml:XML = new XML)e.target.data); > >>function(xml); > >>}); >

RE: [Flashcoders] Recursive and e:Event

2010-03-29 Thread Lehr, Theodore
So how would I pass in the xml? Where as now I am calling parseXML(xml) how do I pass it via: addEventListener(Event.COMPLETE, parseXML); function parseXML(e:Event = null) { } From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chatt

Re: [Flashcoders] What good is a Controller?

2010-03-29 Thread Steven Sacks
MVC Public Service Announcement http://www.youtube.com/watch?v=91C7ax0UAAc If you want to learn about MVC, pick up the Ruby on Rails book. I suggest you use RobotLegs, which uses Mediators and Commands instead of Controllers. RobotLegs is better suited for the world of Flash than MVC, which F