Hi all,

 

I’d like to use the ColorPicker component that ships in the extras folder of Flex 1.5.

 

Although the readme states: “The colorpicker folder contains: The ActionScript source, the .PNG

and .AS files, along with the compiled component swc.” I don’t have the SWC file.

 

I decided to do the logical thing, and compile it using Flash MX 2004. I created a component, associated the class, set the classpath to flex classes, and exported the swc.

 

Then, I ran swcrepair :

 

ColorPicker.swf: OK

ColorPicker.png: OK

catalog.xml: OK

ColorPicker.asi: needs repair...

   looking in Accordion.swc

   looking in Application.swc

   looking in Binding.swc

   looking in Box.swc

   looking in Button.swc

   looking in CheckBox.swc

   looking in ComboBox.swc

   looking in ControlBar.swc

   looking in DataGrid.swc

   looking in DataGridColumn.swc

   looking in DateChooser.swc

   looking in DateField.swc

   looking in DividedBox.swc

   looking in DownloadProgressBar.swc

   looking in FlashRemoting.swc

   looking in Formatter.swc

   looking in FormItem.swc

   looking in HBox.swc

   looking in HScrollBar.swc

   looking in Image.swc

   looking in Label.swc

   looking in Link.swc

   looking in LinkBar.swc

   looking in List.swc

   looking in Loader.swc

   looking in MediaController.swc

   looking in MediaDisplay.swc

   looking in MediaPlayback.swc

   looking in MenuBar.swc

   looking in Move.swc

   looking in NumericStepper.swc

   looking in Panel.swc

   looking in Preloader.swc

   looking in ProgressBar.swc

   looking in RadioButton.swc

   looking in RadioButtonGroup.swc

   looking in Repeater.swc

   looking in SimpleButton.swc

   looking in TabBar.swc

   looking in TabNavigator.swc

   looking in TextArea.swc

   looking in TextInput.swc

   looking in TitleWindow.swc

   looking in Tree.swc

   looking in TreeDataProvider.swc

   looking in Validator.swc

   looking in VBox.swc

   looking in ViewStack.swc

   looking in VScrollBar.swc

   looking in Zoom.swc

SWCRepair completed

 

I then put this SWC in the appropriate Flex directory (other custom components work fine in this directory.)

 

Upon running the ColorPickerSample.mxml (that also comes in the extras directory) I get this error (first compile only)

 

C:\Program Files\Macromedia\Flex\jrun4\servers\default\streamline\s57\components\ColorPicker.swc does not define a sprite for ColorPicker class ColorPicker

 

It’s probably something simple. Ideas, anyone?

 

Jim



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to