A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: You guys never let me down :) (Form problem)

  1. #1
    Senior Member
    Join Date
    Mar 2001
    Posts
    351

    You guys never let me down :) (Form problem)

    I need your help if possible, please guys.
    I'm trying to implement a Flash MX CGI form(from Flashkit.com tutorials) into a website I'm doing for someone because my Perl scripting is "not so good". The tute is perfect for what I want to do.
    The problem I'm having is that although what I have done works perfectly on TestMovie, it will not work on the actual site. I have used the code almost exactly, just modified to suit my fields. I've even used the same variable and instance names to keep it as close as poss, but no joy.
    You can view it on the site at my test sites (just a holder till site is complete) on the "contact" page....
    On the site it just keeps giving me the "You must fill in your name" error no matter what I have in the name field. I reiterate, it does not do this when I test the movie from the .fla file, it works perfectly. This tends to point towards a problem with path to fields or variables, but I can't locate the problem! I've even tried to use full path notation for every variable and instance name, but I must have missed something. Please see if you can spot the problem?

    Btw, on the site, when contact button is pressed, a loading MC opens and creates a new movieclip for the contact page to load into, so the resulting path is _root.screen.holder.holder2.contact.swf. You guys will probably not be able to work out the problem unless you look at the .fla file, so you can find it HERE (right-click, "save target as")
    This has plagued me for a few days now... PLEASE can someone help?

    Cheers guys...

    Neo2810
    Last edited by neo2810; 03-24-2003 at 09:38 AM.
    "If you can't beat em, join em"

    Sorry no banner, Tripod deleted my account :-(
    Can't be chewed to sort out another account :-)

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    A internal path can not end with ....

    _root.screen.holder.holder2.contact.swf

    should be _root.screen.holder.holder2

    ..if that makes any difference..

    It comes to mind also that external links in Flash are relative to the html document, not the Flashfile's location..

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Senior Member
    Join Date
    Mar 2001
    Posts
    351
    Thx for the reply Pellepiano, but unfortunately it doesn't help...
    The path I gave is not the path on the AS, merely the path that points to the movie loaded into "holder2". All that works fine, it's the actual contact form which has the problem somewhere. I am guessing it is in the "function" AS, but I have not been using Flash MX's new compenents and relative AS for long, and can't seem to locate the error (but have been using flash and advanced AS for about 5 years).
    You need to look at the .fla file and the actual site with it in place to get an idea of what I mean...
    "If you can't beat em, join em"

    Sorry no banner, Tripod deleted my account :-(
    Can't be chewed to sort out another account :-)

  4. #4
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    For some reasen the .fla wont open in my MX.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  5. #5
    Senior Member
    Join Date
    Mar 2001
    Posts
    351
    Strange... works fine for me... email me at awhaling@btinternet.com and I'll send it to you...
    "If you can't beat em, join em"

    Sorry no banner, Tripod deleted my account :-(
    Can't be chewed to sort out another account :-)

  6. #6
    Senior Member
    Join Date
    Mar 2001
    Posts
    351
    bump!
    "If you can't beat em, join em"

    Sorry no banner, Tripod deleted my account :-(
    Can't be chewed to sort out another account :-)

  7. #7
    Senior Member
    Join Date
    Mar 2001
    Posts
    351
    Last bump... promise
    "If you can't beat em, join em"

    Sorry no banner, Tripod deleted my account :-(
    Can't be chewed to sort out another account :-)

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