Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Flash Text Editor


can somebody link me to a tutorial on how to make a flash text editor..
need help.




KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 12-20-2006, 09:11 AM


View Complete Forum Thread with Replies

Sponsored Links:

Text Editor In Flash
Dear Friends,

I need to make a text editor in flash to the extent possible, replicating the notepad of the windows. Could you please let me know if there is some place where i can find an fla which does atleast some functions.

With warm regards and thanks in advance,

Pavan

View Replies !    View Related
Flash And PHP (text Editor)
I have a flash text editor and I am using it so a client can update text files that are being loaded into flash. everything is working fine except the code that is used for the links. In the text editor you can type your text, make it bold,italic, or underlined and also you can make hyperlinks. When you create your text and click submit, the text is sent to a PHP file that strips the text of html code that it doesn't need, opens a text file, and writes the text from flash into the text file.

For some reason the code that is within the flash is not working right for the hyperlinks. when you view the written text file it shows the variable for the link instead of the actual link. Here is the code from the flash:

_________________________________________________-

urlButton.onRelease = function(){
var linkText = textIns_txt.text.substring(begin,end);
urlDialog.linkText= linkText;
textIns_txt.selectable=false;
urlDialog.urlInput="http://";
if(linkText==null or linkText==""){
Selection.setFocus(urlDialog.linkTextField);
}else{
Selection.setFocus(urlDialog.urlInputField);
}
urlDialog._visible=true;
urlButton.gotoAndStop(2);
}

function urlOK(theURL, linkText){
// set the replacement boundries
var startReplace = begin;
var endReplace = end;
Selection.setFocus(textIns_txt);
// if the begin and end are the same we need to
// adjust the begin and end points
if(begin==end){
// set start and end replace to cursor position if
// begin is -1 (at the start of the editor)
if(begin==-1){
startReplace = Selection.getCaretIndex();
endReplace = startReplace;
}
// set end to begin + link text length for setting
// the URL
end=begin+linkText.length;
}
// replace selection with text from dialog
Selection.setSelection(startReplace,endReplace);
textIns_txt.replaceSel(linkText);
// select text and convert to hyperlink
Selection.setSelection(begin,begin+linkText.length );
myTextFormat = currentFormat;
myTextFormat.target = "_blank";
// the "asfunction:lookupURL" below is what is being written for the link instead of the actual http link
myTextFormat.url = "asfunction:lookupURL," + setURL(theURL) + "";
myTextFormat.color = "0x996600";
myTextFormat.underline = true;
textIns_txt.setTextFormat(begin, begin+linkText.length, myTextFormat);
var newFormat = getFormatByCSS("a");
if(newFormat!=null)
textIns_txt.setTextFormat(begin, begin+linkText.length, newFormat);
textIns_txt.selectable=true;
refreshEditorText();
urlDialog._visible=false;
urlButton.gotoAndStop(1);
}

function exitURLDialog(){
textIns_txt.selectable=true;
}

// function to store all urls to overcome 127 character url limitation
function setURL(theURL){
editorURLs[editorURLs.length]=theURL;
return(editorURLs.length-1);
}

// fucntion to launch URLs
function lookupURL(urlNumber){
getURL(editorURLs[urlNumber], "popWindow");
}

__________________________________________________ ____

This is an example of what gets written to the text file:

_______________

&whatsnew=Here is a <B>test</B> of the code that is written to the text file with the <A HREF="asfunction:lookupURL,0" TARGET="_blank"><U>link</U></A> error.

_______________

Also, is there any way to strip the html code but leave the link with the color? I have it so it leaves the link code right now but I can't figure out how to make it leave the link with the color. This is the PHP strip html code that I have:

__________________________________________________ _____


PHP Code:




$whatsnew = strip_tags($whatsnew, '<a><b><i><u>');







__________________________________________________ _____

Any help is greatly appreciated. I have been searching for answers on my own for a long time now... I need help.

Thanks,

-- K

View Replies !    View Related
Text Editor In Flash MX
How to Make The text Entered in the Input Box Edited by the Flash MX and to save to Other Frame

View Replies !    View Related
Flash Text Editor
Hi Friends,
I have a Text Editor..it works fine when i run it using Flash Player 6 but when i try to use it using Flash Player 7 it doesn't works ... can u plz help me that how can i use it in Flash Player 7 ???

Thanx,
IFFY

View Replies !    View Related
[F8] Flash Text Editor
I'm working on this site:
http://63.134.232.79/flash/

If you select information and then any of the menu options you will see that I'm loading text files from the server. What I need is a text editor for the admin part where I can load the text files in so that the user can edit them. I did google for flash text editors and found several but none that do what I need. The closest I came to a solution was obedit. I could not get it to work when I load it from flash and set the loadURL and saveURL. So, does anyone know of a similar editor?

thanks

View Replies !    View Related
Flash Text Editor
Hi,

