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

2006-09-06 Thread Hans Wichman
, anyway i´ve 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 > relativ

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

2006-09-06 Thread Hans Wichman
*just kidding* i hope you can recover the important data and you can soon get back to normal... wish you luck! cu henrik On 8/23/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi Henrik, I've looked at it, and it seems pretty cool, however I'm not sure if it's really zero impact

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]> wr

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

[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 archive:

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 cod

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] 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 th

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

2006-08-23 Thread Hans Wichman
on the OSFlash wiki. 8-) cu! henrik p.s. 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

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

2006-08-23 Thread Hans Wichman
oi' would be possible... 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 PROTECTE

[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

[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 MyClass.

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

Re: [Flashcoders] flash player

2006-08-19 Thread Hans Wichman
ch as a visual basic program 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

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

Re: [Flashcoders] flash player

2006-08-18 Thread Hans Wichman
T > -Original Message- > From: [EMAIL PROTECTED] [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 st

[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 bro

Re: Re: [Flashcoders] Mtasc & Delegate

2006-08-04 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 fl

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 se

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] 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-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 = [a,b

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] 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 simpl

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] 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] 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 (K

Re: [Flashcoders] jigsaw puzzle

2006-07-24 Thread Hans Wichman
something that's in there, nor is special "piece" > creation, 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: > >

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 th

Re: [Flashcoders] jigsaw puzzle

2006-07-23 Thread Hans Wichman
. > > > > > > 2. group and blending two pieces isn't that hard actually, as long as > > the > > > pieces are placed in the right position it will look as one. The drop > > > shadow > > > is done by code and updated, while the center curve f

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 happen:

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 ? ___ Flashcoders@cha

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 NetStre

[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) clie

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 <[

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 logger

Re: [Flashcoders] jigsaw puzzle

2006-07-16 Thread Hans Wichman
t; by code.. sure, it's a little complex than droptarget and hittest but it > can > be done :D > > hope that helps > > Guntur N. Sarwohadi > > On 7/15/06, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote: > > > > Yes, I checked before posting but found

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 piece algorithm

2006-07-15 Thread Hans Wichman
pieces move together. But for, say, the top left piece (piece_1_1), would only bring piece_1_2, piece_1_3, piece_2_1, piece_3_1 and piece_2_2. the rest would be left behind.. any idea for this problem? thx Guntur N. Sarwohadi On 7/11/06, Hans Wichman <[EMAIL PROTECTED]> wrote: > &

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-11 Thread Hans Wichman
eces dont fall off when you move 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 oth

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-11 Thread Hans Wichman
be all you need. 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

[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 scree

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 po

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 cost

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

2006-07-05 Thread Hans Wichman
sonal preference... kind 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 in

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

2006-07-04 Thread Hans Wichman
define types; any other use is an abuse. Using 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 Messag

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. Y

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

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] 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: >

Re: [Flashcoders] _targetInstanceName? & Events?

2005-12-23 Thread Hans Wichman
005, Mark Ribau 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 compo

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 an

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] 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, w

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 timel

Re: [FlashCoders] game slowing down - eventListener

2005-12-15 Thread Hans Wichman
r/academy-of-magic-word-spells/ Dimitrios Bendilas - Original Message - From: "Hans Wichman" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, December 15, 2005 12:11 PM Subject: Re: [FlashCoders] game slowing down - eventListener Have yo

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 d

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 t

Re: [Flashcoders] getURL

2005-12-14 Thread Hans Wichman
nline tool, 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

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 Wi

Re: [Flashcoders] getURL

2005-12-12 Thread Hans Wichman
. http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html The settings manager being an online app is so weird. Makes no sense to me. On 12/12/05, Hans Wichman <[EMAIL PROTECTED]> wrote: > > Hi list, > > it seems when playing content in Fla

[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 ___ Flashcode

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 differ

Re: [Flashcoders] read attributes names in XML

2005-12-07 Thread Hans Wichman
http://www.sephiroth.it/file_detail.php?id=129 At 01:55 PM 12/7/2005, GregoryN wrote: Hello Flashcoders, I'd like to save attributes names from XML file as properties of some object. For example: XML (fragment): ... ... Result: ... my_object.attr1; // value: val1 my_ob

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: - Original Message - From: "Toon Van de Putte" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, December 05, 2005 10:10

[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] 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 hang

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 0

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 finishe

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 a

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] 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 objec

Re: [Flashcoders] Trouble Updating Frame Position Using onEnterFrame

2005-11-29 Thread Hans Wichman
Hi, im not sure what you want to do, but: 1. change the x position: it should be window.pie._x = x; 2. change the current frame for the pie clip: you should use whole numbers and not 54.3 and 87.6, so gotoAndStop (Math.floor(x)); greetz Hans At 09:15 PM 11/29/2005, kelly snyder wrote: I am usi

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 objec

Re: [Flashcoders] Martian Dataprovider confusion

2005-11-29 Thread Hans Wichman
d find out if I can learn 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: >

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 ow

[Flashcoders] performance tester

2005-11-27 Thread Hans Wichman
Hi, i am looking for the following (i dont mind writing it, if it isnt there already): a gui with a bunch of movieclips on screen grouped inside a main clip with a framerate counter and options such as: nr of clips - [number] mask - group/individual colortransform - group/individual scale - gro

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.cu

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] Attach/Duplicate

2005-11-26 Thread Hans Wichman
Hi, nope. grtz Hans At 09:19 AM 11/26/2005, Devendran I wrote: Hi guys, I would like to duplicate a movieClip in a specified location, is it possible? (sample, I would like to duplicate _root.source_mc and have to set inside _root.capture_mc.sourceCopy_mc) Thanks Devendran.I

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 gon

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

2005-11-24 Thread Hans Wichman
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Hans Wichman Sent: 24 November 2005 19:10 To: Flashcoders mailing list; Flashcoders mailing list Subject: RE: [Flashcoders] Cutting an image up into tiles using masks Sorry paul, i was wrong, apparently duplicating clips with drawn code is pos

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] 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 th

