Combobox inside Datagrid FLASH AS3

Posted on 2008-10-13
Last Modified: 2013-11-11
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?
Question by:MAYoung1064
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
LVL 39

Accepted Solution

blue-genie earned 500 total points
ID: 22708779

Author Closing Comment

ID: 31505600
I actually found the same web site last night.  Thanks!! alot.
LVL 39

Expert Comment

ID: 22710946
noooo why didn't u just take ur points back.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 22710978
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

LVL 39

Expert Comment

ID: 22711058
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.
LVL 39

Expert Comment

ID: 22711072
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.

Author Comment

ID: 22732330
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"


Author Comment

ID: 22732386
oops I forgot I also had to  change:

public class RendererClass extends Sprite{


public class RendererClass extends MovieClip{
LVL 39

Expert Comment

ID: 22734659
so u sorted?
i haven't bothered with the CS4 yet, most of the changes i saw at the launch are design side.

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flash being Disabled - help! 20 345
Youtube video error 30 872
Is it possible to insert an Adobe Flash video in a .net  web page ? 2 119
Adobe Products Forum? 3 173
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question