diff --git a/Swat/SwatFlydown.php b/Swat/SwatFlydown.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatFlydown.php
+++ b/Swat/SwatFlydown.php
@@ -108,8 +108,10 @@ class SwatFlydown extends SwatOptionControl implements SwatState
 					$option_tag->removeAttribute('class');
 				}
 
-				if ($this->value === (string)$flydown_option->value &&
-					!$selected &&
+				$value = ($this->serialize_values) ?
+					(string)$flydown_option->value : $flydown_option->value;
+
+				if ($this->value === $value && !$selected &&
 					!($flydown_option instanceof SwatFlydownDivider)) {
 
 					$option_tag->selected = 'selected';
Only cast to string in comparison if serialize_values is true.

svn commit r<I>