Re: [Flashcoders] detecting when mouse goes outside of the flash

2005-11-23 Thread Hans Wichman
Hi, i had the same problem and approached it a little differently, which might be or not be of use to you. I simply check whether the mouse has moved or not. Your situation might be very different, but in mine I had to update the rotation in a panorama based on the mouse position within that p

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: I'd

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

[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 = this.cre

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 an

Re: [Flashcoders] flex 2 for games?

2005-11-22 Thread Hans Wichman
Hi Franto, i started the post originally about a pet project of mine in AS1, which im going to rewrite in Flash8/as2 or Flex2/As3. As you've gathered the post was about which was the better choice for this specific game (unfinished): http://www.screatoris.net/games/bounce/ Comments such as: "

Re: [Flashcoders] flex 2 for games?

2005-11-22 Thread Hans Wichman
Hi, Im not charles, but i'd still like to take a moment to respond ;). who is complaining? Although I admire all the people who do join public alpha groups etc to make things better, I dont think that this is should be a must in order to comment (again, nobody was complaining yet ;)) on a langua

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 base

RE: [Flashcoders] flex 2 for games?

2005-11-22 Thread Hans Wichman
ge such as Java or a flavor of .NET I am building most > of > my projects in Director utilizing only 1 frame and no layers. Everything > is > imaged to the Stage itself rather than to sprites/instances. But something > to keep in mind with Flash is that you are able to quickly build >

Re: [Flashcoders] flex 2 for games?

2005-11-21 Thread Hans Wichman
good thing to try and port your games to as3, in a way 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 workin

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 WITHIN

[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 pro

[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 exa

Re: [Flashcoders] What's This Mean?

2005-10-25 Thread Hans Wichman
Hi, an as file may only define a class as in: class MyClass { } or an interface as in: interface MyInterface { } Just copying your timeline code into separate files and having a file with for example: var myVar:String = "ffsdfsfs"; is not gonna work. greetz Hans At 03:09 PM 10/25/2005,

[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 ro

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 0

<    2   3   4   5   6   7   8   >