PDA

View Full Version : browser window


Elana
06-10-2002, 12:24 PM
I want my target url to open in the same window and dont seem to be able to do this

sfa
06-10-2002, 01:22 PM
Did you try -


getURL ("url", "_self");


SFA

sfa
06-10-2002, 01:44 PM
In some place there has to be a grtURL in the fla. Are you using some FLA from someone else?
(I'd rather you reply in the forum)

SFA

Abelius
06-10-2002, 09:25 PM
...and don't forget to include the quotation marks around the URL... :) :) :)

Elana
06-10-2002, 11:56 PM
Iam using a flash template from the jumpstart kit and cannot find where to indicate that the url should open in the same browser in the Url section I tried adding _self
but this did not work
here is the script I am using

leftOffset = 0;
myElements = new Array();
for (var i = 1; i<=NM_numberOfElements; i++) {
duplicateMovieClip ("primaryElement", "element_"+i, 1000+i);
p = this["element_"+i];
p._x = leftOffset;
n = this["NM_Element_"+i+"_Name"];
p.width = calculatePrimaryBoxWidth(n.length);
p.box._width = p.width;
p.text._x = p.width/2;
p.text.text = n.toLowerCase();
p.summary = this["NM_Element_"+i+"_Summary"];
p.url = this["NM_Element_"+i+"_URL"];
p.elementNumber = i;
leftOffset += p.width;
myElements.push(p);
}
}
create();

tg
06-11-2002, 05:20 AM
doesn't happen in the block of code you posted.
check inside the 'create()' function.