Hi, Semicolon in not mandatory in ActionScript but we cannot use bindable tag for const variables.If u remove semicolon in above issue it is thinking that ur are using bindable for const variable.
On Jun 1, 12:54 pm, Khalid Chaudhary <[email protected]> wrote: > is semicolon mandatory in ActionScript ? > > On Tue, Jun 1, 2010 at 12:47 PM, Santosh <[email protected]> wrote: > > Hi, > > > just put a semicolon after ITEM_HEIGHT...it will work > > public static const ITEM_HEIGHT:Number = 94; > > > On May 31, 3:25 pm, Saravanan <[email protected]> wrote: > > > Hi, > > > > I have problem in setting the Bindable property in custom component... > > > > It shows error "Access to undefined property Bindable" > > > > <?xml version="1.0" encoding="utf-8"?> > > > <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="210" > > > height="94" autoLayout="false"> > > > > <mx:Script> > > > <![CDATA[ > > > > public static const ITEM_HEIGHT:Number = 94 > > > > [Bindable] > > > public var quarter:String; > > > > public function SetData(_data:Object):void > > > { > > > > } > > > > ]]> > > > </mx:Script> > > > </mx:HBox> > > > > thanks in advance... > > > -- > > You received this message because you are subscribed to the Google Groups > > "Flex India Community" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<flex_india%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

