I don't have answer to your question, but very nice app! Looks good and
works pretty well.

Cheers,
Baz


On Wed, Mar 19, 2008 at 9:25 AM, info.ruicruz <[EMAIL PROTECTED]>
wrote:

>   hi, i need to implement this
> http://livedocs.adobe.com/flex/201/langref/mx/controls/Image.html <<
> scroll to the end of the page :
>
>
> "package singularity.photo
> {
> import mx.controls.Image;
>
> [Style(name="borderColor", type="uint", format="Color", inherit="no")]
> [Style(name="borderThickness", type="Number", format="Length",
> inherit="no")]
> [Style(name="borderAlpha", type="Number", format="Length", inherit="no")]
>
> public class BorderImage extends Image
> {
> public function BorderImage()
> {
> super();
> }
>
> override protected function updateDisplayList(w:Number, h:Number):void{
> super.updateDisplayList(w,h);
> x+=(getStyle('borderThickness')/2);
> y+=(getStyle('borderThickness')/2);
> graphics.lineStyle
> (getStyle('borderThickness'),getStyle('borderColor'),getStyle('borderAlpha'),false);
> graphics.drawRect
> (-(getStyle('borderThickness')/2),-(getStyle('borderThickness')/2),contentWidth+getStyle('borderThickness'),contentHeight+getStyle('borderThickness'));
> }
> }
> }"
>
> but it gives me an error:
> Type was not found or was not a compile-time constant: BorderImage
> Call to a possibly undefined method BorderImagem.
>
> can anybody create one flex app with this function implemented? i
> really need this for finish this: http://arealmedia.com/adigitalbook/web
>
> please help!
> if you install my app, you can give opinions also!
>
> thanks,
> rui
>
>  
>

Reply via email to