Re: [Flashcoders] renaming files with air

2009-06-30 Thread Nate Beck
Ah gotcha, I can understand that. You could always just write your own helper method, and just invoke moveTo. :) But yes, I can understand the frustration... I get that way whenever I have to inherit a class where everything is marked private. :) Cheers, Nate On Mon, Jun 29, 2009 at 9:26 PM,

Re: [Flashcoders] renaming files with air

2009-06-29 Thread Nate Beck
Why would they need to put in an rename function if they already have a move method..? They do the same thing. On Mon, Jun 29, 2009 at 11:49 AM, Anthony Pace anthony.p...@utoronto.cawrote: Am I mistaken, or do I have to use moveTo() to rename a file? it seems kind of stupid to me, that they

Re: [Flashcoders] renaming files with air

2009-06-29 Thread Taka Kojima
Those of us used to low-level programming wouldn't think twice about this, moving === renaming. However, to somebody who has mainly done ActionScript or higher level programming, etc. I can see how this might seem weird. This is the way it's done, almost universally in programming (as far as I

Re: [Flashcoders] renaming files with air

2009-06-29 Thread Anthony Pace
Thanks Taka, I got it right off the bat; yet, I don't like having to pass in a string for the complete path twice. A simple rename method would be much cleaner in my opinion; yet, I guess it could be considered bloat. Taka Kojima wrote: Those of us used to low-level programming wouldn't