|
|||
|
In the Description class for this .fla, I'm needing to change the attribute assigned to the TitleTxt variable. For example, from this
private function changeTitle() { // change title text TitleTxt.text = node.attributes.title; to this private function changeTitle() { // change title text TitleTxt.text = node.attributes.header; I've tried doing this as I've noted above (and changed the data.xml file to reflect the change from title="something" to header="something", but can't get the TitleTxt content to show up. Am I needing to make another change somewhere to make this work? The TB.data from that same class is showing fine and I can see that ThumbnailsList is getting the _global.FDESCR data due to being able to see the TB.data. I can provide all code info if needed, but if this "title" attribute can't be changed, please let me know. I'm looking to purchase a special commercial license of this product, but have to know I can make it work as I need it to. Thanks... |
|
|||
|
Thanks for letting me know I was on track. The code did work in your original fla/XML, I believe the problem is a conflict with childNodes I've added to your fla/XML data. The childNodes use text fields as well and the best I can guess is that those text fields are interfering with the original Title text field, even those their at different "nodes" and even when the original text field node attribute has been changed. Do you think having a text field in the rootNode as well as text fields in childNodes would be a problem?
Still hoping for a solution, but might just load a graphic image for the "title" if I can't get a text field to show up. Tbanks! |
|
|||
|
Adrian, thanks for responding. I went ahead and loaded a graphic via a mc for the title, works fine and I don't think my client will mind. I'd still like to discuss with you, so if you're available I'll check in with you Monday. Thanks for the great response time!
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|