Re: [Flashcoders] Normalizing point

2005-10-19 Thread Hans Wichman
Hi, how about doing this while storing them? You know the last point stored, every time u get a mouse event and are ready to store the next point, u calculate the distance from the last point first, and only store the new point if the distance is bigger than a certain value. greetz Hans At

[Flashcoders] before onchange datagrid

2005-10-21 Thread Hans Wichman
Hi list, is there anyway to prevent a change in the rowselection of a datagrid? Or to detect the row that was selected before the row that is selected after the change event? Image i have 2 rows.. - click row 1, some textfields update - alter textfields - click row 2 now before the click on

[Flashcoders] dataset problems

2005-11-04 Thread Hans Wichman
Hi list, i have a main.swf and 2 subs a.swf and b.swf. Main contains the webservice classes. Subs contains the webservice classes and the dataset component. Main loads a first, then b - b is broken Main loads b first, then a - a is broken a and b are two different applications but with the

[Flashcoders] flex 2 for games?

2005-11-20 Thread Hans Wichman
Hi folks, im not sure if this is the right place to ask, but... I've been working on a game for a while in AS 1 and well basically, I took the opposite approach of what I have to do in my work: act before I think ;). So since it was both a learning experience for me in Flash (first real game

Re: [Flashcoders] document.write

2005-11-20 Thread Hans Wichman
Hi, cant you write the complete function in javscript and then just call that function from flash? Or look into the JavascriptFlashIntegrationAPI it rocks ;) greetz Hans At 10:20 PM 11/20/2005, Simon Lord wrote: Anyone have a sample or know how to execute javascript:document.write from

Re: [Flashcoders] flex 2 for games?

2005-11-21 Thread Hans Wichman
that it will give you a good feeling of as3 and prepare you for things to come. On 11/20/05, Hans Wichman [EMAIL PROTECTED] wrote: Hi folks, im not sure if this is the right place to ask, but... I've been working on a game for a while in AS 1 and well basically, I took the opposite approach

RE: [Flashcoders] flex 2 for games?

2005-11-22 Thread Hans Wichman
. But something to keep in mind with Flash is that you are able to quickly build graphics/animation to be used as UI and content and held within the same IDE. Charles P. On 11/21/05, Hans Wichman [EMAIL PROTECTED] wrote: Hi, i agree that it is running a lot faster, and building an app

Re: [Flashcoders] flex 2 for games?

