Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New asfunction problem

Status
Not open for further replies.

nyne69ball

Technical User
Feb 26, 2001
52
US
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 :)
 
There has to be someone here who knows what Im talking about! ..... The FlashGuy :)
 
hi FG

if you want to e-mail me the fla just now, I'm in the office and can download it no problem and have a look when I get a spare minute later on.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
You should find it in your inBox Dave.... Thanks again!!!! The FlashGuy :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top