투표에서요.. 라디오 버튼 색깔 고치는 방법? 정보
그누보드 투표에서요.. 라디오 버튼 색깔 고치는 방법?본문
투표에서 라디오 버튼 보면희색이잖아요..
그걸 다른 색으로 고치고 싶은데
스타일 시트를 고쳐야 할것같은데.. 너무어렵네요..
혹시 아시는 분 답변좀 부탁드립니다..
수고하십시요..
그걸 다른 색으로 고치고 싶은데
스타일 시트를 고쳐야 할것같은데.. 너무어렵네요..
혹시 아시는 분 답변좀 부탁드립니다..
수고하십시요..
댓글 전체
샘플파일 한번 올려주심이..............
플래시에서는 가능합니다.....
radioButton1.setStyleProperty("radioDot", 0xFF12AC);//라디오버튼 인스턴스네임.setStyleProperty("바꿀부분(프로퍼티)", 0xFF12AC(값))
FRadioButton.setStyleProperty
Availability
Flash Player 6.
Usage
myRadioButton.setStyleProperty(styleProperty, value)
myRadioButtonGroup.setStyleProperty(styleProperty, value)
Parameters
styleProperty A string specifying a property of the FStyleFormat object.
value The value to set for the property.
Returns
Nothing.
Description
Method; sets an FStyleFormat property for an individual radio button instance. Calling this method to specify a property overrides the setting for this property in the style format assigned to the component. Passing undefined as the value for a property removes all styles for that property.
To set FStyleFormat properties for multiple components, create a custom style format. For more information on creating custom style formats, see "Customizing component colors and text" in the "Using Components" chapter of Using Flash.
Example
The following code sets the radioDot property for to 0xFF12AC (pink).
radioButton1.setStyleProperty("radioDot", 0xFF12AC);
The following code sets the radioDot property for all the buttons in radioGroup1 to 0xFF12AC (pink).
radioGroup1.setStyleProperty("radioDot", 0xFF12AC);
radioButton1.setStyleProperty("radioDot", 0xFF12AC);//라디오버튼 인스턴스네임.setStyleProperty("바꿀부분(프로퍼티)", 0xFF12AC(값))
FRadioButton.setStyleProperty
Availability
Flash Player 6.
Usage
myRadioButton.setStyleProperty(styleProperty, value)
myRadioButtonGroup.setStyleProperty(styleProperty, value)
Parameters
styleProperty A string specifying a property of the FStyleFormat object.
value The value to set for the property.
Returns
Nothing.
Description
Method; sets an FStyleFormat property for an individual radio button instance. Calling this method to specify a property overrides the setting for this property in the style format assigned to the component. Passing undefined as the value for a property removes all styles for that property.
To set FStyleFormat properties for multiple components, create a custom style format. For more information on creating custom style formats, see "Customizing component colors and text" in the "Using Components" chapter of Using Flash.
Example
The following code sets the radioDot property for to 0xFF12AC (pink).
radioButton1.setStyleProperty("radioDot", 0xFF12AC);
The following code sets the radioDot property for all the buttons in radioGroup1 to 0xFF12AC (pink).
radioGroup1.setStyleProperty("radioDot", 0xFF12AC);
동그라미 안에 것을 바꿀 수있는 방법은 없어요... 현재로서는....
동그라미 안에 색깔은 안되는 가봐요..
어떤걸 해도 안먹히네요..
수고하십시요..
어떤걸 해도 안먹히네요..
수고하십시요..
style='border-color:#000000; background-color:#000000;"
이렇게 한 번 해 보세오.
해보질 않아서 모르겠습니다.
이렇게 한 번 해 보세오.
해보질 않아서 모르겠습니다.
formbutton 으로 착각했슴~~~~ *^^* 지송~~~
라디오버튼 색깔이 원래는 하얀색이잖아요..
그걸 검은색으로 하고싶은데..
위에 꺼는 잘안데네요..
수고하십시요..
그걸 검은색으로 하고싶은데..
위에 꺼는 잘안데네요..
수고하십시요..
이런건가요?
<form name="form1">
<input type="submit" name="formbutton1" style="color:rgb(51,51,51); background-color:rgb(51,102,153); border-style:none;">
</form>
<form name="form1">
<input type="submit" name="formbutton1" style="color:rgb(51,51,51); background-color:rgb(51,102,153); border-style:none;">
</form>