Link to home
Start Free TrialLog in
Avatar of mrsam007
mrsam007

asked on

calling a function from html (problem)

im callin a function from html

function redirect(frame) {
      if (this._currentframe != frame) {
            removeAllTextFields();
            gotoAndStop(frame);
      }
}

the if condition doesnt work. can anyone look into it? i want the actions to only be performed if the parameter "frame" (passed by the html) is NOT the same as the currentframe.
ASKER CERTIFIED SOLUTION
Avatar of oddhours
oddhours

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
Hi, I'm not sure I understand the question.
You have the method in your swf file and you're calling that method from the html?
how are you doing that? why are you doing that?
why not just handle it in the flash.