dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

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

Threaded 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

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