title: Getting Flash UI components into Builder
body: <p>I've recently been working on an app in Flash and have decided to move to Flash Builder 4 for the improved debugging and editing.</p>
  
  <p>Problem is when I get to run the application, I get the error:</p>
  
  <pre><code>    1046: Type was not found or was not a compile-time constant: 
  SliderEvent.    SpiroUI.as  /SpiroPaint/src/circles line 114    Flex Problem
  </code></pre>
  
  <p>The offending function is:</p>
  
  <pre><code>    public function circOuterRotation(e:SliderEvent):void 
      {
          spiroInstance.setCircOuterRotation(e.target.value);
      }
  </code></pre>
  
  <p>Not sure how I can get the SliderEvent to be recognised as it is. It all worked perfectly in Flash.</p>
  
  <p>I have include <code>import fl.events.SliderEvent</code> for the class, that didn't work.</p>
  
  <p>At the moment this is the only error I'm getting, and the app window opens but nothing appears in it.</p>
  
  <p>Is there some MXML code I need to import the slider? As in the equivalent to importing into the Flash project Library?</p>
  
  <p>Appreciate the help.</p>