Vertical Dynamic Text
Is it possible to create a dynamic text that can be controlled from a .txt file, and visualized in vertical mode ?
Thanks in advance...
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
2 Problems: 1. EmbedFonts Makes Text Disappear, 2. Dynamic Text Vertical Position
I have the following code:
--------------------------------------------------------------------------------
this.createTextField ("imageText",2,95,0,390,96);
imageText.multiline = true;
imageText.wordWrap = true;
imageText.autoSize = true;
//imageText.embedFonts = true;
imageText.html = true;
imageText.htmlText = text; // variable loaded earlier in script....
imageText.selectable = true;
imageTextFormat = new TextFormat();
imageTextFormat.color = 0xCA9E1D;
imageTextFormat.size = 16;
imageTextFormat.font = "Sabon RomanSC";
imageText.setTextFormat(imageTextFormat);
//imageText.embedFonts = true;
trace(imageText.text);
--------------------------------------------------------------------------------
The problem:
If I uncomment either of the imageText.embedFonts lines, my text will disappear... but the trace(imageText.text); will still return the correct contents. It's as though embedFonts causes the textField to disappear.
Possibly related, (but maybe not), is the fact that the vertical positioning of the font is off. Even though I create the textField at Y = 0, the text writes somewhere around Y = 10. I suspect this is something else, but I thought I'd add it just in case.
Any help with either (or both) problems would be fabulous. Thanks,
Drew
Dynamic Text Vertical
Hi,
I've got flash mx,
everything goes well with my own-made dynamic textbox,
but when I turn the textbox vertical, the loaded data
won't show up. The whole textbox seems to be vanished!.
Can somebody help me?
Vertical Dynamic Text
I'm trying to create a menu whose buttons are dynamically created, which sounds pretty simple, right???
...problem is that the text should be rotated 90 degrees, which seems to cause flash to ignore any text I try to send. If I remove the rotation everything is fine. Is there anyway of doing this?
Thanks
SF
Vertical Dynamic Text
I made a dynamic text box and when I rotate it 90 it doesn't work? how DO i fix that?
thanks
Dynamic Vertical Text
I have a dynamic text field that is rotated 90 degrees cw. When I preview the swf, the text will not render. I've tried numerous fonts to see if that would affect it.
When I change the text field to static, the text will render. If I keep it dynamic but have the text stay horizontal, the text renders. I've tried putting the text field in an mc and rotate the mc but still no love.
Anyone else run into this?
Vertical Dynamic Text (bug?)
Hi there,
I'm using FlashMX, just for the record :P
I created a dynamic text field and i type some text in it. Now when i rotate it (or skew) and i test my movie, my text is not shown anymore. With a trace() the correct value comes up.
I want to use a dynamic text field instead of a static, because i'm gonna fill it later on with a date.
Thnx in advance,
Koala
Vertical Text Scroller That Works From Dynamic Text.
found this which is handy:
http://www.scriptocean.com/
but does not allow for external txt files to feed the info to it.
can anyone help me with a version of this ticker but with the use of an external txt file.
I want the file to link to a txt or xml file that can feed the swf file animation.
Thanks
Vertical Text Scroller That Works From Dynamic Text.
Vertical Text scroller that works from dynamic text.
found this which is handy:
http://www.scriptocean.com/
but does not allow for external txt files to feed the info to it.
can anyone help me with a version of this ticker but with the use of an external txt file.
I want the file to link to a txt or xml file that can feed the swf file animation.
Thanks
Vertical Align Text In Dynamic Text Area
Have just created my first database driven dynamic text box and it works
Just one problem...
One of the dynamic text areas is multi-line and try as I might I can't seem to find any way to set the vertical alignment of the text to 'middle' vertically...
i.e. if the text is only a couple of words, it aligns to the top of the textarea and I'd like it to align to the middle of the text area vertically.
Any ideas???
Thanks
dominicall
Making Dynamic Text Vertical
Hello,
I am trying to make dynamic text virtcal but when I export the movie, it doesn't appear. Only static text appears vertical.
Is it possible to create dynamic text that is vertical?
See attached...
Many thanks, Rob
Vertical Centering Of Dynamic Text
Hi,
i have a dynamic text object with some text inside.
how can i center vertically the text ?
i found how to do it horizontally, but nothing is written for vertical positioning.
thx.
Vertical Centering Of Dynamic Text
Hi,
i have a dynamic text object with some text inside.
how can i center vertically the text ?
i found how to do it horizontally, but nothing is written for vertical positioning.
thx.
Dynamic Text Running Vertical
Hi again,
I'm haveing a problem with my dynamic text field box.
When I rotate the box 90' ( to stand verticaly) my text doesn't appear anymore.
What do i do?
Thanks yo
Ryan
Vertical Text Outside Dynamic Textbox
The best way to explain this problem is if you look at the screenshot.
This is with Arial font which is embedded, if I do not embed the font it will not show anything at all. All I am doing is with this text box I have the var field as gloss_body and in the action script on the same frame I am setting gloss_body to "This is the ..." (you can see this appearing in the vertical line of text). I have tried searching high and low on the web but no one seems to be having this particularly strange problem. This text box is attached to a scrollbar by the way.
Thanks,
Richard
EDIT: The text box extends all the way over to the left most blue line.
Edited: 11/06/2007 at 07:10:34 AM by shreksta
Vertical Centering Of Dynamic Text
Hi,
i have a dynamic text object with some text inside.
how can i center vertically the text ?
i found how to do it horizontally, but nothing is written for vertical positioning.
thx.
[AS2 Sharing] Vertical Dynamic Text
Last edited by Pixware : 2005-04-29 at 07:30.
Hi,
I've written this for a recent project. Just wanted to share, in case anyone is interested
The thing makes a dynamic vertical text
and animates it in like on yugop.com
If there's anyone interested on it, and need help, just PM me
// I got the idea with the navBank out of the gallery posted here by Nutrox. Thx to him for that amazing piece of code.
ActionScript Code:
var navBank:Array = new Array();
var navData:XML = new XML();
navData.ignoreWhite = true;
navData.onLoad = buildNavBank;
navData.load("navigation.xml");
function buildNavBank() {
var navItem = navData.firstChild.childNodes;
for (var i = 0; i<navItem.length; i++) {
var item:Object = {
id:navItem[i].attributes.id,
caption:navItem[i].attributes.caption,
file:navItem[i].attributes.file,
spacing:navItem[i].attributes.spacing-0
};
navBank.push(item);
}
buildNav();
}
function buildNav() {
var posX:Number = 0;
for (var i = 0; i<navBank.length; i++) {
//Create and place item
var mc:MovieClip = _root.nav.attachMovie("button", "button"+i+"_mc", i);
posX += navBank[i].spacing;
mc._x = posX - 1;
mc.useHandCursor = true;
mc.capString = navBank[i].caption;
mc.file = navBank[i].file;
mc.id = navBank[i].id;
mc.index = i;
// Text animation
buildCaption(mc);
// for any actions attached, place here
// mc.onRelease = function() {}
// and likewise
}
function buildCaption(target) {
with (target) {
// container
var caption:MovieClip = createEmptyMovieClip("container", -2);
caption._x = 0;
caption._y = 20;
// create vertical text
// later, this will make the yugop text build effect
var letters:Array = capString.split("");
var ltPosY:Number = 0;
for (var i = 0; i<letters.length; i++) {
var temp:MovieClip = container.attachMovie("letter", letters[i]+"_"+i, i);
animLT(i, letters[i], temp.lt_txt);
temp._x = 0;
temp._y = ltPosY;
ltPosY += temp._height-4;
}
// Build effective hit area
var hitA:MovieClip = createEmptyMovieClip("hitA", -3);
hitA.beginFill(0x000000, 0);
hitA.moveTo(0, 0);
hitA.lineTo(caption._width, 0);
hitA.lineTo(caption._width, caption._height);
hitA.lineTo(0, caption._height);
hitA.lineTo(0, 0);
hitA.endFill();
// place the cross
var cross:MovieClip = attachMovie("cross", "cross", -1);
cross._y = 5;
cross._x = 0;
}
}
function animLT(wait:Number, finalLetter:String, tf:TextField):Void {
var randomContent:String = "hyBkjasXCASDF01578$%&/";
var randomLength:Number = randomContent.length;
// delete current letter
tf.text = "";
// set up letter cycling
var time:Number = 0;
var waitBefore:Number = wait*3;
var timeToWait:Number = waitBefore + wait * 2;
tf._parent.onEnterFrame = function() {
if (time<timeBefore) {
time++;
} else {
if (time<timeToWait) {
tf.text = randomContent.charAt(random(randomLength));
time++;
} else {
delete tf._parent.onEnterFrame;
tf.text = finalLetter;
}
}
};
}
and here the xml used:
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<nav>
<item id="contacto" caption="contacto" file="contacto.swf" spacing="0" />
<item id="biografia" caption="biografia" file="biografia.swf" spacing="80" />
<item id="resultados" caption="resultados" file="resultados.swf" spacing="30" />
<item id="tour" caption="mi tour" file="tour.swf" spacing="30" />
<item id="galeria" caption="galeria" file="geleria.swf" spacing="30" />
<item id="programas" caption="programas" file="programas.swf" spacing="30" />
<item id="moves" caption="moves" file="moves.swf" spacing="30" />
<item id="reportajes" caption="reportajes" file="reportajes.swf" spacing="30" />
<item id="videos" caption="videos" file="videos.swf" spacing="30" />
<item id="links" caption="links" file="links.swf" spacing="30" />
<item id="sponsors" caption="sponsors" file="sponsors.swf" spacing="30" />
<item id="back" caption="volver" file="null" spacing="100" />
</nav>
Dynamic Text And Vertical Flipping
Hi guys... I was wondering if you could help me... I have a flash file that loads variables from a text file.. now that works fine on one of my dynamic fields... and it works fine on both when I dont try and flip to second field vertically (I use it for a sort of mirror effect)
I was just wondering if anyone knew a way around this like maybe vertically flipping the field after it has been populated... or if theirs another way of loading the text upside down.. or if theres anyother way of getting the effect I'm looking for
if you need anymore info please just ask cause this has been annoying me for the last few hours
Thanks alot
V
Please Help Vertical Overlaps Using Dynamic Text From Arrays
Hi flashers!
Problem A:
I am having a little problem I hope you flashers can help me solve.
I am loading information from an array into a containermovieclip that contains a textfield.
My problem is that the container movieclip doesnt resize according to the text that is set to autosize=true, which consequently means that everything overlap.
Problem B:
The reason why I even bothered to mess around with arrays is because I want an effect like this... Imagine menu links:
[A] [b] [C] [D] [E]
You click [D]
Then I want everything to reorder so [D] is replacing [A]
It would look like this
[D] [E] [A] [b] [C]
Like circlistic, and I figured arrays would be the best idea if I wanted to change orders around.
Anyways guys... Please help.
Look in the attachment for the code.
Please.
Kim.
How To Create A Vertical Dynamic Text Field ?
Hello,
I am importing strings from a XML document and I send them in 2 dynamic text fields, the first one is horizontal and the second one is vertical. There is no problem with the horizontal dynamic text field ; but nothing is displayed in my vertical dynamic text field.
Is there something wrong, or is there a trick to display dynamically and vertically a text ?
Thanks.
How To Vertical Center To Dynamic Text In A Specified Area?
i saw a example can make Vertical Center to Dynamic Text in a Specified Area.
http://www.rabidgadfly.com/?p=34
but when i type chinese or japanese character, it does not support even display.
any expert got any suggestion or advice show me?
Dynamic Text Vertical Position When Loading New
howdy.
i've created a dynamically loaded text field that loads lyrics when the title buttons are clicked. however, when the user scrolls the lyric page, then clicks on the next lyric title, the page appears half way down.
i've tried several things and scoured the forums for an answer but cannot seem to make it work.
please anyone any ideas.
your humble servant,
orome
Creating Vertical Dynamic Text Field With AS
Hey!
I have a problem: I just can't make a vertical aligned Dynamic Text Field. When i use _rotation, dynamic text will dissappear.
Any suggestions to get vertically aligned dynamic text field?
Vertical Text Scroll In Dynamic Textbox
http://www.scriptocean.com/flashscroll/
i need to develop vertical scrolling etxt like shown in this site
can anybody help/give guide lines for the same
i need to use external xml file for the same
Vertical Align Middle Dynamic Text
I have a flash file, which uses flashvars to define an image and some text that appears after the image. Here's the ActionScript I'm currently using to draw this dynamic info:
Code:
this.createTextField("product_title", 1, -8, 41, 580, 74);
product_title.html = true;
product_title.wordWrap = true;
product_title.multiline = true;
product_title.selectable = false;
product_title.htmlText = themessage;
Here's the code for the flashvars:
Code:
<embed src="preview.swf" quality="high" bgcolor="#ffffff" width="1024" height="717" name="preview" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="themessage=<img src='sample_logo.jpg' width='79' height='64'><b><font face='arial' size='25'>Some Text</font></b>"/>
<param name="flashvars" value="themessage=<img src='sample_logo.jpg' width='79' height='64'><b><font face='arial' size='25'>Some Text</font></b>" />
This works fine, however the text is drawn at the top, inline with the top of the image. I want the text to be centered vertically with the image. Any suggestions on how I might pull this off?
Thanks in advance!
Vertical Text In Dynamic Text Of A Symbol
I have created a basic symbol with dynamic text, so that I may have many of the same symbol and script the text that shows up on the symbol. When I have the text box in a horizontal orientation the text shows up in my animation but when I turn it into a vertical orientation my text does not show up. Unfortunately I need the symbols to have vertical text. Does anyone have any advice???
Help With Vertical Scrolling Dynamic Text That Can Be Seperate Clickable Links.
Can someone help me please?
I am wondering how to make a movie clip that contains automatic vertical scrolling dynamic text(from an external .txt file)
I dont want to press buttons to scroll text, I need it to be constantly scrolling, then loop once the text has been read from the external txt file.
I also require each line of the dynamic text to be clickable links that will take each line of text to a specific link.
Can anyone help me with this, I would be really grateful for any instructions?
Thanks
Michael
Help With Vertical Scrolling Dynamic Text That Can Be Seperate Clickable Links.
Can someone help me please?
I am wondering how to make a movie clip that contains automatic vertical scrolling dynamic text(from an external .txt file)
I dont want to press buttons to scroll text, I need it to be constantly scrolling, then loop once the text has been read from the external txt file.
I also require each line of the dynamic text to be clickable links that will take each line of text to a specific link.
Can anyone help me with this, I would be really grateful for any instructions?
Ive uploaded a zip file containing fla and swf i found which shows vertical scrolling text. However if i move any of the graphics and text field clips around the stage the text cannot be seen anymore. why is this? can you put all of the items on the main stage in a movie clip so i can resize and move the scroller around the stage?? I tried this but again the text disapeared when i exported the movie? Is this due to the x + y co ordinates in the scripting?
How can you adjust the size of this scroller without this happening?
Can the scrolling text be taken from an external file and each line of text be a seperate hyperlink?
Follow this link (copy and paste it into your browser window, DONT click on it):
http://www.geocities.com/freeeky/vert_scrolltext.zip
Thanks again
Dynamic Vertical Menu
Hi to everyone!
I'm trying to build a dynamic menu, maybe it's not so difficult, but I'm lost!!!!
it should be something like this:
A
B
C
Ok, easy. The thing is that the menu subitems come from a xml document build from some db queries. What I would like to do is that depending of the results of the queries, the menu show the sub items like this:
A
a1
a2
a3
B
C
with some animation, but the problem is the movement of the main items, because it must depend of the number of submenu items... anybody has an idea or know any tutorial???
Thank you very much!
Vertical Alignment Of Dynamic Tect
Is it possible to center vertically dynamic text in a text box. I couldn't find a way of doing this, but I may well be missing something obvious!
Vertical Alignment In Dynamic Textbox
Dear flashkit members. hope you are all well. Wonder if you could help me please. Using FlashMX by the way.
I am very pleased after successfully creating my first dynamic text box that imports text from database using external ASP page. Its a listing of about 10 lines (all separate records in the db) with a repeat region applied in the asp page. This works beautifully.
The annoying problem I have is that the box seems to be aligning the text in the centre of the box vertically - I cant seem to get it to run from the top of the box. If I remove the repeat region its OK and aligns from the top of the box.
Can anyone help me here please? Can I fix this?
Many many thanks in advance.
gsxr600
Vertical Dynamic Textbox (japanese)
Ok, so this may not be a newbie question and I should go ask another forum... or maybe there is a really simple answer and I've completely overlooked it. Anyway...
I need to to set up a dynamic text field that displays multiple lines of vertical text, ie. displaying from top to bottom, right to left.
Eg, read the input string
ABC
DEFG
and display:
DA
EB
FC
G
My MX2004 "Help" panel lauds itself on being able to display static text vertically, and being able to dynamically update text... but doesnt offer any help on how to create a vertical dynamic textbox. (I guess there are not enough Japanese users of Flash yet?!)
Solution?
I have thought about writing code to
1) read the string, work out where the carriage returns are.
2) use a series of FOR loops and UNTIL statements, counting the individual characters and creating a new string
3) display the new string horizontally, but the output appears to be verticle.
Problems discovered in early testing were A) because the width of characters varies, the lines of text dont appear to straight. (in the example above, the B appears closer to the E than the A or C do to their neighbors.) and B) Japanese characters follow different rules when they are written vertically... eg a "-" hyphen should become a "l" when displayed vertically.
There has to be a really simple, "newbie" answer to this. HELP?!
Vertical Easing Dynamic Menu
Hey guys, i havnt been here in a while. which sux because that means ive left flash behind, and i really hate that. Happy New years to all!!! well here it is.. i am creating a dynamic menu which has like 30 buttons and im want it to scroll like the following menu, once you go to the link click where it says click audioplayer, i want it to scroll with _ymouse vertically as in the audiotrack playlist.
http://www.mjau-mjau.com/aload.swf
any help or direction towards a tutorial??? thanks i appreciate it.
Dynamic Vertical Scroll Textbox
i am using external database frm my webpage and converting the data in xml file fom which i load data into flash application
the data in the dynamic textbox needs to have vertical scroll effect
i think it can be done by using textboxname.scroll-=1;
what i want is from the total rows of data first few shld be dispalyed in teh textbox for sometime than next few and again repeation frm for loop
can anybody help me with scripting. it shld be done onload not on any button press
Vertical Scroll For Dynamic Loaded MC?
Hello,
I'm trying to find a good example of vertical scroll that works also with mouse wheel and the content is MC (not text area). The problem is that the content of this MC is loaded from an external swf file.
Can someone share a link? I spent 2 days searching google and there are always text area scrolls;-(
Vertical Dynamic Menue (see Inside)
hi you all,
first at all i must excuse for my bad english, because i'm a german.
so, i want to build an vertical menue with submenues.
the mainmenue at each submenues are based on a dynamic source. i'll maybe use php&mysql or a textfile. i'm not sure.
the important thing is how to create the menue. at first you need to know, how many mainbutton plus each subbuttons you have.
i don't know how to realise this.i already have an example how to create an menue just with mainbuttons, but thing is this that i also need subbuttons.
the onliest things is that i know is that i must use createMovieclip and duplicateMovieclip.
please help me, i've already look at different webpages but i didnt find anythig. mostely i only have find vertical dynamic menues. but this is not what i'm looking for.
cu lionhead
Dynamic Menu Vertical Position Problem...
He guys,
In the attached file i have a problem with the vertical position of the menu. I want to change this position, but the only thing that can be changed is the horizontal position. Can someone help me???
Sincerely yours,
Jeroen de Lange
jeroen@ninedegrees.nl
[CS3] Dynamic Vertical Scroll Bar - XML Driven MovieClip
Hi
I have a movieclip that loads news from a database and everything regarding that is working. What I don't have and can't do is a scroll bar, that is dynamic and works with either 10 news or 50..
I know that I have to have a mask of the area I want visible, I know that I have to have a dragger. I know that the dragger must be dragged along the mask, vertically in the y position. The thing is about the, lets call it, dragAmount function. How do I define it to scroll the dynamic movieclip according to its y size?
Can anyone help me?
Thanks in advance,
T
Dynamic Menu Vertical Position Problem...
He guys,
In the attached file i have a problem with the vertical position of the menu. I want to change this position, but the only thing that can be changed is the horizontal position. Can someone help me???
Sincerely yours,
Jeroen de Lange
menu.fla
Dynamic Vertical Collapsible Menu To Load Swfs
Hello,
can anyone recommend a collapsible vertical menu that would be easy for a newbie to manipulate to play movies on a stange next to the menu?
Most of the ones I have poked through are built for URLs and it was suggested it would be to difficult to convert to loading movies.
This is very close to what I am looking for
http://www.flashkit.com/movies/Inter...8032/index.php
Thanks
Center Text Vertical In A Text Field
hi
can`t work this one out wondered if anyone had any ideas
I got a dynamic text field, fixed height and width 400 x 200
the amount of text which goes in it varies from one line to sometimes 5 lines.
i`m trying to find a way to make the text always sit in the vertical centre of the text field, no matter how many lines it is.
Thanks a lot for any advice
Vertical Text
I want to make some text in a flash movie appear in a vertical position were you read it from top to bottom
Vertical Text
I just want to draw dynamic vertical text, so the letters would be rotated by 90°.
I searched the net and didn't find anything useful... any ideas?
Xml Text Vertical
Hi
I am using an xml file to display text in a flash file. It works fine when it’s horizontal but I need to display the text vertical, the screens that will be playing the flash will be rotated 90 degrees so that they are in portrait view. When I do this the text does not display at all.
Any subjection.
Thanks.
John
|