Thanks for the advise. I see that "Void" should be lowercase "void".
--- In [email protected], Johannes Nel <[EMAIL PROTECTED]> wrote: > > show all your code. that error is thrown when a type you are using is not > imported (at least thats when i have seen it) > > On 2/10/06, sam5654295 <[EMAIL PROTECTED]> wrote: > > > > I am working in Flex Builder 2, trying to work through some tutorials > > that are in AC 2. I can't seem to find the problem with this AC 2 > > code that prevents it from compiling in AC 3. Any suggestions? > > > > <mx:Script> > > <![CDATA[ > > function addToCart():Void > > { > > > > cart.addItem(coffeeCombo.selectedItem.label,coffeeCombo.selectedItem.data > > ); > > } > > ]]> > > </mx:Script> > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > -- > j:pn > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