2005-11-22 Thread Hans Wichman
Hi, yeah well, im sure the display list things arent too hard, in my own AS2 projects I developed Control like classes which work like: var tab = new TabPane (_root); tab.addChild (new Tab()); etc (well to be honest the main control would listen to a TabModel and create tabs itself

RE: [Flashcoders] Post awaiting for approval[OT]

2005-11-22 Thread Hans Wichman
Hi, pretty cool! Lot of work i guess? Just a dumb question, whats it for and with what did you create it? By the way if i type in test in the browser, i get 10 images, but the last 2 overflow. greetz Hans At 03:15 PM 11/22/2005, Pete Hotchkiss wrote: http://david.peek.ws/spark/ just need

[Flashcoders] masking hitarea

2005-11-22 Thread Hans Wichman
Hi folks, i have a weird issue here, imagine the following setup. 1- 2 layers a b 2 - a masks b 3- both layers contain one rectangle, visually these overlap 4- so in effect the rectangle mask masks the other rectangle, showing you only a portion of this rectangle Now i do: var mc =

Re: [Flashcoders] masking hitarea

2005-11-22 Thread Hans Wichman
want is: - create dynamic clip - set the hitArea for this clip to a clip on stage masked by the layer above it greetz Hans At 04:26 PM 11/22/2005, Hans Wichman wrote: Hi folks, i have a weird issue here, imagine the following setup. 1- 2 layers a b 2 - a masks b 3- both layers contain one

Re: [Flashcoders] Using Listeners to instantiate onEnterFrame

2005-11-22 Thread Hans Wichman
Hi, in your example i think it would have to be: public function handlePressedUP(){ this.onEnterFrame = function () { theBall._y -= 5; // Move ball by 5 px. } } greetz Hans At 06:56 PM 11/22/2005, Steven Loe wrote:

Re: [Flashcoders] Cutting an image up into tiles using masks

2005-11-24 Thread Hans Wichman
duplicateMovie will not duplicate any loaded images or stuffd drawn throuh the api. basically you'd have to load the image lots of times as well. At 04:58 PM 11/24/2005, Paul Steven wrote: I am trying to make a Slider Puzzle (game whereby an image is cut up into tiles and one tile is removed

RE: [Flashcoders] Cutting an image up into tiles using masks

2005-11-24 Thread Hans Wichman
Sorry paul, i was wrong, apparently duplicating clips with drawn code is possible. Somehow i tried this in a project sometime ago and it failed, but still... loaded images wont.. im sure.. really ;)) And you are right the mask cant be shared as well, so you have to duplicate the mask as well.

RE: [Flashcoders] Flvs fail to stream on an older pc

2005-11-25 Thread Hans Wichman
Let's just hope your client is not on this list as well ;) At 02:24 PM 11/25/2005, you wrote: Thanks to everyone who replied, The problem seems to have been solved - at least for now... I had asked the client yesterday to try and reburn the cd-rom from her mac, to see if maybe something had

Re: [Flashcoders] Dynamic Function problem

2005-11-26 Thread Hans Wichman
Hi, leaving the is-this-really-the-design-that-u-want discussions out of the equation, var _root.current is not going to work, it should be var current:Function; I tried it, and it works that way. Like I said though, you might want to rethink this design. greetz Hans At 03:38 PM 11/26/2005,

Re: [Flashcoders] Dynamic Function problem

2005-11-26 Thread Hans Wichman
would like to go to a specific function based on which XML has loaded. Can you suggest some good alternative? Thanks On 11/26/05, Hans Wichman [EMAIL PROTECTED] wrote: Hi, leaving the is-this-really-the-design-that-u-want discussions out of the equation, var _root.current is not going

Re: [Flashcoders] Martian Dataprovider confusion

2005-11-29 Thread Hans Wichman
Hi, if i do this: DataProvider.Initialize(Array); and var layers = new Array(); it works just fine. Don't know if this is the accepted way to go about it though ;)). As for as i know i thought DataProvider was some kind of adapter class for arrays not really meant to be instantiated on its

Re: [Flashcoders] Martian Dataprovider confusion

2005-11-29 Thread Hans Wichman
anything more about that. I think I need to forget that as1 ever existed if I'm ever going to enjoy as2 in time to forget it ever existed and enjoy as3. Thanks again. On 11/29/05, Hans Wichman [EMAIL PROTECTED] wrote: Hi, if i do this: DataProvider.Initialize(Array); and var layers = new Array

Re: [Flashcoders] Dynamic runtime class', another example.

2005-11-29 Thread Hans Wichman
Hi, first off: cool ;). Question though, since flash idea of multithreading is that there are no real threads for us to create and each method runs synchronized (as in public synchronized as in java), what would be a case where i would wanna use asynchronous callbacks? I know that the XML

Re: [Flashcoders] dirty flv player

2005-11-29 Thread Hans Wichman
Hi, i'd go for local or network streaming in any case (so dont include them in the swf ;)). That said: -drop a combobox on stage -create a video object -fill the combobox directly through code or though xml -connect the callback from the combobox to attach the correct stream to your video

Re: [Flashcoders] (no subject)

2005-11-30 Thread Hans Wichman
Hi Lieven, I know u understand the difference but just to recall: setTextFormat applies a textformat to part or whole of the already EXISTING text in a textfield setNewFormat sets the default format to be applied to all text that is ADDED to the text in a textfield So getTextFormat return the

Re: [Flashcoders] Q: Converting from base 10 to hex?

2005-12-02 Thread Hans Wichman
Hi, nothing, google for 2-complement numbers and you'll see why it shows up as a negative number. greetz Hans At 08:45 PM 12/2/2005, [EMAIL PROTECTED] wrote: In order to use the fillRect method you need to pass in the color as a Hex value. To start I want to fill with a 50% grey, which as

Re: [Flashcoders] Accessibility

2005-12-03 Thread Hans Wichman
Hi, i think u can find more about it here: http://www.w3.org/TR/WCAG10/ http://www.accessibility.nl/internet/ebrochure/brochure/contents.htm The table of contents lists priorities, but they refer to the other guidelines. I think it might involve a lot of work if your site is already

