RE: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread j.c.wichman
Hi, it is included, but not solely becoz of the import statement. I might be wrong, but I believe this is even a 'bug'. Expected behavior: import MyClass causes inclusion of MyClass in the swf Real behavior: import MyClass still requires you to use MyClass somewhere in the code as in var

RE: [Flashcoders] Do objects lose their class identity when they arestored and retrieved from an lso?

2006-05-19 Thread j.c.wichman
Hi, I think so. I am currently working on a serializer/deserializer with saves objects including their classes to xml and reconstructs them. It will be posted when it's done, but that won't be for some time (deadlines etc). greetz Hans -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread j.c.wichman
Hi Jason, u probably can, but you dont *have* to use remoting. You can create a reference to the webservice by simply using: new WebService(http://location to your webservice here.asmx?wsdl, this.logger); Look at this one for example

RE: [Flashcoders] Grab IP address

2006-05-15 Thread j.c.wichman
Hi, i'd go with the server side solution instead of depending on java running. Let's face it, if we all had such great confidence in java we'd be posting on the javadev list:) (ok erase that comment). Anywayz, php makes for a good solution i think, but I believe standaard ssi env vars will do the

[Flashcoders] Assetpropflags back to default

2006-05-10 Thread j.c.wichman
Hi list, I was wondering, is it possible to revert an object back to its default setting after using for example: _global.ASSetPropFlags (myObject, null, 6, true); What is the call I need to do to revert the myObject to the state it was? Is there a default state? Am I making any sense:)?

RE: [Flashcoders] Assetpropflags back to default

2006-05-10 Thread j.c.wichman
regards, Muzak motto: Google first, ask questions later.. - Original Message - From: j.c.wichman [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 10, 2006 9:47 AM Subject: [Flashcoders] Assetpropflags back to default Hi list

RE: [Flashcoders] Importing ComboBox classes into custom class

2006-05-10 Thread j.c.wichman
Hi, I have no clue what's causing this, but I had similar problems in the past, you might want to try any or all of the following 3 things, if noone recognizes the problem directly: - set _lockroot on the movieclip / on the combobox instance - Object.registerClass(ComboDownArrowDisabled,

RE: [Flashcoders] Xray Trouble Shooting

2006-04-28 Thread j.c.wichman
Hi, This other post by John might help too:))) http://osflash.org/pipermail/xray_osflash.org/2005-November/000273.html It solved it for my anyway, the problem was that I exported my classes in frame 10 instead of one, And so I had to move the xray connector too and add the code mentioned in his

RE: [Flashcoders] focus in internet explorer

2006-04-28 Thread j.c.wichman
Hi, body onLoad=window.focus(); will take the focus away from your flash object. body onLoad=document.myFlashObjIDHere.focus(); should do the trick. Greetz Hans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eugen pflüger Sent: Friday,

RE: [Flashcoders] focus in internet explorer

2006-04-28 Thread j.c.wichman
explorer gives me the hand-cursor- symbol and a tooltip says: click here to activate this element. has this always been like this on windows? i never realized? best eugen Am 28.04.2006 um 11:17 schrieb j.c.wichman: Hi, body onLoad=window.focus(); will take the focus away from

[Flashcoders] Luminicbox / xray

2006-04-27 Thread j.c.wichman
Hi peeps, I downloaded luminicbox in addition to Xray, which I have been using already for some time, but I thought it would be nice to just use m both, Xray for the introspection and luminicbox for the logging. I think I heard John mention at one point he was going to try to incorporate luminic

[Flashcoders] Scoping question

