Turn Off Stroke Scaling?
Hi all,
I am have some box outlines that I'm using as design elements, and to save file space I just use one and resize it as I need. However, when scaled up, the stroke scales too.
I know you can turn this off in Illustrator, but I didn't see it in Flash prefs. Anybody know how?
thanks in advance, ...kp www.krpdesign.com
FlashKit > Flash Help > Flash General Help
Posted on: 02-19-2005, 06:54 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Easy One: Scaling Stroke
Here is the deal, and believe me I feel like a fool for asking this . I'm trying to scale a simple rectangle from small to big, but the dad-gom stroke is scaling as well, stroke size is getting bigger not that it is scaling with square. How can I keep this from happening? Or can I?
Like I said, this is probably an easy one, but it is annoying the crap out of me.
Thanks
pea
[Edited by pea3698 on 12-10-2001 at 10:40 AM]
Scale MC Without Scaling The Stroke
I've got a MC with some basic vector shapes with a stroke around the edge. I want to dynamically scale the MC at run time, but I'd like to keep the stroke width around the edges constant.
Is there and easy way to do this? I'd prefer not to have to use the drawing API to create the shapes if possible.
thanks,
--carriker
Smooth Stroke Scaling
Hi all
I have an animation of stars flying by made in AS3, all is good as far as I use Filled object as stars so they can be scaled up smoothly and are visible even when in sizes below 1.
But as I also wanted them to stretch a bit while flying by camera I had to use stroke line as an object instead, which is very good and easy to control with xy coordinates but I have now a problem that scaleing up is jumping by 1px only and it is not so smooth anymore and also stars arent vissible when size is below 1px, so it makes a whole scene look just empty.
Here are some links to my files:
this is an example showing how scaleing looks on Fill and Stroke
http://renton79.googlepages.com/question.swf
and here is a starfield on Filled Circles
http://renton79.googlepages.com/stars_fill_slow.swf
this one is a starfield on stroke
http://renton79.googlepages.com/stars_stroke_slow.swf
on the last file you can see stars to stretch and this is what i want but also when they are recreated for a while they blink until size of stroke is not over 1px.
Is there a way to make stroke size smooth as for fills or an alternative way for let say creating rectangle the way stroke is with x to y move to and x to y line to.
regards
Dave
Stupid Stroke Scaling
This is so irratating - how do you stop the stroke on your movie clips from getting idiotically fat when you scale the thing? Or invisibly thin, for that matter...is there an option somewhere like in Illustrator? To think ive been flashing for 2 years now and I still dont know how to fix this annoying problem...
Stupid Stroke Scaling
This is so irratating - how do you stop the stroke on your movie clips from getting idiotically fat when you scale the thing? Or invisibly thin, for that matter...is there an option somewhere like in Illustrator? To think ive been flashing for 2 years now and I still dont know how to fix this annoying problem...
Keeping Stroke Size The Same When Scaling Mc
I've got a circle that's 10 px by 10px, with a 1 px stroke. I want to scale this to, say 800%, but maintain the 1 px stroke. I want to avoid using a shape tween on a mc timeline, but I have been unable to discover the actionscript that will do what I want to achieve. Any hints? thanks!
How To Prevent Line Weight (stroke) Scaling?
Hi,
Someone in my office is attempting to scale a shape in flash with actionscript, but when a symbol is scaled, the line weight of the stroke is also scaled. The result is a huge, ugly thick line on much-scaled symbols.
Is there a way to prevent or supress this like in Illustrator?
Any help appreciated!
thanks much
S
Scaling Boxes While Keeping The Same Stroke Thickness?
I'm working on a project where on the "project page", it will have 6 images with frames. The transition to get into this page will be 6 boxes with no fill, just stroke (random sizes will be generated) and will be atleast 2 times the size of the box that the actual page. they will be moving around ect. and then zoom out to the actual size.
The problem I run into is when I scale the boxes larger, the stroke get's much thicker. I'd like the stroke to be the same thickness at %200 as it would be at %100. Is there a way to do this???
I am attaching and animating these boxes all with actionscript.
Thanks in advance!!!
Maintain Stroke Thickness In A Dynamically Scaling MC?
Is there any way to dynamically scale a movie clip and keep the stroke thickness of lines and size of the text within it from changing? The problem is that I need the lines to scale but without the stroke thickness' changing. I think I may have a solution to the text which would be to dynamically position it to the coords of graphics which scale with the clip on resize. I'm stumped on the lines thicknesses though. The lines are going from practically invisible to big fat things. Someone help me! I'd love to make this work...
Can You Take A Shape Without A Stroke And Give It A Stroke?
I have some shapes that I'm exporting from Illustrator. In Flash, the stroke around the shape is not a stroke at all, but becomes its own shape. For simplicity's sake, I would like each shape to be a fill and a stroke, instead of two grouped fills. Is there any way to apply a stroke to the fill of the imported shape?
Flash In Kiosk Mode - Turn Off / Turn On Launch Schedule
Hi Forum
I am creating a little flash app for a kiosk. We will be using a Mac. (not sure about OS yet, but probably 10.4 or up. )
1) Is there a way to automatically launch the flash app on startup on a mac?
2) Is there a way to schedule a shut off and launch time on a mac? We'd like the machine to automatically shut down at midnight and relaunch at 7am for example. Is there an application that handles tasks like these built in the OS or is there some application out there that would handle this?
Any advice or insight appreciated.
Thank you
Best
Stephan K
Add A Stroke To A Fill That Has No Stroke
Hey, i thought i remembered reading somewhere that you could select a fill on the stage, and tell flash to add a stroke around it. Am i wrong? Anyone know how to do this?
You know what, i should've probably googled this first. Will do that now...
Changing Instaint Turn To Gradual Turn
I have this code that makes object one turn and face another object. They both move. How could I change this code so instead of the object instantly facing the other object, it gradually turns to face it?
k = Math.atan2(_root.man._x-this._x, this._y-_root.man._y);
g = k*180/Math.PI;
this._rotation = g;
Page Turn Effect / Turn Off
Is anyone familiar with the page turn effect here: http://www.iparigrafika.hu/pageflip/?
If so, do you know how I can turn off the effect? What I want is to be able to go directly to page 14, for example, without having to wait for all the pages to turn to get there. Thanks for any help.
My goal is to offer the "turn off" option for users with slow processors.
http://www.iparigrafika.hu/pageflip/
Timing. Turn By Turn.
Question:
if you have played the game FINAL FANTASY (any of them) you'll have a better understanding of what i am talking about. there is a think called ACTIVE TIME BATTLE (ATB) this is timing for u and your enemy.
when it is your turn to attack, the enemy's "clock stops" so u can decide what attack you want to use. then once you have cosen it, your character will attack, and then the enemy will attack before its your next turn again. then the process is continued until 1 character faints.
my question is i need to learn how to make the enemy only attack once after my character attacks, basicaly i need to know how to make the 2 (or however many characters there may be)
(no more then 6 in 1 battle)
good guy, enemy, good guy, enemy
basically like taht. if any1 has any tips or scripting they'd likde to help me with it would be highly appreciated.
thankyou.
P.S. if more explanation is needed of the topic just reply and i'll try to clear it up.
Turn Off And Turn On Again Set Interval
Hi all...
I have a problem with setinterval :
I have 4 frame , 1st frame :
stop();
setInterval(slideshow,3000);
function slideshow(){
nextFrame();
}
At frame 3 I have a mc , in that mc I have a button. If I click
it mc move right. So I want when I click the button in the same time I turn off setinterval (time line stop at frame 3) , then when I click the button in the second time (mc at right) I reactivate setinterval. Here is I attach the file......
many thanks
No Resize/scaling A Movie Clip On The Scaling Stage...
I know this has probably been answered here already, but I've search through all the threads with "scaling" and "resizing" and can't find the solution.
Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.
I think I need to add a listener of some sort to the stage, but I'm not sure how to do this. If you can point me to a thread where this has already been answered, great! Otherwise I would be grateful for any help you could provide here.
Scaling Dynamic Textfield Without Scaling Font
the titel sys it...
if you create a dynamic textfield...you drag it but you can not see the prcise idth value...so lets say i have a field and the width is 198,5 and i want it to be 200...the problem is if you scale...the fonts also scale...any ideas...
[9-slice Scaling] Not Scaling At Correct Size ?
Hi people,
I found something strange with the 9-slice scaling option.
My MC with that option is simply smaller than the one without it !
You can see an example here (fla in attachement).
with the simple code on the green button :
Code:
on (release) {
_root.i += 10;
this.scroller._height = _root.i; // the left one with 9ss
this.bar._height = _root.i; // the right one without 9ss
}
Does someone have any explanation ?
thanks
Scaling Cursor/Scaling Draggable
Hello.
I am trying to create a draggable movie that will scale depending on it's _x and _y coordinates.
Basically, when the movie is on the lower part of the screen it will be larger than when it's on the top part of the screen.
I would like the scaling to be smooth. I can say, "if this clip is above 100, then reduce by 10%", but it looks poor.
Does anyone have a nicer way to achieve this draggable scaling?
Thanks.
Scaling/preloader..scaling To A Certain Size..
Hi gang...ok...I have a percentage preloader using getBytes.....and I have a preloader bar that increases dependant on the percentage of bytesloaded...what I want is to have the preloader bar scale so that when the percentage reaches 100% the loader bar will be a certain width.
Here is my code so far....please help me edit my exixsting code..and NOT start just re-write the whole thing..I am trying to learn..and incorporate.
Code:
//In Frame 1 I have this:
total = this.getBytesTotal();
//In frame 2 I have this:
_root.growbar._xscale = percent;
loaded = this.getBytesLoaded();
percent = Math.round((loaded/total)*100);
displayPercent = "LOADING: "+percent+"%";
if (percent == 100) {
gotoAndPlay (4);
}
//In frame 3 I have this:
gotoAndPlay (2);
//In frame 4 I have this:
gotoAndPlay ("start");
I made an MC with the name of "growbar" on the stage....
I cant figure ot what I am overlooking...
-whispers-
p.s. Nevermind..I feel like a fool....I found it..LOL
Non-scaling Object In Scaling Movie
Does anyone know - Is it possible to have an movie clip, that retains a fixed pixel size e.g. 200x100 inside a flash movie that scales to 100% to fit browser window?
Scaling Shapes Without Scaling Strokes
Hello, I am a new Flash user. I am creating a simple animation to be used in an educational video. I created a graphic symbol which I have tweened in many instances to fade in/out and to grow in size. This is a simple circle without a fill, starting out with a solid 5 pixel stroke. How can I grow this symbol (it ends up at least 4 times larger than its original size) without growing the stroke as well?
Scaling Vs. Non Scaling Of Loaded Clips
Hi there,
I am trying to achieve the loadmovie whereby my container flash movie (main.swf) is 100%x and 100%y scaled in the browser...ie so it's size is dynamic to the browser size (This is fine...know how to do)
But want to load the internal clip at exact dimensions - ie I guess a loadmovie in a target clip or level? with exact x and y size dimensions that always centres in the container flash clip. ie. its size is constant no matter the browser size.
Look at this site for reference.... http://www.beachblanket.co.uk/
Thank you for your help!
Josh
Full Scaling Site + Scaling MC's
I have been trying to figure out how to do this, because I think it looks fantastic. I know that there are a number of things you add to the stage in order to get it to sit aligned right in the middle. I have even manged to ease the stage movements so that when you maximise and minimise by adding friction and acceleration, the movement is smoother and cleaner.
It looks like whatever is loaded into the MC expands and contracts the parent MC, with a border. The movement is seamless and I was wondering if anyone knows how to achieve the same effect.
I have gotten pretty far with it too, but I am momentarily clueless as to this part.
check it out
http://www.nulldesign.de
Stroke Help
I cant figure out why i cant give my characters gray overalls a Black stroke.
Ive clicked on the gray overalls but in the propertys it shows no stroke andi cant choose one?
Where's Stroke?
Hello,
In Flash, is there an option for stroke like there is in photoshop? (Stroke is for outlining text/graphics)
Thanks!
Stroke
Still a little new to this as I come back again to learn some more. How do I put a stroke on some text. The import in Photoshop doesn't look that good ... a little pixelated.
Any takers?
What Happens With Text Stroke?
It feels a bit strange to post this message, cause I'm actually working with quite an advanced project (though I'm myself quite new to Flash I know Visual Basic, C++ and all of Adobe, so it's not really a problem of finding were things are).
My big problem is that Flash doesn't let me apply a stroke to text boxes! (or any kind of text for that matter). Why is that? May it be a bug in the program or am I being really blind (I hope it's this last, faster to solve). It doesn't help that I break apart the text or change the kind of stroke or the color or whatever, it just won't let me. It's pretty obvious that I'm doing it wrong, so could anybody give me a brief but detailed description of how to create a text with stroke that works for them, so I can try it myself exactly the same way? Thanks and sorry for bothering.
Can I Stroke A Symbol
Can I stroke a symbol after it was created.
For instance, I drew an object, with some text. Now Id like a stroke around it, and maybe even the text..
Help- Greatly Appreciated
How To Stroke Text?
All I want to do is have a clean stroke on text, is there anyway to do this easily inside of MX?
Animating A Stroke
Hello people
Currently I am working on an educational project for kids to teach them how to read and write etc. The problem is in the writing part. Each letter has to be written ( in a particular font which is plain lines and rounds ) as an animation step by step. For example A is made in two steps 1- /, 2- and 3- -.
For this one I found a solution by means of shape tweening. But for example an a is made of two steps: 1- o 2-| this cannot be made in shape tweening at least within my knowledge's boundaries. That of course can be solved with a finished letter with a moving alpha which is hard for me.
Thought: A symbol can be motion tweened within a motion guide perfectly. My thought is, can I make the letter's parts ( ex: / -)
a motion guide; and make it appear along the path. It sounded logical to me but I couldn't figure out how I could do it.( yeah and exporting a fla project as a sequence with movie clips sounded logical too )
I hope I could make myself clear. And I hope there is an answer to my question. Of course ALL kinds of help is terrifyingly welcome.
Stroke Text
I was wondering if it was possible to stroke a text in flash mx
Stroke Text. How?
Hi guys,
Does somebody know how to get a small border of another color around text? Like in photoshop i use the effect called 'stroke' at layer options.
Greetings,
Tom
Stroke On Text?
How the heck do you put a stroke on text? I can use the circle or rectangle tool and the strokes show up. I tried using the ink bottle tool on the text but that doesnt work. IM NEWWWB!
Stroke Text...
When I type a text; break it apart and want to add a stroke
by creating an outline of 3 pixels.. it strokes it from the
center and makes the text look crappy.
I want to stroke a text only on the outside..
How do I do that?
thanks
Masking Stroke?
I have a logo with a border (stroke with no fill) and it's masked the problem is that the mask reveales only the logo (static text) and the border stays masked plz help, here's the file:
thanx
Set And Get RGB, Preserving The Stroke Of The Mc
Hello.
I', using set and getREGB to paint mc on my stage. So far, nothing new.
But I'd like to know if there's a way to preserve the stroke of these mc, because when I set the RGB, I loose the stroke info. I tried to use MovieClip.lineStyle() but I couldn't gei it. Here's mu source:
MovieClip.lineStyle()
//
var cor = new Color(chosenColor);
cor.setRGB(corAtual);
pinta = alvo;
var pinta = new Color(pinta);
pinta.setRGB(cor.getRGB());
//
tnxinadvc
Outermost Stroke, Is It Possible?
Hello, I wonder if it's possible to add a different style to the outermost stroke of object.
Here is quick example of what I mean:
That cartoon Mr. Bean has thicker outline, than it's other strokes. Is there any easy way to do same in Flash. I mean, making it separate would take too much time in big animations.
Text Stroke
How do I add stroke to a text title in flash?
I'm using CS3.
Combo Box / Key Stroke
I have a combo box which I turn invisible as soon as one of the selections is chosen.
I have a key stroke collector on the main root of the movie, set to the stage.
When I press spacebar - the invisible combo box shows it's dropdown list.
I'm not sure what is going on - I mean - it's overall invisible - but this keystroke - which I can't seem to interrupt - causes the dropdown to become visible.
I can't seem to find any documentation with the combo box to disable this keystroke.
Any knowledge about this problem would be greatly appreciated.
-<>|TheMadFlasher|<>-
Animate Stroke
Hi
I was wondering if is it any possible to do this in flash:
I mean, make the exterior graphics move around its path
How To Put A Stroke On A Shape
Yeah, I know, it's not really an ActionScript problem. Just thought you guys might know.
If you have a basic shape on the stage, how do you add a stroke to the path? You know, so that it has a line around the outside.
I've tried lots of of things, so I'd love to know how or if you can do it.
Thanks!
Dynamic Stroke
The code listed below draws a dynamic line across the screen. I would like to add a stroke or border around the line. Is that possible? where would i pass the parameter for the color of the stroke/border?
dynamicline = _root.createEmptyMovieClip("line", root.getNextHighestDepth());
dynamicline.lineStyle(5, 0xAB4E02, 100);
dynamicline.moveTo(69,140);
dynamicline.lineTo(121,140);
dynamicline.lineTo(258,261);
dynamicline.lineTo(400,135);
dynamicline.lineTo(551,269);
dynamicline.lineTo(714,124);
dynamicline.lineTo(769,124);
|