Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 2 of 2

Thread: URL Problems

  1. #1

    Default URL Problems

    I was using the loadVariable function to call an ASP file that was located in the same directory and it worked perfectly. I reorganized my site and instead of putting the file name in the field i put the web address (for example www.site.com/folder/file.asp) but it no longer calls the file. Does anyone know why this is? any help at all would be greatly appreciated.
    thanks
    yiannis

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    I know some Visual Basic, which, from what I understand is very similar to ASP, but I have never used ASP. I have done similar things with PHP and had no problems as long as I provided a file path to the PHP script, even if it resides in another folder. My suggestion is to drop the www. part from the url string. I forget why, but this can cause problems when calling an external code page. I often just use a variable to represent the path instead of typing it out .....

    myFilePath="http:someSite.com/someFolder/someFile.asp";

    Then, however your calling it, you can use the variable for the path...

    loadVariablesNum(myFilePath,0);
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Y coordinate problems
    By Anni in forum Newbies
    Replies: 1
    Last Post: 12-14-2006, 03:06 AM
  2. Navigation problems....
    By Nicky in forum Newbies
    Replies: 1
    Last Post: 05-08-2006, 04:01 AM
  3. LoadVars Problems
    By dkeegh in forum Flash Scripting
    Replies: 1
    Last Post: 03-28-2006, 09:06 PM
  4. FLV Possitioning Problems
    By liquidsword in forum Advanced Flash
    Replies: 8
    Last Post: 01-25-2006, 12:35 PM
  5. Preloader Problems. Help!!!
    By cknick in forum Flash Scripting
    Replies: 1
    Last Post: 11-08-2005, 03:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial