ActionScript 3.0 :: Flash To PHP Web Based Text Editor?
Jan 14, 2011
i got a working flash text editor. It loads up a text file from a database and displays it in a dynamic textbox and allows you to edit it however you want and save it by sending variables to a php script which than saves the changes to the text file. It works great and when i download the tect file from the database it displays what i/anyone has saved. Only issue is when i refresh the page the text box is displaying what the text file used to say. i checked the database and thats not what the text file contains. =/ I have NO idea what would be causing this, as it loads the text file directly when the page is refreshed so it SHOULD display what the text files most recent contents are. any ideas? test it out at Simmpole(dot)com/flips/testtextsaver/tophp.swf
edit : i also tried making a button that forced flash to reload the text file and no luck.i also tried throwing the code that loads the text file in a ENTER_FRAME event and still no luck.
View 0 Replies
Similar Posts:
Oct 5, 2006
I'm trying to create a flash xml editor based on senocular's news editor but I am having some trouble getting the xml file to load. My xml file is structured as below[code]...
View 2 Replies
Feb 26, 2011
I am currently working on a flash project which is a online business card designer. Basically there are very basic things that users can do in it. Such as add text, draw simple shapes and add preloaded vector art into the canvas area. At the moment all that works well, apart from making them scale. Can anyone guide me to a good learning resource or may be enlighten me on how do I do this properly? What I'm looking for is when the user clicks on an already added object in the canvas a bounding box should appear around it with handles to scale that object.
View 2 Replies
Dec 7, 2009
[URL] The above wasn't really the answer that I was looking for. I'm looking for an online image editor which I can embed into my pages, so users can edit images and submit them. I'm fine with it being Flash or Canvas/JS, no Silverlight or Java . Should have these features, or close to: File upload for image or remote url fetch Layer-based like Photoshop Magic Wand/Pen/Pencil/Brush/etc Text editing Cropping tool
View 4 Replies
Oct 6, 2010
I've been trying to build a user interface that would allow someone to change the content of a dynamic field (loaded from a text file) using a rich text editor. However the editor inserts inline css style tags like <span style="text-decoration: underline;"> which Flash aparently can't understand. If the editor were instead to insert the following: <span class="ul"> where the stylesheet defined it as:
[Code]...
View 1 Replies
Jan 31, 2012
I'm looking to pull dynamic text in to Flash from a text editor, basically someones name and age, is this easy enough to do?
View 1 Replies
Apr 24, 2007
Does anyone have any experience using external actionscript editors? I've given a brief look at SE|PY, but not sure why it's any better than the native editor in Flash.
View 1 Replies
Sep 21, 2010
Does anyone know of a free flash text editor. Something that I can put on my website to update the text without going into the flash file and reuploading.
View 1 Replies
Mar 28, 2009
Does anyone know of a free flash text editor. Something that I can put on my website to update the text without going into the flash file and reuploading.
View 2 Replies
Apr 16, 2005
I've been trying to find a text editor/word processor style app made in flash. I've also been trying to build one but I figure it can't hurt to search as well.
I'm specifically looking for an fla that allows a user to change font, size, colour, bold, italic etc. and allow the user to select parts of the text to change. ie. like how Word or any text editor works.
View 5 Replies
Apr 16, 2005
I've been trying to find a text editor/word processor style app made in flash. I've also been trying to build one but I figure it can't hurt to search as well.I'm specifically looking for an fla that allows a user to change font, size, colour, bold, italic etc. and allow the user to select parts of the text to change. ie. like how Word or any text editor works.
View 5 Replies
May 6, 2011
I uses ajax rich text editor. I want to input a flash file into this editor.
View 1 Replies
Jun 22, 2006
Firstly, I am using a TextField object of type input as the text input area of the text editor. So I am wondering, in your opinion, what would work best for formatting the text in this field?[code]...
Remember the text will always be changing at the user's whim in the movie, and I am looking for simplicity in applying certain styles to only selected portions of the input text and also setting styles for all future text that is input beyond what is already input (Could be a different style than that of the text already input)
Secondly, I am having a little trouble with the TextFormat Object option. I have a textfield, and a toolbar movieclip (with buttons such as bold, underline, italics, etc) on my stage. I am writing an actionscript class for the toolbar. I want to be able to capture the start index and end index of highlighted text in the textbox, so that say when I press the bold button, the text is bolded or unbolded. I have tried using Selection.getStartIndex() and Selection.getEndIndex() but they have not yet worked for me, as the selection loses focus when I click on the toolbar in the movie. I was hoping there was some sort of onHighlightText handler for the Selection class, so that I can capture the start and end indices whenever text is highlighted. However, there appears to be nothing with that functionality.
View 2 Replies
Sep 5, 2011
I have WYSIWYG text editor for flash. Works great. Allows me to edit text, save it as a text file and then load it either back into flash or alternatively into HTML. Problem is that Flash uses the <font> tag which is deprecated in HTML4 and will be removed in HTML5 due to CSS. So given that flash can use CSS I wonder:Is there a way to build a WYSIWYG text editor in Flash that uses CSS ?Has anyone heard of this being done? or even done it them selves I'm after any information at all even if it's just a reason why it won't work or assurance that it will.
View 5 Replies
Jun 12, 2009
Anyone know of a good program such as:WYSIWYG text editor for hyperlinks and text formatting that exports to swf.
View 2 Replies
Jun 9, 2011
I'm trying to use the AlivePDF library to export text from a text editor created in AS3 into a PDF. Can anyone link me to documentation or a tutorial that can help teach me how to integrate it into a normal AS3 file? I have no idea how to use the library and the only documentation I've seen for it is how to use it in Flex/Air, which is not what I'm looking for.
View 2 Replies
Jan 13, 2011
my main class is Editor my sub class is a CustomTextField i need my Editor to keep track of what the active CustomTextField is, since there can be more than one. i want to have a variable, activeTextField:String to keep track of the active CustomTextField. i created getters and setters on editor to keep track of activeTextField. how do i call these getters and setters from the editor w/out using static getters and setters on the editor? this has to be confusing to read because i am utterly confused writing it...
View 1 Replies
Jan 28, 2009
I want to create an input text field that can be editable by the user and essentially when they click submit it turns this into HTML code with p, br, strong and em tags.
I don't know if it is possible, I assume it would be, but my searches are not turning up much.
I want the user to be able to select a section of text and click a B button to surround that selected text with strong tags, same for italics.
I also want to give the ability to at least record when the user presses enter in order it insert p tags and maybe even br tags if they press shift+enter
View 4 Replies
May 23, 2011
I created a text editor in AS3 to administer a site online, but i have a problem when i select a word, put it in bold, save the text and load it, all the text after this word becomes bold too. (to put a word in bold i select that world and use a button that turn this word in bold)Here is my code
Code:
var formatGlobal12:TextFormat = new TextFormat ("_serif", 12);
txt_references_springbok_fr.setTextFormat (formatGlobal12);
[code].....
View 2 Replies
Mar 11, 2011
Is there is there a way(may be very complicated) to display images in the text area from htmlText property in AIR2?P.S. I know that AIR ignores img tags in HTML content due prevent possible phishing attacks.
View 1 Replies
Jun 21, 2006
What I want to do is create a flash movie that will work as a update method for a news section on a website. Now Im not a big Actions scripter but I think its a preety cool idea. basicly I'm guess in It could be done using input text or something like that. But the idea is you can login to a webpage(with the text editing swf in it) and it would have say 3 input text boxes one that says date, subject, and then the news to be added. And using a submit button it would update a text file that is dynamicly loaded into the main website swf. Does that make sence??3 If anyone has anyidea on how I could acheive this I would really apriciate it. I am really excited about the consept lol I just dont really have the AS knowledge at the moment to do it.
View 4 Replies
Nov 25, 2010
I have built a rich Text Editor for Flex 4 using the instruction in the following link: [URL]
it works great. I want to be able to add link to it (user selecting text to link it to external web page). How do I do that?
implement Rich Text Editor with link support if you have any.
View 1 Replies
Mar 1, 2012
We have an image editor in Flex to add text and other changes. Once all the changes are complete, we need to save this to the server.We are using php to save the images by accepting coordinates from flex about what all edits are made for that image. Using this we are editing that image using imagick function in PHP. But the problem is output is different from what we see in flex. The issue is mainly with text alignment in flex editor and in the output we get after editing in php.Is there any other way to do this without making the user to wait for a long time to save the images? Is it possible to get the correct coordinates of text from that flex editor. Our issue is flex is passing the x,y of the container of that text editor. For this reason, test is misaligned in the output.
View 1 Replies
Dec 13, 2009
I am creating a rich text editor -- and I have found many things convert from textformat to HTML like below marked 1. but then when I get to links and align of the editor -- I am not certain the best approach I am doing a search and replace string method on the html text field (the code is marked 2) but it is not that easy and I was wondering if there was a cleaner approach. And that is just the writing of it. Removing it is even harder but I won't get into that I am just trying to find a easer way.
1.ActionScript Code:
underlineBtn.addEventListener(MouseEvent.CLICK, makeUnderline);
function makeUnderline(event:MouseEvent):void {
if (section.underline == false){[code].........
View 0 Replies
Mar 2, 2007
I've created an Rich Text Editor witch is free to download at [URL]
Some features:
Load / Edit / Save and Preview articlesAdd / Upload imagesUndo / RedoBasic layoutAdding linksTell me what you think of it.
View 1 Replies
Mar 9, 2005
Do you know Kirupa's News Editor tutorial?O.K. I have problems with text formatting. I need "title" in a different font than "body".Here is the part of original code:
ShowNews = function(news_xml){
if (!news_xml.firstChild.hasChildNodes()){
content_txt.text = "No news available.";
[code]......
View 8 Replies
May 23, 2011
I created a text editor in AS3 to administer a site online, but i have a problem when i select a word, put it in bold, save the text and load it, all the text after this word becomes bold too. Here is my code
[Code]...
View 4 Replies
Jun 11, 2009
Is there a way to restrict the number of characters in the Flex Rich Text Editor? I guess there should be, since it's possible in a textarea. So, if I could get hold of the textarea contained in the rich text editor, I would be able to do it
View 1 Replies
Sep 27, 2004
I'm creating something like a text editor. I have text-movieclips at set coordinates. I'm trying to create a function to delete entries. My idea is that my cursor is at the text-mc's coordinate so I'd like to be able to connect the delete key to any clip that happens to match my cursor(x,y). Like this:
if ((Key.getCode() == Key.DELETEKEY)){
if((anytxtclip == cursor._x) && (anytxtclip == cursor._y)) {
delete anytxtclip
}}
I think I'm looking for a world variable to describe anytxtclip.
View 2 Replies
Apr 11, 2010
I am interested in saving the text content of flash based chat in a text file or xml. The repetition of the recorded words is very much correlated to the social , and psychological monitoring research I need to accomplish. The web based chat is not my own, so i don't have any administrative privileges over the server.
View 3 Replies