I am looking for a Flash Text Editor (wysiwyg). I don't mind paying for it. It must work on both PCs and MACs using Safari, IE, and Firefox on the MAC.

I've found a few already, for instance flashtexteditor.com but these don't appear to be compatible with MAC browsers.

Any suggestions would be much appreciated.

Thanks in advance.

View Replies !    View Related
Flash Text Editor
I am looking for a free flash text editor. Please suggest one.

Thanks

View Replies !    View Related
Flash Text Editor
HI GURUS,

i am thinking to make a flash application which is you can edit and save dynamic text file into diferrent directory of HDD, but i am furtunate how to make it


regards,
Angst

View Replies !    View Related
Text Editor In FLASH?
Hi!
I have been searching and found the following text editor to FLASH:
http://play.ground.gr/?p=58
I have got the version 1 of this but it is using textformat leading which is not supported in FLASH. I really think it is cool and would like to know if someone has some kind of this text editor?

/Thanx for answering, Ayaz

View Replies !    View Related
Flash Text Editor For AS3?
hi guys..,

anybody knows about flash text editor (WYSIWYG text editor) component that support for actionscript 3.0?
Heeeelp......need the answer as soon as possible. :p

Thx.

View Replies !    View Related
Flash Text Editor
HI GURUS,

i am thinking to make a flash application which is you can edit and save dynamic text file into diferrent directory of HDD, but i am furtunate how to make it


regards,
Angst

View Replies !    View Related
Text Editor In FLASH?
Hi!
I have been searching and found the following text editor to FLASH:
http://play.ground.gr/?p=58
I have got the version 1 of this but it is using textformat leading which is not supported in FLASH. I really think it is cool and would like to know if someone has some kind of this text editor?

/Thanx for answering, Ayaz

View Replies !    View Related
Flash Text Editor
I am looking for a free flash text editor to use as cms.
Please suggest one.


Thanks

View Replies !    View Related
Flash Text Editor
can any one suggest me a flash base text editor.

View Replies !    View Related
Text Editor For Flash
I am also looking for a very nice flash simple text editor. I do not want it be a component though, something very customizable. If there is one with a spell checker combo, that would be amazing.

View Replies !    View Related
Wysiwyg Text Editor In Flash
Hello,

I want to use a wysiwyg text editor (similar to what is found in this and other board areas) to allow users to modify their text with bold, italics, list, etc. This can be done using some js apps, but is it possible to do this inside Flash, so that it is more browser compatible?

Thansk in advance.

View Replies !    View Related
Looking For A Text Editor Made In Flash.
Hi,

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.

Does anyone know if or where there is anything like this?

Thanks,

Steven.

View Replies !    View Related
Flash Text Area Editor Bug
Hi

I have this text area editor in one of my flash movies and I have this problem that when applying text format changes the changes don't get saved unless I do something like type and delete a character from the screen than save. than the format changes are saved, but only after doing and than undoing that something on the text area. It is really annoying,

I was wondering if anyone has ever heard of something like this happening or knows what the problem is. maybe help me find the bug in the code

the text area is A.S 1.0 and flash player 6.

this is the code for the text area.

thanks in advance.





