A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: problem with text field, flash/php/mySQL

  1. #1
    Senior Member
    Join Date
    Mar 2001
    Location
    Melbourne
    Posts
    441

    problem with text field, flash/php/mySQL

    hey Guys.

    I have a flash movie, with a dynamic text box which calls text from a mySQL data base.

    I have this on my dynamic text box.

    loadVariablesNum("SelectNews.php", "0");
    stop();

    This all works fine but when i convert the dynamic text box to a MC
    it will not display my text??

    Any help appreciated..

    Shaun

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Austria
    Posts
    142
    So if I understand you right you have a mc on the main timeline which contains a dynamic text field?

    MCs have their own set of local variables. All you have to do is to reference the variables --> place in the mc a script which fetches the loaded variable(s) from the main timeline...

    could look like that (in mc):

    Code:
    mytextfieldvariable = _root.loadedvariable;
    where mytextfieldvariable is the variable of the dyn. text field and loadedvariable is the name of the variable on the main timeline which you load from php..


    Hope that helps

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