How use Flex Button as a marker???
Hi all,
I found a link with a possible solution to my question (http://getsatisfaction.com/modestmaps...) but I want to know why.
I'm relatively newbie to Flex/Flash and what I don't understand is:
If I can use any Sprite as a Marker, why I can't use a Flex Button (which inherits from Sprite) as a Marker?
Thanks in advance.
I found a link with a possible solution to my question (http://getsatisfaction.com/modestmaps...) but I want to know why.
I'm relatively newbie to Flex/Flash and what I don't understand is:
If I can use any Sprite as a Marker, why I can't use a Flex Button (which inherits from Sprite) as a Marker?
Thanks in advance.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Also, I found this other thread: http://getsatisfaction.com/modestmaps... talking about UIComponent.
That conversation was 1 year ago. Anybody could tell me if finally somebody found a solution? Anybody is working on a solution?
I'm newbie to Flex/Flash but can try to make that work or find a possible solution. -
Inappropriate?Flex is built on top of Flash as you're aware, and reuses a lot of the basic Flash elements. However, Flex overrides some of the default Flash behaviours (like addChild) in complex ways. For example, Flex components expect to be measured and sized by their parents. Flash components don't do anything except display graphics/text, it's up to you to measure and position them.
It's hard to write things that work both the Flex way and the regular Flash way. We chose not to worry about Flex, so I don't know for sure how to fix things to work the way you expect. Sorry!
Loading Profile...



EMPLOYEE