Code:
#initclip 4
function TextEditClass()
{
this.init();
} // End of the function
var t = TextEditClass.prototype = new MovieClip();
t.butMCs = {bold: "but1", italic: "but2", underline: "but3", align: ["but4", "but5", "but6"], leading: "but7", bullet: "but8", indent: ["but9", "but10"], url: "but11", color: "but12"};
t.init = function ()
{
this._y = Math.round(this._parent[this._targetInstanceName]._y - 2);
this.selected = new Select(this._parent[this._targetInstanceName], this);
this.selected.butMCs = this.butMCs;
this.targets = ["_blank", "_parent", "_self", "_top"];
};
t.showURLFields = function ()
{
this.urlField._visible = this.targetBox._visible = this.butOK._visible = true;
for (var j in this.selected.butMCs)
{
if (typeof(this.selected.butMCs[j]) == "object")
{
for (var k in this.selected.butMCs[j])
{
this[this.selected.butMCs[j][k]]._visible = false;
} // end of for...in
continue;
} // end if
this[this.selected.butMCs[j]]._visible = false;
} // end of for...in
this.gfx._visible = false;
this.sizes._visible = false;
};
t.hideURLFields = function ()
{
this.urlField._visible = this.targetBox._visible = this.butOK._visible = false;
for (var j in this.selected.butMCs)
{
if (typeof(this.selected.butMCs[j]) == "object")
{
for (var k in this.selected.butMCs[j])
{
this[this.selected.butMCs[j][k]]._visible = true;
} // end of for...in
continue;
} // end if
this[this.selected.butMCs[j]]._visible = true;
} // end of for...in
this.gfx._visible = true;
this.sizes._visible = true;
};
t.showURL = function (linkNo)
{
this.selected.display.selectable = false;
this.link = linkNo;
this.showURLFields();
Selection.setFocus(this.urlField);
this.urlField.text = this.selected.tempURL[linkNo];
this.targetNo = this.selected.tempTarget[linkNo];
this.targetBox.setSelectedIndex(this.selected.tempTarget[linkNo]);
};
t.getHTML = function ()
{
var htmlo = this.selected.display.htmlText;
for (var i in this.selected.tempURL)
{
var targ = this.targets[this.selected.tempTarget[i]];
var sStr = "asfunction:" + this + ".showURL," + i + "" TARGET=""";
var sStri = htmlo.indexOf(sStr);
while (sStri != -1)
{
htmlo = htmlo.slice(0, sStri) + this.selected.tempURL[i] + "" TARGET="" + targ + """ + htmlo.slice(sStri + sStr.length);
var sStri = htmlo.indexOf(sStr);
} // end while
} // end of for...in
return (htmlo);
};
t.setHTML = function (str)
{
this.selected.tempURL = [];
this.selected.tempTarget = [];
var eIndex = 0;
while (str.indexOf("<A HREF="", eIndex) != -1)
{
var bIndex = str.indexOf("<A HREF="", eIndex);
eIndex = str.indexOf(""", bIndex + 9);
var realLink = str.substring(bIndex + 9, eIndex);
var bIndexT = eIndex + 10;
eIndex = str.indexOf(""", bIndexT);
var realTarget = str.substring(bIndexT, eIndex);
this.selected.tempURL.push(realLink);
this.selected.tempTarget.push(realTarget);
var tempTag = "<A HREF="asfunction:" + this + ".showURL," + (this.selected.tempURL.length - 1) + "" TARGET="">";
str = str.substring(0, bIndex) + tempTag + str.substring(eIndex + 2);
} // end while
this._parent[this._targetInstanceName].htmlText = str;
};
Object.registerClass("FTextEdit", TextEditClass);
function Select(display, tl)
{
this.display = display;
this.tl = tl;
this.init();
} // End of the function
var sel = Select.prototype;
sel.init = function ()
{
this.display.htmlText = "";
this.display.html = true;
this.format = new TextFormat();
this.tempURL = [];
this.tempTarget = [];
Selection.addListener(this);
};
sel.onSetFocus = function (oldFocus, newFocus)
{
if (newFocus == this.display)
{
Mouse.addListener(this);
Key.addListener(this);
}
else
{
Mouse.removeListener(this);
Key.removeListener(this);
} // end else if
};
sel.onMouseUp = function ()
{
this.setSelectionValues();
this.showTags();
};
sel.onKeyUp = function ()
{
this.caret = Selection.getCaretIndex();
this.showTags();
};
sel.setSelectionValues = function ()
{
this.begin = Selection.getBeginIndex();
this.end = Selection.getEndIndex();
this.caret = Selection.getCaretIndex();
};
sel.selectionExists = function ()
{
if (this.begin == this.end)
{
return (false);
}
else
{
return (true);
} // end else if
};
sel.getFormat = function ()
{
if (this.selectionExists())
{
var temp = this.display.getTextFormat(this.begin, this.end);
}
else
{
var temp = this.display.getNewTextFormat(this.caret);
} // end else if
return (temp);
};
sel.showTags = function ()
{
var temp = this.getFormat();
for (var p in temp)
{
if (typeof(this.butMCs[p]) == "object")
{
for (var j in this.butMCs[p])
{
this.tl[this.butMCs[p][j]].onChange(temp[p]);
} // end of for...in
continue;
} // end if
this.tl[this.butMCs[p]].onChange(temp[p]);
} // end of for...in
};
sel.returnFocus = function ()
{
Selection.setFocus(this.display);
if (this.selectionExists())
{
Selection.setSelection(this.begin, this.end);
}
else
{
Selection.setSelection(this.caret, this.caret);
} // end else if
};
sel.setFormat = function (newFormat)
{
if (this.selectionExists())
{
this.format = this.display.getTextFormat(this.begin, this.end);
} // end if
for (var j in newFormat)
{
this.format[j] = newFormat[j];
} // end of for...in
this.display.setTextFormat(this.begin, this.end, this.format);
this.display.setNewTextFormat(this.format);
if (Selection.getFocus() != targetPath(this.display))
{
this.returnFocus();
} // end if
this.showTags();
};
sel.insertChars = function (chcode)
{
Selection.setFocus(this.display);
Selection.setSelection(this.caret, this.caret);
this.display.replaceSel(chcode);
++this.caret;
};
sel.setURL = function (obj, arrP)
{
if (typeof(arrP) == "undefined")
{
this.tempURL.push(obj.url);
this.tempTarget.push(obj.target);
this.setFormat({color: this.tl.urlColor, url: "asfunction:" + this.tl + ".showURL," + (this.tempURL.length - 1)});
}
else
{
this.tempURL[arrP] = obj.url;
this.tempTarget[arrP] = obj.target;
} // end else if
};
sel.killURL = function (arrP)
{
if (typeof(arrP) != "undefined" && this.tempURL[arrP] != "")
{
var htmlo = this.display.htmlText;
var sStr = "COLOR="#0000FF"><A HREF="asfunction:" + this.tl + ".showURL," + arrP + "" TARGET="">";
var sStri = htmlo.indexOf(sStr);
htmlo = htmlo.slice(0, sStri) + "COLOR="#000000">" + htmlo.slice(sStri + sStr.length);
var sStr = "<A HREF="asfunction:" + this.tl + ".showURL," + arrP + "" TARGET="">";
while (htmlo.indexOf(sStr) != -1)
{
var sStri = htmlo.indexOf(sStr);
htmlo = htmlo.slice(0, sStri) + htmlo.slice(sStri + sStr.length);
} // end while
this.display.htmlText = htmlo;
this.tempURL[arrP] = "";
} // end if
};
#endinitclip
this._parent[this._targetInstanceName].selected = selected;
this._parent[this._targetInstanceName].tempURL = selected.tempURL;
this._parent[this._targetInstanceName].getHTML = function ()
{
return (getHTML());
};
this._parent[this._targetInstanceName].setHTML = function (str)
{
setHTML(str);
};
this._parent[this._targetInstanceName].setURL = function (obj, arrP)
{
selected.setURL(obj, arrP);
};
this._parent[this._targetInstanceName].killURL = function (arrP)
{
selected.killURL(arrP);
};
this.hideURLFields();
this.slider._visible = false;
var boole = ["bold", "italic", "underline", "bullet"];
for (var i in boole)
{
this[butMCs[boole[i]]].chn = boole[i];
this[butMCs[boole[i]]].onRelease = function ()
{
var temp = {};
this.value = !this.value;
temp[this.chn] = this.value;
selected.setFormat(temp);
};
this[butMCs[boole[i]]].onChange = function (q)
{
this.value = q;
if (!q)
{
this.inside.gotoAndStop(1);
}
else
{
this.inside.gotoAndStop(2);
} // end else if
};
} // end of for...in
var aligns = ["left", "center", "right"];
for (var k in this.butMCs.align)
{
this[butMCs.align[k]].value = aligns[k];
this[butMCs.align[k]].onRelease = function ()
{
selected.setFormat({align: this.value});
};
this[butMCs.align[k]].onChange = function (q)
{
if (q != this.value)
{
this.inside.gotoAndStop(1);
}
else
{
this.inside.gotoAndStop(2);
} // end else if
};
} // end of for...in
for (var i in this.butMCs.indent)
{
this[butMCs.indent[i]].i = Number(i);
this[butMCs.indent[i]].onRelease = function ()
{
selected.setFormat({indent: selected.format.indent + this.i * 2 - 1});
};
} // end of for...in
this[butMCs.leading].onPress = function ()
{
slider._visible = true;
slider.onTrackPressed();
};
slider.addChangeListener(this);
onSliderChanged = function (obj)
{
selected.setFormat({leading: obj.source.getValue()});
};
this[butMCs.url].onRelease = function ()
{
if (_currentframe == 1 && selected.selectionExists())
{
showURLFields();
Selection.setFocus(urlField);
selected.display.selectable = false;
} // end if
};
butOK.onRelease = function ()
{
if (urlField.text != "")
{
selected.setFormat({color: this.tl.urlColor, url: urlField.text, target: targetBox.getSelectedIndex()});
}
else
{
selected.killURL(this._parent.link);
} // end else if
hideURLFields();
selected.display.selectable = true;
delete this._parent.link;
};
this[butMCs.color].onColor = function ()
{
selected.setFormat({color: this.getValue()});
};
this[butMCs.color].onChange = function (q)
{
this.setValue(q);
};
var sizArr = [];
var i = 8;
while (i <= 72)
{
sizArr.push(i);
++i;
} // end while
sizes.setDataProvider(sizArr);
sizes.setChangeHandler("onSizeChange");
onSizeChange = function (comp)
{
selected.setFormat({size: comp.getValue()});
};

View Replies !    View Related
Please Help With Flash Text And Graphics Editor
Hello all I have this project I am working on that I need help with. Its a flash text and graphic editor that needs to be upgraded with a few new features.

I am trying to work on a few of them but also need help with a lot more especially when I need to give an update by Friday. Any help with do.

Please find attached a list of upgrages that need to be done. The most needed by Friday will be the ink description, Multiple Selection, Proportional Scaling, and Animate Text Adding/Changing modifications completed. Please help.
HTML Code:

Existing Editor Interface

Currently we have a Flash Text and Graphics Editor which provides basic editing and graphics selection capabilities. The purpose of this upgrade is to integrate additional functionality to the existing code. The existing interface is as follows:



Editor Upgrades

The following table outlines eleven speific functional additions that we would like to have completed:

11-2 Color Editor – Ink Description
Current colors are only designated by hex code. Add ink name so that it is easily identified. I.e. 990000 = Reflex Blue, 990000 = Burgundy, etc…
2Full Color Editor & 1-2 Color Editor – Foreign language characters
Foreign Language Capability, needs to support Unicode for Chinese, Korean, Japanese
3Full Color Editor & 1-2 Color Editor – Multiple Selection
Use Shift key + mouse click to select multiple items
4Full Color Editor & 1-2 Color Editor – Proportional Scaling
For enlarging or reducing object size, shift key + mouse will keep x & y at the same ratio.


5Full Color Editor & 1-2 Color Editor – Animate Text Adding, changing action
Change Insert Text Function
1.Require single click only to open text box for editing.
2.When inserting a new text line, by pushing the insert text button, a new text box will appear that says, “Click to Edit“ add animation and function similar to http://businesscards.clickprint.com.
6Full Color Editor & 1-2 Color Editor – Removing ‘Flip’ Button, Add tabs
To toggle from front to back, remove the button, and create tabs above the editable space, that are clearly marked, “Front” and “Back” so toggling between the two is clearer.
7Full Color Editor & 1-2 Color Editor – Canvas Orientation
Be able to allow the user to toggle between “vertical” and “horizontal” orientations for a business card or other product.
8Full Color Editor & 1-2 Color Editor – Tool Functions
Make tool function more user friendly. Create an arrow tool for selecting and moving objects.
9Full Color Editor & 1-2 Color Editor – Line tool
Make Line function more user friendly. Line orientation is locked to 45, 90 and 180. Eliminate drag & widen. Snap to grid. Double Line.
10Full Color Editor– Custom Colors & Metallics
Allow for customer defined color by hex code all available colors in pallet. Customer can enter number instead of searching through, but non-printable colors will be unavailable. Also add metallic colors
11Full Color Editor– Type & Object effects
Add effects: Emboss, Bevel, Outline, Shadow.

Thank You!

View Replies !    View Related
Help : Rich Text Editor In Flash
Hi I want to make an rich text editor where i can change font, font size and color.

Can anybody help me regarding this or any body have any releted links or file please send me

sorry for bad english

thanks

View Replies !    View Related
Flash Rich Text Editor
Does anynone know a good component / fla that I can find, for Rich Text Editor?
Oh it's for MX2004, but MX it's ok too.

Thx a million

View Replies !    View Related
Looking For A Text Editor Made In Flash.
Hi,

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.

Does anyone know if or where there is anything like this?

Thanks,

Steven.

View Replies !    View Related
Text File Editor For Flash
Hi there,

I am looking for a good way to update text files (html formatted) to be read in Flash. I managed to find a script a long time ago, but the website it came from is gone and apparently so is the author. The actual script works fine except it adds backslashes all over the place. That and it doesn't have a WYSIWYG editor. The scripts readme file says that it can be altered to read html but I wouldn't know where to start with that one. All I essentially need at this point is to have a PHP script either I or my clients can log into and change the content on their site. Whether that is just plain text or not at this point doesn't really matter.

If anyone would like to see the script I found, just ask.

I sure hope someone can help. I've posted about this before and didn't get anywhere...

Frankie B

View Replies !    View Related
Looking For A Text Editor Made In Flash.
Hi,

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.

Does anyone know if or where there is anything like this?

Thanks,

Steven.

View Replies !    View Related
Text File Editor For Flash
Hi there,

I am looking for a good way to update text files (html formatted) to be read in Flash. I managed to find a script a long time ago, but the website it came from is gone and apparently so is the author. The actual script works fine except it adds backslashes all over the place. That and it doesn't have a WYSIWYG editor. The scripts readme file says that it can be altered to read html but I wouldn't know where to start with that one. All I essentially need at this point is to have a PHP script either I or my clients can log into and change the content on their site. Whether that is just plain text or not at this point doesn't really matter.

If anyone would like to see the script I found, just ask.

I sure hope someone can help. I've posted about this before and didn't get anywhere...

Frankie B

View Replies !    View Related
Flash Based Text Editor
Can anyone help me on this? Here's my problem: I've been meaning to try and create a Browse button feature built into a Flash based text editor. For example, if I wanted to edit a certain text file, I'd like to upload it by browsing for the file on my hard drive and loading it to a text box so I can edit the text file within Flash. For now I am substituting this Browse feature by using stupid preset buttons which simply loads text files. For example this is what I have so far:

http://inarms.net/test/

See, how simple and less dynamic it looks. I'd like to be able to add a Browse button where I can just look for the file on my hard drive, or browse for it on my server, load edit it in the Flash based text editor, then save it to my server.
Here are the files if you care to look at it:

http://inarms.net/test/texteditor.rar

I would be forever in you debt if anyone is able to help me out here.

View Replies !    View Related
Looking For A Text Editor Made In Flash.
Hi,

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.

Does anyone know if or where there is anything like this?

Thanks,

Steven.

View Replies !    View Related
What HTML Editor Do You Use To Format Your Flash Text?
I kinda asked this before and it was suggested that I use notepad for formatting my HTML before loading it into Flash MX.

I'd like to use an editor that I can preview the formatting with before I export it as a .txt file for Flash.

Can anyone suggest anything?

thanks,
David

View Replies !    View Related
24-7 Flash Real Time Text Editor
Anyone here have a similar flash text editor that can do what this one does? http://www.24-7media.de/CMS/

I'm intersted in purchasing it, but the price is pretty high. A cost effective alternative would be great. Any help would be much appreciated.

View Replies !    View Related
24-7 Flash Real Time Text Editor
Anyone here have a similar flash text editor that can do what this one does? http://www.24-7media.de/CMS/

I'm intersted in purchasing it, but the price is pretty high. A cost effective alternative would be great. Any help would be much appreciated

View Replies !    View Related
Looking For A Flash Based Rich Text Editor
Does anyone know of a good Rich Text Editor that is done in flash. Preferrably it would be component, or class based.

The best thing I have found so far is this:
http://www.joshdura.com/archives/000163.php

Anything else out there?

Thanks!
Adam

View Replies !    View Related
Flash XHTML Rich Text Editor
Hi all, I have just about finished writing my RTE (didn't like the ones already out there) and I've come across a snag. If people type too fast (which we all do - lol) the caret position gets moved forward before the previous text insertion has finished. Does anyone have a routine on file to capture keys (if(Key,isDown()) and store them in an array so I can action them in order??
Any help greatly appreciated :-)

View Replies !    View Related
Looking For A Flash Based Rich Text Editor
Does anyone know of a good Rich Text Editor that is done in flash. Preferrably it would be component, or class based.

The best thing I have found so far is this:
http://www.joshdura.com/archives/000163.php

Anything else out there?

Thanks!
Adam

View Replies !    View Related
Import Flex Rich Text Editor Into Flash
I have an old project that was using the FTELight component for text editing. I have been updating the code to AS3 but ran into a snag because the component will only run under AS2. I thought maybe I could create a small Flex movie with just a rich text editor and import that swf into Flash. I have been trying to get this working for a little while now and I am not making any progress on my own. I have seen a several posts around the internet suggesting that this is possible, but I have not been able to find any code/insturctions on how to do it.

View Replies !    View Related
WYSIWYG Text Editor I Flash With Image Upload
Hi Guys.
My first post here at the AS.org. -> been following along for some time.

I working on a WYSIWYG TextEditor i Flash, and it's more as an religiues state of mind that it has to be done in Flash. It's for our Danish Flash User Group, so "must be Flash"

Well I have worked out the TextEditor class okay, and it works as it should, with the basci functionalities, but I'm now trying to add "image upload" on the fly, so that one should be able to upload an image in the "blog editor" and the image will load right away. Kind of like the www.flashtexteditor.com thing.
BUT I have NO control of the images what so ever. What I would like is when an image loads up into the editor, the "I" -courser is set under the image. I have tried all kinds of things and ends up with text alon the side of the image, text under the image and alle kind of crazy things.
I have sat the hspace to 0 and the image width to the same as the input field to make sure that text should not be able to "get along" with the image

Right now i'm trying to work aroud text being able to get placed alon the side of the image, and to create a loader, by loader in a swf file, who using MovieClipLoader loads the image in.

But still i have to calculate "how big is this image" and then add like "<br />" tags according to the calculatet hight to get the "I" courser under the image, and ready for typing.

Is this just an imposible task, and should I surrender and get hold of html Editor to our blog system?

I know there isn't much "code" to take a look at, and that i might be very confusing as my english isn't to good, but I hope some one has an idea or suggestion of what could og should be tryied.


Code:
//---------------------------------------------------------------------------------------------------------------
//UPLOAD IMAGE FUNCTIONS: GIF PNG JPG
//---------------------------------------------------------------------------------------------------------------
private function uploadImage():Void
{
_editorText.htmlText += '<p><img width="'+Math.ceil(_editorText._width)+'" hspace="0" vspace="0" height="100" src="textImageLoader.swf"></p>';
_editorText.htmlText +='<p>This is a new line</p>';
setTextFocus(_editorText)

}
This is what happens right now when you push the "UPLOAD IMAGE" button.
As you can see the image is set to the width of the textField, and therefor the "This is a new line" should appear UNDER the image... but dosn't

you can see the editor her http://www.dfug.dk/blog/opretBlog.html

Best Regards
Asger
From Denmark

View Replies !    View Related
Can I Make Text Editor Just Like Microsoft Word With Flash?
Can I make text Editor just like microsoft word with flash?
can i make swf with font color, bbold, Italic, font size , Align Center ... etc

that allows anyone opens this swf to write anything he/she wants and change the font or the color of certain word.

please help out

View Replies !    View Related
Convert Flash Mx Textarea Into Rich Text Editor
Hi!

We're currently developing a reservation system using CFMX/Flash MX 2004 Pro/Actionscript, and we'd be glad if you could please help us.
Actually we'd be grateful if you could please explain to us how we can (if possible) add more features to a textarea component in Flash MX 2004 Pro (e.g. Bold, Italics, Underline, Bullets and Numbering, etc...)

Thanking you in advance for you usual co-operation.

Regards,
Yogesh Mahadnac

View Replies !    View Related
Convert Flash Mx Textarea Into Rich Text Editor
Hi!

We're currently developing a reservation system using CFMX/Flash MX 2004 Pro/Actionscript, and we'd be glad if you could please help us.
Actually we'd be grateful if you could please explain to us how we can (if possible) add more features to a textarea component in Flash MX 2004 Pro (e.g. Bold, Italics, Underline, Bullets and Numbering, etc...)

Thanking you in advance for you usual co-operation.

Regards,
Yogesh Mahadnac

View Replies !    View Related
The Possibility Of A Live Flash Based Text Editor
hi gang

i worked a few days on a flash based cms that reffers to a mySql database.
as i didn't want to re-invent hot water , i still wrote basiclly everything from scratch according to my best way of working.

done with the acutal content management i am ready i guess for the next big part.

"fancy things up", i am looking for a solid way to encrypt text like a text-editor, searching info stumbled me upon a few components, but i want to build one myself.

and it actually works okay... after processing
fe. when the textfield contains "www.*" or "http://" it's reformats the code to a "nice name" based on the urlsname fe. "check www.nitras.be" becomes "check nitras"

but as i wrote i only managed to do so after i press the submit button
a) i build a validation set to force my users to submit a valid url path
b) i automaticly convert it.
c) i both validate & convert on the spot <- fav option.
so my next challenge is to do it "live"

something like the editor right here, when you reply.
you can put in an url, that var is added to the last word (with a white space) in your textfield fe.
if i try it, the previous text is replaced by the urlvariablename

does one have experience with that?

it seems to be more difficult then my previous experiment :
people dash in an url and they press "spacebar" the text automaticly switches. cause by a fairly simple if statement. this works very well.

i can't give out any code for now, but i am willing to collab on this with trustable people since this is a professional work for various instances.

View Replies !    View Related
Stuck On Designing A Rich Text Editor In Flash
Hello all

I am trying to make a simple rich text editor in flash. I have a couple questions:

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?

-CSS StyleSheet
-TextFormat Object with the built in TextFormat paramaters
-Simple HTML and the htmlText property of the TextField object.

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)

