cool Gerome!!!
can you make the options work on an empty field?
like in office word
i wonder if there is away to do that
cool Gerome!!!
can you make the options work on an empty field?
like in office word
i wonder if there is away to do that
I'm a looser baby so why don't you kill me? LOL - I'm only the second best now, what a shame. ;)
Should post less and code more. ;)
Fredi
WOW! it's awesome! i've been working on mine since monday & it does everything right except...
when i select some text and say, make it bold, then when i go to select different text the first time i hit the bold button - it won't bold the text, i have to hit it twice.
what am i missing?
wow, subway... im very impressed with yours... the layout is awesome... you said you used html formatting? and not textfeild formatting? very nice... i should look into this. and gerome kudos to you too. i like them both very much... in fact im jelous and may have to make one just to see if i can = ) haha. i agree with the post earlier about writing a text editor to compete with ms word... i despise them... yet we're all (for the most part) 'forced' into using them. well in any case if you guys wanna team up and pull a linux for the word processing industry.. count me in.. hahaha. keep up the good work.
Ahhh ok, I was really not working on the layout of it. (That was just a draw, to have the things on screen to work with, not really Subway style) ;)Quote:
Originally posted by trikenit
wow, subway... im very impressed with yours... the layout is awesome...
Fredi
haha... well... none the less i really like the layout.. ESPECIALLY the bottom section where it tells you row collum etc... and the 'text selected thing' thats awesome.. cause its like even if you still have your mouse button down and your highlighting it adds to that feild.. very nice touch
Row? Hmmm? But that would be really nice if I can come up with that one. Now it shows only the startpos ond endpos of the selection and the selected text.Quote:
Originally posted by trikenit
haha... well... none the less i really like the layout.. ESPECIALLY the bottom section where it tells you row collum etc...
Fredi
So did you saved the Formatting in temp-Arrays for every position or per xml-parsing or...?Quote:
Originally posted by lysallyn
WOW! it's awesome! i've been working on mine since monday & it does everything right except...
when i select some text and say, make it bold, then when i go to select different text the first time i hit the bold button - it won't bold the text, i have to hit it twice.
what am i missing?
no... ugh.Quote:
[B}So did you saved the Formatting in temp-Arrays for every position or per xml-parsing or...? [/B]
basically i have get focus, vars for begin & endIndex - which works great for selecting just part of my text and formatting it. any suggestions?
I'm the dump one that used an array. ;) (why go the easy way when you can go the hard way?)Quote:
Originally posted by lysallyn
no... ugh.Quote:
[B}So did you saved the Formatting in temp-Arrays for every position or per xml-parsing or...?
basically i have get focus, vars for begin & endIndex - which works great for selecting just part of my text and formatting it. any suggestions? [/B]
No more MX till monday for me, going to jump out of an airplane.
Fredi
wo0t!! Have fun and don't end up *in* the subway, k? ;p
not really, if you send me the code, I would look at it, otherway I just could tell you about the probs I had with that in Flash5.Quote:
no... ugh.
basically i have get focus, vars for begin & endIndex - which works great for selecting just part of my text and formatting it. any suggestions?
greetz
Daniel
did somebody knows a workaround for the following?:
[after pressing a button the text-selection should stay visible]
this.mc_txt.mytext.onKillFocus = function () {
myFocus = false;
// doesnt works 'cause'myFocus' will always be true:
Selection.setFocus("mc_txt.mytext");
Selection.setSelection(sel_start,sel_end);
};
this.mc_txt.mytext.onSetFocus = function () {
//see above...
myFocus = true;
};
this.onEnterFrame = function() {
if (myFocus){
sel_start = Selection.getBeginIndex();
sel_end = Selection.getEndIndex();
cursor = Selection.getCaretIndex()
selected = substring(this["mytext" + currentLine].text, selStart, selEnd - selStart);
}
}
greetz
Daniel
ok, it has to be:
this.mc_txt.mytext.onKillFocus = function () {
myFocus = false;
};
this.mc_txt.mytext.onSetFocus = function () {
myFocus = true;
};
this.onEnterFrame = function() {
if (myFocus){
sel_start = Selection.getBeginIndex();
sel_end = Selection.getEndIndex();
cursor = Selection.getCaretIndex();
selected = substring(this.mc_txt.mytext, selStart, selEnd - selStart);
} else {
Selection.setFocus("mc_txt.mytext");
Selection.setSelection(sel_start,sel_end);
}
}
greetz
Daniel
I made a font formatter too...using combo boxes to pick font and size...
check it out at http://www.jonwiz.com/fontpick.html
that works great! but i still have the same problem -Quote:
Originally posted by speechy
ok, it has to be:
this.mc_txt.mytext.onKillFocus = function () {
myFocus = false;
greetz
Daniel
when i select some text to make it bold - after i make
it bold and then i click to align text in new position, it
applies the bold format to the whole sentence...
ugh.
lys
HOw did you get the font combo box to display the labels accurately according to the fonts installed on the users machine?Quote:
Originally posted by Gerome
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="426" HEIGHT="380" id="ModilTE10"><PARAM NAME=movie VALUE="http://www.modilo.fr/dinimages/ModilTE10.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF><param name=wmode value=transparent> <EMBED src="http://www.modilo.fr/dinimages/ModilTE10.swf" quality=high bgcolor=#FFFFFF WIDTH="426" HEIGHT="380" NAME="ModiloTeBeta01" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
[Edited by Gerome on 03-22-2002 at 09:33 AM]
TextField.getFontList();
Just call this TextField method. Gives you an array of all the fonts available to the player.
Nice..didn't see that method!
So how will I populate the combo box labels with the getFontList array?
::JONWIZ.com::
[Edited by jonwiz on 03-25-2002 at 09:57 PM]
nice signature ... jmw