RE: [Flashcoders] How to make a class instance self-destructible?

2005-12-04 Thread Hans Wichman
Hi, i did some tests with this recently, and i dont think you are correct on this one, Steven. Am I right that you are saying: var a = new Object(); a.b = new Object(); delete a; that you think b will now stay in memory? In addition you mention a separate thread? In Flash? greetz Hans At

RE: [Flashcoders] How to make a class instance self-destructible?

2005-12-04 Thread Hans Wichman
ps boon, one fast way to verify on windows: - repeat your action 10 times in a for lus with the taskmanager open If the memory you use is being recollected you will see your application eat memory and release it, eat it and release it etc if not, it will just be hogging memory until it

[Flashcoders] floating point

2005-12-04 Thread Hans Wichman
Hi peeps, related discussions have been on here before, but i didn't find a real answer. Imagine this piece of code: var i = 0; onEnterFrame = function () { i = i + 0.1; trace (i); if (i == 0.7) trace(here); } as you might expect, after running for 7 frames, it traces

Re: [Flashcoders] floating point

2005-12-07 Thread Hans Wichman
k, thanks all. i went for the boundary check. the other one was +i == 0.8 which was even dirtier ;) At 12:33 PM 12/7/2005, Danny Kodicek wrote: quote that refuses to indent, curses - Original Message - From: Toon Van de Putte [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] Serious Problem with Big Loads... HELP ME , please... HELP ME

2005-12-11 Thread Hans Wichman
Hi, well, i don't think its the filesize. I've loaded 10mb fla's into another swf without a problem. Interface responds as it should, progressbar updates normally etc. I can only offer you some general tips: - run the project from a webserver if you havent already done so, it might act

[Flashcoders] getURL

2005-12-12 Thread Hans Wichman
Hi list, it seems when playing content in Flash 8, using getUrl(myFIle.html, _blank, GET) does no longer append variables to the given file when run locally. Can anyone confirm this and does anyone have a workaround? greetz Hans ___ Flashcoders

RE: [Flashcoders] getURL

2005-12-14 Thread Hans Wichman
to pass were URLs with Query strings. Since you're using GET you can just: url = http://foo.com?;; nvp1 = bar=baz; getURL(url + nvp1, GET); HTH, Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Monday, December 12, 2005 8:35 AM

Re: [Flashcoders] getURL

2005-12-14 Thread Hans Wichman
, and then: map your network location as new drive = edit so file. Hope this can help. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. - Hans Wichman wrote: Hi, i looked into the settings manager

Re: [Flashcoders] can't remove a clip attached to root???

2005-12-14 Thread Hans Wichman
Hi, is this in an empty movie, or a movie with components in it? Try and trace the depth, if its higher than a certain number (which may be caused by components on your stage) you have to swap it to a lower depth first. greetz Hans At 10:27 PM 12/14/2005, Jason Rayles wrote: Is there a reason

Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Hans Wichman
Have you tried opening the taskmanager to see if your memory is hogging? The game im working on slows down as well, but this is simply becoz im printin debug info to a textfield (will be replaced with xray ;)) and this takes longer to update as the contents get bigger. A game should not slow

Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Hans Wichman
/ Dimitrios Bendilas - Original Message - From: Hans Wichman [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, December 15, 2005 12:11 PM Subject: Re: [FlashCoders] game slowing down - eventListener Have you tried opening the taskmanager

Re: [FlashCoders] game slowing down - eventListener

2005-12-21 Thread Hans Wichman
Hi, all principles aside (it should work etc), cant u just put _global.gameRef = game; at the end of initGame, just so that u can test it? using _global.gameRef as path, should give u a direct link to your game object. greetz Hans At 06:16 PM 12/21/2005, Dimitrios Bendilas wrote: At the

Re: [Flashcoders] Faster code?

2005-12-23 Thread Hans Wichman
Just to those that are reading this thread and wondering if writing neat documented code for clients (and payed for by clients) is an illusion, my 2 cents: we've been working on a project (complete virtual learning city) in flash in which the client didnt really know what he wanted up front,

Re: [FlashCoders] game slowing down - eventListener

2005-12-23 Thread Hans Wichman
tnx, but no need ;). All credits go to John for his awesome tool and his supercool attitude which made this tool possible. At 07:01 PM 12/22/2005, Dimitrios Bendilas wrote: The _global thing was Hans Wichman's idea. Just making sure he gets the credit! ;-) Dimitrios - Original Message

