RE: [Flashcoders] error mesg

2010-12-16 Thread Benny
Then make the parameter optional: function doSubmit(e:MouseEvent=null):void OR in your function doSubmitViaEnter method call doSubmit(null) - Benny -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens

RE: [Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-20 Thread Benny
t to Adobe's bug base with the discovered work-around. Thanks! - Benny By the way this is how I modified your code to get the traces I want (in Flash Pro): import flash.events.KeyboardEvent; const CTRL_KEYCODE:int = 17; const ALT_KEYCODE:int = 18; var _ctrlKeyDown:Boolean = fal

RE: [Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-20 Thread Benny
just "Alt" -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens Henrik Andersson Verzonden: dinsdag 16 november 2010 14:54 Aan: Flash Coders List Onderwerp: Re: [Flashcoders] How to detect for modifier (alt/ctrl)

RE: [Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-19 Thread Benny
ts when pressing the right alt key. Although the key says "Alt" it actual behaves like the mentioned AltGr key. In other words. Flash doesn't actual support pure Alt key behavior but only AltGr. - Benny ___ Flashcoders mailin

RE: [Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-15 Thread Benny
Thanks for the tip Glen. Unfortunately that class also shows the problem of Keyboard.CONTROL (keycode 17) being reported as being down (while it actual isn't) when the right alt key is being pressed. - Benny ___ Flashcoders mailing list Flashc

[Flashcoders] How to detect for modifier (alt/ctrl) keys

2010-11-15 Thread Benny
, tried Google, but didn't find anything related so far. What am I missing? Thanks. - Benny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Highligting words in a textField

2010-08-16 Thread Benny
probably you should look into a string tokenizer. - Benny -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens ktt Verzonden: maandag 16 augustus 2010 0:26 Aan: Flashcoders@chattyfig.figleaf.com Onderwerp

[Flashcoders] Flash CS5 input controls with dragable values, what are they called?

2010-07-29 Thread Benny
r somebody already recreated (free or commercial) a AS3 UI component that mimics such an input control? Thanks. - Benny -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens flashcoders-ow...@chattyfig.f

RE: [Flashcoders] Error in displaying Hindi Text

2010-06-17 Thread Benny
Make sure the font(s) you use are embedded. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] reading a css from "www"?

2010-04-18 Thread Benny
cht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens sebastian Verzonden: zaterdag 17 april 2010 23:53 Aan: Flash Coders List Onderwerp: Re: [Flashcoders] reading a css from "www"? sweet thanks Benny, this replacement method worked! yaay! b

RE: [Flashcoders] reading a css from "www"?

2010-04-17 Thread Benny
... or just load the css file relative. As far as I know you are not required to pass in absolute URLs -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens Benny Verzonden: zaterdag 17 april 2010 14:01 Aan

RE: [Flashcoders] reading a css from "www"?

2010-04-17 Thread Benny
You could use the url from which your swf is loaded, replace the filename of the swf by that of the css. In your main movie (from top of my haead, i.e. not tested ;-) use something like: var cssFullURL:String = this.loaderInfo.url.replace(/thecallingfile\.swf /,"cssFile.css"); trace(cssFullURL);

RE: [Flashcoders] Getting the line index at the caretIndex

2010-04-10 Thread Benny
Index=" + tf.caretIndex + ", newCharIndex=" + newCharIndex + ", char=" + tf.text.charAt(newCharIndex).replace(/\r/,"\\r") + ", line=" + line); } Cheers, Benny ___ Flashcoders m

RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Benny
http://www.adobe.com/devnet/actionscript/articles/oop_as3.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Benny
Hi Susan I cannot recommend any OOP book but I can recommend Lynda.com. Lynda.com has some great video courses, like http://www.lynda.com/home/DisplayCourse.aspx?lpk2=759 Which amongst other covers OOP fundamentals and common design patterns. - Benny -Oorspronkelijk bericht- Van

RE: [Flashcoders] OOP Tutorial

2010-03-05 Thread Benny
(99, 184); graphics.endFill(); } } } When you then instantiate your class you just pass on the desired parameters, like: import Star; var myStar:Star = new Star(0xFF, 0xFF); addChild(myStar); - Benny

RE: [Flashcoders] Problem Importing Class

2010-03-05 Thread Benny
Hi susan, In the 'other package' try: import Star; var myStar:Star = new Star(); addChild(myStar); --- Why are you getting the error? .. because you are trying to cast 'nothing' as a Star. Because Flash can't cast 'nothing' it tells you it's m

RE: [Flashcoders] MultiLevel ContextMenu

2010-02-19 Thread Benny
Flash doesn't support that or actually even prevents us to come up with a custom context menu.. In the past some flashers worked around that limitation by capturing the right click mouse event in javascript and then communicate the event via a local connection to the flash movie which than could b

RE: [Flashcoders] Re: import documents into flash

2010-02-18 Thread Benny
@valentin: Air 2 is able to call commandline tools just fine. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Runtime Font embedding

2010-02-11 Thread Benny
/ http://www.epic.dk/flash-unicodetable/flash-unicodetable-generator.php - Benny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Flash 10 - using basic RTL features without CS4

2010-02-11 Thread Benny
%?) for RTL (+BIDI) please let us know. - Benny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] OT: finding where a web site lives

2010-01-11 Thread Benny
Try: http://www.whoishostingthis.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Som HTML tags do not work in Flash?

2010-01-02 Thread Benny
Did you set tf.multiline = true; Groet, Benny -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens Cor Verzonden: zaterdag 2 januari 2010 16:05 Aan: 'Flash Coders List' Onderwerp: [Flashcoders] Som HT

