Hi list...
I have some input text box with a go button that is enabled or disabled based
on an Event.CHANGE for the TextInput. As someone types in a string, a go
button becomes enabled or disabled, but I want the *entire* text in the text
box to be considered, not just a matched substring.
Hi Michael,
Firstly, I'm not quite sure your expression is right - it says g
_or_ 1 or 2 or 3 as the first character, whereas your sample starts
with a g then a 1.
But anyway - what you need to do is to test for the beginning and
end of the string. In regular expressions, you do this with the
Mendelsohn, Michael wrote:
I want the *entire* text in the text box to be considered, not just a matched
substring. Is this possible?
Use ^ to lock to the begining of the string and $ to lock to the end of
the string, use both and it will not be allowed anything other than the
expression.
Thanks very much Ian and Henrik. The ^ and $ was exactly what I was looking
for.
Regards,
- Michael M.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Ok. I know this is an XML question, but I need to figure out how to
cycle through a childNodes childNodes in actionscript.
Eg XML:
items
item
nameImage 1/name
pics
imageimage1.jpg/image
imageimage2.jpg/image
imageimage3.jpg/image
/pics
available3/available
/item
item
nameImage 2/name
pics
Oops sorry for the hitchhiker text.
Karl
On Nov 5, 2009, at 9:39 PM, Karl DeSaulniers wrote:
Ok. I know this is an XML question, but I need to figure out how to
cycle through a childNodes childNodes in actionscript.
Eg XML:
items
item
nameImage 1/name
pics
imageimage1.jpg/image
Hello Karl,
many examples:
http://proto.layer51.com/l.aspx?p=19
--
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I also need to do the same thing, but once I get the values, plug
them into a combo box.
Ale ca-rumba.. any pointers on how to get them into a combo box?
Do I need to put them into an array and then .addItem? or a
DataProvider?
Karl
On Nov 5, 2009, at 9:44 PM, Karl DeSaulniers wrote:
8 matches
Mail list logo