A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Dynamicly generated movieclips behind mask??

  1. #1
    __OSX powered__ nucleuz's Avatar
    Join Date
    Aug 2000
    Location
    Norway
    Posts
    836
    I'm making a flash glossary, and for each letter (a->z) I load in all terms that starts with it (when the user press 'a' -> load in all terms that start with 'a' etc).

    The terms and defenitions are all stored in MySQL, and I use PHP to load it in.

    I load in all the 'a' terms into term.swf, duplicate my original movieclip, put the term into it and format them out nicly, that's not a problem (localhost/term.swf shows them all there, each term with a border around it).
    Then I load term.swf into my main.swf (into a empty movieclip)
    Now: I need the term.swf behind a mask (I never know how many terms there will be starting with 'a', so I need to be able to scroll the clip).
    When I load main.swf : all I can see is the border around where the term should be (in the generated movieclip).

    Is it impossible to show dynamicly generated text behind a mask???
    The border does show up, why the border and not the text???

    I'm at a dead end here, so: any ideas?? hints, or have you seen a reference to this somewhere else??

    I have been trying to search the board, but to no avail.

    Thanks!

  2. #2

    Angry The way I would do it..

    Put the mask in the main movie, mask the empty clip you will load the other clip into.

    As for the border and the text, firstly dynamic text needs to have the font embedded (Character tab->Text Options) From there you can turn off the border and add all the characters in the font.

    Voila!

    Spyder

  3. #3
    __OSX powered__ nucleuz's Avatar
    Join Date
    Aug 2000
    Location
    Norway
    Posts
    836
    5 hours work, and all I had to do was to embed the font....

    Thanks!! You just saved my day (and saved me for a loooong night!)

  4. #4
    Beleive me I have felt that pain too
    its all so simple when you have spent hours yourself wondering why that box isn't displaying its text!!

    Spyder

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