Re: [Flashcoders] _targetInstanceName?

2005-12-23 Thread Hans Wichman
Hi, if you create a component and hook up a class to it, and provide a method such as: [Inspectable(_targetInstanceName=)] function set _targetInstanceName(targetName:String) { //do whatever } you can drag and drop your component on another clip and

Re: [Flashcoders] _targetInstanceName? Events?

2005-12-23 Thread Hans Wichman
wrote: Ok, I got that part working, but how does the thing I dropped it on get the events from the component I dropped onto it ? I tried: this.addEventListener(onScroll, this.target); but that didn't seem to work. Hans Wichman wrote: Hi, if you create a component and hook up a class

Re: [Flashcoders] swf to animated gif tool

2006-06-12 Thread Hans Wichman
Hi, check out adshareit. Works great even for actionscripted animations etc. grtz Hans On 6/13/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, check out adshareit. Works great even for actionscripted animations etc. grtz Hans On 6/13/06, Sam [EMAIL PROTECTED] wrote: yeah, that's

Re: [Flashcoders] Accessing non-interface methods from an object of an interface type

2006-06-14 Thread Hans Wichman
The compiler sees an object of type Interface which does not support the method you are trying to call. Either use: var tmp:ConcreteClass = new ConcreteClass(); or var tmp:Interface = new ConcreteClass(); ConcreteClass(tmp).bar(); grtz JC On 6/14/06, Mark Lapasa [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Storing functions as strings

2006-06-27 Thread Hans Wichman
Hi, the interpreter component on http://chq.emehmedovic.com/ might be what you are looking for. grtz JC On 6/27/06, Danny Kodicek [EMAIL PROTECTED] wrote: Let's say i have the following: var stringA:String = A; var funct:String = A=BA; how could i quickly apply funct to stringA to make

Re: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-03 Thread Hans Wichman
Although there is -nothing- bad about using interfaces as a container of constants. On 7/3/06, Marijan Miličević [EMAIL PROTECTED] wrote: Hi Sascha, But it's still beyond me why property support wasn't added. It can be such a complex thing but would make OO life a good amount easier. You

Re: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-05 Thread Hans Wichman
an interface causes internal details -- such as constants -- to leak into the class' public API. Once something becomes part of the public API, you can never get rid of it. so, in above case it could be wrong.. -m -Original Message- From: [EMAIL PROTECTED] on behalf of Hans Wichman Sent

Re: [Flashcoders] AS3 - why no properties in interfaces?

2006-07-05 Thread Hans Wichman
regards, -m -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Wednesday, July 05, 2006 8:14 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 - why no properties in interfaces? Hi Marijan, it might depend

Re: [Flashcoders] AS2 and watch ...

2006-07-06 Thread Hans Wichman
Hi, i never used it, mostly because I wondered about performance stuff and found it to be making my code a bit obscure (although once it has reached black, it doesnt seem to go beyond). I don't mean to hijack this thread, but does any of you know whether the watch thing has a high performance

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-06 Thread Hans Wichman
Hi, i just wrote code to create puzzlepieces on the fly, and while I am not allowed to give out code, I can tell you how I did it. It only answers the 'infamous jigsaw pattern' though, not the bitmap part. -I drew one side using a simpledrawing app written in flash, like mousedown is an anchor

[Flashcoders] transitioneffects over a 2d array of movieclips

2006-07-10 Thread Hans Wichman
Hi list, i was trying to find some info about transitions, tweens etc and i looked into the TransitionManager class, Tween classes and Fuse. I couldn't find what I was looking for, so please bear with me as Im trying to explain what I would like: - i have a configuration of movieclips on my

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-11 Thread Hans Wichman
. It lacks a nice bevelled edge around the pieces, which would have been easy to add to your drawn shapes, using a bevelfilter, but it still is a very nice out of the box reusable puzzle component I think. greetz Hans On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, with respect

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-11 Thread Hans Wichman
the mouse fast enough!... how the...?.. anyone got an idea with my problem? thx! [g] On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, with respect to the combining pieces, why would you use onEnterFrame to update the other pieces? Of course I dont know the details of your implementation

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-15 Thread Hans Wichman
would be left behind.. any idea for this problem? thx Guntur N. Sarwohadi On 7/11/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, does it displace until you stop moving, or displace and screws it up completely? It sounds like either one of the updates you broadcast are not coming through

Re: [Flashcoders] jigsaw puzzle

2006-07-15 Thread Hans Wichman
Please refer to the archives, there is a thread about this going on as we speak... On 7/15/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Hi to all Can anybody give me advice for creating game like this? http://www.magickeys.com/books/jigsaws/cheetah_1/e.html 1. How can I create each

Re: [Flashcoders] jigsaw puzzle

2006-07-16 Thread Hans Wichman
On 7/15/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Yes, I checked before posting but found only questions without answers. 2006/7/15, Hans Wichman [EMAIL PROTECTED]: Please refer to the archives, there is a thread about this going on as we speak... On 7/15/06, natalia

Re: [Flashcoders] Techniques to disable/enable debug mode

2006-07-19 Thread Hans Wichman
Hi, i think there are different option, but havent tested them all: 1. like you said commenting out , not preferable 2. use trace statements, so you can omit them on export 3. use trace in conjuction with mtasc 4. exclude your logger class during compilation (in flash or mtasc) 5. make your

Re: [FlashCoders] Memory builds up

2006-07-20 Thread Hans Wichman
Hi, how about if you leaving it running for longer? The memory might go up, but should go down once in a while when the garbage collection kicks in. Minimizing the window might trigger it. I tried your example, but i see no alarming memory build up. greetz Hans On 7/20/06, Dimitrios Bendilas

[Flashcoders] flv stops playing after undefined numbers of seconds (through firewall)

2006-07-20 Thread Hans Wichman
Hi list, i have an flv that plays from behind a firewall. Tested locally the flv plays great (from a personal edition of the fcs), however from the external fcs through the firewall, the first few seconds seem to come through and then i get a (dump from the log): onStatus called: (191883 ms)

Re: [Flashcoders] flv stops playing after undefined numbers of seconds (through firewall)

2006-07-20 Thread Hans Wichman
Hi, no i'm not, i processed the flv's with a metadata injector and inspect the time and duration flags in the video. greetz Hans On 7/20/06, John Giotta [EMAIL PROTECTED] wrote: Are you stopping the Video after the NetStream.Play.Stop status code is fired? I ask because in most cases

Re: [Flashcoders] popoulating FLV files with metaData from encoder

2006-07-20 Thread Hans Wichman
Hi, yes, type: metaData into the flv in google and its the first hit:) greetz Hans On 7/20/06, sam rolfe [EMAIL PROTECTED] wrote: Hey, anyone knkow how to get the metaData into the flv through the encoder, seems to be blank ? ___

Re: [Flashcoders] Can ComboBox open upwards?

2006-07-21 Thread Hans Wichman
Hi, one dirty hack I know of it to: - extend the combobox class - override the displalyDropdown with an altered copy, in which //if (point.y+ dd.height Stage.height) is replaced with if(true) - reassign a new instance of the class to a combobox instance at runtime Very evil things might

Re: [Flashcoders] jigsaw puzzle

2006-07-23 Thread Hans Wichman
); depthCount++; activity(part.mask); } } } tiler(pic); Thanks a lot for help. 2006/7/16, Hans Wichman [EMAIL PROTECTED]: Hi Natalia, you can find it here: http://www.google.nl/search?hl=nlq

