I'm not sure if it's my hacky setup, or this is a real bug, but I'm getting the 
following error:

ReferenceError: Error #1069: Property icon not found on 
spark.skins.ColorPickerButtonSkin and there is no default value.

The error is in SparkSkin.as at this line:
var exclusionObject:Object = this[exclusions[i]];

Line 34 in the file seems to be the problem:
         static private const exclusions:Array = ["icon"];

I did not see an icon property anywhere…

Should I log a bug?

On Feb 21, 2013, at 10:53 PM, Harbs wrote:

> Okay. I straightened this out by copying the resource bundles and updating my 
> compiler settings.
> 
> This is a pretty hacky way to get it to work, but it'll do for now…
> 
> On Feb 21, 2013, at 10:05 PM, Harbs wrote:
> 
>> I got things to work -- sort of, by copying the source and sub-classing 
>> ColorPicker to use it in mxml.
>> 
>> Now things are totally wonky with my setup.
>> 
>> I get the following error (5 times -- I have a main app and six modules. I 
>> have no idea which modules cause the problem.)
>> Unable to resolve resource bundle "alert" for locale "en_US".
>> 
>> This happens even when I go back to targeting 4.5.
>> 
>> On Feb 21, 2013, at 3:13 PM, Harbs wrote:
>> 
>>> Something is odd here.
>>> 
>>> Here's the symptoms that I'm seeing:
>>> 
>>> Using either Flex 4.9 or putting experimental.swc in my libs, I do not get 
>>> the components in either mxml hints or ActionScript hints.
>>> 
>>> If I copy the source into my source folder I get hints for 
>>> spark.compenents.ColorPicker, but I don't get anything in mxml.
>>> 
>>> I see this in the css file, but I'm not sure where the namespace is 
>>> assigned. (I never quite understood how this stuff works)
>>> @namespace "http://flex.apache.org/experimental/ns";;
>>> 
>>> On Feb 21, 2013, at 2:50 PM, Bogdan DINU wrote:
>>> 
>>>> Indeed, it's not in the spark namespace yet. Try using direct namespaces.
>>>> 
>>>> On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski 
>>>> <nicho...@spoon.as>wrote:
>>>> 
>>>>> From what I understand, the experimental swc had a different namespace...
>>>>> I don't think it was in spark yet....
>>>>> 
>>>>> -Nick
>>>>> 
>>>>> On Thu, Feb 21, 2013 at 3:31 AM, Harbs <harbs.li...@gmail.com> wrote:
>>>>> 
>>>>>> Yes. I'm talking about experimental.
>>>>>> 
>>>>>> I linked to the 4.9 release and s:Alert and s:ColorPicker were not
>>>>>> available. I'm using the en_US locale. Not sure what to say here…
>>>>>> 
>>>>>> This is all clear as mud to me. I'll play around a bit trying to wrap my
>>>>>> head around this. I'll probably come back with more questions later…
>>>>>> 
>>>>>> On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote:
>>>>>> 
>>>>>>> Harbs,
>>>>>>> 
>>>>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9
>>>>>> release.
>>>>>>> 
>>>>>>> If you're talking about the ones in the experimental.swc, there are in
>>>>>> the 4.9 but you can use them with en_US only, I re-worked them in the
>>>>>> develop branch, so if you want to use them and even to have an SDK you
>>>>> can
>>>>>> use with IntelliJ, constantly updated, chekout the develop branch, do a
>>>>>> first build, a release, use the makeApacheFlexForFlashBuilder on the
>>>>>> released develop branch itself, not the resulting binaries.
>>>>>>> 
>>>>>>> Like that you can set this fresh SDK as the SDK you use if you want to
>>>>>> make change in the SDK, you'll have only to run the ant target
>>>>>> corresponding to the lib you modified (and the other.locales too) and
>>>>>> you'll be able to test it right away on your sample projects.
>>>>>>> 
>>>>>>> Ask me if I haven't been completly clear.
>>>>>>> 
>>>>>>> -Fred
>>>>>>> 
>>>>>>> -----Message d'origine----- From: Justin Mclean
>>>>>>> Sent: Thursday, February 21, 2013 1:27 AM
>>>>>>> To: dev@flex.apache.org
>>>>>>> Subject: Re: Getting source working in Flash Builder
>>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>>> I did use the installer.
>>>>>>> Which would of given you last release 4.9.
>>>>>>> 
>>>>>>>> The issue is that I'm trying to use the source rather than the
>>>>>> distribution for two reasons:
>>>>>>>> 1) I wanted to look into the TLF bugs that were reported.
>>>>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9
>>>>>> release.
>>>>>>> 
>>>>>>> Make a release build from the source with ant release, copy and
>>>>>> unzip/untar the release and use the script in the IDE directory to make
>>>>> an
>>>>>> SDK usable for Flash Builder or any other IDE.
>>>>>>> 
>>>>>>>> Does the source need to be compiled before it can work?
>>>>>>> Um yes. The source gets compiled in swcs (in the frameworks/lib
>>>>>> directory) that your Flex application uses.
>>>>>>> 
>>>>>>>> I wonder if now would be a good time to try InteliJ IDEA...
>>>>>>> You would still have the package the SDK up, your issue is not unique
>>>>> to
>>>>>> just Flash Builder.
>>>>>>> 
>>>>>>> Hope that helps.
>>>>>>> 
>>>>>>> Justin
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> http://www.badu.ro
>>> 
>> 
> 

Reply via email to