ActionScript 3.0 :: Get An Editable Datagrid To Teach Subtraction?

Aug 21, 2009

I need an editable datagrid to teach subtraction. I tried

aDg.setStyle("alternatingRowColors", ["0xF0F0F0", "0xFFFFFF"]);

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Bug In HorizontalScrollPolicy And Editable In Datagrid?

Dec 1, 2008

I have a possible bug for datagrid in cs4 (as3). The scenario involves having horizontal scrolling, good number of columns and editable columns.

The following codes basically layout that particular scenario.

The bug is the edibility of columns on the far right. If you click on them to try to edit them, another column on the left of it would become editable instead.

View 2 Replies

ActionScript 1/2 :: Hitting ENTER In A DataGrid Editable Cell?

Jun 9, 2009

Here's a question for you. I have a dataGrid that I want to be able to edit only when the user clicks on a particular button. When this happens, I make the dataGrid editable and I make that particular column editable. After the user modifies the cell's content and hits ENTER, I want the edit cell to close and the dataGrid to once again become non editable. Here's the code in my Key.onKeyUp listeneif(Key.getCode() == Key.ESCAPE || Key.getCode() == Key.ENTER){  my_dg.getColumnAt(2).editable = false;  my_dg.editable = false;}If the user hits ESC, the edit box closes correctly. If he hits the ENTER key, the edit box remains visible until he hits ENTER once more. Only then does it disappear

View 3 Replies

Actionscript 3 :: ItemFocusIn Not Working On Non-Editable DataGrid In Flex?

Apr 17, 2010

I realize that ItemFocusIn is somehow only applicable to editable datagrids in flex,nevertheless I want to fire an event anytime the user selects a new row in a non-editable datagrid. I have successfully used the CLICK event, but this event is not fired when the user uses the keyboard to select a different row in the datagrid. What do I have to do to cause an event to fire whenever the currently highlighted row in the datagrid changes, regardless of weather it was changed by the mouse or by the keyboard?

View 1 Replies

Flex :: Keydown Event For Editable Datagrid Flash?

May 23, 2011

All i have a flex editable datagrid. By default if i press the left navigation arrow key , it moves to the left but not to the next cell. I would like to override the keydown event such that if the left navigation arrow key is pressed down i set the focus to the next cell on the left.

In short the user needs to be able to navigate using the keyboard through the cells using just like in excel(currently the arrow keys move between characters within a cell).

View 1 Replies

Actionscript 3 :: Focus On A Cell Of A DataGrid Without Setting It To Editable?

Jan 31, 2012

I am currently working on making my Flex application accessible. I have an mx DataGrid that I am using for showing complex data. Each row contains information about a person and one of the columns contains a button to "submit" that person's information. Currently if I tab to the DataGrid, it has focus on the whole thing, but I cannot tab to individual cells. For accessibility purposes, I need the user to be able to tab to each of these cells to read the information. Everywhere I've looked I've found that it seems the only way to focus on an individual cell is to set the editable property to true. However, I do not want to make the field editable, as that information should not be changed.

At the very least I would like to be able to tab to the cell that has the button ItemRendender for each person. I could set the rest of the information in the accessibilityName of that. Is there any way to accomplish this? Or am I going to have to find a more "creative" solution?

View 1 Replies

ActionScript 3.0 :: Restrict Editable Datagrid Values In Flex?

Dec 21, 2010

I have a datagrid in flex and i am making the datagrid as editable. I can able to edit it and enter the values. so far so good. Now my requirement was, i want to restrict the editable datagrid cell to some max chars like 10. I mean to say maxChars = 10, i want to restrict like this & i want to implement like this.

View 3 Replies

Flex :: RowItem Saved On Tab Don't Proceed To Next Editable Item Datagrid?

Apr 12, 2012

I'm using a Flex datagrid where only 1 rowItem is editable. All the other row items are non editable. When I edit the value of the row, and press ENTER or TAB the focus is send to the next editable item in the datagrid. In this case the editable field on the next datagrid row.

I don't want this standard behaviour... I don't want the focus to be processed to the next editable item. Since the data is saved instant, it's quite strange that the focus is given to the next field. The focus has to be remained on the item that was edited.

View 1 Replies

Actionscript 3 :: Disable Auto-save In Editable Datagrid Flex

Jun 17, 2010

