Properties
Category
English
Similar Topics
Statistics
Comments
5
Participants
3
Subscribers
30
Votes
1
Views
539
Share
Answered
In a slider called "Player" I have the script: If(1<=Player<=1.5, SetDynamicColor(n, 0, 0, 0, Player - 1)) but when updating the slider the opacity of the segment n does not change. I am using the latest version of Geogebra Classic. Also under Dynamic Color settings for n there does not appear to be an opacity option.
EDIT: It appears the reason is because segments do not have an "opacity" option but instead a "line opacity" option which cannot be changed dynamically. I will have to work around this by changing the color of the segment to mimic changing its opacity :/
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2021 International GeoGebra Institute
See attachment
Here some details:
.
A) I open (Colors02_Reopen) with Notepad and clean all generated Object (for example c_1)
B) open the file from A). Move Point A, Not move slider a. Save --> Colors02.1clean
C) check file from B) mit Notepad -> all is OK
D) Open Colors02.1clean. Move slider a. Save --> Colors02_2SliderMove
E) Check with Notpad file from D (Colors02_2SliderMove) --> Not OK, has at last <expression without <element (and no name)
F) Open file from D (Colors02_2SliderMove) -> Now the (wrong) objects are created in Algebra-View (with name)
Move point A, save as Colors02_3Reopen
G) Check with Notepad the file from F) (Colors02_3Reopen)-> Now the wrong objects has a <element (and a name)
-----------------------------------
Guess: with update slider a and his script onUpdate (SetColor()) a bug occurs, but he is not see in the Algebra-View. With Reopen the file the Bug is completed (with <element) and the generated objects appear in the Algebra-View. Maybe the bug is in the Command SetColor().
Comments have been locked on this page!