Link to home
Start Free TrialLog in
Avatar of homemadebyx
homemadebyxFlag for United States of America

asked on

I need to trigger browser back button functionality from a flash onEnterFrame

I need to trigger browser back button functionality from a flash onEnterFrame.

Here's what i got, but it doesn't work,

onEnterFrame = function() {
    getURL("javascript:history.back()");
}

stop();

I've got this code on the last frame.

I just loads a white page.

Any ideas?
SOLUTION
Avatar of kishoregp
kishoregp
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
try..
stop();
this.onEnterFrame = function() {
    getURL("javascript:history.back()", "_self");
}
delete this.onEnterFrame;

Z


ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of homemadebyx

ASKER

I came up with the same solution,   thanks for the help

x