all groups > flash actionscript > april 2005 >
You're in the

flash actionscript

group:

sequential javascript commands in ActionScript


sequential javascript commands in ActionScript BayStarMedia
4/2/2005 6:15:07 PM
flash actionscript:
Hi,

I am trying to make DIV layers disappear on a frame of a movie no matter how
many were opened. So I have a "Forward" into which I have added the javascript

on (release) {
currentStep = bringmenu.PreviousStep(currentStep);
getURL ("javascript:hideDiv2('dcCon02')");
getURL ("javascript:hideDiv1('dcCon01')");
}

The problem is only the second getURL command is executed. If I swap them
around, it's the same thing. Only the second getURL works. Is there some way I
can combine these or find another work around?

I've tried

getURL ("javascript:hideDiv2('dcCon02')") ("javascript:hideDiv1('dcCon01')");

(all one line)

But no luck.

Thanks,

Nigel
Re: sequential javascript commands in ActionScript norrisoft
4/3/2005 6:33:39 AM
AddThis Social Bookmark Button