:( Lame, then this is probably an interface issue. It does look like you're declaring them properly. The closest thing I can think of is a situation like learning Dreamweaver. Dreamweaver is simply constructing HTML documents for you in a more visually intuitive manner. However, because your problems in Dreamweaver are typically about which button to push or which panel to pull up, an HTML guru is typically not very helpful. This may be something similar, where we won't be much help. I hope there's someone lurking who knows some basic Flex. I don't think this should be hard.
I feel confident saying that your variable declaration looks great. That's not your problem. It does look a little out of place in your XML. I've NO idea how this works in Flex, one of the nasty things about XML languages is that you can customize them any way you want. From my work in HTML, though you can't embed scripting code "naked" like this. In HTML if you wanted to include script you'd need script tags, literally
Code:
<REALLY LONG HTML DOCTYPE>
.
.
.
XML looking stuff
.
.
.
<script>
All the script goes in here
</script>
.
.
.
XML stuff to the end
I don't know if this will help. It may be totally wrong for Flex, but that's an XML based guess.
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of
www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.