Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Spike
Not sure if this applies to the datagrid component in Flash, but to to this in Flex 1.5 you would do: myDataGrid.dataProvider.removeItemAt(someIndex); Spike On 3/10/06, Rodrigo Guerra [EMAIL PROTECTED] wrote: my grid dataprovider is a xml (created in flash). the only way i can think

Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Spike
that makes some sort of sense. Spike On 3/10/06, Rodrigo Guerra [EMAIL PROTECTED] wrote: thanks spike, clint for the help. the dataProvider removeItemAt method works like a charm. i added the code below to get the grid row, but it's not working: var myListener = new Object

Re: [Flashcoders] RE: Flex vs OpenLaszo

2005-12-21 Thread Spike
That's not 100% true. You must have a Flex license for the server where the swf is served from, but you don't have to have Flex installed on it. I've worked with a couple of clients who use this configuration. Spike On 12/21/05, JesterXL [EMAIL PROTECTED] wrote: Nope, Flex 1 and Flex 1.5

Re: [Flashcoders] [OTAnn] Feedback

2005-11-07 Thread Spike
Advertising a JNLP app on a Flash coders mailing list? I'm assuming this is spam, you're trolling, or you're clueless. The most likely reaction is a bunch of flash/flex developers putting together an alternative that doesn't rely on client side Java. Spike On 11/7/05, shenanigans [EMAIL

Re: [Flashcoders] Debugging wih FAMES?

2005-11-01 Thread Spike
, for one, applaud Macromedia for choosing it. Spike On 11/1/05, Nick Weekes [EMAIL PROTECTED] wrote: I don't understand why you would go for a (possibly) less functional tool than FlexBuilder 2 just because its open source? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] Re: Newbie AS3 question

2005-11-01 Thread Spike
Yes indeed! You can usually find an alternative approach to solving the problem than using the singleton pattern, but it is distinctly different to using static methods. Glad to hear it works the way it does in other languages at least. Spike On 10/29/05, A.Cicak [EMAIL PROTECTED] wrote

Re: [Flashcoders] Bizare...AS3.0 packages have methods?

2005-10-31 Thread Spike
It's a method of the package. When you create an AS 3 class you can put methods inside the package {} block, but outside any class definitions. I'm not sure why it works that way, but that's the way it works. Spike On 10/31/05, Martin Wood [EMAIL PROTECTED] wrote: i think its just a function

Re: [Flashcoders] Free and open source software

2005-10-30 Thread Spike
Here's a page listing all sorts of open source software. You might find some stuff there: http://en.wikipedia.org/wiki/List_of_open-source_software_packages Spike On 10/29/05, Liam Morley [EMAIL PROTECTED] wrote: Flash: http://flasm.sourceforge.net/ On 10/29/05, Ian Thomas [EMAIL PROTECTED

Re: [Flashcoders] Newbie AS3 question

2005-10-29 Thread Spike
You're welcome! This has been an interesting thread and I've learned a bit more about ActionScript in the process :-) Spike On 10/29/05, JesterXL [EMAIL PROTECTED] wrote: That makes perfect sense and is a good reason. So, from this 2nd conversation, I've gleaned something else to add

Re: [Flashcoders] Newbie AS3 question

2005-10-28 Thread Spike
Good lord! Why do you say that? It's an extra 2 lines of code and it allows you to reparent any of the children of any of the movie clipse. I'd be more inclined to say it's awesome! Spike On 10/28/05, Andreas Rønning [EMAIL PROTECTED] wrote: Shaw, Matt wrote: Assuming the Game class

Re: [Flashcoders] Why Flex?

2005-10-28 Thread Spike
in a code centric way I doubt if I would be working with flash at all. It's all about choice :-) Spike On 10/28/05, Judah Frangipane [EMAIL PROTECTED] wrote: right on. that's what i'm talking about. flash was about 80%-90% there for developers and then they forked the sucker. are they focus

Re: [Flashcoders] Free and open source software

2005-10-28 Thread Spike
Bitmap - Gimp Vector - Inkscape There are some for sound and video, but I don't know them off the top of my head. Spike On 10/28/05, Patrick Matte [EMAIL PROTECTED] wrote: Hi, I'm rounding up a list of free and open source software. For flash, I have found MTASC and swfmil. Does anyboby

Re: [Flashcoders] Newbie AS3 question

