PDA

View Full Version : text in text area won't show up....


spike101
08-08-2005, 01:19 AM
I have a masked area on a page where mc's scroll by. I opened up one of the MC's and put a text area with text in it, but when I test the movie the text area shows up but the text isn't there.

I tried the generic MM text area in the components and then I tried an extension that I had. Both have the same problem where anything that is in a MC that is appearing in the mask (in the text area) is invisible.

Does anything know how to adjust this so the text will appear?

Sunny13
08-08-2005, 06:31 AM
Not able to grasp the prob.??? could u plz attach your code or file..???

xeno439
08-08-2005, 08:06 AM
that one got me for a while too, embed the fonts. click on character in the properties inspector and specify ranges (the top five should be enough - uppercase through latin)

spike101
08-08-2005, 07:45 PM
I didn't see any 'character' in the component inspector of the textArea component....am I in the wrong place or are you not able to do this for a text area?

spike101
08-08-2005, 07:53 PM
I zipped up the swf file just so you can see what I'm talking about. It's on the 'poetry' page and just looks like an empty textArea, but there is actually text in there when you look at it in the MC.

mitr
08-08-2005, 10:54 PM
From where I see, you might be doing either of these two for your text-scroll.

1. If you are importing text from a text file to your actionscript - text scroll movie clip, then you must have made mistake
i. either in placing the text file - (*.txt),
ii. or done some error in action script for text scroll.

2. If you are using the masking type of text scroll(where in you might have directly put the text into the movie clip, motion tween it from top to bottom and then mask it) then check if you put the text in 'Dynamic' mode. Change it to 'Static' mode.

I don't know which flash version you are using, but, you will see the above modes of text that I am speaking of in 'Properties' panel for text. I am sorry I can't get you a flash file describing what I have said above, as I said in another forum that, I don't have flash access here.

Anyway, I hope I got you cleared. If no, let me know.

All the best!!

xeno439
08-08-2005, 11:41 PM
if you are using flash mx 2004 you should be able select inside the text box with the text tool. the text property inspector will be displayed, select character . . .

spike101
08-09-2005, 12:58 PM
yeah, I know about the character part of the text box....but I want to put a 'textArea' component on the page, not just some text there.

I need to have a scrollbar at the side so if I go over the space that I have masked, I'll still be able to see the rest of the content by scrolling.

The character attribute is only for text on a page, not the textArea component of flash with the built in scrollbar.

Also, this isn't a problem with the script. I said in the first post that this is a masked area and this is the problem here. If you remove the 'mask' layer from the movie clip everything works like it's supposed to.

However, I need a way for it to work without having to remove the mask.

mitr
08-09-2005, 02:40 PM
Okay Spike, can you put the the menu *.fla file in here? B'cauz the *.swf file you've attached above couldn't give a good idea of what you are trying to do. I don't have access to Flash here, but will try to check it from somewhere else. Meanwhile, others may check on and solve before me.

spike101
08-09-2005, 04:30 PM
yeah, I can do that.

I stipped out the media player and images to make it small enough, but esentially it's the same.

The textArea is on the 'music' page which is menu 4 in the library. You can see if you highlight it and look at the properties that there is text in there, but it's not displayed when you test the movie.

Then if you delete the mask layer on the main timeline you will see that it appears when you test the movie.

spike101
08-12-2005, 03:29 PM
is there really no solution to getting the text area component to show the text below a mask?

I've been getting a lot of ideas about text boxes, but I'm talking about a textArea component box.

Anything?

mitr
08-12-2005, 06:48 PM
Sorry!! Didn't get time to get back soon.
Anyway, I thought it in another way when you said 'TextArea'. Sorry my fault. I have worked on the problem. I am not expert in Actionscripting, but I think there was no problem on your side.
If you are looking for reason "why?", sorry man!!
If you are looking for a solution, I got two.
In the 'Flashmovie' that you have attached, remove the first 3 frames that you are using for preloader. It is working then.
Or, use the ordinary text-area scroll, other than the 'Flash Components' one.
I don't know how you guyz are attaching files here. But, I don't think you would need it. You can get along with it.

spike101
08-13-2005, 12:54 AM
what exactly do you mean by 'the ordinary text-area scroll'

if you're talking about the UIScroller, I tried that one too and it did the same thing.

The only way I can get text to show up there is by using static text...

I don't understand this. :mad:

mitr
08-16-2005, 03:28 PM
what exactly do you mean by 'the ordinary text-area scroll'

if you're talking about the UIScroller, I tried that one too and it
did the same thing.

The only way I can get text to show up there is by using static text...

I don't understand this. :mad:

By "ordinary text area scroll", I mean the text area scroll that is created by masking.
E.g visit this tutorial:

http://www.actionscript.org/tutorials/beginner/Basic_Scrolling/index.shtml

You can replace with this text-scroll instead of the flash component you are using. Since your actionscript is good (in fact very good) you can build one yourself.
If you don't want to waste time, you can get some examples in "Flashkit.com". Make changes as per your requirement to the one's you got and embed it into your movie.
Actually, I'm finding the same problem. Ever since I have seen this problem, I am working on it. I found that when ever we are placing preloaders in a movie that have text scroll, we see this problem. I don't know if this is a bug in Flash or not, but this is happening.
Also, have you missed my other solution? Try removing the preloader - the first 3 or 4 frames. Then your Flash component - "textArea" scroll is working. I know removing Preloader doesn't sound good, but you would see what I meant.
I am sorry for explaining it the hard way, rather than putting down the example attached here, but, I am unable to do so.
By the way, are you using Flash version 2004 or the earlier version?

mitr
08-16-2005, 03:34 PM
Can you tell me how can I attach the files here? I'm really going nuts on this. All I see here is a box for message to type & options to B I U and Qutoe and Flash script. That's all.
Or, if you don't mind, let me know any of your email address, I'll email it.