-
Musical chair
[RESOLVED] Duplicating Movie Clips Holding Dynamic Text Boxes
Hello
So, I've been working on a way to make a circular text effect like this...
...except with text that changes.
So, I've made a flash where you enter your name into a text box, and it takes your name and puts it into a circle like the above image. (I've done this by duplicating movie clips around a circle, each with one letter of the title.) So far, everything is working, except the duplicated movieclip-textboxes show no text. They are duplicating into a circle fine, but, for each box which should have one letter, nothing appears. Here's my code to show you how I did it.
First frame:
PHP Code:
i = 0; cardname = " "+namey+" Didn't Playtest This At All •";//this is what will, //overall be the circular text. "namey" is the name //of the textbox with your name.
Second frame, which loops until "i" == the length of "cardname"
PHP Code:
er = i+1; duplicateMovieClip(backletter, "backletter"+er, er); i += 1;
The movieclip, "backletter", which holds "letterinside", a textbox, does this, on load (and everytime each duplicate loads).
PHP Code:
this.letterinside = substring(_root.cardname, _root.i, 1); this._rotation += _root.i*360/(_root.cardname.length);
I have embedded the font into flash, so that can't be the problem.
Sorry if this is the most confusing explanation you've heard in your life, but I hope somebody can help? Thanks!
Last edited by sumwungye; 08-13-2009 at 07:53 PM.
Reason: typo, and a bad one at that
--SumWunGye
-
Musical chair
I can upload the .fla file if I need to...
-
Musical chair
...Or, if there's any other way of making circular dynamic text, that'd be nice too.
-
Musical chair
Okay, after some more messing around, I found that, when setting the "letterinside" variable box to selectable, I was able to copy the boxes showing no text, and paste into notepad the letters they should have been showing. So, they're there, they're just invisible/not showing. Any idea why?
-
Musical chair
Another thing I discovered: all fonts EXCEPT the one I was using work. Problem is, I can't just change the font; it has to be this font (long story short).
The font I was trying to use is "Arial Black" which doesn't work.
This is weird. Help?
-
Musical chair
(ignore what once was here)
Last edited by sumwungye; 08-16-2009 at 11:04 PM.
Reason: never mind
--SumWunGye
-
Musical chair
I don't know what I did, but it's fixed!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|