- All
- Special Offers
- User Interface
- Scroll Bar Components
- Flash XML Calendars
- HTML / XML News Readers
- HTML / XML Tables & Grids
- Flash Contact Forms
- Date Picker Components
- Flash XML Guestbooks
- Color Picker Components
- Countdown Components
- Flash Tool Tip Components
- Image Zoom & Panning Controls
- Flash Text Tools & Editors
- Rating and Pool Systems
- Flash Weather Widgets
- 3D Object Rotators
- Shopping Carts
- Flash Maps
- Flash Charts
- Galleries & Slideshows
- Menus & Navigation
- Design & Effects
- Audio & Video
- Templates
- Applications & Games
- Various
- Adobe Flex
- Adobe AIR
- Free Flash Files
- Lightroom Plugins
- Dreamweaver Extensions
Posted by : zerofractal
10 purchases
Package includes: MXP
Opens with: Flash CS3
AS Version: ActionScript 3.0
Viewable with: Flash Player 9 and above
Flash knowledge required: N/A
Documentation: N/A
spotlightXML Live Example
Purchase a bundle of Tree3D, Spotlight XML and Spotlight Dataprovider and save $20! Click here
spotlightXML is a Flash component for ActionScript 3 that allows you to easily filter any data component based on attribute based XML objects for example Zerofractal tree3D or Yahoo! Astra Tree.
This is an ideal companion for our Tree3D component available here
Our component acts as a Middleware between your data an the component you intend to bind it to:
Usage
Implementing spotlightXML is done by simply adding the following code (taking a tree3D as an example):
spotlight.sourceXML = myXML;
function onChange(e:Event){
tree3D.loadXMLData(spotlight.destinationXML);
}
spotlight.addEventListener(spotlightEvent.SPOTLIGHT_CHANGE, onChange, false, 0, true);
Other components by Zerofractal
Tree3D
- Price : $20
- buy now
- add to alerts
Hi, as I wrote you via email, the text cutting of has nothing to do with the spotlight component but rather with Astra?s tree. To point it out I sent you a vainilla fla file without the component and it still is cut off.
I?ll kindly go through the web to see how others go around this issue in yahoo?s tree and write back at a later time.
All the best,
Alejandro.
Hi,
I’m using Spotlight XML with the Astra tree and the tree’s text width is very limited showing only a small amount of characters before cutting off the rest of the text.
The tree’s text is not cut off just using the yahoo astra tree by itself without the spotlight attached.
The code below works but only after you rollover each item, the text then being revealed.
Is there any way to to have a function extend the width of all the text at start?
myTree.addEventListener(ListEvent.ITEM_ROLL_OVER, rollOverItem);
function rollOverItem (evt:ListEvent) {
// Get the cell renderer for the item we just rolled over
var cr:TreeCellRenderer = myTree.itemToCellRenderer(evt.item) as TreeCellRenderer;
cr.textField.width = 300;
}
Hi Alejandro.
Thanks my tree and spotlight function.
One more thing.
I’m trying to connect myTree with the soundPlayer (the yahoo or other), but not function. do u have any help?.
thansk a lot.
acy
Please send me your email and I’ll send you a working example. But its failsy simple, just add the following code wonce your loader has loaded the xml:
spotlight.sourceXML = new XML(e.target.data);
Hi Alejandro, thanks.
The problem was that i bought the other spotlight(dataprovider), now i download the correct(xml).
The example is clear (astra tree) and function. but in my specific case I want to load an external xml. The xml loads correctly, but when pass trough the spotlight don’t function when publish the tree is in blank.
please any sight thanks a lot.
acy
Acy, Please look in the examples zip. You should find an example called Using with Astra Tree.fla This example uses Yahoo’s tree.
Best,
Alejandro.
Hi,
Im trying to connect the spotlight to a yahoo tree. I cant. how I do this?
help please.
Dose this component support Chinese(Traditional) ?





















help
and feedback
latest
news
latest
forum entries
Alejandro,
Thank you very much for your help and advice.
The spotlight component works perfectly.
As you pointed out, it was the Yahoo Astra Tree and now everything is functioning great.