ragnarkarlsson
03-26-2003, 11:42 AM
Hi,
I'm very new to creating functions and could do with some help. The basic idea is as follows :-
1. The variables text and title are loaded in from an external txt file.
2. dynamic text fields display the variables, rendered as html
3. links in the text use the <a href='asfunction:myFunction(target)'> to call my function
4. my function loads new version of the variables from target.txt
My problem is that I don't know how to make this work, its a relatively simple function I assume but my understanding of functions in AS is abysmal. Any help would be greatly appreciated.
R
I'm very new to creating functions and could do with some help. The basic idea is as follows :-
1. The variables text and title are loaded in from an external txt file.
2. dynamic text fields display the variables, rendered as html
3. links in the text use the <a href='asfunction:myFunction(target)'> to call my function
4. my function loads new version of the variables from target.txt
My problem is that I don't know how to make this work, its a relatively simple function I assume but my understanding of functions in AS is abysmal. Any help would be greatly appreciated.
R