Hey guys...

In the function mentioned above, the "set" modifier was used but I couldn't
find it's reference at the official Actionscript 3.0 manual
http://livedocs.macromedia.com/specs/actionscript/3/wwhelp/wwhimpl/js/html/wwhelp.htm

I searched google with no return either.

Is it really allowed at Actionscript 3.0? If yes, where can I find it's
reference?

On 2/13/07, learner <[EMAIL PROTECTED]> wrote:

  Thanks I got that :)

On 2/13/07, Stembert Olivier (BIL) <[EMAIL PROTECTED]>
wrote:
>
>    Hi Mayur,
>
> When you define a member variable, a setter method is internally
> created.
>
> You have to rename your variable vbox and define it as private.
>
> private var _vbox:VBox;
>
> public function set vbox(val:VBox):void
> {
>     _vbox = val;
> }
>
> Rgds,
>
> Olivier
>
>  ------------------------------
> *From:* [email protected] [mailto: [EMAIL PROTECTED]
> *On Behalf Of *learner
> *Sent:* Tuesday, February 13, 2007 7:54 AM
> *To:* [EMAIL PROTECTED] ups.com
> *Subject:* [flexcoders] duplicate function definition
>
>
>
> Hello all,
> When I am doing this :
>
>  public var vbox:VBox;
>
>  public function set vbox(val):void{
>            vbox = val
>        }
>
>
> Why am i getting a error like *Duplicate function definition *when i am
> defining my set vbox function.
>
> Regards
> Mayur
>
>  ---------------------
>
> An electronic message is not binding on its sender.
>
> Any message referring to a binding engagement must be confirmed in
> writing and duly signed.
>
> ---------------------
>
>
>
> ---------------------
>
> An electronic message is not binding on its sender.
>
> Any message referring to a binding engagement must be confirmed in
> writing and duly signed.
>
> ---------------------
>
>
>
>



--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org

Reply via email to