How to edit a text field directly from as3? - actionscript-3

I am designing an app and basically I want the user to fill in text field directly from the app and then I want this textfield to be saved in a text file inside a server ? How can I do it ?
Right now I can Only view the text file but I can't really edit it .
Thanks for answers.

Related

How to create a rich text editor that returns html results in Flutter?

My goal is to create a rich text editor that returns html results. I am using the package flutter_quill. It can only return plain text using _controller.document.toPlainText() and json using _controller.document.toDelta().toJson(). I also tried html_editor_enhanced before. It has some problems. When I click the text color button and the dialog is shown, I can't press one of the colors in the horizontal color list. The mouse is always a text mouse and I can enter text despite the dialog being displayed in front of the text field. Although the dialog is blocked, I can still write behind the text field. Also, I am using web (Chrome) to run the app. Are there any other rich text editors that can return html results or any way to return html results in flutter_quill? Appreciate if someone can advise. Thank you in advance!
I finally found a solution!
I am using the following code to return html results:
final convertedValue = jsonEncode(delta.toJson());
final markdown = deltaToMarkdown(convertedValue);
final html = markdownToHtml(markdown);

Microsoft ACCESS doesn´t show photo in form

I´m creating a form that displays the info of all of the employees, including their photo.
When in design view, I've tried using an image control and defining in its control source.
However, when I change to form view and navigate the employees records, their photo isn´t shown.
I've tried changing the field (where the photos are stored) data type to text, instead of hyperlink (as shown in this youtube video: https://www.youtube.com/watch?v=f5ZOOMrDjtU ) but the photos still do not appear.
The photos are stored as hyperlinks, that show the file path, and if i'm in datasheet view of the table, I can click on the employees photo hyperlink and it opens their photo.
Also, in access options, I have this picture property storage format selected: and the images are jpg files.
Does someone know how I can solve this issue? What could I have done wrong?
Thank you.
A true hyperlink in Access is made of 3 parts separated by # character.
display text # file name # any reference within the file
More info http://allenbrowne.com/casu-09.html
The hyperlink structure won't work in Image control ControlSource property and can't simply convert the hyperlink field to a text type as the resulting string will not be a valid file path. Either manually enter correct image file path or use string manipulation code to extract file path part from the hyperlink field and save to a text field (x represents fieldname):
Mid(Left(x,InStrRev(x,"#")-1),Instr(x,"#")+1)
On second thought, that expression could be in the ControlSource property so the hyperlink field could be retained as is and a text field not needed.
More info on expressions in ControlSource property: Access Form: `abc.Picture="xyz.jpg"` makes listbox & textboxes "blink" once

Showing a HTML page inside SSRS report

I have a html file with some images in a directory. I would simply want to open a report and show the html file (including the images) inside the report. Is there a way to achieve this? Any help is greatly appreciated.
Thanks
I've found this : http://msdn.microsoft.com/en-us/library/dd207057.aspx. Tell me if it's useful? ;oP
To add HTML from a field in your dataset into a text box
1.On the Insert tab, click List. Click the design surface, and then drag to create a box that is the size you want.
The Dataset Properties dialog box opens. You can use a shared dataset or a dataset embedded in your report. For more information, click Dataset Properties Dialog Box, Query (Report Builder) or Dataset Properties Dialog Box, Query.
2.On the Insert tab, click Text Box. Click in the list, and then drag to create a box that is the size you want.
3.Drag an HTML field from your dataset into the text box. A placeholder is created for your field.
4.Right-click the placeholder, and then click Placeholder Properties.
5.On the General tab, verify that the Value box contains an expression that evaluates to the field you dropped in step 3.
6.Click HTML - Interpret HTML tags as styles. This causes the field to be evaluated as HTML.
7.Click OK.
Alright, this is what resolved the issue. I am converting the html to a image using CutyCapt and storing the image in the database as a blob. In the report I have a image control which refers to the image and this works fine.
Hope this helps.
Thanks everyone.

Scroll Multiple Text Fields using Action Script 3.0

I am trying to build a Flash application which would display data from a external source and scroll it from left to right.
I am new to action script world, i have found an example in which text is scrolling but here there is only one text field. I would like to have multiple text field depending upon my data loaded from external source. How can i achieve it. Do i need to create 10 text fields if my external data returns 10 records.
Any advice on this would be appreciated. Thanks
It depends on your task, if you need 10 lines of text information that moves independently, so you will need 10 text fields. Or you could scroll one text field and change it's content with a new information (next record). For scrolling of the text field you will need Timer or Enter frame handler or Tweening engine, as for changing text you will need some logic, like if text goes offscreen - show another text data.
For me, your question looks very similar to this one, check it, maybe it will be helpful for you.

how to save a text file automatically in flex when the text area is changed/edited. please help me

I had a situation like.... I need to save a text area field in the form of .text file automatically when ever the text area is changed/edited. Please some one help me.
Thanks in advance
In a Flex TextInput or TextArea you can use the change event to detect when something has changed. So, you'll probably want to use that to trigger your "save this text" code.
If you want to save things as a file on the server, then you can use that change event to trigger your service.
If you want to save things on the client machine, you may have more difficulty.
If you're dealing with an AIR application, you can save the file locally using the File class.
In a browser based app; you cannot save files without user input. So the location, and filename of the file is beyond your control. Accessing that file at some future point also requires user input.
You may be able to store the value as a shared object, which is in essence the Flex version of a cookie.