2005-10-28 Thread Spike
and the latter is calling a static method. Instance methods have access to instance data that is persisted as long as the instance exists, static methods have access only to static data and that data passed in to the method call. Is this not true in ActionScript? Spike On 10/28/05, JesterXL [EMAIL

Re: [Flashcoders] Re: Newbie AS3 question

2005-10-28 Thread Spike
in using the this prefix that way, but it's certainly a valid excuse for doing it. Spike On 10/28/05, A.Cicak [EMAIL PROTECTED] wrote: Well, I dont agree, this keyword refers to current class, so its only more typing to include it, and making code less readable. Only reason keyword

Re: [Flashcoders] Re: Newbie AS3 question

2005-10-28 Thread Spike
? Probably not. is it commonly seen in code? Definitely. Spike On 10/28/05, Spike [EMAIL PROTECTED] wrote: Passing a reference to the current object is not the only place where using the this prefix is useful. If you come along maintain someone's code 6 months from now and you find a complex

Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Spike
. When compared to the size of the existing flash development community, I'm not sure how big that group is, from what I've seen it could be quite significant. Spike On 10/27/05, Jon Bradley [EMAIL PROTECTED] wrote: On Oct 27, 2005, at 10:14 AM, Mike Britton wrote: That makes sense Robert

Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Spike
of the last 2 years writing plugins for Eclipse though, so it is a pretty natural way for me to work. Spike On 10/27/05, Michael Bedar [EMAIL PROTECTED] wrote: Personally I have never been tempted to work in Eclipse - I like the IDE and work well in it.. but I have to admit FlexBuilder2

Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Spike
As someone who has never really spent much time in the Flash authoring tool, could you explain the exact features that would be really useful in a Flex Builder library plugin? If it looks feasible I might attempt it. Spike On 10/27/05, Mike Britton [EMAIL PROTECTED] wrote: Rather

Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Spike
On 10/27/05, Mike Britton [EMAIL PROTECTED] wrote: 1. Map symbols to classes via some kind of package explorer wizard Not totally sure what you mean by that... My understanding is that everything in AS 3/Flash 8.5 is a class and that symbols are no more. Like I said, I don't do much in the

Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Spike
it. I've told you all of this before, hahah! You have? When? - Original Message - From: Spike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 27, 2005 1:15 PM Subject: Re: [Flashcoders] Flash vs Flex As someone who has never

Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Spike
Hmm So a library is imported, and lives only in the Flash authoring tool? The only way to export library items is to add them to a .fla and export that as a .swf? The items must be stored somewhere, so maybe I can dig around and figure that out. Spike On 10/27/05, Mike Britton [EMAIL

Re: [Flashcoders] Flash vs Flex

2005-10-27 Thread Spike
they're already on top of, but it does help if I understand what people might want before asking them if it's likely to happen. Spike On 10/27/05, Judah Frangipane [EMAIL PROTECTED] wrote: I'm all for making plugins and updates to FB but if this is a huge upgrade you might want to submit your

Re: [Flashcoders] AS3.0 only projects + flex framework

2005-10-26 Thread Spike
I haven't tried it with Flex 2 files, but I have managed to load a FlashPaper swf. It didn't work perfectly, but I could view the file and use some of the controls like zooming. Spike On 10/26/05, Tom Versweyveld [EMAIL PROTECTED] wrote: And load a Flex 2 swf into an as3/8.5 swf with the new

Re: [Flashcoders] while(true) and infinite loop... :(

2005-10-26 Thread Spike
How about using the break keyword? *** package { import flash.display.Sprite; import flash.util.trace; public class LoopTest extends Sprite { public function LoopTest() { var i:uint = 0; for(;;) { i++; if (i 20) { break; } } trace(Loop exited.); } } }

Re: AW: [Flashcoders] AS3.0 only projects + flex framework

2005-10-25 Thread Spike
When you say Nothing really happens, what exactly does happen? Does the browser open the file? Do you get an error? Spike On 10/25/05, Weyert de Boer [EMAIL PROTECTED] wrote: Hi Spike, Specifically, you need to launch the file by clicking on the debug button in Eclipse rather than just

Re: AW: [Flashcoders] AS3.0 only projects + flex framework

2005-10-25 Thread Spike
Can you post the code for the file you are trying to debug? It sounds like the debugger is probably running, but the line where you have set the breakpoint isn't being executed. Spike On 10/25/05, Weyert de Boer [EMAIL PROTECTED] wrote: Spike wrote: When you say Nothing really happens, what

Re: [Flashcoders] LocalConnection in Flex 2

2005-10-25 Thread Spike
That's kinda funny, I copied mine directly from the docs for the LocalConnection class. The only bits I changed were to display a text field rather than using trace to output info. Where in the docs did you find the example you posted? Spike On 10/25/05, Muzak [EMAIL PROTECTED] wrote: LOL, I

Re: [Flashcoders] LocalConnection in Flex 2

2005-10-25 Thread Spike
Never mind, Found the code for your example under Communicating with the Browser in the Developing Flex Apps part of the docs. Spike On 10/25/05, Spike [EMAIL PROTECTED] wrote: That's kinda funny, I copied mine directly from the docs for the LocalConnection class. The only bits I changed

Re: [Flashcoders] AS3.0 only projects + flex framework

2005-10-24 Thread Spike
I have 2 or 3 AS only projects on my machine. None of them are functionally complete yet, but I can post one or two fo them when they are. As Michael already said, there are several simple examples in the help files that can be run as just .as files. No MXML at all. Spike On 10/24/05, Benjamin

Re: AW: [Flashcoders] AS3.0 only projects + flex framework

2005-10-24 Thread Spike
the debug button. When the player gets to that line in the code it should pause and you should be able to see all the variables in debug view. HTH Spike On 10/24/05, Weyert de Boer [EMAIL PROTECTED] wrote: Benjamin Dobler wrote: Yeah i would like to see those stuff. Be sure i meant AS only

Re: [Flashcoders] AS3.0 only projects + flex framework

2005-10-24 Thread Spike
at the command line: mxmlc.exe -keep ./Hello.mxml That should cause it to keep the generated .as files when it compiles a .mxml file. By a process of elimination you should be able to figure out what you need to add to your .as projects to get them to work. Spike On 10/24/05, Benjamin Dobler [EMAIL

Re: [Flashcoders] AS3.0 only projects + flex framework

2005-10-24 Thread Spike
); var myLoader:URLLoader = new URLLoader(myXMLURL); public function XMLTest() { myLoader.addEventListener(complete, xmlLoaded); } public function xmlLoaded(evtObj:Event) { myXML = XML(myLoader.data); trace(Data loaded.); } } } Spike

Re: [Flashcoders] OT: Flash player keeps 'downgrading' itself

2005-10-24 Thread Spike
I do have flash paper and have not seen this happen. Spike On 10/24/05, Steve Mathews [EMAIL PROTECTED] wrote: I for one do not have FlashPaper. On 10/24/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: In the case of computers that are downgrading themselves, how many of you have

Re: [Flashcoders] Undefined and null in Flex2

2005-10-21 Thread Spike
is the only type that can store undefined, if you try to set a var of another type to undefined, it will be coerced into something different. For example, setting a Number to undefined will coerce it to NaN. - Gordon * Spike On 10/21/05

Re: [Flashcoders] Learn AS2 or AS3?

2005-10-21 Thread Spike
with the fact that AS 3 is stricter about OO concepts than AS 2 was. Spike On 10/21/05, ryanm [EMAIL PROTECTED] wrote: Perharps I was not clear But for me between AS2 and AS3 the only thing similar is the syntax Not the logic It is neither logic or syntax that changed. Really, all

Re: [Flashcoders] Learn AS2 or AS3?

2005-10-21 Thread Spike
that the resulting Java bytecode was compatible with whatever JVM you were planning on running it on. Spike On 10/21/05, Ron Wheeler [EMAIL PROTECTED] wrote: Interesting. Strickly speaking VMs do not care. You can use MTASC or Swish or MMC or your own program to create the code. The player

Re: [Flashcoders] Not getting my own posts

2005-10-21 Thread Spike
Really? I've been trying for months to find out how to stop GMail from showing me doubles of every message I send to a list. *goes off to look at GMail settings again* Spike On 10/21/05, Josh Gormley [EMAIL PROTECTED] wrote: GMail users do not (by default, at least) receive emails from

Re: [Flashcoders] Undefined and null in Flex2

2005-10-21 Thread Spike
may chirp up and clarify. Spike On 10/22/05, Robert Edgar [EMAIL PROTECTED] wrote: Thanks spike for taking the time to reply but... Calling it legacy seems to contradict the current AS3 docs.. For example I think it is getStyle that is documented to return undefined if the style

Re: [Flashcoders] A reason to use Windows

2005-10-19 Thread Spike
Very cool, I know a few people who will be keen to read that. Spike On 10/19/05, Alisdair Mills [EMAIL PROTECTED] wrote: It took a bit of tinkering but I have the flex framework 2 and actionscript 3 compiling on OS X (nb. not flex builder 2 plugin). if you get all the jar files from the lib

Re: [Flashcoders] how to get a rollover event from a button component

2005-10-19 Thread Spike
does mouseMove do what you want? Spike On 10/19/05, eugen pflüger [EMAIL PROTECTED] wrote: hello, this should be an easy one but i dont get it. how can i catch a rollover event from a button component? i just wanted to build a little tooltip. tia eugen