[ 
https://issues.apache.org/jira/browse/FLEX-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226785#comment-13226785
 ] 

Haykel Ben Jemia commented on FLEX-28:
--------------------------------------

Flash Builder takes metadata information from a 'metadata.xml' file embedded in 
the swc files: 
http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb56fd3caca12e6bb494bb-7ff3.html#WSe4e4b720da9dedb56fd3caca12e6bb494bb-7ff0.

The file for the Flex SDK is 'frameworks/metadata.xml'. This warning can be 
removed by adding 'Array' to: metadata.(@name == 'Style').attribute.(@name == 
'type').values .
                
> In Flash Builder4.5 or 4.6 can't use Style metadata type=Array
> --------------------------------------------------------------
>
>                 Key: FLEX-28
>                 URL: https://issues.apache.org/jira/browse/FLEX-28
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Project Management
>         Environment: Builder4.5 or 4.6  Flex SDK4.X
>            Reporter: hanjn
>            Assignee: Bertrand Delacretaz
>
> In Flash Builder4.5 or 4.6 if use Style metadata type=Array,Flash Builder 
> waring type can not Array.   
> example follow code 
> // Insert the [Style] metadata tag to define the name, type
> // and other information about the style property for the
> // MXML compiler.
> [Style(name="fillColors",type="Array",format="Color",inherit="no")]
> [Style(name="alphas",type="Array",format="Number",inherit="no")]
> public class StyledRectangle extends UIComponent
> {

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to