Getting Flash UI Components in Builder

I recently worked on an application in Flash and decided to upgrade to Flash Builder 4 to improve debugging and editing.

The problem is when I can start the application, I get the error message:

    1046: Type was not found or was not a compile-time constant: 
SliderEvent.    SpiroUI.as  /SpiroPaint/src/circles line 114    Flex Problem

Violation Function:

    public function circOuterRotation(e:SliderEvent):void 
    {
        spiroInstance.setCircOuterRotation(e.target.value);
    }

I don’t know how I can recognize SliderEvent. All of this worked fine in Flash.

I have import fl.events.SliderEventfor a class that does not work.

At the moment, this is the only error I get, and the application window opens, but nothing appears in it.

Is there any MXML code for importing a slider? How about the equivalent of importing into a Flash project library?

Rate the help.

+5
source share
1 answer

"fl" Flash Builder.

  • Flash Builder "".
  • "ActionScript Build Path" .
  • " ", .
  • " ..."
  • Flash , , Flash IDE .

C:\Program Files\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\

+5

All Articles