nyne69ball
Technical User
Here's a challenge for u pros!
I have figured out the last "asfunction" problem but I'm stumped on a new one. this problem seems so simple I am having trouble believing there is a problem. make sense???
I am using asfunction directly in the URL field of the character options panel instead of a live URL to essentially make text in a text box a hot link similar to HTML styling (unfortunately not as easy!) It works great... up to a point. It dutifully calls the function and passes the specific argument, and the argument can be displayed in a text box dynamically based on the hot text the user clicked on.
The trouble comes in when you add a dynamic frame label in the goto statement using the argument that was passed. it just wont do it!!!!!!!!!!!! grrrrrrrr it is so frustrating. I have tried converting to a string function... playing tennis with variable pairs and even outsourcing the goto statement somewhere else in the movie.
I have a feeling it has something to do with the data it passes. No quotes are required in the asfunction call. But I can display it !!! so Im confused and frustrated!
HELP!!!!
Here is the code placed into the URL field of the character options panel for the highlighted text:
asfunction:glossaryFunction.termFunc, BL
//"BL" is the label argument... documentation says it does not require quotes
Heres the function it calls in a separate Functions MC:
function termFunc (frameLabel) {
_root.glossaryDefs.gotoAndStop(frameLabel);
}
stop ();
I'm loosing more hair as we speak!!!
Thanks again!!! The FlashGuy
I have figured out the last "asfunction" problem but I'm stumped on a new one. this problem seems so simple I am having trouble believing there is a problem. make sense???
I am using asfunction directly in the URL field of the character options panel instead of a live URL to essentially make text in a text box a hot link similar to HTML styling (unfortunately not as easy!) It works great... up to a point. It dutifully calls the function and passes the specific argument, and the argument can be displayed in a text box dynamically based on the hot text the user clicked on.
The trouble comes in when you add a dynamic frame label in the goto statement using the argument that was passed. it just wont do it!!!!!!!!!!!! grrrrrrrr it is so frustrating. I have tried converting to a string function... playing tennis with variable pairs and even outsourcing the goto statement somewhere else in the movie.
I have a feeling it has something to do with the data it passes. No quotes are required in the asfunction call. But I can display it !!! so Im confused and frustrated!
HELP!!!!
Here is the code placed into the URL field of the character options panel for the highlighted text:
asfunction:glossaryFunction.termFunc, BL
//"BL" is the label argument... documentation says it does not require quotes
Heres the function it calls in a separate Functions MC:
function termFunc (frameLabel) {
_root.glossaryDefs.gotoAndStop(frameLabel);
}
stop ();
I'm loosing more hair as we speak!!!
Thanks again!!! The FlashGuy