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

Installation database is corrupt

Nogen der kender et simpelt hvidt template med topmenu kun - Joomla! Forum - community, help and support

Error compiling for board Arduino/Genuino Uno.