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
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)
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 = false;
var _altKeyDown:Boolean = false
.
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 mailing list
Flashcoders@chattyfig.figleaf.com
http
I missing?
Thanks.
- Benny
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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
Flashcoders
then 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
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.figleaf.com
Make sure the font(s) you use are embedded.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
...@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!
btw, as far as i can tell, the flash file tries
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);
... 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
= + tf.caretIndex + , newCharIndex= + newCharIndex
+
, char= +
tf.text.charAt(newCharIndex).replace(/\r/,\\r) + , line= + line);
}
Cheers, Benny
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com
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
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,
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 missing an
argument.
---
Regards, 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
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
@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
%?) for RTL (+BIDI) please let us know.
- Benny
___
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
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 HTML tags do
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
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
(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
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
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@chattyfig.figleaf.com
http
I am sending a compressed bytearray to PHP:
var XMLOut:ByteArray = new ByteArray();
XMLOut.writeUTFBytes(rootitem1just an example/item1/root);
XMLOut.compress();
. cut .
The data is POSTed (with URLLoader in var XMLString) to
mydomain.com/save.php:
?php
$XMLString =
.
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 of your site in Google you can
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
=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,
Sorry, copy paste
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
with methods
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
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 Isaac Rivera
Verzonden: zaterdag 9 juni 2007 19:09
, 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 Software
Premier
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)
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 listening.
cu,
Benny
-Oorspronkelijk
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 to you by Fig
40 matches
Mail list logo