| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jul 2001
Posts: 90
|
I have shapes that are on the stage.... each shape is in a group (by itself). They currently do not have a stroke applied. I would like to apply a stroke to all selected items or items in a specified frame and layer. Any ideas???
Thanks |
|
|
|
|
|
#2 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
well the use of the selection object would be a good start. i havn't worked with strokes as yet so can't give any info on that
![]() |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2001
Posts: 90
|
Well... I've managed to be able to select all the object and change there color (not what I was trying to do) but adding the stroke is the problem.
setStroke is used to change the existing stroke of an element, it is not used to add a stroke. I need to figure out if there is a way to add the stroke. Thanks |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jul 2005
Location: India
Posts: 1,021
|
try this ... select all the objects on the stage... i.e. all lines drawn on the stage and apply this jsfl ....
ActionScript Code:
![]()
__________________
I like such scripting....
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jul 2001
Posts: 90
|
The problem is none of the objects have a stroke... I'm trying to add one.
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Nov 2003
Posts: 189
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|