Professional Web Applications Themes

Trimming Whitespace - Macromedia Director Basics

I have a movie that imports an avi file into a cast member through script. The avi file has lots of whitespace around it. Unfortunately, when running the movie the avi is trimmed to remove the whitespace and the avi is then expanded to fit the original cast member space. What I would like it to do is just swap the avi in and not trim the whitespace or resize. Any clues? Thanks Sean...

  1. #1

    Default Trimming Whitespace

    I have a movie that imports an avi file into a cast member through script.
    The avi file has lots of whitespace around it.
    Unfortunately, when running the movie the avi is trimmed to remove the
    whitespace and the avi is then expanded to fit the original cast member
    space. What I would like it to do is just swap the avi in and not trim the
    whitespace or resize.
    Any clues?
    Thanks
    Sean


    Sean Levesley Guest

  2. #2

    Default Re: Trimming Whitespace

    Try changing the ink of the avi sprite to background transparent or matt..
    i think only background transparent works with video media

    "Sean Levesley" <s.levesleyzoodigitalgroup.com> wrote in message
    news:bhivi8$f4n$1forums.macromedia.com...
    > I have a movie that imports an avi file into a cast member through script.
    > The avi file has lots of whitespace around it.
    > Unfortunately, when running the movie the avi is trimmed to remove the
    > whitespace and the avi is then expanded to fit the original cast member
    > space. What I would like it to do is just swap the avi in and not trim the
    > whitespace or resize.
    > Any clues?
    > Thanks
    > Sean
    >
    >

    Andrew Kennedy Guest

  3. #3

    Default Re: Trimming Whitespace

    Thanks, but neither of these worked. I got round the problem by putting a
    small off-white square in the top-left and bottom-right.

    "Andrew Kennedy" <andykurban-society.co.uk> wrote in message
    news:bhj9jq$1pr$1forums.macromedia.com...
    > Try changing the ink of the avi sprite to background transparent or
    matt..
    > i think only background transparent works with video media
    >
    > "Sean Levesley" <s.levesleyzoodigitalgroup.com> wrote in message
    > news:bhivi8$f4n$1forums.macromedia.com...
    > > I have a movie that imports an avi file into a cast member through
    script.
    > > The avi file has lots of whitespace around it.
    > > Unfortunately, when running the movie the avi is trimmed to remove the
    > > whitespace and the avi is then expanded to fit the original cast member
    > > space. What I would like it to do is just swap the avi in and not trim
    the
    > > whitespace or resize.
    > > Any clues?
    > > Thanks
    > > Sean
    > >
    > >
    >
    >

    Sean Levesley Guest

  4. #4

    Default Re: Trimming Whitespace

    You could try to add [trimwhitespace:0] to your
    importFileInto-line.

    i.e.
    importFileInto member(x),theFile,[trimwhitespace:0]

    It works for images, I've never tried with AVIs...

    --theLingorian


    "Sean Levesley" <s.levesleyzoodigitalgroup.com> skrev i meddelandet
    news:bhivi8$f4n$1forums.macromedia.com...
    > I have a movie that imports an avi file into a cast member through script.
    > The avi file has lots of whitespace around it.
    > Unfortunately, when running the movie the avi is trimmed to remove the
    > whitespace and the avi is then expanded to fit the original cast member
    > space. What I would like it to do is just swap the avi in and not trim the
    > whitespace or resize.
    > Any clues?
    > Thanks
    > Sean
    >
    >

    theLingorian Guest

Similar Threads

  1. trimming a string
    By coolidge in forum Coldfusion - Getting Started
    Replies: 6
    Last Post: September 29th, 04:17 PM
  2. trimming arcs/ellipses
    By Tonybob21 in forum Macromedia Freehand
    Replies: 3
    Last Post: July 10th, 05:18 PM
  3. trimming a file but got error?
    By yls177 in forum Linux / Unix Administration
    Replies: 5
    Last Post: April 30th, 02:59 PM
  4. Trimming Blank Spaces in String
    By Steve C. Orr, MCSD in forum ASP.NET General
    Replies: 1
    Last Post: August 9th, 12:46 AM
  5. trimming a variable.
    By mario c in forum ASP
    Replies: 2
    Last Post: July 21st, 11:37 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
  •  

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