Dynamic Text Editor
I am making a dynamic text editor.
Some of the fonts do not embed well? I have imported the
fonts, put a linkage name, assigned data to the label.
Some of the fonts change, but not on the server?
I am using the setTextFormat?
Does anyone have any ideas? It would be greatly appreciated,
Emma
Hello I am wondering if you can help me. I am sorry I have no
answer for your problem.
I am looking to also create a custom text editor in flash but
I have no idea on how to do that. Would you happen to have a
tutorial or can direct me to one on the web that I can learn how to
create such a thing?
I am looking for tutorials on this subject for both AS2 AND
AS3 based text editor creation.
Thank you.
Similar Messages
-
Using dynamic text in Flash Builder
Hi,
I'm trying to get some dynamic text to my web page. The text is readed from .txt file
I use AS script which i was using in a project I made with Flash Pro and now i try to implement it in Flash Builder project
The script look like this:
var req:URLRequest = new URLRequest("design_1.txt");
var loader:URLLoader = new URLLoader();
function textLoaded(event:Event):void
design.text = loader.data;
loader.addEventListener(Event.COMPLETE, textLoaded);
loader.load(req);
So first I made a project with Flash Catalyst and in there I created an area text element. Then I imported the project to Flash Builder and put the AS script in the <Script> section and gave the <RichText> an id="design". The text is just simple text and formatting happens in richtext element.
So, when i try to compile the FB project it give me and parse error "undefined property error req", "undefined property error loader" etc.
So should i alter the AS script for FB or is there something else wrong? I tried to google how to use dynamic text in FB but couldn't find any easytyutorials. I'm mostly a desginer so coding isn't my speciality. But thanks for help!Hi Amy,
You can customize 'New class' generation under Preferences->Editors->Flash
Builder->FileTemplates->Action Script->New ActionScript class.
Currently there are no template variables available constructors. But you
can customize it as following,
$
${import_declaration}
$ {
public function ${class_name}() { -
Using a rich text editor to style a Flash text field
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:
.ul {
text-decoration: underline;
display: inline;
then everything would be fine. But it doesn't and I can't change it.
I am currently using a rich text editor that I access as follows:
var myEditor1 = new YAHOO.widget.SimpleEditor('editText', {
height: '600px',
width: '700px',
dompath: true, //Turns on the bar at the bottom
handleSubmit: true
The editor above is "applied" to a textarea within an html form. Then the text is saved to a text field with the embeded styles.
Any ideas on how I handle this so the user doesn't have to insert css rules by hand?
thanks muchDoes anyone know of a richtext editor that uses just html tags (not css like <span style="text-decoration: underline;">) or that uses css styling that Flash as3 can understand?
-
Flex 3.5 Rich Text Editor Bold Button is Selected by default?
Hi and thanks in advance,
I'm creating dynamic forms via action script in flex builder with SDK 3.5.
One part of this form is a rich text editor, it creates and works just fine, but I have one little annoying issue the bold button is defaulted to on (selected)
The funny think is, if I lose focus on the text area of the RTE and de-select the bold button, as soon as I set focus to the text area again the bold button is toggled back on. This leads me to think that the text area which is empty is some how bold.
if I show an alert Alert.show( String( _rte.boldButton.selected ) ) after the RTE as been added to the form is shows false.
Even if I set _rte.boldButton.selected = false just to be sure it still displays the bold button as selected.
Its a basic RTE the only thing I'm doing is adding a validator if its required and removing the link bar
_rte.toolbar.removeChild(_rte.linkTextInput);
Any ideas are very much appreciated
flash harry...Hi and thanks in advance,
I'm creating dynamic forms via action script in flex builder with SDK 3.5.
One part of this form is a rich text editor, it creates and works just fine, but I have one little annoying issue the bold button is defaulted to on (selected)
The funny think is, if I lose focus on the text area of the RTE and de-select the bold button, as soon as I set focus to the text area again the bold button is toggled back on. This leads me to think that the text area which is empty is some how bold.
if I show an alert Alert.show( String( _rte.boldButton.selected ) ) after the RTE as been added to the form is shows false.
Even if I set _rte.boldButton.selected = false just to be sure it still displays the bold button as selected.
Its a basic RTE the only thing I'm doing is adding a validator if its required and removing the link bar
_rte.toolbar.removeChild(_rte.linkTextInput);
Any ideas are very much appreciated
flash harry... -
I hav two dynamic text fields the give the apearance of
wrapping text around a photo. The text has been set tp load each
text field and appear to smoothly wrap and look like one continued
display. It work on the computer I am creating on...When loaded on
other computers either some of the content in the first field is
lost of the first field end sooner then is expected giving a choppy
look. I cannot use one field and set it up as html (That would be
to easy...clients never want easy).
Is there some way to assure that every computer displays the
text the same way???Hi,
If you have the texts in different internal tables you can use the statement EDITOR-CALL, calling the text dynamically.
EDITOR-CALL FOR internal table TITLE 'title'.
regards,
Fernando. -
Dynamic Text for data series ?
Hi, is posible setting dynamic text in data series when use dynamic value ?
We need show Actual Year value and Last Year value in Label for Series.
Thank you.This is not possible unless you have enhancement pack 1 for visual composer which I think is still in rampup...
Here is the enhancement noted in the article below.
Taken from blog:
Option to dynamically define element titles
For chart views, form views, table views, HTML views, nested iViews and popup iViews (popup signal), you can now define dynamic titles using the Expression Editor. A new (ellipsis) button to the right of the field in the Configure Element task panel displays the Title Editor dialog box, in which you enter either or define a custom expression.
/people/judy.kestecher/blog/2008/08/26/whats-new-in-visual-composer--enhancement-package-1-for-sap-netweaver-70 -
Display instantly the length of the text entered in the rich text editor
Hi everybody,
I'm developing an apex application with apex 4.1.1 and Oracle 11.2.
I have a page in which I have a form that allows to create a new message on the database.
A message has a title, description, text and date.
For the text I use the item "rich editor text". The problem is that item doesn't show the length of characters entered (character counter for the textarea). In the database the corresponding column is varchar2(2000). What I do is a validation after submit that checks if the limit 2000 was exceeded or not.
But what I want to do more is to display instantly the length of the text entered in the editor. I have tried to do that through a dynamic action. But the event "onChange" for the item "rich text editor" didn't work.
Has anyone any idea about that issue?
Thanks for helping.
Kind regards,
Edited by: Khadija Khalfallah on Apr 25, 2013 4:06 AMsorry about that, I missed that tidbit in your OP... well I think there is a good reason why there isn't a count character option -- due to the hidden "html" characters responsible for the "richness" (bold/color, etc) applied to the text would be difficult to count true characters.. if I was bent on doing this, I'd continue using the item you are using, but have a HIDDEN text area that is updated via javascript onkeyup for each keystroke (again, keeping in mind you'd have to filter certain keys) and then that intelligence could be used. I would probably dig through the javascript responsible for the rich text editor (is it still fckeditor??) -- there might already be code in there that isn't clearly visible to you that does this already.. alas, I see now the validity of your challenge.
-
Font dropdown to change dynamic text box?
Hello, pretty new to Flex... well very! First Day! The MXML
seems pretty simple enough but having some trouble i guess on the
actionscript side! I want to create a very cut down version of a
text editor. Very cut down! 2 textboxes one input the other
dynamic... type some text in one it outputs to the other. Easy! but
now i want to add a drop down with embeded fonts... ive embeded my
fonts and there working fine. But i want to apply each font style
to my options in the drop down (bit like the system fonts drop down
examples you see) im making my combobox from an ArrayCollection
with aload of Strings. i also want a function to change the font
type on my dynamic textbox from a dropdown option click="" if that
makes sense. Bit confused think i might b looking into it to
deeply. Its just simple for a customized car license plate
builder... i want them to have the ability to enter there
registration and change the font and color etc. Can anyone point me
or show me something im a bit flexed out... sure im being silly
about this!
RegardsCheck out your Text Frame Options - select the frame and go to Object>Text Frame Options
Then go to the Baseline Tab
Then check out the First Baseline Option - and turn on the preview to view your changes.
That will give you the option to have X height, Cap Height, accent etc.
If you want to get right out the edge of a frame on the left side then check out the Window>Types and Tables>Story and turn on optical alignment, that will allow punctuation to hang out side the text frame, not only that but the arms of "T" and letters like that will also extend past the frame edge, with a negative value. -
How to extend Rich Text Editor in Portal 10.1.4
Is there a note that explains how to extend the InsertImage feature of the rich text editor in portal 10.1.4.
It was very straightforward in 10.1.2, but the RTE has changed with 10.1.4 and I didn't find an updated version of the following technical note: http://www.oracle.com/technology/products/ias/portal/pdf/cm_rte_10gr2_features.pdf
Than'ksHi Raphael,
In fact my goal is to extend WebWord Editor and not replacing it. For example I want to add a new Image Picker in WebWord, what I had done in 10.1.2, allowing a user to select an image file from a Portal Page. It was as simple as replacing an url reference in BuildUIEmbed.html (by default pointing to a static image picker page).
It seems not so simple in WebWord, as the URL of the image picker in BuildUIEmbed.html is replaced by a "RAW HTML static source" in the javascript "popup.js" (see InsertImage() function)
I'd like to replace this raw HTML by an url pointing to a dynamic page browsing my images. I allready have done this dynamic page but I'm not a javascript expert. If you have any ideas ...
Than'ks anyway. -
Hi,
I have been using text editor control.
In this when we click load file button...an open prompt window appears..
there we will be finding Files of type... dropdown..containing values like text(.txt) file and All file types..
Is there any way to restrict this dropdown to single value..i mean to .txt file..should only be viewed omitting
All files option in dropdown..
i am using CL_GUI_TEXTEDIT..control...
Is there any option to do it...
Please Help me out.
Thanks & Regards,
Sandy.Hi Sandy,
I don't think there is any method for this. As the dialog box opened is depending on your OS.
But, you can cross check the uploaded file for " .txt " using CP (contains pattern) function of string.
DATA: xl type string.
xl = '*.txt'.
IF not P_FILE CP xl. "P_FILE is name of file you will get.
"Error"
ENDIF.
Sachin -
Options -> Text Editor -> C/C++ missing intellisense entry. Intellisense not working. Solutions to turn options for the editor off and on are not working. The intellisense entry is present for other languages,
such as C#, but not C/C++.
By not working, I mean the intellisense right click menu items are grayed out, and intellisense files are not produced.Hi JerroldBrody,
Thank you for posting in MSDN forum.
>>I mean the intellisense right click menu items are grayed out, and intellisense files are not produced.
Based on your issue, could you please share me a screen shot about the intellisense right click menu items are grayed out?
Generally, I know that it is default that we can enable the intellisense for C/C++ by going to the TOOLS->Options -> Text Editor -> C/C++ ->Advanced-> IntelliSense like the following screen shot.
So please try to check if you set Disable Intellisense property as False in the VS IDE.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
We have portal release 2 running on HP-UX.
In release 2 there is a new text editor for publishing text. Its used for simple text and text item types.
How is this feature implemented? Is the source code available?
Feedback appreciated.Hi,
It is called Rich Text editing. A search on google with the keywords rich text edit
will give you links to quite a few sites, where the source is available. It uses
a combination of DHTML and JavaScript.
We have portal release 2 running on HP-UX.
In release 2 there is a new text editor for publishing text. Its used for simple text and text item types.
How is this feature implemented? Is the source code available?
Feedback appreciated. -
Displaying the result of a calculation in a dynamic text box
Hi folks,
I'm having a very minor issue here (operator error, I'm sure ). With the help of some folks here, I've created a series of calculations, and I've got that part down. Now, I just need it to show up in the movie.
I've created the dynamic text box in Flash (CS3), but when I hit test, it won't show up.
After all the calculations, I should have a figure that I call totalmoney. My dynamic text box is called total. The user doesn't need to hit anything for it to appear. It just appears as part of the movie.
Here's my code:
stop();
var startDate:Date = new Date(2010,0,12); // use your startyear, startmonth, startdate in the new Date() parameters.
var currentDate:Date = new Date(); // assuming user's clock is correct and in your timezone. else use server date/time.
var numberOfSeconds:Number = (currentDate.getTime()-startDate.getTime())/1000;
var interest:Number = (numberOfSeconds*0.74356);
var totalmoney:Number = (interest+15,000,000);
function displaytotal(evt:TextEvent):void {
total.text = "totalmoney";
Any thoughts?
Thanks!
NapoYou didn't have to bury any of the calculations in the function--leaving it as you had it is better. They could remain where they a=werew, and you'll probably find you want them outside it if you have other plans for using them. If left inside, they only have scope inside. In the programming world, it's good to think of functions as things that do one thing and one thing only (though it isn't often practiced that way)--it's called modular design.
When you place an event as an argument for a function, it typically means that there is an event listener that initiates the call to the function. If you work with buttons you'll see what I mean. But if the plan is to create your own call to a function when you desire it as such, not have it driven by an event listener, then you don't need to pass any event to it, though you may pass some other type of variable to it if need be.
For instance, what you have now will call the function without an argument because the function has the value built into its code....
displaytotal();
But you could also make the function a little more generic and set it up to recieve the value instead as an argument...
function displaytotal(amt:Number):void {
total.text = String(amt); // an earlier error of mine
displaytotal(totalmoney);
That would make your function a little more useful. Now it could be used to display other Number variables as well.
// my earlier error was that a textfield displays text, so you need to convert the Number value to s String.
Hope I'm not confusing you. -
Rich text editor (apex 4.0)
using blue gray theme and a page with a rich text editor. Expanding the rich text options displays the text body p below the text area that persists even if you close the rich text options. Anybody know how to get rid of that behavior?
I think your mixing 2 technologies.
At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
So my advice: use jasperreports (also it is free for commercial usage)
Success
Br,
Nico -
Text editor in Score module agonizingly clunky! Fix?
When creating scores from midi regions, the text editor drives me nuts when adding lyrics: The word/character positioning is different between text edit/create mode and what appears on the screen after editing, and different again between that and what appears in print preview mode or actual print-out. This is absolutely crazy-making when trying to line words/syllables up with their corresponding notations!
Also the cut & paste functions don't work as in any other text editor I've seen.
Also-also I can't get it to accept a new default font and size.
Suggestions? Dr. Kevorkian's phone number?
Thanks!Hi,
it looks like you have some problem with RFC. It stopped on the following line:
* Communication error in RFC-Call
message x628(ke) with 'RFC_ERROR' subrc msg_text.
Ask your basis guy to check it. The job on application server tried to connect to the central instance and it failed. The job run on central instance does not need to make any RFC call. Hence there is no problem in this case.
Regards
Maybe you are looking for
-
I uploaded all my (128kbps) music from my computer's iTunes to iCloud - Then I made an appointment at the Genius bar - They assured me that all the music I stored on iCloud is now 256 kbps !!! - Ergo, they all nodded, I can replace all the (old) 128
-
10.5.8.boot drive does no longer boots onto 10.3.9 PPC mini
I boot my workplace Mac Mini from an external drive. I have been booting 10.5.1 successfully for a long time. Now I have updated to 10.5.8 and the drive usually does not boot (it did once in many attempts). After the Apple logo appears, but before th
-
Hi, I am doing an interface (Flat file to Flat file) The input file fields are separated by delimiter @!.Which will have multiple records like LEVEL1,LEVEL2,LEVEL3 Input Flat file Level1@!PoNo@!ShortText@!StDate@!EndDt@!Vendor@!Status Level2@!PoNo@!L
-
I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside. I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file. Is
-
Error in table parameter (file to rfc)
hi, i debugged file to rfc(bapi wrapper) sceneario and i did not find data in table parameter. data is perfect in import parameter. plz help me. vijender