Meinte,
Bedankt, ik ben eruit.
Groeten
Cor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't
Kruis
Sent: zaterdag 19 juli 2008 1:19
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 - MovieClip in MovieClip not showing
> MovieClip.width an
OK, I tried this out, but I get a compile-time error
"Warning: test is not a recognized method of the dynamic class RegExp."
The code I have is:
var re:RegExp = new RegExp("^" + searchInput.text);
var xmlListSearch:XMLList = _model.help.helpData.xml..*.topic.*.(
re.test(attribute("title")));
tra
Thanks. However, I have been told using @title is not good in most
situations because it will return an error if a node doesn't have the
attribute, wheras attribute("title") will not.
>>Also this is shorter:
>>var xmlListSearch:XMLList = test..topic.(re.test(@title));
But you still need to speci
Hey thanks Wagner and Kenneth, I'll try this out! I feel pretty good I
was close! I'll report back if it works for me.
Jason Merrill
Bank of America
Enterprise Technology & Global Risk L&LD
Instructional Technology & Media
Join the Bank of America Flash Platform Developer Community
Are
Thanks for the tips.
I tried it on two different machines and after restart of both Flash and the
computer.
I also did check the autodeclare thing.
What's more I did manage to narow the problem to one line of recently
modified code and still don't get it.
I've got an array containing subtitle dat
> MovieClip.width and MovieClip.height are not listed as MovieClip
properties
> in the documentation. Maybe you should switch to Sprites.
This is not true offcourse(would be a lovely adobe joke tho, 'ok guys, in
as3 we have no width or height on MovieClip, sorry and good luck').
Ummm ok, I di
where were you (dutch) guys a few years ago when I need you :P ;)
On Thu, Jul 17, 2008 at 1:48 PM, Gert-Jan van der Wel <
[EMAIL PROTECTED]> wrote:
> Hi Sid,
>
> True! We're not looking for freelancers, but for someone to fill an on site
> full time position, but the problem is the same. We adjus
HOW !!?
form.stage.focus = textfield
doesn't do a thing (yes I wait for Event.ADDED_TO_STAGE)
I'd love to see that carret blinking on that field
please help me out
THANKS !
Stijn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http:/
I get the correct node (although I also get Warning 3594). If you are
tracing, you must do trace(xmlListSearch.toXMLString());
Also this is shorter:
var xmlListSearch:XMLList = test..topic.(re.test(@title));
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Wagner Amaral wrote:
I was doing some
On Fri, Jul 18, 2008 at 5:06 PM, Wagner Amaral <[EMAIL PROTECTED]> wrote:
> BTW, what is it today? Official RegExp Day?
you mean you're not wearing your traditional RegExpDay sparkly hat?? (gasp).
.m
___
Flashcoders mailing list
Flashcoders@chattyfig.fi
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:
> re.test(attribute())
>
> Since re is a
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:
Hi list,
I'm wondering if I can have a generical function, that I can remove all
listeners registered for an object. Imagine a button with 10 listeners, and
I don`t need know which ones it are to remove. I simply call
"removeListeners(dpo)" and that function does all work.
Is there any way?
Than
On Fri, Jul 18, 2008 at 5:29 PM, Benicio del Toro <
[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm working on a quite large AS3 project in Flash and I'm closing to the
> end
> of it but suddenly my main file stopped compiling properly. There are no
> compilers errors, but the application doesn't seem to
Restart Flash or maybe your system.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Benicio del
Toro
Sent: vrijdag 18 juli 2008 22:29
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Suddenly lots of 1065 Errors: Variable xx is not
defined.
Perhaps I'm missing something, and this is probably slower than
regEx, but couldn't you simply change
xml.topics..topic.(attribute("title").toUpperCase() == searchTerm);
to
xml.topics..topic.(attribute("title").toUpperCase().indexOf
(searchTerm) > -1
?
hth,
Kurt
Hi,
I'm working on a quite large AS3 project in Flash and I'm closing to the end
of it but suddenly my main file stopped compiling properly. There are no
compilers errors, but the application doesn't seem to start, and I get tons
of 1065: 'Variable xx is not defined' errors. I guess it lists
> Just for the record:
> Q: Sprite is the same as a MovieClip but without the timeline,
> isn't it?
MovieClip inherits from Sprite.
Beyond that you will have to ask someone who can make sense of CS3's
convoluted documentation.
Regards,
-Keith
http://keithreinfeld.home.comcast.net
___
Thanks Keith,
Just for the record:
Q: Sprite is the same as a MovieClip but without the timeline, isn't it?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Reinfeld
Sent: vrijdag 18 juli 2008 21:54
To: 'Flash Coders List'
Subject: RE: [Flashcoders
Hi Cor,
If you comment out the lines where you are attempting to set the height and
width properties then the text will be visible.
MovieClip.width and MovieClip.height are not listed as MovieClip properties
in the documentation. Maybe you should switch to Sprites.
If this was AS2 you still w
OK, so based on what I just picked out of the "E4X, regexp and user
input" thread, I tried to mix some XML and a regex to solve my problem,
but I didn't get too far, and again, really don't know what I'm doing
with regular expressions, and I'm not quite a pro at E4X yet. I am
getting this error wh
Thanks all for replying. I'll check out your recommendations and look
forward to sharing the journey here! :-)
Best wishes
Paul
Merrill, Jason wrote:
Heard good things about Rich Shupe too - he's an active participant on
our Flash_Tiger list (maybe here too, can't remember). Beside the
book
Thank you!
That clearifies a lot.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wagner
Amaral
Sent: vrijdag 18 juli 2008 21:13
To: Flash Coders List
Subject: Re: [Flashcoders] SOLVED: preparing a series of keywords for a
search
Well, because it isn't "
OK that's weird - this is a very specific question, you just answered it at
the same time sent the same or very very similar question to the list. So
please read my post I just sent titled, "'XML deep searching" (may arrive
before or after this one in weird server time)... seems like this may
(Flex 3, AS3, but not really a Flex specific question)
In short, I'm trying to search for text inside an XML file and return
the node that contains it. I'm creating a search button to return XML
nodes that contain the user-entered word. Problem is, it doesn't have
to match exactly (meaning searc
Well, because it isn't "just another class', it is a complex language that
needs an equally complex processor, which is what the AS3 RegExp class is -
a processor to the language.
Or, as wikipedia can say more clearly:
In computing, regular expressions provide a concise and flexible means for
ide
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
Hi,
I am the original poster.
Thanks for your effort.
I still hoping someone can help me.
It is correctly set as Document class.
And it is the only class so far.
So if you create an empty fla and set the Document class to LesViewer
Create a new LesViewer.as in the same folder and copy/paste thi
Double click on the component/botton and auto-creation of AS3 code is other
solution
in order to keep good code and good humor for people that don't want to
write code;
3 weeks ago i have explain at creative team that will work with me, how we
can work
togheter with as3; not happy to see that we c
Hi List,
this code work fine for me, successfully return all records with
attribute with first letter "N":
_siteXML..*.( /^[N].*/.test( attribute("name")));
but i don't know, how integrate this code with user input (from input
textfield) - for example user entered string "New".
Please he
>Have you added the instance of LesViewer to the display list?
>>>
>>> He shouldn't have to, LesViewer is linked as the document class...
>>
>>Yes, I read the email too fast.
>>
>>> unless it actually isn't - then you have a problem.
>>Otherwise, I was not
>>> able to locate any problems in t
Heard good things about Rich Shupe too - he's an active participant on
our Flash_Tiger list (maybe here too, can't remember). Beside the
books, he has a site for learning AS3:
http://www.learningactionscript3.com/
Was going to recommend Moock as well, but I'm kinda still angered by his
article
i think someone has touched on it before, but if there is to be code
applicable to movieclips / buttons on stage then they should work similarly
to the way motion tweens can be copied as actionscript - allow the bad
behaviour for numpties and quick jobs, but then compensate to move the code
to wher
The Learning ActionScript 3.0 by Rich Shupe and Zevan Rosser is a very good
book
http://www.learningactionscript3.com/
--
Pedro Taranto
On Fri, Jul 18, 2008 at 12:18 PM, Cor <[EMAIL PROTECTED]> wrote:
> I think AS2 is not compairable with AS3.
> But I can surely recommend Essential Actionscript
You're probably right. Nevertheless, I think the spirit of the article has
been misunderstood. As I read it, it pointed out the need to have a
higher-level visual-style user interface to make simple things easier for
non programmers. Visual tools that can intuitively generate the AS 3 code
for addi
I think AS2 is not compairable with AS3.
But I can surely recommend Essential Actionscript 3.0 of Moock and
Actionscript Cookbook of Lott, Schall & Peters.
Both can be find ar O Reilly
HTH
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Jinks
Sent: v
Thank you!!
I do own several books of O'Reilly and love everyone of them.
But is there really that much to tell about that they write books about one
class??
Anyway, I will look into it.
Thanks again!
Cor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf O
I'm looking for a tutorial/book on AS3. I have some knowledge of AS2 and
rather more of JavaScript and would like to set about learning AS3 in a
fairly systematic way. Any recommendations?
TIA
Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.fi
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
I think most of the people who would agree
with these charges are not in this mailing list.
Are there more AS3 coders out there?
Or more designers who sometimes use
a line or two of ActionScript with gotoAndPlays,
loadMovies, on release/rollover/rollout?
I wonder how would this discussion look
l
I'm in the same boat here (been working with Flash since v4 came out,
but have been coding for 25 years). Most of the stuff that has been
iterated in this thread somewhat echo my opinions. I particularly agree
with the one statement down below: AS3 is easier to use. The stigma is
that AS2 coder
I don't know if I could agree with the statement below. I have no real
use for Flex as I can get everything I need from Flash, and can take it
down as granular as I want. Flash's failure, IMHO, is providing a proper
coding IDE for just plain ol' AS3, sans Flex. Thank goodness for things
like Fl
I have a problem understanding RegExp
Could you explain this:
var re:RegExp = /\s*[,-:\r\t]\s*/gm;
TIA
Cor
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Yes, that would be nice, but it's AS2. Hopefully AS3 soon! Thanks!
- MM
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);
The problem with splitting Flash up into the Designer App and the Coder App
(Talking Flash here, not Flex which i've never used) is that those of us
that have to deal with Flash as a scaling entity (I'm a freelance developer
so this week it's banners, next week it's site development and OOP) will b
46 matches
Mail list logo