# Text missing after i mask it

**URL:** <https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344>\
**Category:** Uncategorized\
**Created:** [September 8, 2002, 2:34pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344 "2002-09-08T14:34:02Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 5:38am UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/21 "2002-09-13T05:38:15Z")

</div>

Wow david, you \<I\>must\</I\> be bored! I don’t think he is looking to get that extreme, but I think that information would be helpful. I know nothing about shared libraries. You should write a tutorial for it on Kirupa:)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 5:40am UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/22 "2002-09-13T05:40:05Z")

</div>

ok… I think I will… as soon as I understand them. lol

so… these two topics are beaten like a dead horse… you have to think of an interesting question to ask me so that I can have something to do. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 10:40am UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/23 "2002-09-13T10:40:24Z")

</div>

Quote from Macromedia site, article by figleafs Branden Hall:

“Another common problem is that after users place dynamic textfields inside of scrollpanes or change the font for the tree control component (available in component set #2 up on the the Flash Exchange), their text does not appear. In both of these cases iis that text that’s being masked (as is the case with both of these components) must have its font included in the SWF file in order to work properly. The easiest way to ensure this is to do the following: Open your library. Select the menu on the top right and choose “New Font.” Once you’ve created your font symbol in this manner, open its linkage option and give it a linkage ID. Now, you can use this font symbol like you would any other font, and it will show up fine in the components that utilize masking.”

Helps?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 12:41pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/24 "2002-09-13T12:41:46Z")

</div>

thanx soooooo much!!!  
david: wow… im confused already 🙂

the font is verdana. do i really have to emebed that??? i know everybody has it,… after all, its verdana! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 12:43pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/25 "2002-09-13T12:43:05Z")

</div>

after rereading, i still don’t get it… so basically, i just embed my font, set something to linkage, and im confused about the rest  
thanx for your help!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 1:57pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/26 "2002-09-13T13:57:30Z")

</div>

i followed lostinbeta’s directions and got it! ok, so now what about embedding fonts and stuff? the part that im so totally confused about? 😛

thanx again!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 2:02pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/27 "2002-09-13T14:02:32Z")

</div>

reread again, and im starting to get it…  
ok, so after i embed a font, it will appear.  
and if i keepembedding fonts for all my movies, then the file size gets too big and i should use something called Shared Libraries. The idea of shared libraries seems pretty cool, looking forward to that tutorial or thread 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 3:36pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/28 "2002-09-13T15:36:43Z")

</div>

Ah yes, now you are getting it:) With shared libaries you can simply have it embed the font once, and then the other movies will feed that font from the first on you embedded it on.

For now though, just stick with the basic way I showed you. I think that is all you really need at this moment.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2002, 3:40pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/29 "2002-09-13T15:40:27Z")

</div>

ok, thanx!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2002, 9:22pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/30 "2002-12-19T21:22:35Z")

</div>

I seem to be having a problem…  
I keep getting this error:

Error opening URL “file:///C|/Documents%20and%20Settings/Ravi/My%20Documents/vip3r%20online/flash/news.txt?uniq=4239”

I know news.txt is there, but it apparently wants to add that identifier for the cache thing, and then it can’t find it…

any idea as to what I should do?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2002, 9:31pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/31 "2002-12-19T21:31:57Z")

</div>

You should upload your files to let it work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2002, 9:32pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/32 "2002-12-19T21:32:01Z")

</div>

You should upload your files to let it work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2002, 9:41pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/33 "2002-12-19T21:41:23Z")

</div>

I uploaded it, but it still won’t display the text…  
here are the URLs of my files:

The FLA: [http://www.vip3r.com/flash/new.fla](http://www.vip3r.com/flash/new.fla)  
The SWF: [http://www.vip3r.com/flash/vip3ronline.swf](http://www.vip3r.com/flash/vip3ronline.swf)  
The text file: [http://www.vip3r.com/flash/news.txt](http://www.vip3r.com/flash/news.txt)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2002, 9:42pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/34 "2002-12-19T21:42:08Z")

</div>

It worked:

[http://www.vip3r.com/flash/news.txt?var=123](http://www.vip3r.com/flash/news.txt?var=123)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2002, 9:56pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/35 "2002-12-19T21:56:51Z")

</div>

ok, so it can’t be the caching thingy… thanx 🙂

but the text still isn’t showing up in my swf… know the problem?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 21, 2002, 8:46pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/36 "2002-12-21T20:46:25Z")

</div>

Once you upload it, you won’t get this message.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 21, 2002, 10:50pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/37 "2002-12-21T22:50:49Z")

</div>

ya, but the text still doesn’t show…

any idea why?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 21, 2002, 10:53pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/38 "2002-12-21T22:53:09Z")

</div>

Post your code, i don’t have flash on this computer. \*gg

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 23, 2002, 6:03pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/39 "2002-12-23T18:03:09Z")

</div>

here it is…

myIdentifier = Math.round(Math.random()\*10000);  
loadText = new loadVars();  
loadText.load(“news.txt?uniq=”+myIdentifier,1);  
// creating the loadVarsText function  
loadText.onLoad = function() {  
scroller.text = this.kirupatext;  
};

I think you can pretty much decode it…

the myIdentifier variable holds a random number, and then loadtext loads news.txt?uniq=randomnumberhere. Then there’s a scroller that is associated with the text…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 24, 2002, 12:49pm UTC](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344/40 "2002-12-24T12:49:35Z")

</div>

```php
myIdentifier = Math.round(Math.random()*10000);
loadText = new LoadVars();
// creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.kirupatext;
};
loadText.load("news.txt?uniq="+myIdentifier);

```

[Previous page](https://forum.kirupa.com/t/text-missing-after-i-mask-it/5344.md?page=1)
