;

PDA

Click to See Complete Forum and Search --> : onFocus LINKS - help


themuse
06-04-2006, 07:53 PM
Hi There,
I know how to do pop ups with onFocus so if a page has many links to external pages they will keep replacing each other, but is there a way to do this only in flash, or do I have to have code on the html page, too? Just wondering.

right now my link looks like:

on (rollOver) {
if (_root.link<>2) {
this.gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>2) {
this.gotoAndPlay("s2");
}
}
on (release) {
getURL("http://www.visitorangecounty.net/", "_top");
}

I was wondering if there is a way to say _onFocus or something to that effect.
thanks~ :)

cancerinform
06-04-2006, 09:14 PM
What does this mean:

if (_root.link<>2)

themuse
06-05-2006, 12:51 AM
good question.
I guess it's old school
<> is inequality operator

<> inequality operator

Deprecated since Flash Player 5. This operator has been deprecated. Macromedia recommends that you use the != (inequality) operator.

It still works, so I haven't changed it.

I should have left that part out, any idea how to do onFocus with out making a pop up?
:)