Re: [Flashcoders] AS3: Dispatching events to further listeners, but not to itself

2008-12-28 Thread Alexander Farber
Hello, may I please rephrase my question, maybe someone will have a hint for me? By my PlayingCard objects I'd like to dispatch 2 events: Event.CHANGE and MouseEvent.CLICK I do it because in my game you can drag cards, but also you can select them from a list and click a button. So I could use s

RE: [Flashcoders] AS3: Dispatching events to further listeners, but not to itself

2008-12-28 Thread Cor
I think your event is bubbling. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Alexander Farber Sent: zondag 28 december 2008 11:14 To: Flash Coders List Subject: Re: [Flashcoders] AS3: Dispatching events

RE: [Flashcoders] AS3LCR as CHM

2008-12-28 Thread Cor
Valentin, The file seems to be empty?? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Valentin Schmidt Sent: zondag 28 december 2008 1:10 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] AS3L

Re: [Flashcoders] AS3: Dispatching events to further listeners, but not to itself

2008-12-28 Thread Ian Thomas
I haven't studied your code in depth - however, I would say this this is wrong (whatever you are doing): private function handleMouseMove(event:MouseEvent):void { // XXX trying to reuse the MOUSE_MOVE event // XXX and to dispatch it to PlayingTable - fails :-(

Re: [Flashcoders] AS3: Dispatching events to further listeners, but not to itself

2008-12-28 Thread Matthew Muller
Mousechildren = false ? Sent from my iPhone On 28 Dec 2008, at 10:13, "Alexander Farber" wrote: Hello, may I please rephrase my question, maybe someone will have a hint for me? By my PlayingCard objects I'd like to dispatch 2 events: Event.CHANGE and MouseEvent.CLICK I do it because in

Re: [Flashcoders] AS3LCR as CHM

2008-12-28 Thread Pedro Kostelec
If you can't open it by double clicking on it (usually i can, but this time i couldn't) use a software like xCHM (free, 1.1Mb ) to open it. http://sourceforge.net/project/downloading.php?group_id=87007&use_mirror=garr&filename=xchm-1.13.zip&15359781 On Sun, Dec 28, 2008 at 11:07 AM, Cor wrote: >

RE: [Flashcoders] AS3LCR as CHM

2008-12-28 Thread Cor
I can open it, but when I select an item it does not show the according text. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Pedro Kostelec Sent: zondag 28 december 2008 13:08 To: Flash Coders List Subject

RE: [Flashcoders] AS3LCR as CHM

2008-12-28 Thread Cor
Yes, that did the trick. Thank you!! -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Pedro Kostelec Sent: zondag 28 december 2008 13:08 To: Flash Coders List Subject: Re: [Flashcoders] AS3LCR as CHM If yo

[Flashcoders] multi language support and font embed/styling best practices?

2008-12-28 Thread Jah
greetings list. the team i am on is building an AS3 site that needs to support multi languages. I'm inquiring about best practices, custom built classes/solutions, etc for dealing with runtime font loading/sharing vs. embedding... basically a font management and styling solution allowing external t

Re: [Flashcoders] multi language support and font embed/styling best practices?

2008-12-28 Thread Taka Kojima
The way I handle this is to use a server-side script to serve a swf file (as an RSL). I.e. fonts.php that checks against a language cookie (or session) and depending on the language serves up a different swf. The only thing you have to take into consideration here is caching, so make sure server-

[Flashcoders] custom contextual menu

2008-12-28 Thread e319
Hey everyone, I'm getting an error here on this line: _customMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, function() { menuItemSelected(event:ContextMenuEvent, _i:uint) } ); here is the code ... any ideas? package com.Browser { import flash.display.Sprite; impo

[Flashcoders] AS3: Dispatching events to further listeners ...

2008-12-28 Thread SJF
You may need to look at: stopPropagation() and stopImmediatePropagation() Could also have to do with event bubbling, and what phase these events are firing at. Here is a link to get you started: http://www.flashscript.biz/flashas3/eventbubble/event_bubbling_2.html Also, I suggest tracing out the