I am currently trying the second option (TextFormat Object), but I am open to any suggestions.

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.

All help is appreciated. Thanks in advance.

-thesilenthare

View Replies !    View Related
Convert Flash Mx Textarea Into Rich Text Editor
Hi!

We're currently developing a reservation system using CFMX/Flash MX 2004 Pro/Actionscript, and we'd be glad if you could please help us.
Actually we'd be grateful if you could please explain to us how we can (if possible) add more features to a textarea component in Flash MX 2004 Pro (e.g. Bold, Italics, Underline, Bullets and Numbering, etc...)

Thanking you in advance for you usual co-operation.

Regards,
Yogesh Mahadnac

View Replies !    View Related
Flash Ecard Builder (flash Text Editor)
hi, i'm trying to make a sort of flash ecard builder - users could build their own ecard (add text, upload picture and draw basic shapes) through a flash movie.


I'm fine about uploading / importing the picture, sending the card with php but not with the main issue :

User must be able to add textfield that he can drag and drop.
He can add textfields as much as he wants.
He can set bold or italic to any selected text.
He can change color (rgb value) and change font of any textfield.
He can resize the textfields.
He can align textfields with each other or with a picture.

That's a lot !

in fact it's a sort of Wysiwyg flash text editor...

So 1st, I dont know how to add input textfields that can be moved (because the user must be able to select the text as well as he must be able to drag and drop it).
Do I need to dynamically create movie clips with textfield in it ?
If yes, how can I make a button that create that kind of movieclip ?