Re: [Flashcoders] My swap function does not work

2006-07-24 Thread Hans Wichman
Hi, you cannot reassign the objects like you do in your method body. Reassign parameter values is a bad idea anyway i think, but assume you have: var a = myObj1; var b = myObj2; Utilities.swap (a,b); the swap function receives a copy of the reference to a and b. You reassign the copy, and exit

Re: [Flashcoders] jigsaw puzzle

2006-07-24 Thread Hans Wichman
, but it uses bitmapdata object, and the peices are clickable. It's using external FLV's etc. hth, JG On 7/23/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: May I sent fla to your mail? 2006/7/23, Hans Wichman [EMAIL PROTECTED]: Hi, what exactly do you mean, it has a config

Re: [Flashcoders] Key.CAPSLOCK woes.

2006-07-25 Thread Hans Wichman
Hi, the isDown call traces true when i test it here, the isToggled traces false (both when holding down capslock ofcourse). Tested on xp, flash 8 Just to be sure, 'disable keyboard shortcuts' doesnt have anything to do with it? When i do: Key.addListener(this); this.onKeyUp = function () { if

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread Hans Wichman
Hi, just to be clear on this, PendingCall.onFault is not working for you? greetz hans On 7/25/06, PR Durand [EMAIL PROTECTED] wrote: I changed everything to work with the connector instead of the service class : same result If I right understood, an exception thrown with server should give

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread Hans Wichman
Hi Steven, awesome, very welcome additions. Would addIfNotPresent (in want of a better name), getRandomItem(with the option of deleting that randomItem), randomizeOrder , make any sense to add as well? Or am I missing something (with respect to the code that is). greetz Hans On 7/26/06, Mike

Re: [Flashcoders] sequential tweens ?

2006-07-26 Thread Hans Wichman
Hi peeps, i think my post from a while ago, is related to this post: http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg17995.html It completely falls under zeh's opinion of overcomplication :), but i think there is a time and a place to either overcomplicate things or keep it

Re: [Flashcoders] sequential tweens ?

2006-07-26 Thread Hans Wichman
;-), well first 2,5 weeks are a real vacation no laptop on penalty of death, after that there are some hobby projects such as the logger and this thing that have been lying on my desk for too long now :) but hey no pressure On 7/26/06, Danny Kodicek [EMAIL PROTECTED] wrote: Soo I by no

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-29 Thread Hans Wichman
Hi, no i dont think its the same. Reading your story it sounds like every piece has a set of neighbours, with a maximum of fours neighbours. Taking your example: Initially each piece group property is an empty array, but for a group something like: A B C D a.group = [a,b,c,d] and b.group =

