Extension making: Saving a file.

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Extension making: Saving a file.

    I am creating an extension that will allow people to input a flash object.
    I have everything working accept one.
    I can't get the code that makes a copy of the template .swf from my folder to
    their directory.
    I have the code that allows them to choose the directory and name, (ex: var
    saveValue = dw.browseForFileURL("save");) but I don't have the code that takes
    the info and makes a file in that location.

    Please help?

    phpWiz Guest

  2. Similar Questions and Discussions

    1. SWF file making
      Hey i'm having trouble finding what program to use to make SWF files and flash movies. Got any Ideas? Thanks , ...
    2. saving eps without extension
      I have very specific reasons for needing to save eps documents without the extension (to do with an automated importing system). Illustrator CS won't...
    3. Problem in saving file using File io
      U may install FileXtra4.x32 from http://www.kblab.net/xtras .it is free distribute and really very good. It also can save picture... but u need to...
    4. Is .dcr extension = Director file extension ?
      I'm a newbie and saw some files on a website ending in .dcr... 1 - Is the .dcr file type a Macromedia Director file? 2 - Does it take the...
    5. making replacements in a file
      I have a file that I need to make some substitutions in: open FH, "my_file" or die "Can't open... $!"; @file=<FH>; Can I read the file...
  3. #2

    Default Re: Extension making: Saving a file.

    Investigate the DWfile.copy() function in the Extending Dreamweaver Help
    Docs. It will copy a file from one specified location to another.


    --
    Regards,
    ...Trent Pastrana
    [url]www.fourlevel.com[/url]

    Dreamweaver Designer Tools
    iFrameSuite | MiniMenus | Scroller Packages | More...
    -----------------------------






    "phpWiz" <webforumsuser@macromedia.com> wrote in message
    news:db9vpj$g63$1@forums.macromedia.com...
    >I am creating an extension that will allow people to input a flash object.
    > I have everything working accept one.
    > I can't get the code that makes a copy of the template .swf from my folder
    > to
    > their directory.
    > I have the code that allows them to choose the directory and name, (ex:
    > var
    > saveValue = dw.browseForFileURL("save");) but I don't have the code that
    > takes
    > the info and makes a file in that location.
    >
    > Please help?
    >

    T.Pastrana - 4Level 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