thanx !

View Replies !    View Related
Any Advice On Good Rich Text Editor Components, Pref Flash 9
I'm looking for a component to allow wysiwyg rich text editing in flash -- most of the ones I've googled
appear to be either old and/or buggy... anyone have knowledge or experience with a good one?

View Replies !    View Related
Can A Browser-agnostic Rich Text WYSIWYG Editor Be Developed With Flash
Hello.

I need a rich text editor that will work on any machine, and OS and any browser. Flash seems like the ideal way to accomplish this. I have looked at a few commercial Flash products including DevEdit only to discover that they only work with MSIE 5.5+ for Windows!

see http://www.devedit.com/support/inde...tId=66&catId=14

The reason given is that "special technology called MSHTML is required" and "MSHTML technology is only found in the PC version of IE5.5+"

My question is this: Could a browser agnostic Flash editor be developed? Before I go looking to hire a programmer I would like to know if I am wasting my time. Would it be reasonably possible to develop a browser-agnostic feature-rich WYSIWYG editor in Flash?

Thanks for any help!

View Replies !    View Related
Page 2 - Can A Browser-agnostic Rich Text WYSIWYG Editor Be Developed With Flash
Quote: Originally Posted by rynoe Then you and people like you stop PMing me for help! Including curagu, I give away only so much for free!
I have a hard time believing anyone has PM'ed you for help. I only PM'ed you once and that was tell your attitude isn't the greatest. You really should lighten up.

