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
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
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)
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
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
, 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
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
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
Make sure the font(s) you use are embedded.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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
... 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
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);
Index=" + tf.caretIndex + ", newCharIndex=" + newCharIndex
+
", char=" +
tf.text.charAt(newCharIndex).replace(/\r/,"\\r") + ", line=" + line);
}
Cheers, Benny
___
Flashcoders m
http://www.adobe.com/devnet/actionscript/articles/oop_as3.html
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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
(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
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
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
@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
/
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
%?) for RTL (+BIDI) please let us know.
- Benny
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Try: http://www.whoishostingthis.com/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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
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
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
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
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
(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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
41 matches
Mail list logo