Re: [Flashcoders] swf to AVI

2006-07-29 Thread Hans Wichman
Hi, you can also stop advertising/spamming :). greetz Hans ps or make it open source, that'd be even better:)) On 7/28/06, master [EMAIL PROTECTED] wrote: Hi, You can try Moyea Flash to Video Converter at http://www.flash-video-mx.com/flash_to_video_web/ master 2006-07-28

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-08-04 Thread Hans Wichman
Hi Gunther, imagine the puzzle in its correct configuration: ABCD EFGH I see this as the grid Now if i tell you A, B and E are in a group, you automatically know B is the right neighbour of A, since they can only be in the same group if they connect, and they will only connect if they are in the

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-08-04 Thread Hans Wichman
ps whether you do this through a naming convention as you mentioned, or through storing a row and column property for each piece doesnt really matter i guess. On 8/3/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi Gunther, imagine the puzzle in its correct configuration: ABCD EFGH I see

Re: Re: [Flashcoders] Mtasc Delegate

2006-08-05 Thread Hans Wichman
Hi, are you compiling in mtasc with the -mx flag? If so, the delegate class will not be compiled into your swf and it will not work. When I work with Mtasc (through FlashDevelop) i find it the easiest to use an injection swf, but i dont know if that is an option for you. If so, create an swf in

[Flashcoders] flash player

2006-08-18 Thread Hans Wichman
Hi list, ok this feels a bit like a stupid question, but i haven't been able to find it anywhere, is there anyway to install the latest flashplayer ocx without visiting the adobe site with internet explorer? I can download the archived players, but i can't download the latest, except through a

Re: [Flashcoders] flash player

2006-08-18 Thread Hans Wichman
] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 18 August 2006 11:56 To: Flashcoders mailing list Subject: [Flashcoders] flash player Hi list, ok this feels a bit like a stupid question, but i haven't been able to find it anywhere, is there anyway to install

Re: [Flashcoders] flash player

2006-08-18 Thread Hans Wichman
sorry, instead of on *ADOBE* djeez its like changing to the euro all over again... On 8/18/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, yes and no:). I see a standalone installer, Download the *Flash Player* 9 (Complete * Standalone* Installer) http://www.softwarepatch.com/internet

Re: [Flashcoders] flash player

2006-08-19 Thread Hans Wichman
which needs to display flash or other programs that like to host flash content, the ocx might be needed. I'm going with the licensing option, thanks! grtz Hans On 8/18/06, John Dowdell [EMAIL PROTECTED] wrote: Hans Wichman wrote: is there anyway to install the latest flashplayer ocx without

Re: [Flashcoders] Dynamically Upcast to a class in the _global tree?

2006-08-23 Thread Hans Wichman
Hi, not sure if this is what you mean but: import com.somepackage.HomeView; var bv:BasicView = getSomeBasicView(); var newHomeViewHomeView =HomeView( bv ); grtz JC On 8/23/06, aaron smith [EMAIL PROTECTED] wrote: How do I cast to something that is in the _global tree. by that i mean. cast

[Flashcoders] new logger for as 2

2006-08-23 Thread Hans Wichman
Hi list, I am writing a new logger for actionscript 2 projects. It's not completely done yet (say about 90%), but i have together a preliminary set of sources and examples. In short some of its nicest features (imo:)): - automatic reflection, eg you use Logger.log (here) and it prints

[Flashcoders] Re: new logger for as 2

2006-08-23 Thread Hans Wichman
Hi, ofcourse my hosting provider decided today was a good day to die, sooo here is an alternative link... http://www.screatoris.net/xflas2/ greetz JC On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi list, I am writing a new logger for actionscript 2 projects. It's not completely done

Re: [Flashcoders] Re: Re: new logger for as 2

2006-08-23 Thread Hans Wichman
... keep up the good work! henrik -- Henrik Weber Certified Flash Developer __freemind design__ www.freemind-design.de On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Date: Wed, 23 Aug 2006 16:24:00 +0200 From: Hans Wichman [EMAIL PROTECTED] Subject: [Flashcoders] Re: new logger for as 2

Re: [Flashcoders] Re: Re: Re: Re: new logger for as 2

2006-08-23 Thread Hans Wichman
. have you already looked at zeroi http://www.osflash.org/zeroi? On 8/23/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, John, tnx, but I'm ok, i used my screatoris page for now located at my workplace, but i might take you up on your offer once i'm further along;), thanks again. Henrik, thanks! Take

Re: [Flashcoders] Class inheritance and scope

2006-08-29 Thread Hans Wichman
Hi, no you are calling it once, if you had used: function SubApplication() { super(); initiate(); } you would have seen it twice, but i wouldn't know why you'd want to:) grtz Hans On 8/30/06, Helmut Granda [EMAIL PROTECTED] wrote: Thanks guys, I think i have to go back to the

Re: [Flashcoders] Slow performance

2006-09-03 Thread Hans Wichman
Hi, setInterval each 10ms might be a bit overkill. grtz JC On 9/3/06, kariminal [EMAIL PROTECTED] wrote: Hello All... My flash movie fills the whole browser window. If the window is kept small performance is great, however when I maximize the browser everything slows down. This is a simple

Re: [Flashcoders] knowing the llinkage id of a movieclip

2006-09-03 Thread Hans Wichman
Hi, dont think so. A workaround would be to use a jsfl script to write this information to an xml file upon build, which is loaded at runtime. grtz Hans On 9/2/06, PR Durand [EMAIL PROTECTED] wrote: Hi List Is there a way to know an MC affected export for actionscript linkage id via AS code?

[Flashcoders] printing from context menu

2006-09-05 Thread Hans Wichman
Hi list, if i right click my flash content and print it, it prints correctly except for the textfields: they get a green background? A clue anyone? grtz Hans ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [FlashCoders] XRay _global tree

2006-09-06 Thread Hans Wichman
Hey John, this is the same thing i sent you a mail about a while ago, I experience it as well, but not sure if its xray or me:) greetz JC On 9/6/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Hi John, I'm using connector 1.6.1 and the 1.2.5 interface. I just made a really simple example

Re: [Flashcoders] weird class could not be loaded.

2006-09-06 Thread Hans Wichman
Hi, it might be that you are using relative class paths. If so, the fla will compile all right, but during syntax check, there is no relative path to start from. You will need to add a full absolute classpath, and it should go okay. grtz JC On 9/6/06, Adrian Ionut Beschea [EMAIL PROTECTED]

Re: [Flashcoders] weird class could not be loaded.

