dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: [RESOLVED] Duplicating Movie Clips Holding Dynamic Text Boxes

Hybrid View

  1. #1
    Musical chair sumwungye's Avatar
    Join Date
    Jan 2008
    Location
    Planet Earth, third planet from the Sun
    Posts
    287

    resolved [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:
    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"+erer);
    += 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.i1);
    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

  2. #2
    Musical chair sumwungye's Avatar
    Join Date
    Jan 2008
    Location
    Planet Earth, third planet from the Sun
    Posts
    287
    I can upload the .fla file if I need to...
    --SumWunGye

  3. #3
    Musical chair sumwungye's Avatar
    Join Date
    Jan 2008
    Location
    Planet Earth, third planet from the Sun
    Posts
    287
    ...Or, if there's any other way of making circular dynamic text, that'd be nice too.
    --SumWunGye

  4. #4
    Musical chair sumwungye's Avatar
    Join Date
    Jan 2008
    Location
    Planet Earth, third planet from the Sun
    Posts
    287
    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?
    --SumWunGye

  5. #5
    Musical chair sumwungye's Avatar
    Join Date
    Jan 2008
    Location
    Planet Earth, third planet from the Sun
    Posts
    287
    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?
    --SumWunGye

  6. #6
    Musical chair sumwungye's Avatar
    Join Date
    Jan 2008
    Location
    Planet Earth, third planet from the Sun
    Posts
    287
    (ignore what once was here)
    Last edited by sumwungye; 08-16-2009 at 11:04 PM. Reason: never mind
    --SumWunGye

  7. #7
    Musical chair sumwungye's Avatar
    Join Date
    Jan 2008
    Location
    Planet Earth, third planet from the Sun
    Posts
    287
    I don't know what I did, but it's fixed!
    --SumWunGye

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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center