There you go
http://www.jamesward.org/census/
On Fri, Aug 8, 2008 at 1:13 PM, S0 F1 <[EMAIL PROTECTED]> wrote:
> Anyone have the link to that speed comparison test someone built in regards
> to various technologies pulling rows from a server.
>
> There was several including AJAX (+ something), AMF
The only workaround I can think of, is having a server-side
application (mencoder, lame...) to convert the bitrate to 128kbps
Of course that increases cpu and bandwidth usage on the server, so it
may not be an option either.
And just when AS3 first came out, I thought I'd never see these
"peculiar
Indeed, the "g" seems to make it not work. Not a big problem, since it's
useless in this case - the "g" flag in a test() call makes the search start
at a specified index (lastIndex property)
What may have confused you, Jason, is the example Robert posted fixed your
problem (by removing the "^" char
BTW, what is it today? Official RegExp Day?
On Fri, Jul 18, 2008 at 6:03 PM, Wagner Amaral <[EMAIL PROTECTED]>
wrote:
> Hi Jason,
>
> The error you're getting is actually syntatical. Here's what you wrote:
> re.(attribute())
> And what you should've done:
&g
I was doing some tests here using code from Jason Merril (see previous
thread today), and something has brought my attention.
Here's the xml:
var test:XML =
;
I tried two cases:
var re:RegExp = new RegExp("^Cold");
var xmlListSearch
Hi Jason,
The error you're getting is actually syntatical. Here's what you wrote:
re.(attribute())
And what you should've done:
re.test(attribute())
Since re is an object of type RegExp, you want to call the method test() on
it, and I guess it will work then
Also, I believe this is more concise:
it.
>
> Thanks again!
> Cor
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Wagner
> Amaral
> Sent: vrijdag 18 juli 2008 17:01
> To: Flash Coders List
> Subject: Re: [Flashcoders] SOLVED: preparing a series of keywo
That would be:
var re:RegExp = new RegExp("^" + userString);
_siteXML..*.( re.test( attribute("name")));
Note: I simplified the regex a little bit. The .* at the end is redundant,
and I removed the [] because /^New/ is different than /^[New]/ and the first
seems more like what you want. The first
This particular regexp will match everything (that's the /g) that is
composed of:
\s* => 0 or more whitespaces (space, tab, etc) => followed by:
[,-:\r\t] => only one of these characters: , - : \r (newline) \t (tab) =>
followed by:
\s* => 0 or more whitespaces
May I suggest you a book?
It's calle
Are you using AS3? That would be much easier:
var input:String = "Dog,cat,squirrel, bird - horse:worm";
var re:RegExp = /\s*[,-:\r\t]\s*/gm;
var result:Array = input.split(re);
On Thu, Jul 17, 2008 at 4:45 PM, Mendelsohn, Michael <
[EMAIL PROTECTED]> wrote:
>public function Search():Vo
Well, at least for me, the best would be:
private var bSprite:Sprite; // that is, if you really can't type that as
IDESprite
bSprite = new IDESprite();
(bSprite as IDESprite).some_mc...
But your mileage may vary...
On Tue, Jul 1, 2008 at 1:25 PM, eric e. dolecki <[EMAIL PROTECTED]> wrote:
> on
You may want to take a look at flash.utils.describeType()
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/package.html#describeType()
On Thu, Jun 26, 2008 at 3:43 PM, Patrick Matte | BLITZ <
[EMAIL PROTECTED]> wrote:
> Is it possible to trace all the properties of a class w
On Tue, Jun 24, 2008 at 6:14 AM, Kenneth Kawamoto <[EMAIL PROTECTED]>
wrote:
> trace(getDefinitionByName("Test").parse("false"));
>
Nice
Then maybe this works too (no compiler available right now, so just
guessing):
var c:Class = getDefinitionByName("Test") as Class;
(c as Object).parse("false"
On Mon, Jun 23, 2008 at 11:45 PM, Patrick Matte | BLITZ <
[EMAIL PROTECTED]> wrote:
> Ok I've found a way to do it, but it's not really clean. Would there be any
> way to make the code better?
>
>
Oh, right, you already found that out... That slow mail server from mine...
_
Never really tried that, but an interesting question!
Here's all I got so far:
var c:Class = getDefinitionByName("MyClass") as Class; // or: var c:Class =
MyClass;
trace( c["parse"]("false") );
I'll keep trying, maybe I can find a cleaner way
On Mon, Jun 23, 2008 at 11:16 PM, Patrick Matte |
On Wednesday 21 May 2008 19:15:35 Dave Watts wrote:
> > I heard about some browsers doesn't support e4x? is that
> > true? if so, is there any info to show me the list?
>
> I don't think any browsers support E4X. Flash Player 9 does, though.
I believe Firefox 1.5+ supports E4X through the SpiderMo
On Wednesday 07 May 2008 14:06:43 Steven Sacks wrote:
> The fact of the matter is, running at a higher frame rate makes things
> look smoother. Period, end of statement. If you take a time-based
> animation inside a 30fps movie and a 60 fps movie, the 60 fps version
> will look a lot smoother. I
Well, that is AS3 indeed (have the book beside me)
The topic is about "closures", and that sort of constructor only works inside
a method in an existing class, or in a frame in a timeline (it says so in the
book in the same page, the full code is omitted for the sake of brevity, so
just finish
If you pass a second parameter of "i" to the RegExp constructor, it will
match insensitively:
var regObj:RegExp = new RegExp( "ˆ" + searchField_txt.text, "i" );
Look here for the description of all the flags a RegExp can take in AS3:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/RegEx
Nothing beats a well chosen domain name ;)
Actually, everything you are allowed to do will be specified in here:
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd
On Fri, Apr 11, 2008 at 1:39 PM, Zeh Fernando <[EMAIL PROTECTED]>
wrote:
> http://www.crossdomainxml.org/
> :P
>
>
> Gregor
On Mon, Apr 7, 2008 at 2:49 PM, Steven Sacks <[EMAIL PROTECTED]>
wrote:
>
> Doing any kind of math or function call in the comparison function of a
> loop is the polar opposite of efficiency. ;)
Very true! I Missed the "efficient" part of the question, oops!
Here's the best I've got so far (ac
Well Steven, your code would enter into an infinite loop.
It would trace the first "i", then the if will be true, and it will loop
till j is false (reaches zero).
Then while(i--) runs again, the if will be true again, and the while(j--)
will run forever, since j will start at -1, which is true.
(Ac
I suppose you want to act properly if the counter is lower or higher than
defaultSection.
If so:
for (var i:Number = 0; i < maxSection; i++) {
if (i < defaultSection) {
trace("lower " + i);
} else {
trace("higher " + i);
}
}
If you absolutely want to run the "higher" part before you
Well, if you just use quotes properly, that is ;)
'';
On Wed, Apr 2, 2008 at 7:45 PM, Wagner Amaral <[EMAIL PROTECTED]> wrote:
> You can set the xmlDecl property:
>
> AS3:
> XMLDocument().xmlDecl = "";
>
> AS2:
> XML().xmlDecl = ""
You can set the xmlDecl property:
AS3:
XMLDocument().xmlDecl = "";
AS2:
XML().xmlDecl = "";
On Wed, Apr 2, 2008 at 7:06 PM, Patrick Matte | BLITZ <
[EMAIL PROTECTED]> wrote:
> I'm saving an xml file with AIR, it works but how can I add version="1.0" encoding="UTF-8"?> at the top of the file?
On Wed, Mar 26, 2008 at 2:38 PM, Steven Sacks <[EMAIL PROTECTED]>
wrote:
> > We are programmers, we can't afford Porsches! Better change that
> > to bike and skate...
>
> You're joking, right? Talented Flash developers are in extremely high
> demand right now. Every day I get 3-5 emails from rec
ewed on by the CPU verses 3k worth of code.
About that, I was just looking at Tweener's code, and I don't think that
would be a problem either. It is basically a static class, so there's no
extra memory allocation for tween added, except for a relatively small
TweenListObj pushe
animation guys know how to use it well, so the tweens are
already programmed when I touch the code. So much the better for me, will
not complain ;)
Still, I've never had any problems with filesize, not even on banners, which
could only be solved by stripping some code out of it.
Wagner Amar
released first for Windows,
and only later (if ever) be released for the Mac.
Of those you mentioned, the Flash IDE and FlexBuilder are available for the
Mac. FlashDevelop is not, and probably will never be, since it's made with
.NET framework. All the others, I have no idea...
Wagner Amaral
On F
Try this (guessing):
$defUser = "1";
echo("&im=" . $fName . "&def=" . $defUser . "&");
On Tue, Mar 11, 2008 at 2:48 AM, Dave Mennenoh <[EMAIL PROTECTED]>
wrote:
> When "1" had line feeds...
>
> Well, I'm not quite sure how yet but somehow I'm getting a couple of line
> feeds in my def variabl
Hello, Cory!
That is a nice one, I believe it would work for now!
Oh, the wonders AS2 forces you to do...
Thanks!
--
Wagner Amaral
Agência Ginga - Brazil
www.agenciaginga.com.br
On Tue, Mar 4, 2008 at 3:52 PM, Cory Petosky <[EMAIL PROTECTED]>
wrote:
> I don't have a solution,
for now), but I really hate myself
for doing this, specially because this is a refactoring of some old crappy
code, and it's supposed to be made the right way.
Anyway, still trying to come up with something. (Boy, I really wish the boss
would let me use AS3 already, I'm sure these things wo
f static classes.
However I'm curious. Am I doing something completely wrong and not noticing
it? Is my implementation flawed?
Or there is a way to work that around?
Thank you very much for your time!
--
Wagner Amaral
Agência Ginga - Brazil
www.agenciaginga.com.br
_
I got it too, not so hard (used Tamper Data - Firefox plugin)
Also, I'd like to point out a security vulnerability in your PHP code:
$content = file_get_contents("pathToRealSwf/$data");
You're not escaping or validating in any way the data coming from the user
(through HTTP GET), so you're open
Actually, "Basic Latin", "Punctuation" & "Latin I" will do.
Basic Latin already contains "Uppercase", "Lowercase" and "Numerals" (check
the Total Number of Glyphs)
No big deal, just a hint (less clicking)
On 6/25/07, Leandro Amano <[EMAIL PROTECTED]> wrote:
In the embedFonts, select: Upperca
var a:String = "6.23456";
if ( a.indexOf( "6.234" ) == 0 ) {
trace( "6.234 are the first characters in " + a );
} else {
trace( "6.234 are NOT the first characters in " + a );
}
indexOf() returns the index of the parameter inside the string, so if you
want the first position, the index woul
Hi Steven,
Long time not using a Mac, but as far as I remember, I got those errors when
my files were in a network device, causing the timestamp of the file to be
inconsistent with both the .aso files and the local machine timestamp, which
could lead to some very annoying errors, including .fla c
Just a tip?
http://blog.deconcept.com/swfobject/
It's nice, anyway
(e vai brasil! =P)
On 3/26/07, Mauricio Furtado Massaia <[EMAIL PROTECTED]> wrote:
Hi guys,
Wagner Paula and I have worked on DM9DDB´s WebSite and we are really proud
of this job.
The navigation and design are a little bit
Maybe you're looking for the Dictionary Object?
http://www.gskinner.com/blog/archives/2006/07/as3_dictionary.html
On 3/1/07, Davor Bauk <[EMAIL PROTECTED]> wrote:
Hello,
I'm looking for a structure for AS3 that can store values in a way that
they are sortable (like in an array) as well as ac
I'm not testing, but you could use:
f.call();
as long as f is a reference to a Function object
On 2/18/07, Felipe Hefler <[EMAIL PROTECTED]> wrote:
Thank you dr.ache.
Wasn't that the problem. Anyway your answer helped me a lot. See what
solution I came up:
function rew(m:MovieClip, f:Fun
Had that problem once, that was because I had a number in the instance name,
which flash wasn't handling well...
How are you assigning the '1' to 'card1' ?
read this:
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-December/177045.html
On 2/2/07, [p e r c e p t i c o n] <[EMAIL PROTECT
You can try:
( condition ) && ( code );
code only executes if condition is true
bui I recommend against it, can be confusing sometimes...
On 1/26/07, Helmut Granda <[EMAIL PROTECTED]> wrote:
does anybody knows if there is any short hand for if statement without the
else statement?
at the mo
The last break on default is considered by some to be a coding
standard, by which you explicitly say you wanted to leave the default
block empty, and not just simply forgot.
Also, if unadvised people add code at the end of the switch without
realizing the missing break, your default will fall-thro
Here's the story:
You fill in the form with yours and a friend's name/email.
He enters the link, and sees a hot girl (Juliana Paes) showing his
tattoo, with the sender's name, and says: "oh, don't worry, there's
one tattoo for you too! Hey fat-guy-who-I-don't-remember-the-name,
come over here!"
T
Yesterday I was building a WindowManager class, and I wanted to assign
random names to each created window. So I went for the obvious:
var randName:String = String(Math.round( Math.random() * 100 ));
var _newWin:Window = Window( _tgt.attachMovie(_linkage, "newWin_" +
randName, _tgt.getNextHig
or like this
for ( var i:Number = myArray.length; --i; ) {
trace( myArray[ i - 1 ] );
}
On 12/1/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:
Yuck!
> for(var i=myArray.length-1; i>=0; i--){
> trace(myArray[i])
> }
Yum!
var i:Number = myArray.length;
while (i--) {
trace(i)
Well, I think by "PPC" Mark meant this:
http://en.wikipedia.org/wiki/PowerPC
On 11/13/06, Zárate <[EMAIL PROTECTED]> wrote:
Good news about the Wii!
"There is no FP9 for PPC Linux yet"
PPC? As far as I know* Pocket PC is Microsoft exclusive. What I would
expect in the future is player 9 (Li
Furthermore, I think I read somewhere (can't remember where) that all
code made in AS2.0 is converted to AS1.0 at compile time (classes and
methods are converted to prototype-style functions), so even the flash
player has no clue wether the code was 1.0 or 2.0.
side-note: my first post on the lis
48 matches
Mail list logo