Extra lines in AS-code?


when create widget captivate (file - new - widget in flash...) produces as(2)-code. in code see next lines:

 

 

if(wm == undefined)

{

wm = widgetmode;

}

 

if(wm == undefined)

wm = 'stage';

 

 

what's function of last 2 lines (the variable wm set in first lines).

 

 

if widgetmode undefined, wm still undefined after first if statement. second if statement checks case , sets value 'stage'.



More discussions in Advanced Adobe Captivate Users


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???