2006-04-11 Thread j.c.wichman
Hi List, I have the following piece of code: function getShowMenuFunction (menuID:String):Function { return Delegate.create (this, function (evt) { var loc = null;

RE: [Flashcoders] Flv streaming end detection

2006-04-11 Thread j.c.wichman
-media.de/flvtool2/ Or you can try the GUI FLV Knife for FLVTool2 which I build: http://soenkerohde.com/software/flv-knife/ Cheers, Sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of j.c.wichman Sent: Friday, April 07, 2006 12:22 PM

[Flashcoders] Flv streaming end detection

2006-04-07 Thread j.c.wichman
Hi list, We are streaming flv's through flash communication server, but sometimes the end of the stream does not seem to be correctly detected. It seems to work in flash 7, where I wait for a NetStream.Play.Stop and then a NetStream.Buffer.Empty. Has anything changed with 8 that can cause this

RE: [Flashcoders] how to liesten XML onLoad Event?

2006-02-20 Thread j.c.wichman
Hi, It's a scoping issue. Which has been discussed many many times on this list, you might wanna do a search. You can use the delegate class for example to fix this. Greetz Hans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of zikey Han Sent:

RE: [Flashcoders] negative depths and dynamically duplicated movie clips

2006-02-10 Thread j.c.wichman
Hi, Don't know if this would solve it, but I think one way would be to order your timeline like this: Toplayer: all my non-dynamic stuff Not-so-top-layer: dummyholder clip Now on mouse move you simply attach your clips to the dummyholder. Since the dummy holder is on a layer below the rest of

RE: [Flashcoders] reference or scope problem... all the instances sharethe same values :S

2006-02-09 Thread j.c.wichman
Hi, If you do var myArray = new Array(); myArray will be static and shared by all instances. Flash bug.. :) maybe that information helps.. Greetz Hans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of parakalo Sent: Thursday, February 09, 2006

RE: [Flashcoders] LoadClip and centering new content

2006-02-03 Thread j.c.wichman
Hi, If you use something like: var my_mcl:MovieClipLoader = new MovieClipLoader(); var myListener:Object = new Object(); myListener.onLoadInit = function(target_mc:MovieClip) { trace(target_mc._width);

RE: [Flashcoders] How do you code your Flash applications?

2006-02-03 Thread j.c.wichman
Only when you use v2 components on the root as well ithink? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Wttewaall Sent: Friday, February 03, 2006 5:24 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] How do you code your Flash

RE: [Flashcoders] Tell me more about _global

2006-02-02 Thread j.c.wichman
* yawns * -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, February 01, 2006 9:57 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Tell me more about _global Apart from that, your email takes a kind of

RE: [Flashcoders] Seeking a bit of drawing API inspiration..

2006-02-02 Thread j.c.wichman
Hi, This probably isnt of any use to you, but for the filled circles, you can only simply draw a linepiece with a length of say 0.0001 and a high linethickness (50px for example results in a circle with a diameter of 50px). Like I said only of use if you draw filled circles. Greetz Hans

[Flashcoders] Unconditional and operator

2006-02-02 Thread j.c.wichman
Hi, does anyone know of an unconditional and operator in flash that I'm not aware of, eg in java a() b(), forcing both a() and b() to be called? And yes I know this reeks of hacking ;). greetz Hans ___ Flashcoders mailing list

RE: [Flashcoders] Unconditional and operator

2006-02-02 Thread j.c.wichman
( and result:+(a() and b()) ); trace( result:+(a() b()) ); } A result: false A B and result: false A B result: 0 So it looks like the old 'and' operator doesn't short circuit. It's deprecated - so it's your choice whether to use it... Cheers, Ian On 2/2/06, j.c.wichman [EMAIL PROTECTED

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread j.c.wichman
Hi, I think there are very good reasons to make a class for it, some of them mentioned before: It allows you to: - debug values stored - add listeners for changes/updates - detect collisions - track where changes made are coming from, or at least when they happen - implement

[Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi, i'm using a collection, which requires items of type Object to be added. I've declared an interface which gives me something like: - interface IWorldPart - a class implementing WorldPart now somewhere else i do: var myPart:IWorldPart = new SomeWorldPartSubclass(); myCollection.addItem

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
WorldPart implements IWorldPart class SomeWorldPartSubclass extends WorldPart then either var myPart:WorldPart = new SomeWorldPartSubclass(); or var myPart:IWorldPart = new SomeWorldPartSubclass(); should both work... HTH, Ian On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote: Hi, i'm using

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
a concrete class that implements the interface... Your code should be: interface IWorldPart {} class SomeWorldPartSubclass implements IWorldPart {} var myPart:SomeWorldPartSubclass = new SomeWorldPartSubclass(); myCollection.addItem(myPart); j.c.wichman a écrit : Hi, i'm using a collection, which

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Hi Ian, Which flash version are you using? I had other problems yesterday with extending CollectionImpl due to my flash version (mx 2004), which worked just fine in flash 8. Might be the same in this case. Are you using 7 or 8? Thanks! Hans -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
an error with myCollection. I know you've solved your immediate problem - but this is niggling at me now... ;-) Ian On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote: Hi, I know u can't instantiate an interface, which wasn't what I was trying to do ;), I was declaring a variable to be of type

RE: [Flashcoders] interfaces and objects

2006-02-01 Thread j.c.wichman
Then as Steve says, sounds like a compiler bug. Ian On 2/1/06, j.c.wichman [EMAIL PROTECTED] wrote: Hi, No confusion here ;) except maybe for my fuzzy explanation ;). I did: interface IWorldPart class WorldPart implements IWorldPart class SomeWorldPartSubclass extends WorldPart then either var

RE: [Flashcoders] clearing variables from memory after use...

2006-02-01 Thread j.c.wichman
Hi Roman, You describe my_var =null as being useless, but this should be enough for the garbage collector to come along and reclaim an object? With respect to the static issue, what do you mean with 'static instances' ? Could u provide an example of such an object with isn't reclaimed? Thanks,

RE: [Flashcoders] Tell me more about _global

2006-02-01 Thread j.c.wichman
You have been watching us through our webcams, haven't you? Ah come on... Just admit it... It's okay... I must say I do agree with your first line... After that it got a bit blurry. See I always thought that the guyz using only global vars with obscure names calling them from god-knows-where,

[Flashcoders] extending collectionimpl

2006-01-31 Thread j.c.wichman
Hi, im trying to extend mx.utils.CollectionImpl but it doesn't seem to work. Is there a restriction to intrinsic classes im not aware of? greetz Hans ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] extending collectionimpl

2006-01-31 Thread j.c.wichman
(); } } // -- import Col; var col = new Col(); col.addItem(hello); col.addItem(world); var it = col.getIterator(); while (it.hasNext()) { var item = it.next(); trace(item); } 2006/1/31, j.c.wichman [EMAIL PROTECTED]: Hi, im trying to extend mx.utils.CollectionImpl but it doesn't

RE: [Flashcoders] com.ge package throws compile error?

2006-01-31 Thread j.c.wichman
Hi John, Its seems ge, gt, le,lt etc are all reserved, probably something like greater than, greater or equal, etc. If u google for 'flash reserved keywords' you get the whole list... Why it is reserver? No clue, sorry ;) Grtz Hans J.C. Wichman . Software

RE: [Flashcoders] Q: All OOP or ??????

2006-01-28 Thread j.c.wichman
Hi, You are probably going to hear this a lot: it depends. You'll find a lot of people doing 1, you'll find a lot doing 2... 3 4 5 6 etc. For example, (just a few examples, books could probably be written on this subject), an animation of a car driving down a road, sliding, going through

[Flashcoders] flash communication server and ISA client

2006-01-25 Thread j.c.wichman
Hi, i have a client for which i developed a flash comm app. It works fine on some pc's, but on others it doesnt ;). Now they claim that the correct ports are open, that it didnt help, but now that they have installed an ISA client (?) it all seems to work. Now i dont know that much about