importFileInto converts AVI to QT!

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

  1. #1

    Default importFileInto converts AVI to QT!

    Howdy,
    Even after implementing a Technote regarding my exact issue, I am still
    having a problem.

    I am using new() and importfileinto to dynamically load an AVI into a cast
    member.

    If I manually import using the standard Cast--> Import, it will import and
    play correctly as an AVI

    Another clue: just executing the new() statement as below WILL create a
    blank digitalvideo castmember, but once the importfileinto executes, it is
    changes to a Quicktime!

    I know one solution would be to try and convert my AVIs to QT, but I don;t
    have that software, and would rather solve this!

    Any Ideas?
    Chris
    new(#digitalvideo, member 101)

    importFileInto member 101, "@/media/video/" & thisvideo

    member(101).filename = "@/media/video/" & thisvideo


    C Goodman Guest

  2. Similar Questions and Discussions

    1. importFileInto path problems
      Hi! I have problems with the paths that use this function with each situation. In projector author or local shockwave I can pass the all path or...
    2. importFileInto problems
      In article <bkqam2$19s$1@forums.macromedia.com>, "Pixel Pusher" webforumsuser@macromedia.com wrote: no idea why? Some commands don't work in...
    3. problems using preLoadNetthing with importFileInto
      Hi group. I am using Director MX, running under WinXP Pro. I'm having trouble with trying to preload a quicktime movie, create a cast member...
    4. help with 'importFileInto'
      Hi all. i am using the 'importFileInto' command within a projector to load swf files in from a list All works fine, but was wondering if there...
    5. importFileInto and member's name
      On 02 Aug 2003, "Krystian Polak" <kuzda@wp.pl> wrote: Director automatically names the member using the name of the file. Here's one way: ...
  3. #2

    Default Re: importFileInto converts AVI to QT!

    What about using new() to create the cast member and then setting it's file
    path to that of your AVI?

    AstrO

    "C Goodman" <cgoodman@word-ware.com> wrote in message
    news:blt2m2$64a$1@forums.macromedia.com...
    > Howdy,
    > Even after implementing a Technote regarding my exact issue, I am still
    > having a problem.
    >
    > I am using new() and importfileinto to dynamically load an AVI into a cast
    > member.
    >
    > If I manually import using the standard Cast--> Import, it will import and
    > play correctly as an AVI
    >
    > Another clue: just executing the new() statement as below WILL create a
    > blank digitalvideo castmember, but once the importfileinto executes, it is
    > changes to a Quicktime!
    >
    > I know one solution would be to try and convert my AVIs to QT, but I don;t
    > have that software, and would rather solve this!
    >
    > Any Ideas?
    > Chris
    > new(#digitalvideo, member 101)
    >
    > importFileInto member 101, "@/media/video/" & thisvideo
    >
    > member(101).filename = "@/media/video/" & thisvideo
    >
    >

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003


    AstrO Guest

  4. #3

    Default Re: importFileInto converts AVI to QT!

    That was what the Technote suggested, and I'm suprised that it didn't solve
    it! As below, when I execute the new() command, it does make a blank
    digitalvideo(avi) member, but as soon as I load the actual avi into the
    member, it switches to QT! Darn!

    "AstrO" <astro_beta@bigpond.com> wrote in message
    news:bltcg3$i1a$1@forums.macromedia.com...
    > What about using new() to create the cast member and then setting it's
    file
    > path to that of your AVI?
    >
    > AstrO
    >
    > "C Goodman" <cgoodman@word-ware.com> wrote in message
    > news:blt2m2$64a$1@forums.macromedia.com...
    > > Howdy,
    > > Even after implementing a Technote regarding my exact issue, I am still
    > > having a problem.
    > >
    > > I am using new() and importfileinto to dynamically load an AVI into a
    cast
    > > member.
    > >
    > > If I manually import using the standard Cast--> Import, it will import
    and
    > > play correctly as an AVI
    > >
    > > Another clue: just executing the new() statement as below WILL create a
    > > blank digitalvideo castmember, but once the importfileinto executes, it
    is
    > > changes to a Quicktime!
    > >
    > > I know one solution would be to try and convert my AVIs to QT, but I
    don;t
    > > have that software, and would rather solve this!
    > >
    > > Any Ideas?
    > > Chris
    > > new(#digitalvideo, member 101)
    > >
    > > importFileInto member 101, "@/media/video/" & thisvideo
    > >
    > > member(101).filename = "@/media/video/" & thisvideo
    > >
    > >
    >
    >
    > ---
    > Outgoing mail is certified Virus Free.
    > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003
    >
    >

    C Goodman Guest

  5. #4

    Default Re: importFileInto converts AVI to QT!

    What I meant was to only set the filepath, so it would look like this: (take
    out the importFileInto line)

    new(#digitalvideo, member 101)
    member(101).filename = "@/media/video/" & thisvideo

    I tested this and it does work on my PC using Director MX. Take note that
    you will have to set some properties of the member like DTS and audio to get
    it running 100%.

    AstrO


    "C Goodman" <cgoodman@word-ware.com> wrote in message
    news:blukrv$rrp$1@forums.macromedia.com...
    > That was what the Technote suggested, and I'm suprised that it didn't
    solve
    > it! As below, when I execute the new() command, it does make a blank
    > digitalvideo(avi) member, but as soon as I load the actual avi into the
    > member, it switches to QT! Darn!
    > > > importFileInto member 101, "@/media/video/" & thisvideo
    > > >
    > > > member(101).filename = "@/media/video/" & thisvideo
    > > >
    > > >
    > >
    > >
    > > ---
    > > Outgoing mail is certified Virus Free.
    > > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > > Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003
    > >
    > >
    >
    >

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003


    AstrO Guest

  6. #5

    Default Re: importFileInto converts AVI to QT!

    Thank you very much! That works great and now my app will accept both QT and
    AVI with that same code....

    "AstrO" <astro_beta@bigpond.com> wrote in message
    news:blviv0$nci$1@forums.macromedia.com...
    > What I meant was to only set the filepath, so it would look like this:
    (take
    > out the importFileInto line)
    >
    > new(#digitalvideo, member 101)
    > member(101).filename = "@/media/video/" & thisvideo
    >
    > I tested this and it does work on my PC using Director MX. Take note that
    > you will have to set some properties of the member like DTS and audio to
    get
    > it running 100%.
    >
    > AstrO
    >
    >
    > "C Goodman" <cgoodman@word-ware.com> wrote in message
    > news:blukrv$rrp$1@forums.macromedia.com...
    > > That was what the Technote suggested, and I'm suprised that it didn't
    > solve
    > > it! As below, when I execute the new() command, it does make a blank
    > > digitalvideo(avi) member, but as soon as I load the actual avi into the
    > > member, it switches to QT! Darn!
    > > > > importFileInto member 101, "@/media/video/" & thisvideo
    > > > >
    > > > > member(101).filename = "@/media/video/" & thisvideo
    > > > >
    > > > >
    > > >
    > > >
    > > > ---
    > > > Outgoing mail is certified Virus Free.
    > > > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > > > Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003
    > > >
    > > >
    > >
    > >
    >
    >
    > ---
    > Outgoing mail is certified Virus Free.
    > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003
    >
    >

    C Goodman 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