I have an editable datagrid, whenever I make a change it automatically gets saved. How can I disable this? So the changes gets saved only when I click on an external save button.

View 1 Replies

Flex :: Actionscript 3 - Disable Automatic Sorting In Editable Datagrid?

Mar 8, 2011

I have an editable datagrid. If sorting is applied by clicking any header of datagrid, it works fine. But after that, if data values are changed in any row of datagrid, sorting is applied automatically. How to prevent from this behaviour? i.e. sorting should only be applied if user clicks on any header of datagrid and sorting should not be applied when user modifies data in grid.

View 1 Replies

Flex :: Datagrid - AdvancedDatagrid Editable But Not Allowed To Change Data?

Jul 3, 2011

I have an advanced datagrid, but I want users to allow to copy some lines they want. when I use the property editable they are allowed to select the text they need, but they also are allowed to edit this. How can I prevent that?

I want users to be able to select any text in the datagrid, but they are not allowed to change the value of the grid. They should only be allowed to select and copy (ctrl + c).

View 2 Replies

Actionscript 3 :: Disable Editable/selectable For TextInput Inside Of A Datagrid?

Feb 16, 2012

I am currently trying to disable the selectable / editable / or change the textInput to dynamic to get my desired result.I've got a custom datagrid with dropdowns and text input areas. However, if there is no data in my Model # column, I do not want to allow for any entry in the corresponding PurchasePrice cell.

col1 = new DataGridColumn("Model");
col1.headerText = "Model #";
c2.consumables_dg.addColumn(col1);

[code].....

View 1 Replies

ActionScript 3.0 :: Speech Recognition Program In Flash To Teach A Foreign Language?

Jan 6, 2010

Has anyone ever developed a speech recognition program in flash to teach a foreign language?

View 0 Replies

Javascript :: Fastest Way To Do A Collection Subtraction?

Mar 8, 2010

I have two Sets. Set b is the subset of Set a. they're both very huge Sets. I want to subtract b from a , what's the best practice to do this common operation? I've written to many codes like this , and I don't think it's efficient.

[Code]...

View 7 Replies

ActionScript 3.0 :: Background Subtraction With A Webcam

Aug 24, 2008

I am working on background subtraction with a webcam. I have an event listener for a mouse event which takes a snapshot from the webcam, then I draw the difference between what the webcam sees (video) and the still image that has been taken by the webcam on a mouse click. I want the webcam to take a picture of an empty room and then to show a silhouette of whoever walks into the room after that, but I am having trouble getting just a plain silhouette (the webcam remains in the same position as when the mouse is clicked). I have tried thresholding, but with that method I am getting detail inside the silhouette.

If anyone could just give me a plain english explanation of how the threshold object works, in particular the 'mask' parameter, that would be a huge help and also the 'draw' function, as I think that is where the key may lie!!

View 1 Replies

ActionScript 2.0 :: Subtract A Value From Given Height - Ignored Subtraction

Oct 6, 2005

i'm trying to subtract a very small value from given height.

myMC._height -= .05;

it just doesn't subtract anything. so is flash ignoring to subtract it, possibly because i've too much in my flash file? then again, this works: myMC._height -= .20;

View 3 Replies

Actionscript 3 :: MX:DividedBox Dynamic Panels Addition And Subtraction

Feb 16, 2012

I have a divided box that has 3 panels in it... when a certain tab in tab navigator is clicked, then the sidebar with the three panels changed. One tab might show one Panel, another tab might show two of the panels and so on.

I can turn panels invisible and hide the dividers and ever almost positions the panels right, but the dividers still exists so it's not as dynamic as I would like.

Is their an easier way to add and remove panels from the Divided box that won't take as much manual configuration and hacking to make look right?

The problem is once I hide a panel the divider still exists.

View 2 Replies

ActionScript 3.0 :: Generating Subtraction Equations That Only Return Positive Values?

Jan 21, 2010

create a random subtraction equation where the result will always be positive? For example, my current scripting will return something lilke 3-6=-3. I don't want equations like this- only postive answers

//random numbers//1.function randomNumbers(min:Number,max:Number)   var Results:Number=Math.floor(Math.random()*max)+min;  return Results;}
//2.new_mc.addEventListener(MouseEvent.CLICK, showRandomnumber);

[code]....

View 5 Replies

Making A Client Editable Site ?

Jul 1, 2009

