[quoted text, click to view] > PJ, are you typing this from memory? There are a number of syntax
> problems.
> I'm astonished it works in the first case. Maybe because the interpreter
> ignores the first part of the parameter and only executes
> getURL("#astropjas4a")???
well... that is possible. I usually don't work with flash triggering a link
to a named anchor, so it's rather new to me too.
[quoted text, click to view] > One possible correct line would be
> getURL("javascript:window.location.href=#"+gobook);
> But why do you use javascript at all? You could simply write
> getURL("#"+gobook, "_self");
surprising... that worked ;)
I simply 'presumed' it needed javascript, that was what I found from google
group search, see
http://groups.google.com.br/groups?hl=en&q=group%3A*flash*+getUrl+bookmark+named+anchor
for threads about it.
[quoted text, click to view] > Wolf
> PS The "add" was deprecated in Flash 5 already, or are you still working
> with
> version 4?
No... but I simply got used to it and never changed since I found 'add'
preferable for two reasons, it helps me when using Find in scripts for
concatenation and it also makes it easier to distinguish in scripts between
concatenations and mathatecal calculation. And "add" always kept working
fine untill now. Unfortunately with flash 8 "add" has a new purpose for
vector or point definition or something like that so I now really do have to
start updating everything... what comes around goes around ;)
tnx for the help
[]z
P