Updating cast member with "file" doesn't work with PHP

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Updating cast member with "file" doesn't work with PHP

    Hi, I'm trying to update a text cast member using a PHP text file running on our web server.

    When I try to import into Director I choose IMport > Internet (Link to External File) > Import

    When I enter the address of the PHP file and click Import I get the error:

    "Having trouble reading [url]http://www.......com/mx.php[/url] Continue importing? -1 "

    I can import files with HTML endings okay but not PHP. When I add a button to the movie to force it do use the PHP file nothing happens.

    Example:

    on mouseUp
    member("mx").filename = "http://www.....com/mx2.php"
    end


    Any suggestions?
    G.



    edenia webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. When I load shockwave it says "Cast Member not found"
      Hi there, when I load two certain websites that require Shockwave they both say "Cast Member not found", how can I fix this?
    2. "Error Creating Control" and "Cast from String"
      I'm creating a custom date control. In appearance, it's just a textbox and a button. It has three custom properties: CalDate, CalDateType and...
    3. FScommand("Exec","myapplication.exe") doesnot work on Trial version MX?
      i think projector in this case is meant to be a .exe file not a test.swf like you mentioned. goto File, Publish Settings... and there under the...
    4. Save data to file or member("xx").text ?
      hi, I couldn't comment on those ways, but I've been using the propsave extra to save data from a level editor and it works great. I don't know if...
    5. How to make the "search text" feature work with non "txt" file
      On Fri, 27 Jun 2003 07:19:23 -0700, "Juergen" <anhorn@bktel.com> wrote: See MVP Doug Knox' comments and fix here:...
  3. #2

    Default Re: Updating cast member with "file" doesn't work with PHP

    Is the PHP script setting the content-type correctly? I suspect it should be set
    to text/html or text/plain

    Andrew

    Andrew Morton Guest

  4. #3

    Default Re: Updating cast member with "file" doesn't work with PHP

    Oh well... you could do it using the preloadNetThing/wait for download to
    finish/set filename of member method instead.

    Andrew

    Andrew Morton Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139