This content has been marked as final. Show 6 replies
First, this is not a Flex Builder question, so it should go in the General Discussion forum, not here.
Do you have your image display code working? If so, then driving it with the tree should be pretty easy.
How is it not a Flex Builder question?
Flex Builder is the program I am using to write the code, what's the problem?
Yes, it should be pretty easy, obviously I am having trouble getting this seemingly easy task to work.
I can get it to work with buttons & with an accordion, with both images and FLV video in a view stack, and by changing the source on a click event, but for some reason the tree method is not working.
Don't bother posting anything if you're not going to attempt to help.
Flex Builder is an IDE, a fancy code editor. Flex is a language. This is analagous to Visual Studio, an IDE, and C#, a language, or Notepad, an editor, and English, a language.
The Flex Builder 2 forum is intended for questions regarding The Flex Builder IDE. The Flex General Discussion Forum is intended for discussions about Flex, the language.
It is to your benefit to post in the correct forum, since you will be more likely to get help. Many Flex users do not use Flex Builder at all, and may not be watching this forum.
Regarding your issue, set a handler function on the Tree's change event. In that handler, access the item value that you need to identify the image, and then call the function that sets the image source, passing in the image identifier.
Are you doing something along these lines? What is not working?
What would someone ask about the IDE? Are the components part of the IDE or part of the language? I just can't imagine that many people would ever know not to post in this section.
Components are part of the language/framework.
There are plenty of valid Flex Buider 2 questions posted here. Many people know where to post their questions. Compare the traffic in General Discussion to the traffic here.
Quit playing dumb and head over to General discussion.
Regarding your issue, set a handler function on the Tree's change event. In that handler, access the item value that you need to identify the image, and then call the function that sets the image source, passing in the image identifier
Can you provide a working example?