2006-09-06 Thread Hans Wichman
deleted the aso file... still the same fu*** thing... only the check syntax generate the error... Hans Wichman wrote: Hi, it might be that you are using relative class paths. If so, the fla will compile all right, but during syntax check, there is no relative path to start from. You

Re: [Flashcoders] Reliable local FLV stop event

2006-09-06 Thread Hans Wichman
Hi, if I remember correctly, when using a streaming server, and a buffer of for example 10 seconds, the NetStream.Play.Stop would trigger just fine 10 SECONDS BEFORE the actual end of the flv:) So you end up waiting for an empty buffer after the stop event etc etc greetz JC On 9/6/06, Dan

Re: [Flashcoders] Re: Re: Re: Re: Re: Re: new logger for as 2

2006-09-11 Thread Hans Wichman
Hi peeps, this project now has a page on osflash: http://www.osflash.org/xflas2 greetz JC On 9/6/06, Hans Wichman [EMAIL PROTECTED] wrote: Soo... all the important data has been recovered:) and after my next deadline I'm back on this proejct as well. Did anyone have time to look at it since

[Flashcoders] fp xhtml render

2006-09-11 Thread Hans Wichman
Hi list, i was wondering if any of you have experience with fp_xhtml_render? I am looking for an easy way to include forms in my html etc, for exampe radio buttons, by simple loading a html page containing them. Has anybody tried this? kind regards JC

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-12 Thread Hans Wichman
Hi, Delegate is not only for components, it works for anycase where you wish to run functions in another scope. greetz JC On 9/12/06, Alexander Farber [EMAIL PROTECTED] wrote: Hello John, On 9/12/06, John Axel Eriksson [EMAIL PROTECTED] wrote: You could look into Delegate or Proxy... makes

[Flashcoders] reflection update

2006-09-15 Thread Hans Wichman
Hi peeps, in the http://chattyfig.figleaf.com/pipermail/flashcoders/2005-June/140802.html i described a method for class name reflection I used. I noticed a while ago it's being used here and there (xray, some arp extensions, etc), so you might want to know it's been updated. It's part of the

Re: [Flashcoders] NS status calling a func in a class?

2006-09-19 Thread Hans Wichman
Hi, a few months? ouch... callFunction will run in my_ns it's scope, if you want to run it in another scope you can use Delegate or the apply method. goodluck JC On 9/19/06, eric dolecki [EMAIL PROTECTED] wrote: Sorry - I've been in the hospital for a few months, so I forgot how this works.

[Flashcoders] dragging and dropping

2006-09-19 Thread Hans Wichman
Hi list, imagine 2 scrollpanes or listbox containing items, and the requirement that you'd have to be able to drag and drop items from one pane into the other. My guess is that standard flash startDrag()/stopDrag() wont be able to help me here, seeing the items wont be able to leave their

Re: [Flashcoders] printable certificates for flash 7

2006-09-19 Thread Hans Wichman
Hi, not sure what you need, but a simple server side script (eg php) returning xml, or a webservice would be enough for your needs? greetz JC On 9/19/06, James Booth [EMAIL PROTECTED] wrote: Look into Flash Remoting. This is how I've done it in the past. - James -Original

Re: [Flashcoders] Associate clip with class

2006-09-19 Thread Hans Wichman
Hi, sometimes one way, another time the other:) depends on the leg i jumped out of bed with. Anywayz, I usually do not use the __proto__ approach for the main document, but rather for the low down dirty stuff you hope nobody will see on a first glance:). When I do use the linkage id approach

[Flashcoders] mask reverts to black white display

2006-09-27 Thread Hans Wichman
Hi list, i've created a game in which clips are being masked and some users report that instead of a masked clip, the only see a sillouhette (?)/ filled outline of the mask. Does this sound familiar to anyone? I've tested it on numerous pc's and it works fine, so it seems to be something specific

Re: [Flashcoders] mask reverts to black white display

2006-09-27 Thread Hans Wichman
Hi, stupid stupid me, i had to remove a flashcheck due to certain reasons i dare not explain:) and guess what... the person in question was running an older player version. Fortunately no bitdepth nightmare. thanks danny! greetz JC On 9/27/06, Danny Kodicek [EMAIL PROTECTED] wrote: Hi list,

  1   2   3   4   5   6   7   >