Search found 35 matches

by sbaden
September 1st, 2010, 9:30 am
Forum: Expression Discussion
Topic: [Solved] Move text with expression relative to parent
Replies: 11
Views: 22165

Re: Move text with expression relative to parent

Okay Dan, I tried the expression and it works better but it is still doing something strange. The first and last name start screen right and move to left to settle. On the far right they are separated by roughly 100+ pixels. As the names move left they get closer and then overlap. The last name sett...
by sbaden
August 31st, 2010, 5:58 pm
Forum: Expression Discussion
Topic: [Solved] Move text with expression relative to parent
Replies: 11
Views: 22165

Re: Move text with expression relative to parent

Thanks Dan!

I'll give this a try. Do you know if they changed this in CS5?
by sbaden
August 31st, 2010, 10:11 am
Forum: Expression Discussion
Topic: [Solved] Move text with expression relative to parent
Replies: 11
Views: 22165

[Solved] Move text with expression relative to parent

I have two text fields (first and last name) and I'm trying to move the last name relative to the position of the first name. The animation starts out with the entire first name (john) and entire last name (smith). I'm using an animator on the first name (Range Selector) to reduce full first name to...
by sbaden
February 19th, 2010, 5:11 pm
Forum: Scripts Discussion
Topic: Importing a file - path not valid
Replies: 11
Views: 17947

Re: Importing a file - path not valid

Cool. Thanks Lloyd!

A couple questions if you don't mind:

Why Folder.selectDialog instead of folderGetDialog?

And, what does fsName refer to?
by sbaden
February 19th, 2010, 4:46 pm
Forum: Scripts Discussion
Topic: Importing a file - path not valid
Replies: 11
Views: 17947

Re: Importing a file - path not valid

Thank you Lloyd, would this then work? alert("Please select a folder with MOV's to be converted."); var movLocation = Folder.selectDialog("Select folder with comps to be converted."); var filesArray = movLocation.getFiles(); for (i = 0; i<= filesArray.length; i++) { var movPath =...
by sbaden
February 19th, 2010, 12:54 pm
Forum: Scripts Discussion
Topic: Importing a file - path not valid
Replies: 11
Views: 17947

Re: Importing files

I think that the essence of my question is in this thread but I don't know enough about scripting yet to breakdown what you have and apply to my issue. Any help would be appreciated... I am prompting the user to select a folder that has MOV's in it. I then want to import all MOV's one by one to repl...
by sbaden
December 29th, 2009, 4:16 pm
Forum: Scripts Discussion
Topic: [Solved] How do I convert RGB to value range 0.0-1.0?
Replies: 7
Views: 12011

Re: How do I convert RGB to value range 0.0-1.0?

Thanks Dan,

Brilliant! It works great!

That is so much less code than I had.
by sbaden
December 29th, 2009, 2:13 pm
Forum: Scripts Discussion
Topic: [Solved] How do I convert RGB to value range 0.0-1.0?
Replies: 7
Views: 12011

Re: How do I convert RGB to value range 0.0-1.0?

Okay, I'm a little confused still... How would the parseInt() work in this scenario? //Convert HEX to RGB_______________________________________________________________________________________________ function GiveDec(Hex) { if(Hex == "A") Value = 10; else if(Hex == "B") Value = ...
by sbaden
December 29th, 2009, 1:59 pm
Forum: Scripts Discussion
Topic: [Solved] How do I convert RGB to value range 0.0-1.0?
Replies: 7
Views: 12011

Re: How do I convert RGB to value range 0.0-1.0?

LMAO! :D Well, I guess that would be a much simpler, more direct way of getting HEX to decimal instead of converting HEX to RGB and then converting RGB to decimal.

I will go try this out...

Thank you
by sbaden
December 21st, 2009, 2:01 pm
Forum: Scripts Discussion
Topic: [solved] Add Fill Color to Text Animator
Replies: 6
Views: 12382

Changing value of Text Animator/ Fill Color

I've changed the code to this and still no luck... //Set color for firstName_____________________________________________________________________________________ var redValue = 100; var greenValue= 100; var blueValue= 100; var redDecimal = (redValue/2.55)/100; var greenDecimal = (greenValue/2.55)/10...
by sbaden
December 21st, 2009, 1:09 pm
Forum: Scripts Discussion
Topic: [solved] Add Fill Color to Text Animator
Replies: 6
Views: 12382

Changing value of Text Animator/ Fill Color

I am trying to use your code to change the value of the fill color animator that already exists instead of adding a fill color animator. The script runs without any errors but doesn't change the color. //Set color for firstName_________________________________________________________________________...
by sbaden
December 21st, 2009, 12:04 pm
Forum: Scripts Discussion
Topic: [Solved] How do I convert RGB to value range 0.0-1.0?
Replies: 7
Views: 12011

Re: How do I convert RGB to value range 0.0-1.0?

Thank you Paul :D

Do you have a reference for converting Hex to RGB?
by sbaden
December 18th, 2009, 5:33 pm
Forum: Scripts Discussion
Topic: [Solved] How do I convert RGB to value range 0.0-1.0?
Replies: 7
Views: 12011

[Solved] How do I convert RGB to value range 0.0-1.0?

I can't seem to find reference for converting RGB values to the value range that javascript needs [0.0-1.0].

Any help would be greatly appreciated. Thanks.
by sbaden
October 29th, 2009, 11:14 am
Forum: Scripts Discussion
Topic: Importing/Rendering large number of projects: Cache Probem?
Replies: 0
Views: 4948

Importing/Rendering large number of projects: Cache Probem?

I'm looking for some advice on importing and rendering a large number of projects. I currently have a script that versions out projects and then imports the projects and renders them. The script works perfectly for small batches of these projects (I've tested as many as 200- 250). This is the proble...
by sbaden
October 15th, 2009, 12:42 pm
Forum: Scripts Discussion
Topic: Using confirm() dialog box
Replies: 2
Views: 6126

Re: Using confirm() dialog box

Thank you Paul. I'll check out that option.