I don't like this solution but it appears to be the only way to get it to work. Open the Actions panel, select Frame 1 in the main Timeline,Īnd enter the following ActionScript code:ĭrawBox(aBox, 0xFF0000) //draw a red boxĪCp.addEventListener(ColorPickerEvent. Then mark the 'slds-card' with the background selector and change the color in a CSS file or Inline-Style (didn't try inline but assuming it will work). The Color Picker allows you to view, select, and apply colors to selected elements in your designs, borders, and backgrounds. Once you select the background, you can press the Delete or Control+X key to remove it from your image. The selected colour can then be used to change the CSS property of pages. Of the Stage and give it an instance name of You can create a component, where you can ask a author to select the colour. The color you selected in the ColorPicker.Ĭreate a new Flash (ActionScript 3.0) document.ĭrag a ColorPicker from the Components panel to the center In this example, each time you change the color Color Picker is the function of your editor that lets you manage color scheme of text, background, overlays and more. Following example adds a ColorPicker component to an application
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |