Ask a Question related to Macromedia Director Basics, Design and Development.
-
Sean Levesley #1
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
-
trimming a string
I'm generating strings dynamically in my application, and they look something lie this: 0 0 0 435921014 0 0 0 0 What I want to do is trim off... -
trimming arcs/ellipses
I have some arc and ellipse geometrys that I need to trim but can not figure out how. The ellipse I had to draw way out from the end point to get my... -
trimming a file but got error?
when i trim a file, i have this error "Invalid null command." i can do it with root, with shell ksh. but when i am switch to other user, i get the... -
Trimming Blank Spaces in String
You can use the VB.NET function RTRIM. -- I hope this helps, Steve C. Orr, MCSD http://Steve.Orr.net "Temp" <tempmail@temp.com> wrote in... -
trimming a variable.
I need to trim a variable to have everything after 4 chars in a string. IE: var_temp = 200:16:1234567890 i want everything after 200: to be... -
Andrew Kennedy #2
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.levesley@zoodigitalgroup.com> wrote in message
news:bhivi8$f4n$1@forums.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
-
Sean Levesley #3
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" <andyk@urban-society.co.uk> wrote in message
news:bhj9jq$1pr$1@forums.macromedia.com...matt..> Try changing the ink of the avi sprite to background transparent orscript.> i think only background transparent works with video media
>
> "Sean Levesley" <s.levesley@zoodigitalgroup.com> wrote in message
> news:bhivi8$f4n$1@forums.macromedia.com...> > I have a movie that imports an avi file into a cast member throughthe> > 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>> > whitespace or resize.
> > Any clues?
> > Thanks
> > Sean
> >
> >
>
Sean Levesley Guest
-
theLingorian #4
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.levesley@zoodigitalgroup.com> skrev i meddelandet
news:bhivi8$f4n$1@forums.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



Reply With Quote

