Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Filling in circles

Avatar

Avatar
Validate 1
Level 1
Salster123
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
Salster123
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Salster123
Level 1

03-06-2015

Livecycle ES2.

Hello, I have found the code to fill in a rectangle and that works, but I seem to be struggling with filling in circles.

centre_rectangle.value.rectangle.fill.color.value = "255,255,0";

I have created a circle and named it "centre_circle", but it would appear that replacing the "..rectangle.fill..." with "...circle.fill..." doesn't seem to work.

centre_circle.value.circle.fill.color.value = "255,255,0";

Nor does anything else I've tried:

centre_circle.fill.color.value = "255,255,0";

centre_circle.rectangle.fill.color.value = "255,255,0"

centre_circle.value.rectangle.fill.color.value = "255,255,0"

Is this a syntax error? Or can circles not be filled by JavaScript?

My customer actually wants triangles and hexagons, but assuming they are not an option..!

Any help would be very much appreciated.

Thanks

Accepted Solutions (0)

Answers (0)