Combobox inside Datagrid FLASH AS3

I've been trying to insert a combo box inside a datagrid using Actionscript 3.  Found examples for Actionscript 2, but all my code is in AS3.  I've tried way to many verisions that don't work using the checkbox examples that I found, but I seem to be missing something.  I can get the checkbox to work in the datagrid but not the combo box.  What is the difference between putting in a checkbox and a combobox into a datagrid?
MAYoung1064Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MAYoung1064Author Commented:
I actually found the same web site last night.  Thanks!! alot.
0
 
blue-genieCommented:
noooo why didn't u just take ur points back.
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
MAYoung1064Author Commented:
Well!  I still have a problem.  i tried to open the cellrender.fla file last night and i got the error "Unexpected file format."  Did you have any problems with the .fla file.  Could you tell me how to set it up.  I think I need to drag combobox and datagrid component on the stage and set the document class to rendererClass.as?

0
 
blue-genieCommented:
i didn't download it.  you shouldn't need the components on the stage, only in the library.
if that's the only class you're using you can set it as the document class. otherwise import into your main class.
0
 
blue-genieCommented:
hmm yeah also got the file error problem.
let me know if you don't come right and i'll see if i can help.
0
 
MAYoung1064Author Commented:
I found out that he created the file using CS4.  I just recreated in CS3.

1. dragged datagrid to stage and named it "dg".
2. dragged movie clip to library
3. dragged textbox to stage and named it "alert_txt"

0
 
MAYoung1064Author Commented:
oops I forgot I also had to  change:

public class RendererClass extends Sprite{

to

public class RendererClass extends MovieClip{
0
 
blue-genieCommented:
so u sorted?
i haven't bothered with the CS4 yet, most of the changes i saw at the launch are design side.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.