View Replies !    View Related
Show Text Created In Javascript Text Editor And Saved In Xml File
Hi all

I am currently investigating how to show text in flash that is created using a javascript text editor in a CMS. The text is imported from an XML file and you can see an example of the data below.

My problem is that the current version of the text display component I've created for flash has no room for "weird" symbols. This means that a lot of characters are not displayed and somtimes only half the content is displayed.
Preferably, the component should be as good at showing html content as if ws displayed on a normal html webpage.

I also want to be able to load images into the text component. They should be specified in the XML code as simple <img> tags.

Do you have a good idea of a solution or do you know a super solution already made? Preferably a solution that can be used for commercial purposes.


Here is an example of content that should be imported into flash:
<data>
<paragraph id="paragraph1">
<heading><![CDATA[test]]></heading>
<image></image>
<imagedescription><![CDATA[]]></imagedescription>
<body><![CDATA[<h1><font size="3">…Tekstmodul </font></h1>
<p>
<font size="3">Vinens udseende</font>
</p>
<p>
<font size="3">&nbsp;</font>
</p>
<p>
<font size="3">Vinens udseende har stor betydning for, hvilke forventninger vi har til vinen, allerede inden vi dufter til eller smager på vinen. </font>
</p>
<p>
<font size="3">&nbsp;</font>
</p>
<h2>
<u>
<font size="3">Iagttag vinen</font>
</u>
</h2>
<p>
<font size="3">Det er lettest at iagttage vinens farve, når man holder glasset på</font>
</p>
<p>
<font size="3">sdfdsfs</font>
</p>
<ol>
<li>
<div>
<font size="3">dsfdsfdsfs</font>
</div>
</li>
<li>
<div>
<font size="3">sdfdsfs</font>
</div>
</li>
<li>
<div>
<font size="3">dsfds</font>
</div>
</li>
</ol>
<p>
<font size="3">s…</font>
</p>
<p>sdfdsfds&nbsp;</p>
<p>dfsxcvxcvxc</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>asdsa</p><p>&nbsp;</p>]]></body>
<file internal="false">
<linkname></linkname>
<resource></resource>
</file>
</paragraph>
</data>

