A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: mailto +variables +text file

  1. #1
    Member
    Join Date
    Aug 2000
    Posts
    87

    mailto +variables +text file

    I'm loading variables into my movie from a text file. No prob... My text fields except them. On top of a text field i have a button that calls
    getURL("mailto:"+digemail);


    i have a frame script that changes the variable so it's usable in the above statement:
    digemail = _level300.Contact-Employment-Digital-Email;
    for some reason, though, digemail becomes "0" when i publish. Anyone know the prob? If is set digemail="asdf" it works fine...hmpf.
    <<...23...>>

  2. #2
    Senior Member sherif79's Avatar
    Join Date
    Jan 2001
    Location
    Essex, England
    Posts
    266
    ummm.. whats
    code:

    digemail = _level300.Contact-Employment-Digital-Email;


    what does it suppose to do.. ??
    sorry, but it seems a bit confusing

    could u give an example?
    Last edited by sherif79; 10-30-2003 at 11:13 PM.

  3. #3
    Member
    Join Date
    Aug 2000
    Posts
    87
    digemail = _level300.Contact-Employment-Digital-Email;

    i'm trying to set a new variable = to the one that is loaded into _level300 (where i load the txt variables).

    basically _level300 stores a whole bunch of variables that i use throughout the movie.

    the
    getURL("mailto:"+digemail);
    doesn't like getURL("mailto:"+_level300.Contact-Employment-Digital-Email);
    <<...23...>>

  4. #4
    Senior Member sherif79's Avatar
    Join Date
    Jan 2001
    Location
    Essex, England
    Posts
    266
    i'm so sorry about that - told ya it was confusing-
    so "Contact-Employment-Digital-Email" is the variable.. i ce

    i think if u changed that variable name it would work fine, make it something like this "ContactEmploymentDigitalEmail".. its still readable, and working too.. thats if the paths are corect..

  5. #5
    Member
    Join Date
    Aug 2000
    Posts
    87
    that was it. thanx man.
    of course it was something nice and simple that i was overlooking...or not trying!
    <<...23...>>

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