Well I am trying to use Vectors instead of [ArrayElementType] Metadata so I try 
to do this

<x:Comp>
   <x:mySetterVector>
         <lots of UIComp in here/>
   </x:mySetterVector>
</x:Comp>


setter = public function set (value:Vector.<UIComponenet>):void
{
}


  ----- Original Message ----- 
  From: Gordon Smith 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, August 25, 2008 3:56 PM
  Subject: RE: [flexcoders] Vectors/Getter And Setters



  > can You even use Getter/Setters with Vectors?



  If you can't, it's a bug.



  > I keep getting Internal error: type for Property '{name}' is unreachable.



  All "internal errors" are bugs. Is it reproduceable? Does it still happen 
after you "clean" your FlexBuilder project, or create a new one? Can you get it 
to happen with a small amount of code that you can include with a Jira bug?



  Gordon Smith

  Adobe Flex SDK Team




------------------------------------------------------------------------------

  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Sherif Abdou
  Sent: Monday, August 25, 2008 10:30 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Vectors/Getter And Setters



  can You even use Getter/Setters with Vectors?

    ----- Original Message ----- 

    From: Sherif Abdou 

    To: flexcoders@yahoogroups.com 

    Sent: Sunday, August 24, 2008 1:02 PM

    Subject: [flexcoders] Vectors/Getter And Setters



    I am wondering is this allowed, and if it is How do i make it work since I 
keep getting Internal error: type for Property '{name}' is unreachable.



    private var contentVec:Vector.<UIComponent>;
      public function get content():Vector.<UIComponent>
      {
       return contentVec;
      }
      public function set content(value:Vector.<UIComponent>):void
      {
       contentVec.push(value);
      }



    <vadex:VadexFlow>
      
      <mx:Image source="@Embed('assets/album1.jpg')"/>
      <mx:Image source="@Embed('assets/album2.jpg')"/>
      <mx:Image source="@Embed('assets/album3.jpg')"/>
      
     </vadex:VadexFlow>









   

Reply via email to