Edit An XML Document In Adobe Flex?
Nov 23, 2009
I am building a custom structured editor for an XML document in Flex. What I need is a way to do list operations on an XMLList with a minimum of fuss, using either an editable datagrid or a popup form (UI-wise, it doesn't matter which. Please don't focus on that). [code]...
View 3 Replies
Similar Posts:
Oct 12, 2011
I have a premade .fla file I purchased from a web development company. I works when I open it with IE or whatever but I just dont know how to change the dummy text with in the pre made flash template and I wonna change th ecolor from green to black. [url]...
View 2 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Apr 7, 2012
have doing my project in flash cs5.5. But then suddenly my file cannot open it.It appear like this "an error occurred opening file C:....menu.fla" and also "Flash cannot parse this document." "The following JavaScript error(s) occurred:".
View 1 Replies
Jan 31, 2010
I am going to be utilizing a flash/jquery powered gallery on a webpage that is maintained and updated with an xml document. The xml data is used to add and sort images into a grid of small thumbnail images. i will customize this component so that when the user rolls over a thumbnail it will trigger jquery to replace a div using hide/show. My employer would like to try to create an adobe air desktop widget that will mirror the content of this gallery so that as entries are added to the site users can access the content automatically via the desktop. I was thinking there may be a way to utilize the same xml document to maintain the app as well as the gallery. As there is a fairly tight turn around on this project, i was wondering if anyone could confirm that adobe air apps can be maintained in this way, or how to approach this particular client request.
View 1 Replies
Jun 7, 2011
I want to open up a pdf-document (included within the *.air-package) with adobe acrobat (or any other pdf-reader). I've followed this solution openWithDefaultApplication fails on files in application folder.
var _myfilename = "John_Doe-tax_return_2011.pdf";
// = my filename
//run:
var realFile:File = File.applicationDirectory.resolvePath(_myfilename);
var tempFile:File = File.createTempFile();
realFile.copyTo(tempFile,true);
tempFile.openWithDefaultApplication(); //nothing happens ?
//end;
I've tested it all, so it's not a directory issue
trace(tempFile.extension)
// > tmp (?? tempFile.extension = "pdf" doesn't works)
trace(realFile.exists)
// > true (original pdf-document exists!)
View 1 Replies
Aug 26, 2009
I got a problem with adobe flash cs4 : I can't launch it normaly and its says that a fatal error has occured.. I really don't know what I must do.. Please, help me.... I've just lost like 3 or 4 files of adobe by trying to reinstall it.
View 3 Replies
Feb 12, 2010
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
View 1 Replies
Aug 11, 2009
I'm actually relatively new to flash and actionscript but I could say I have fair knowledge about them. So anyway, I usually build flash websites the traditional way using timeline animation and scripting. Today I had a job interview and they said they're looking for someone who can develop any web design into a Flash CMS with a back-end office for the client to edit the content without having to edit the FLA file or any code.
Accordingly, I'd like to know where and how to start. What are the main concepts I should follow/adapt?
View 1 Replies
Jul 27, 2009
I am planning to do a CD-ROM in either Flash or Flex, possibly using the Adobe AIR runtime.This CD interactive will have a bunch of forms on it for the user to fill out. After they fill in a form, they will have the option of saving or printing a PDF that is based on there information.I am trying to find a way of editing the content of the PDF in Flash, so when the user fills out the form, the application will fill in the PDF with there details from the form fields. Is this is possible?It would be great if there was some way of having template PDFs (either on the CD as there own files, or in a Flash library), then flash could come along and fill in the specific fields inside the PDF.
View 1 Replies
Aug 18, 2009
I'm using a combo box control and the dataprovider is set as an XML. After the dataprovider is set, I want to edit the text of the first option and also I need to insert an item in the second position.
How can I do this? Using an ItemRenderer?
View 1 Replies
Jan 13, 2010
I have a very simple DataGrid with 2 columns, some thing like this[code]...
What Im trying to do is to activate the edition of the selected row when the user clicks a button. So far I've been unable to find any example of how to do this. I already tried 6 or 7 different approaches but non works.
How do you get the selected row (NOT selectedItem) of a DataGrid and how can you:
Change the ItemRenderEditor or ItemRenderer on the fly of just that row.
Or enable the edition of that specific row without clicking it.
View 1 Replies
Jun 16, 2011
I use a spark List with a custom item renderer and an ArrayCollection for dataProvider.
The ItemRenderer looks something like
<mx:TextInput id="txtValue1" text="{data.myFirstValue}"/>
<mx:TextInput id="txtValue2" text="{data.mySecondValue}"/>
However, even though I change the text in txtValue1 or txtValue2, those are not actually changed in the object inside the ArrayCollection.
myFirstValue and mySecondValue are decorated with the [Bindable] tag.
My understanding is that if the text property is set to be bound a certain property, the changes should be automatically applied.
So the HACK (or so I think) that I use is to listen to the focusOut event of each textbox, and access the parent data provider and set the the values manually.
View 1 Replies
Nov 18, 2011
I am trying to edit an already existing Flex project, and I see a warning on the line "import com.Adobe.utils.StringUtil;" and the warning it shows is
Multiple markers at this line:
-mx
-The import utils could not be found.
-The import StringUtil could not be found.
Well I was wondering what is the difference between import com.Adobe.utils.StringUtil; and import mx.utils.StringUtil;
View 2 Replies
Jul 9, 2009
I have a DataGrid of objects, and I want to modally edit them; pop up a dialog, change the item, and if the user clicks "Ok", save the changes back to the original item, and if they click "Cancel", do nothing. It seems obvious that if I simply pass in a reference to the original object and change it using data bindings to the fields in the edit form, I won't be able to cancel my edits. How can I support that capability?
View 1 Replies
Oct 12, 2009
While in Design mode in Flash Builder 4 (gumbo, beta 2), is it possible to edit multiple states at once? In the "states" window, it would seem like I should be able to shift-select multiple states so changes made will affect all the selected states, and if all are selected it will not add the state selector to the property in the mxml tag. No?
View 2 Replies
Feb 27, 2011
I have a problem in my datagrid itemeditor This is my data grid component
<mx:DataGrid id="lessonPlanDataGrid" x="10" y="10" dataProvider="{studentLessonPlanArray}" height="271" width="270" editable="true">
[Code]...
View 1 Replies
Mar 7, 2011
How to open an mxml file? Been using Actionscript for a while, but new to Flex.
I've a project that i've been asked to make a quick change to with 3 folders and a mxml file, but have no idea how to open and edit them with Flex!
View 1 Replies
Apr 16, 2011
i have created custom components in flex where i have used a button,i want to change button text when i will use that component in other mmxl file how i can do that?
View 1 Replies
Mar 12, 2010
I've a custom itemRenderer for my datagrid. To set the actual data I use the following method:
override public function set data(side:Object):void{
...
}
As soon as I use this function the cell doesn't show up any item Editor anymore. Why is that? When I remove this function the itemEditor is working but with the wrong initialization data.
View 3 Replies
Feb 27, 2010
I need to modify the behaviour of an editable datagrid to this:
-Single-click on a row, doesn't make the cell show a text input field (only selects the row)
-Double-click on a row, doesn't make the cell show a text input field either
but
-Clicking a cell in an already selected row, shows a text input field ready to be edited.
View 1 Replies
Jan 17, 2010
I have a Tree Control inside my Flex Application which I want to edit on a doubleclick on a tree item. I found the properties doubleClickEnabled= "true", doubleClick="startEditMode()", and editable="true". With these functions I can detect a double click and I can change the editable property to true based on a double click. The problem is that after I double clicked on a Item i have to click once more to really enter the edit mode. That doesn't seem to be intuitive at all..
View 3 Replies
Jan 21, 2011
When using the NumericStepper I want to force the user to only be able to edit the value using the NumericStepper's up and down arrows. I do not want the user to be able to type in a value directly. How can i do this in flex 4?
View 2 Replies
Aug 26, 2010
I want to send a html webpage with my application in installation package,is it possible?
View 1 Replies
Nov 12, 2010
I am building an offline [URL] application in Adobe Flex. Can we use [URL] Rich Text Area fields in the offline application? I do not see the field returned in a query.
View 2 Replies
Nov 12, 2011
I am using an component, and currently have a dataProvider working that is anArrayCollection (have a separate question about how to make this an XML file... but I digress).Variable declaration looks like this:
[Bindable]
private var _dpImageList : ArrayCollection = new ArrayCollection([
{"location" : "path/to/image1.jpg"},
[code]....
View 4 Replies
Jan 22, 2012
I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.
View 1 Replies
Nov 4, 2009
Does anyone know an Actionscript equivalent of the javascript getElementsByClassName.
What I would like to do is add a custom 'stylename' to various components which I can then use to get a collection of these objects and therefore process their visibility property.
The idea is I want to hide various components based on what roles a logged in user has - I just want to make this flexible by adding an array of rolenames to a custom property or use the stylename property on a Canvas or Panel etc.
View 1 Replies
Jan 29, 2010
How to get HTML text from inputed and edited text into Adobe Flex Builder RichTextEditor control? I mean with valid HTML coming from the Flex RichTextEditor component Not Badly formated HTML, with no spaces, with tags not closed! So we have some text edited with RTE a-la
View 2 Replies
Dec 23, 2010
I am in a situation where user gets the cars data from the database based on the selection and displays it in datagrid like below ( for example)
Company Model Year No
GM Chevy 2010 10
GM Chevy 2009 5
GM Pontiac 2010 12
Honda Civic 2009 12
and there will be a link next to datagrid to get Pie chart based on the data displays in the data grid . The pie graph should display grouping by company and the count . I mean for the above example that should give with two pie items , one for GM showing the number of vehicles ( in this case 3 ) and Honda showing the number of vehicles ( in this case 1 ).
I thought of getting it from the database by querying and grouping it .But here the problem is after getting the data above in the datagrid user can able to filter at client end ( By year or model ) and can say get graph . This time that should only display the graph for the data visible in Datagrid .Grouping on database for every operation is becoming expensive. Since we have already data available at client end , is there any way to group it at client ..?
View 2 Replies