You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Haykel Ben Jemia (Updated) (JIRA)" <ji...@apache.org> on 2012/03/10 08:41:01 UTC

[jira] [Updated] (FLEX-28) In Flash Builder4.5 or 4.6 can't use Style metadata type=Array

     [ https://issues.apache.org/jira/browse/FLEX-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haykel Ben Jemia updated FLEX-28:
---------------------------------

    Attachment: style-metadata-type-array.diff

Here is the patch.
                
> 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
>         Attachments: style-metadata-type-array.diff
>
>
> 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

        

Re: [jira] [Updated] (FLEX-28) In Flash Builder4.5 or 4.6 can't use Style metadata type=Array

Posted by Haykel BEN JEMIA <ha...@gmail.com>.
You can use it and it compiles fine, it is just that Flash Builder displays
a warning saying that the value 'Array' is invalid for the 'type' attribute.

Haykel




On 10 March 2012 10:50, Carlos Rovira <ca...@codeoscopic.com> wrote:

> Strange, I remember to use the Array type in a custom Style few weeks ago
> without problem :?
>
>
> 2012/3/10 Haykel Ben Jemia (Updated) (JIRA) <ji...@apache.org>
>
> >
> >     [
> >
> https://issues.apache.org/jira/browse/FLEX-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> >
> > Haykel Ben Jemia updated FLEX-28:
> > ---------------------------------
> >
> >    Attachment: style-metadata-type-array.diff
> >
> > Here is the patch.
> >
> > > 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
> > >         Attachments: style-metadata-type-array.diff
> > >
> > >
> > > 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
> >
> >
> >
>
>
> --
> Carlos Rovira
> Director de Tecnología
> M: +34 607 22 60 05
> F:  +34 912 35 57 77
> <http://www.codeoscopic.com>
> CODEOSCOPIC S.A. <http://www.codeoscopic.com>
> Avd. del General Perón, 32
> Planta 10, Puertas P-Q
> 28020 Madrid
>

Re: [jira] [Updated] (FLEX-28) In Flash Builder4.5 or 4.6 can't use Style metadata type=Array

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Strange, I remember to use the Array type in a custom Style few weeks ago
without problem :?


2012/3/10 Haykel Ben Jemia (Updated) (JIRA) <ji...@apache.org>

>
>     [
> https://issues.apache.org/jira/browse/FLEX-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Haykel Ben Jemia updated FLEX-28:
> ---------------------------------
>
>    Attachment: style-metadata-type-array.diff
>
> Here is the patch.
>
> > 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
> >         Attachments: style-metadata-type-array.diff
> >
> >
> > 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
>
>
>


-- 
Carlos Rovira
Director de Tecnología
M: +34 607 22 60 05
F:  +34 912 35 57 77
<http://www.codeoscopic.com>
CODEOSCOPIC S.A. <http://www.codeoscopic.com>
Avd. del General Perón, 32
Planta 10, Puertas P-Q
28020 Madrid