So your thumbnails don't have to communicate directly to main application. It would introduce more de-coupling.
So create a variable (rootURL) in main application. When you create dataProvider for TileList, pass this variable to thumbnails via dataProvider.
From combo-box selection, you can set the value rootURL to selection.
-abdul
I'm currently learning how to utilize components.
In a slideshow app, I have a thumbnail component (image) that is
rendered by a TileList in the main application. dataProvider in the
TileList is being used to supply the path, image name, etc, by sending
a repeating node of an xml file. However, I'd like the thumbnail
component to also be able to read a property of a "selected" parent
node (via a ComboBox in the main application) of the data its receiving.
Can I make a bound variable in the main application dynmaically
accessible by the component?
The xml is basically laid out as root(i.e. URL to root).album(i.e.
folder name).image(i.e. filename), and any time I render an image, I'm
recollecting the various nodes to produce an absolute URL to the image.
Hope that makes sense...still learning my Flex2 terminology.
- Chris
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Component access to dynamic application varia... Abdul Qabiz
Reply via email to