View Replies !    View Related
Flash "Text Editor" Problem
I am trying to create a text editor where you can type text, select some and bold it or change color...etc. Anyway, I got that working great, however changes made using setTextFormat are not recognized. You see the changes visually but the variable does not show them at all. Now, if you decide to type again after you have made a few changes... bold text, change color, etc... all of a sudden the variable recognizes the changes. The problem is, if the variable doesn't recognize the changes made by the user, when saves to a .txt file using ASP, the changes arn't there. The user see the changes dynamically, but the variable does not.

I need to somehow tell the variable about the changes. I don't want to have to post a little memo saying "To make sure that your changes will save, please click anywhere in the textbox and hit space bar." It's like when changes are made by script the information doesn't transfer over to the variable, but when you click on the textbox all of a sudden it transfers the info fine.

View Replies !    View Related
::help::text:editor::
hello ,
I have a text editor component and a dynamic text field on my main timeline. What i can't figure out is when i type in the text editor i want it to display in real time on the dynamic text fied. doe s anyone know what action script could be used for this?thanks.

View Replies !    View Related
Text Editor 2.0
Just wanted to let everyone know that I have updated my Text Editor, to version 2.0. New features include...

Save
Load
Delete
setSize Method
span classes instead of font classes (for true HTML output)
Color Picker
Fixed Font Sorting

You can find it here.

View Replies !    View Related
Text Editor
I know this has been asked about before, but I couldn't find it on the site...

Let's say you have an input text box and you want a user to be able to select part of their input, click a button and have that part of the text bold. Is there a way to do this?

The eventual goal would be the ability to fully customize the text with colors, links, bold, italic, etc, but if someone could get me started with bold, that would be great.

View Replies !    View Related
Text Editor
does anyone know hwo to create a text editor which allows a user tochange the size style and allignment....please help anyturoial or source files out there

j

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved