> 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: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Monday, August 25, 2008 10:30 AM
To: [email protected]
Subject: Re: [flexcoders] Vectors/Getter And Setters
can You even use Getter/Setters with Vectors?
----- Original Message -----
From: Sherif Abdou <mailto:[EMAIL PROTECTED]>
To: [email protected]
<mailto:[email protected]>
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>