RE: [Flashcoders] OTish - CMS

2009-11-04 Thread Benny
www.dotnetnuke.com is a longstanding and leading ASP.net open source CMS ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] project planning tools

2009-07-18 Thread Benny
I am looking for tips/experiences for a simple/intuitive and affordable gantt based (offline) planning tool which should run on Windows vista. Which tools are you using to plan your Flash projects and why would you recommend it? ___ Flashcoders mail

RE: [Flashcoders] how to uncompress a compressed bytearray with PHP

2008-10-03 Thread Benny
one big compressed ByteArray to the server inflate it and decode the AMF data using the AMF capabilities the Zend Framework will bring in the near future. Thank you for your time and great input!! Cheers, Benny ___ Flashcoders mailing list Flashcoders@chattyfi

RE: [Flashcoders] how to uncompress a compressed bytearray with PHP

2008-10-03 Thread Benny
We are getting closer ;-) The code you provided worked for me too. When I compare my code to yours I notice that I am using the $_POST array while you are using the PHP input stream. The other major difference is the fact that I am POSTing using via an URLVariables instance. When I change both i

RE: [Flashcoders] how to uncompress a compressed bytearray with PHP

2008-10-03 Thread Benny
(please ignore previous reply - contained mistakes regarding gzuncompress while I meant gzinflate) Thanks Juan Pablo Califano. I'm already sending the data in binary form so that's is probably not the problem. You are right about that the php decompression should be done with gzinflate (I did tes

RE: [Flashcoders] how to uncompress a compressed bytearray with PHP

2008-10-03 Thread Benny
Thanks Juan Pablo Califano. I'm already sending the data in binary form so that's is probably not the problem. You are right about that the php decompression should be done with gzinflate (I did test with it before but that didn't work either so I thought I should try gzuncompress ;) When I compa

[Flashcoders] how to uncompress a compressed bytearray with PHP

2008-10-02 Thread Benny
I am sending a compressed bytearray to PHP: var XMLOut:ByteArray = new ByteArray(); XMLOut.writeUTFBytes("just an example"); XMLOut.compress(); . cut . The data is POSTed (with URLLoader in var XMLString) to mydomain.com/save.php: The result of this is that test.xml is being cre

RE: [Flashcoders] search engine optimization for flash sites

2007-09-06 Thread Benny
y in your robots.txt file. Regards, Benny P.S. SWFAddress (or alternatives) is not persé needed for good SEO but does have a positive effect on the accessibility and user experience of your site. Another benefit of SWFAddress is it's deep linking capability. So if someone finds any page

RE: [Flashcoders] accessing super fields

2007-08-20 Thread Benny
> As Benny said, "you dont need to", no i know! But appearantly it works >different for fields than for methods. It actually doesn't work *different* but it doesn't work *per design* for fields. The docs (see the link I provided) clearly state that it is only supported

RE: [Flashcoders] accessing super fields

2007-08-20 Thread Benny
Docs_Parts&file=1337.html Greetz Benny -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Hans Wichman Verzonden: maandag 20 augustus 2007 15:40 Aan: flashcoders@chattyfig.figleaf.com Onderwerp: Re: [Flashcoders] accessing super fields Hi Benny, &quo

RE: [Flashcoders] accessing super fields

2007-08-20 Thread Benny
Looks like you forgot to actually extend the superclass, try class SubClass extends superclass { - Benny -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Hans Wichman Verzonden: maandag 20 augustus 2007 13:51 Aan: Flashcoders mailing list Onderwerp

RE: [Flashcoders] AS3 instantiating a new class object from a string value

2007-07-26 Thread Benny
MaTT, See getDefinitionByName() function in flash.utils It will give you a reference to the class name that is specified by a string. You can then use that reference to get an instance of that class. Of course you must make sure the class is loaded. Regards, Benny -Oorspronkelijk bericht

RE: [Flashcoders] Found an AS3 RegExp Bug.

2007-06-09 Thread Benny
laced by \' which results in: alert\'foo'); The same applies to your second replace statement, where the match is o' (again first non back slash followed by single quote) which is replaced by \' and now results in alert\'fo\'); - Benny P.S. within a character class

RE: [Flashcoders] Found an AS3 RegExp Bug.

2007-06-09 Thread Benny
The results you get are as expected. To get the output you desire try: var code:String = "alert('foo');"; code = code.replace(/'/g,"\\'"); trace(code); - Benny -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Isaa

RE: [Flashcoders] AS3 RegExp (bug?)

2007-05-02 Thread Benny
Thanks for confirming this. I submitted a bug report with Adobe. I noticed that if the pattern is used with exec command the same thing happens. Aafter the last actual match is found it will not return null for the result so in a while loop (as demonstrated in the Adobe docs for the exec method) y

[Flashcoders] AS3 RegExp (bug?)

2007-05-02 Thread Benny
s code, is it a bug or am I missing something obvious? - Benny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Softwa

RE: [Flashcoders] The great CS3 Swindle

2007-03-30 Thread Benny
xed versions. I don't mind if that means that we must contact the US support desk for assistance ;-) John if you could make that happen I will pronounce you in advance: "men of the year" and maybe I'll even consider to nominate you for the Nobel Peace Prize ;-) Thanks for listenin

RE: [Flashcoders] Flair Pattern?

2007-01-29 Thread Benny
es where I can find more details (description/code samples) about the flair pattern? - Benny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought