TEXT - Drop Caps?
I want to create a drop cap (where the first letter of a paragraph is larger and bolder than the rest of the text) in a paragraph of justified text.
Is there a way that I can format the text box to wrap around another object (ie., my drop cap)??
Thanks in advance!
FlashKit > Flash Help > Flash MX
Posted on: 08-06-2002, 10:39 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
TEXT - Drop Caps?
I want to create a drop cap (where the first letter of a paragraph is larger and bolder than the rest of the text) in a paragraph of justified text.
Is there a way that I can format the text box to wrap around another object (ie., my drop cap)??
Thanks in advance!
Text Box Is Always All Caps?
Is there any way to make sure that the text displayed in a text box (dynamic and/or input) is always all caps? (Other than choosing a font that is all caps, of course) Thanks!!
All Caps Input Text?
Hi, I'd like to know if there's a way to make an input text field all caps. I'm making a guestbook, and, since I'm using a bitmapped font, I'd like to know if it's possible.
Basically, the user should type in something like "Hello" and it should come out "HELLO" in the input text field.
If you have any hint of how to do it, your help wold be greatly appreciated.
Thanks,
Lazarus
Making Text All CAPS
Where/How can I find a code that takes what you write in an input text box and makes its output with Caps only?
Thanks.
Make Text In All Caps
I made a calendar in flash its on www.boonebraves.ocps.net and when u hover over the date a description comes up and i want to know how i can make the text that comes up in the description in all caps
Forcing ALL CAPS In An Input Text Box
I'm creating a flash-based login prompt for user name and password and I want to force the user names to be all caps. Is there a simple way to get this accomplished?
Thanks,
James
Set All Caps?...
hi guys,
this is my first post on actionscript forum !
i want to know if there's something to "set all caps" one type of font in flash .
can i set one dynamic textfield all caps??? .
or an input textfield? ???
thanks in advance.
.:Morpheus:.
Thinking Caps On
http://www.flashkit.com/board/newthread.php?do=newthread&f=2#Here's a thought...
It's simple enough in MX to import external files dynamically into any flash document. I am currently developing a presentation template which draws eternal text and images into a framework I have designed. The idea is that once the template is done it will not need to be altered or opened to be changed - each time the external files are changed for the specific purpose of the presentation.
The template has 3 types of page;
text page
text & image page
image page
It would be good to to create a holding movie which draws in a specific number of each page type (with the amount of pages AND page order determined by the user.)
This would mean one external file for the user to specify:
Total Pages
Page order
Is this possible? Does it even make sense??!!?
I've attached a small jpg to illustrate the theory if it helps.
Caps And Lowercase
I need to compare the keys pressed on a key for key basis with a given word.
So I read the character code on each key press:
keyPressed = Key.getCode()
And I compare is with the word at the relevant index position:
this.wordSelect.charCodeAt(i)
The problem is, how do I check for caps and lowercase? The lowercase values are 32 too much, corresponding to other character codes. I don't want to convert everything to uppercase because I need to check for caps and lowercase.
And why is Key.getCode() for '-' = to 189 and for
myString.charCodeAt(i) it's 45?
P.
Var Getting Turned Into ALL CAPS
Has anyone encountered this before??:
I am using ColdFusion MX 6.0 and Flash MX 2004 and I am Flash Remoting a structure from a CFScript into Flash. What is happening is that all of my variables are getting turned into all caps, but the content is staying as it was typed. I have tried mixing the case (as in VaRiAbLeNaMe) and it still is being changed into all caps.
Does anyone know a workaround or has anyone heard anything about this? The people that I am making the files for are exceptionally hesitant to change the Flash file, but if needs be...
Any advice is welcome!
Thanks,
Dave
Caps Lock Question
Hey guys, for a school project I'm building an interactive kite simulator, and I'm using flash for the graphics and programming part.
Now what I need is a way to turn the caps-lock/num-lock/scroll-lock key on and of from within flash. I know this can't be done from actionscript directly, but can anybody help me out with a way to do this?
Thanks in advance
Switching Caps Lock On & Off
Hi,
Is it possible for flash v5 to turn on the caps lock button on the keyboard?
I have a flash button and when I click on it I want the caps lock to switch on and off. I need the voltage from the caps lock output to control an external source (long story).
Thanks for all your help.
Caps Lock Staus
Is there anyway to find the status of the caps lock in AS3.
if(flash.ui.Keyboard.CAPS_LOCK)
{
trace("CAPS ON");
}
else
{
trace("CAPS Off");
}
this does not work as flash.ui.Keyboard.CAPS_LOCK = 20 always
Caps Lock Display
hello everyone,
http://www.danao.org/caps_lock.jpg
i always get this display when i press caps lock, num lock or scroll lock. i've disabled all sticky keys and toggle keys in the keyboard settings in accessibility panel.
how do i disable it? its very annoying whenever i play fullscreen games. Thanks!
uten
btw, my keyboard is logitech. and i never installed its driver. maybe this info will help you to help me.
Hover Caps Advanced
hi, I'm just making my HP, and I wanted to have some hovercaptions , also on buttons. but when i add the actions for the HCs the button wont work.
i used the tutorial of kirupa, i think u all know it.
so could some one give me an advice or sth??
plz.
thx
Auto-Caps Script?
Hey guys, wondering id this is possible, currently out of my programming abilities so incase anyone else has a clue:
Looking to write some code that converts the first letter of each word in a input textbox string to Caps if not already. ie - input textbox = "lowercase input string", then on button press the function converts the input to output this: "Lowercase Input String".
Any ideas anyone, any help appreciated,
Mike
Gallery / Thumbs And Caps
Hello!
I am working on this flash gallery here with thumbs and caps http://www.kirupa.com/developer/mx20...otogallery.htm
But I got a problem, It´s not working when I put it inside a movie clip.
Maybe someone here has already gone through this....
Thanks a lot in advance.
Hover Caps Advanced
hi, I'm just making my HP, and I wanted to have some hovercaptions , also on buttons. but when i add the actions for the HCs the button wont work.
i used the tutorial of kirupa, i think u all know it.
so could some one give me an advice or sth??
plz.
thx
DrawArc + Square Line Caps
Hi, I am trying to make a preloader using draw arc but I cannot work out how to stop the end of the line from being square. I tryed this:
function arc() {
d_mc.clear();
d_mc.lineStyle(15,0x6688AA, 100, true, "normal", "square");
d_mc.moveTo(150,75);
d_mc.drawArc(150,75,50,arcVal,0);
}
I am probably being a complete idiot, so if you do know how to make this work, could you please explain what I did wrong? So that I understand it.
Changing Caps With Action Script
I currently have an input text field, The user can enter their text, i would like to change that text to either all upper case or lower case so that I can do a comparison to it. ex. the user must enter "HELLO" but if the user enters "hello" it will not accept that as the right answer, how can i either force the input as Capitals, or change the input to capitals when they submit???
Does Anyone Have Charlotte Sans Small Caps Please?
Hi all,
Thank you for reading this...
Does anyone have the font 'Charlotte Sans Small Caps'? I need it to make one title on a splash page for a client who specifically requested the font as it was used on his old site (made by another designer).
Thank you very much and I hope to hear from you.
Take care,
Mark
Caps First Letter Of Every Word And Lower Case The Rest
How would I upper case the first letter in a scentence and lower case the others. So that when im typing if i hit space then hit a new letter it is automatically caps. and the next is lower case till the next space?
(kinda like in guildwars their naming system).
Caps First Letter Of Every Word And Lower Case The Rest
How would I upper case the first letter in a scentence and lower case the others. So that when im typing if i hit space then hit a new letter it is automatically caps. and the next is lower case till the next space?
(kinda like in guildwars their naming system).
Drop In Text With Bounce?
Actionscript to add an elastic bounce to moving objects?
Wondering if anyone knows how to have text drop in and bounce like this example I found at http://www.designquest.com.hk/home_e.php Click on "OUR CLIENTS"
Any actionscript fragments would be appreciated!
Holding Drop Down Text
What I am trying to do is to some title text that pops out below/drops down from behind a black bar (at the top) once the user mouses over a button. Then, whilst the title text/header is still visible on the mouse over state, the user can then click on the button and a further drop down text box appears at the same time (both text boxes holding at the same time on mousedown). I have tried to put in stop actions, but the text keeps disappearing/flickering once the button changes different hit states.
I hope that makes sense to someone...?
Wei
Drop & Drag Text In MX ?
I have a scene involving 6 photos, and 6 descriptions on the bottom...
I want to make it so that the user can click and grab the individual text descriptions, and drag them and place them underneath the matching photos...I have seen it done before...
How can I do this...???
thanks,
D...
Drag And Drop Text
Can anyone point me in the direction of how to get input text, then create a new movie that contains that text. The new movie must then be draggable. I must also build a tool bar that would allow user to adjust the size, color and font of the new text. It would be even cooler if someone could explain how it is possible to dynamically arch or curve text. Thanks
Text Drop Shadow
Can anyone tell me how to create text drop shadows in Flash MX 2004 or a website that has a good tutorial for it? Thank you!
Text Drop Shadow
Hi guys, I just was wondering if I am able to make text drop down shadow in flash MX.
Text As Drop Targets?
What I'm doing: I am making a game to help kids understand how different parts of speech function in English. A sentence will be displayed, and the user must drag icons that represent parts of speech (i.e. verb, subject, direct object, etc.) from a word bank. They must drop all applicable parts of speech onto the correct words in the sentence.
And so I have a lot of sentences that I am writing in my actionscript (to make it easy to change them when needed). I am planning on putting the sentences into an array (lets call it 'sentenceArray' for now) then having Flash break each sentence down into seperate words, to be put in new arrays (each element of sentenceArray would have its own array which has each individual word within sentenceArray). Once I have broken all this down, however, my problems are: how will I be able to display these words on the stage so that they can function as drop targets, and how will each word know which drop target its supposed to be?
Any help, or different way of approaching this that anyone out there can think of would be much appreciated. Thanks in advance!
-Ange52
Drop Shadow For Text
hello my fellow americans who are flash happy and proficeint with flash.
how do i get a drop shadow behind text? should the drop shadow be put in before i break apart the text. gradient goes on the text.
thanx,
polie
Help With Drag And Drop Text
I am trying to create a series of text objects that I can drag and drop on the screen. I am trying to put text fields into a movieClip container since the Drag and Drop will not work on text fields. When I do this, Flash still sees the objects as text fields rather than movie clips, and I get the following error.
ReferenceError: Error #1069: Property startDrag not found on flash.text.TextField and there is no default value.
at chris_fla::MainTimeline/startDragging()
I am a beginner at this. What am I doing wrong? Thanks!
Russ
Attach Code
var sodaArray:Array = ["Coke", "Pepsi", "Sprite"];
var myFormat:TextFormat = new TextFormat();
myFormat.size = 16;
myFormat.font = "Arial Bold";
for (var i:int; i < sodaArray.length; i++) {
var container:Sprite = new MovieClip;
var soda:TextField = new TextField();
stage.addChild(container);
container.addChild(soda);
soda.text = sodaArray[i];
soda.setTextFormat(myFormat);
container.name=sodaArray[i];
container.y= 20*i;
DisplayObjectContainer(stage).addChild(container);
container.addEventListener(MouseEvent.MOUSE_DOWN,startDragging);
container.addEventListener(MouseEvent.MOUSE_UP,stopDragging);
}
function startDragging(event:MouseEvent):void {
event.target.startDrag();
}
function stopDragging(event:MouseEvent):void {
event.target.stopDrag();
}
Drop Down Text Effect
The best way of explaining the effect is to show it:
Go to the contact section and see the text drop down quickly.
http://www.milesaldridge.com/
The contact and about information here dropping down (Not the panel sliding in):
http://www.ronmacphoto.com
Can anyone tell me how to achieve this effect please.
Cheers!
Drop Down Text Effect
The best way of explaining the effect is to show it:
Go to the contact section and see the text drop down quickly.
http://www.milesaldridge.com/
The contact and about information here dropping down (Not the panel sliding in):
http://www.ronmacphoto.com
Can anyone tell me how to achieve this effect please.
Cheers!
Drop Down Menus From A Text File
Hi,
Can anyone tell me where I can find a tutorial that shows how to create a drop down menu with F5 that will allow me to add/edit/delete text links from it via a text file.
I would also like to create sub menus off it that open when scrolling over text buttons in the root menu that also need to be editable via a txt file.
I have already created something like this using DHTML and a .js file but have found that the menus cannot be read by search engines or text only readers.
Although the site is not a complete flash site I am thinking of incorporating some into the templates but am unsure whether this is the way to go for the main menus to the site as those who do not have flash won't be able to see a thing.
All thoughts and help on this issue greatly appreciated.
Cheers
Paul
ps: I have tried searching for it in the tutorial section of this site but can't find anything suitable.
Drag And Drop EDITABLE Text
Drag and Drop is no problem, done. Problem I'm running into is the EDITABLE text part. After the button is clicked a larger movie clip pops up, which your able to drag, etc.....
What would I have to do do to make this text in the movie clip EDITABLE?
I've tried Input Text, Dynamic Text all _sans so it's not a font issue.
Gurr.
SWF Drop Menu On Top Of HTML Text
Hi there.
I'm having a semi transparent SWF inside a HTML page on top of plan HTML text. The SWF is a drop menu that navigates between anchors on the HTML (but stayies still – its inside a layer above text).
What would be the Fscommand that make the text bellow run between anchors
Drop Down Menu With Rollover Text
Where can I find a tutorial about drop down menu buttons that the text have rollover colors and each text acts like it's own button within the button?
And also be a tutorial for Mac.
TIA
Drag N Drop N Dyanmic Text
HI dere
im nt sure how to clear the endComment(dynamic text) once the user place the item back to the shelf.Cn u please hlp me chck my codes and see where did i go wrong. thank u veri much.
ps: my swf file juz drag the battery.
Code:
/********************************
Battery
********************************/
stop();
var dropBool = false;//1st var i created
var waterBool = false;//2nd var i created
battery5_mc._visible = false;
battery2_mc.useHandCursor = false;
battery2_mc.onPress = function() {
this.startDrag(false);
this.onMouseMove = function() {
updateAfterEvent();
};
};
// handle release event
battery2_mc.onRelease = battery2_mc.onReleaseOutside=function () {
stopDrag();
this.onMouseMove = undefined;
if (this.hitTest(_root.dropTarget_mc)) {
this.gotoAndStop(2);
this._x = 92;
this._y = 190;
_root.answer3 = "17.99";
_root.answer1 = "17.99";//mass
_root.waterBattery_mc.gotoAndStop(1);
_root.error_mc.gotoAndStop(1);
dropBool = true;
} else if (this.hitTest(_root.waterTarget_mc)) {
this.gotoAndStop(2);
this._visible = false;
this._x = 92;
this._y = 190;
_root.answer2 = "7";//vol
_root.answer3 = "0";
_root.water_mc._visible = false;
_root.waterBattery_mc.gotoAndPlay(2);
_root.error_mc.gotoAndStop(1);
waterBool = true;
} else {
this._x = 88.5;
this._y = 31;
_root.answer3 = "0";
_root.answer1 = "";
_root.answer2 = "";
_root.endComment = "";
_root.water_mc._visible = true;
_root.waterBattery_mc.gotoAndStop(1);
_root.error_mc.gotoAndStop(1);
}
if (dropBool && waterBool) {
_root.endComment = "2.57";
}else if(dropBool && waterBool != true){
_root.endComment = "";
}
trace(dropBool);
trace(waterBool);
};
Drop Shadow & Text Problem
Hi
I have tried using the drop shadow on text that I have motion tweened. Problem is the movement is quite jerky. I have broken the text apart and put it into a MC adding the drop shadow to the MC rather than each bit of text. This seems to have improved it. Would actionscripted drop shadow improve the motion or not. If yes how do I achieve it.
Maybe someone got a better idea for me
TIA
How To Add Text To A Drag And Drop Object
Hi everyone, I am quite a beginner with Flash so do excuse me. First, I am not sure if what I want to achieve may actually be impossible with Flash. I presently use MX 2004, but will shortly be upgrading to CS3. But if you know the answer for MX 2004 that would be really useful for now.
I am writing a digital fiction story, and I want to create drag and drop objects. This I have managed to do. But I would like these drag and drop objects to also reveal text when they are actually pressed on. I have had no success so far in being able to achieve the two effects together.
Does anyone know how I can achieve this? If, by chance, you know the action script that would be great. If you can explain to me in simple terms how I can achieve this I really would be grateful.
Thanking you,
Mary
Drag And Drop Dynamic Text
my code:
hazard1.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
hazard1.addEventListener(MouseEvent.MOUSE_UP, dropIt);
function pickUp(event:MouseEvent):void {
event.target.startDrag(true);
}
function dropIt(event:MouseEvent):void {
event.target.stopDrag(true);
}
I receive error:
ReferenceError: Error #1069: Property stopDrag not found on flash.text.TextField and there is no default value.
at dragdrop_as3_complete_fla::MainTimeline/dropIt()
Im trying to drag a movie clip that contains a dynamic text field only. Is there something that I'm missing
|