Forum Topic: AS solution to thick outlines ?

(167 views • 7 replies)

This topic is 1 page long.

<< < > >>
Questioning

Phrozin

Reply To Post Reply & Quote

Posted at: 8/16/06 01:26 PM

Phrozin LIGHT LEVEL 16

Sign-Up: 07/23/04

Posts: 38

I've been working a toon and I've had to do a bunch of math for every character to make sure the outlines always showed up as the same thickness the whole time. What I'd do is animate the whole scene then duplicate the character and turn all of the MCs in it black and increase the fill to whatever I figured out the math for. (A zoom of 100% = 2 pixel thickness, 200%=1, 50%=4, etc).

I was wondering if anyone knew of an AS way of doing this for me automaticly.

It would be especially helpful since I have a lot of MCs holding MCs, some of which at different percentages and I'll be using a lof of zooms. (ex. I have an MC that's at 200%, then in that, another MC at 75%, in that, another at 200%. After doing the math, that's 150%)


None

23450

Reply To Post Reply & Quote

Posted at: 8/16/06 02:46 PM

23450 LIGHT LEVEL 27

Sign-Up: 05/28/03

Posts: 7,297

filters??? Do you have flash 8?

Halo 3 GamerTag: XCornDawgX


None

Fat-Lifeguard

Reply To Post Reply & Quote

Posted at: 8/16/06 03:10 PM

Fat-Lifeguard EVIL LEVEL 16

Sign-Up: 07/23/06

Posts: 278

I don't understand the situation all that well but it sounds like you could solve this with Modify>Shape>Convert Lines to Fills.

That will turn all the lines into fills (duh) and Flash will scale them as if they were fills at runtime.

If that isn't the solution, could you explain what the objective is and why it needs to be done?


None

Phrozin

Reply To Post Reply & Quote

Posted at: 8/16/06 06:00 PM

Phrozin LIGHT LEVEL 16

Sign-Up: 07/23/04

Posts: 38

Well, the outlines aren't actual lines, they're just fills of the character MCs that were expanded to whatever size I needed to make it so it shows up as a 2 pixel expand.

Let's say we have a box that's 100 pixels, but 100 pixels and put into a MC. Since it's still 100%, I'd duplicate the box MC and put it on a layer behind the orignal box. The duplicate would be painted black and the fill would be expanded to 2.

Now let's say that box was in a bunch of differently percentaged MCs. For simplicity's sake, let's say there's the box MC inside of another MC called scene. Scene is at 100%. Inside of scene is the box MC, which is scaled down to 50%. So multiplying 1 (100%) by .5 (50%), which totals to .5 (50%). Inorder to have the box's outline appear to be a 2 pixel expand on the main stage, I would have to make the fill expand on the duplicate box to 4.

Keep in mind, my toon has a lot of mixed number percentages that change a lot. What I'm trying to find out is if there's some AS that can do the percentages of the fills for me. It would make it a lot easier since I'll be doing quite a few zoom-ins.


None

H3

Reply To Post Reply & Quote

Posted at: 8/16/06 06:02 PM

H3 NEUTRAL LEVEL 21

Sign-Up: 12/18/00

Posts: 200

I'm not too sure what you mean exactly...but maybe you can declare a function to be used over and over again?


None

Fat-Lifeguard

Reply To Post Reply & Quote

Posted at: 8/16/06 06:53 PM

Fat-Lifeguard EVIL LEVEL 16

Sign-Up: 07/23/06

Posts: 278

Have you tried modify _height and _width instead of_xscale ande _yscale?


None

Phrozin

Reply To Post Reply & Quote

Posted at: 8/16/06 10:40 PM

Phrozin LIGHT LEVEL 16

Sign-Up: 07/23/04

Posts: 38

At 8/16/06 06:53 PM, Fat_Lifeguard wrote: Have you tried modify _height and _width instead of_xscale ande _yscale?

I don't know much AS beyond very simple stuff. Have code that I might be able to experiment with?


None

misterdog

Reply To Post Reply & Quote

Posted at: 8/17/06 12:53 AM

misterdog NEUTRAL LEVEL 07

Sign-Up: 07/02/06

Posts: 1,638

He's talking about when you make say a 2 px line. Convert that to an mc and then resize that mc to make it bigger. The line will grow as well, not only in length but in size.


All times are Eastern Standard Time (GMT -5) | Current Time: 09:14 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!