[flexcoders] Definition question

2007-10-18 Thread candysmate
I'm using Alex Harui's example code for centering a checkbox within a datagrid. Within my Flex folders I have a class folder so: com - toro - classes and an AS file called CenteredCheckBox.as so: package com.toro.classes { import flash.display.DisplayObject; import flash.text.TextField; import

Re: [flexcoders] Definition question

2007-10-18 Thread Scott - FastLane
I'm going to guess that your import is within the scope of your mx:Script tag which closes with your /mx:Script tag and does not cover your mxml for the page. Using itemRenderer=com.toro.classes.CenteredCheckBox in the MXML should resolve the issue. hth Scott Scott Melby Founder, Fast