|
-
Hi,
I'm probably underestimating you, but I think the example might just confuse things more. Let me see if I can clarify things.
1. I'm starting with an xml file.
Here's a section of it (with the definition shortened)
In this example, I needed to create a link from 49CFR 195.50:
<word>
<term>Accident</term>
<definition><![CDATA[Specific criteria defining events that are considered accidents are contained in <a href="asfunction:L19550">49CFR 195.50</a>.]]></definition>
<image>accident.jpg</image>
</word>
I couldn't just use the <a href=> tag to define the link from 49CFR 195.50 because the url is more than 127 characters.
So, I created a function called L19550 (in the first frame of my movie):
function L19550() {
getURL("http://urlThatGoesOnForever.htm");
}
Calling this function from the xml file works perfectly.
What I'd like to do is include something like <font color=blue> within the function along with the getURL.
There are only 6 or 8 functions, but I need to call these functions over a thousand times. I have to call the function to get the link to work. If I could define the font color within each function, I could avoid having to also add font tags to all of the links.
Thanks again,
Debbie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|