I am making a website for a client in which I need to incorporate some way of allowing easy client editting.Having looked online I havent found anything that will fit the requirements exactly but have seen the functionality on other sites in the past. Ideally I would use a secure web page with a form where the client could select the item to edit using a drop down and then proceed to fill in a few boxes, saving the new content that would be then viewable in the flash file.

I origianlly thought of an html form that stores the saved info in an XML file that could then be drawn out in the flash site.Is that the best way?

View 3 Replies

Editable Assets Within A Swc-based Component

Nov 5, 2009

I created several swc-based components with AS3 and Flash CS4 extending the UIComponent structure. After exporting a fla-based component to a swc-file i created a flash-extension with the Adobe Extension Manager and installed the component.This swc-based component works fine and shows up in the component panel, but i'm not able to edit the components assets because they don't show up in the library anymore.Can someone please tell me if there's a way to export the components assets respectively the components symbols with the swc-file in order make them editable and show up in the library of the FLA which's using the component?

View 1 Replies

ActionScript 3.0 :: CSS Formatted Editable Text

Aug 30, 2010

People have asked how to make a text editor with css formatting before and the answer has always been with reference to the manual - "it can't be done".But what if you didn't accept that something can't be done?I'm thinking some sort of translation class to convert between textformat and css.Or bin the css for the moment of editing and then reapply when the user has finished.

View 3 Replies

ActionScript 3.0 :: Editable RSS Feed In Flash

May 18, 2011

I am making a website that needs to read a RSS feed from a blog and then place the information into flash. I have gotten as far as getting the information into flash and viewing it. However I can't get the scrolling functions to work nor do anything else with the feed. The goal is to be able to format the feed in the way that it is online so that it is scrollable but only the most recent post on the feed. Do I have to change how the information is being used in flash to better manipulate it such as xml? Or is is something I've overlooked while using the rss feed code?

View 0 Replies

ActionScript 2.0 :: Creating An Editable Board?

Oct 21, 2004

i want to make a editable board, that i can drag and drop activites into,i'm having difficulty doing it, the instructions are provided in the attached fla

View 1 Replies

ActionScript 2.0 :: Create An Editable Grid?

Oct 29, 2004

I'm having problems creating a grid that will change individual movieclips' frame when rolled over when the mouse is down. My script seems to be acting erratically, when I push buttons, all of the mcs change even though the code to change them is onRollOver.[code]....

View 12 Replies

ActionScript 3.0 :: Formating Editable Text?

Dec 23, 2010

I created an multiline TLF editable text field in my fla file. How can I format different alignments and font size for different lines in the same text field?

View 1 Replies

ActionScript 2.0 :: Creating An Editable Board

Oct 21, 2004

i want to make a editable board, that i can drag and drop activites into,i'm having difficulty doing it, the instructions are provided in the attached fla.

View 1 Replies

ActionScript 2.0 :: Creating An Editable Grid?

Oct 29, 2004

I'm having problems creating a grid that will change individual movieclips' frame when rolled over when the mouse is down. My script seems to be acting erratically, when I push buttons, all of the mcs change even though the code to change them is onRollOver.Click on the "Create Your Own Map" button in the bottom left.Then you should be able to use the buttons in the bottom right to select the new color/value of the grid items.Here is the code I am using to do this:

Code:
_root.mouseIsDown = 0;
wallSel.gotoAndStop("wall");
pathSel.gotoAndStop("path");[code]....

View 12 Replies

ActionScript 3.0 :: Dynamic Editable Text Boxes?

Jan 15, 2010

I'm trying to implement a feature like the text boxes in adobe photoshop. I want my user to be able to add a text box to the stage that they can move(drag and drop) and go back and change the text later. I also want to be able to keep track of the text boxes so I can let the user change the color, etc. How can I do this?

View 12 Replies

ActionScript 3.0 :: Disable Editable TextArea Component?

Nov 14, 2010

I have a TextArea component in a flash document, and this TextArea is loading text from a .txt file.

However, when you're viewing the textarea in a webpage, you can not only select the text that has been loaded into the textarea, but you can also delete the text written there, like it's a word document or something.

Is there any way I can disable this?

View 3 Replies

Flash :: Professional - Text Editable In Images

Feb 28, 2012

I want to make text editable in images in flash to get copy from text can i Make this and other question please can i convert text in image in flash to normal string?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved