Hardcoded colors in Workspace

Frgive me if I am missing something obvious here - my Flex experience is minimal at best.
I've been following the instructions in the doc on modifying Workspace to change the color scheme. Overall, it works well. Hwoever, there seem to be a number of things that seem to be hard-coded, especially on in the Peferences pane. The text for Manage UI seems to be hardcoded to be white. I looked at the source for the UISettingsPane and I see hardcoded values for color for those combo boxes, and no reference to a style.
Is there any way to adjust those without having to recompile the whole Workspace? I was hoping to just do some quick changes on the layout...

You're totally bang on. There are a number of areas in the Workspace code which has hard coded values and this issue has been identified.
As for getting around this issue for now, you can't simply identify new CSS values for these components. As an example I have created my own custom workspace application and with a bit of code tweak the components with using a setStyle() function. For example:
In my application I display the PreferencePane via a state as such:
<mx:State name="showPreferencesState">
<mx:AddChild>
<lc:PreferencePane id="pp" width="100%" height="100%" session="{session}" initialize="assignStyles()"/>
</mx:AddChild>
</mx:State>
I use the code behind pattern and define the assignStyles() function. For testing just toss it in a Script block...
public function assignStyles():void
pp.setStyle("color", 0xff0000);
pp.ooo.setStyle("color", 0x00ff000);
So, for now it looks like you'll have to navigate the components via their id and use the setStyle() approach.

Similar Messages

  • Color in Folio Preview does not match color in Workspace

    I'm a beginner trying to make a layout of several images. The source images are PDF's and I want to eventually save the layout as a new PDF. When I bring the images into my layout, the color in the workspace is identical to the color in the source PDF's. However, if I do Folio Preview, the color is slightly different. If I Export the layout to PDF, then the resulting PDF's colors match the Folio Preview but not the source images. I've tried disabling all the Color Management I could find, but I am a beginner and clearly have not found the necessary settings. Appreciate any help.

    Folio Preview is only for Digital Publishing Suite output and isn't the best way to preview. The most accurate color can be see if you choose View > Overprint Preview. You DON'T want to disable color management, in fact, I don't think you really can.

  • WorkSpace problem

    I now have CS6 and it has the same problem all the earlier versions of premiere had no mater what I do every time I open a project it opens in the color corrector workspace. I change it to my custom editing WS or any other default, save the project, close the project close premiere re open and I am back to the color corrector.
    Anyone have a fix?
    Thanks
    Dennis

    Have you by any chance, assigned a different target for MY DOCUMENTS?  I previously had a problem in that my workspaces were not being saved after I quit a session with Premiero Pro.  What I finally realized that Premiere Pro was saving the preferences to the standard target for MY DOCUMENTS rather than the target I had established.  (I wanted all my created files to go to a NAS that backed up the files via RAID.)  The behavior suggested that Premiere Pro had been hardcoded to C:\users\documents etc, etc. 
    Restoring the default target restored proper Premiere operation. I created a separate NAS folder MYDOCS and manually use that folder in lieu of MY DOCUMENTS

  • Variable color in SVG export

    Hello,
    we are in the process of designing a website for one of our customer, with the goal of making them self-sufficient in feeding the site with new products.
    One of the feature requires producing custom SVG files which are then rendered to PNG (when the browser doesn't support it correctly, that is most of them including Firefox which doesn't like gradients yet), and the possibility of updating several of the item colors on the fly.
    This requires identifying in the source file which colors must be flagged as say, "variablecolor1", "variablecolor2" and so on, with XML entities or some other means.
    Think about online visualization of t-shirt color changes.
    It's not actually scripting-specific, but nor windows or mac, and maybe there is a scripting solution to it.
    Since our customer is using Illustrator to generate their catalog, we wanted to integrate as much as possible with their workflow. AI seems to generate usable SVG files, however, we would like to avoid having to write an error-prone post-processing engine (likely in php) the designer will have to run to assertain which color entries in the files are the one we want to modify. Note possibly another part of the drawing with the same color might not be part of what to change...
    A possible option would be creating the SVG with a predefined color, like #0000fe for variablecolor1 or whichever, but they want to have it look with the chosen default colors when not yet changed. Having them produce two versions (one with correct colors and one with hardcoded values for us) seems error prone.
    The other option, as said is to run the SVG code through some magic identifying the color values, list them and allow checking which are to change. However this is also possibly error prone.
    With a co-worker we checked AI for quite some hours without much luck trying to find something that would allow us to directly flag those colors. The online manual had topics with interesting names but the descriptions weren't really helpful, so we had to test on his machine.
    We found about variables in AI, but sadly it seems this doesn't concern colors at all. Text, data and some other things but no color.
    Some other palette-swapping functions didn't seem to pass anything when exporting to SVG.
    Also, we checked the various option in the SVG export dialog, one exports XML entities, which would seem interesting if it didn't export the whole style of the object, besides it doesn't concern gradients which stay with their hardcoded colors on the gradient stops in the XML code.
    I find it odd that no such feature exists to allow variable or named colors in drawing...
    Does anyone know about such feature, or think it's possible to script something to easily flag the current object in such a way the SVG export would retain this information ?

    Oh, BTW, it technically is not a white background either. It is a transparent background. But the grid is hidden to make it easier to design. For new users this can be deceiving since almost any other app is a white background unless you see the grid like in photoshop. In Illustrator, to fill you are required to have an object.

  • Color change when Importing TIFF

    I was importing a photo to test the color calibration of my monitor (it was a sample tiff photo from a website I found). The colors look good using preview but once I import it into aperture the white part of the photo (background) becomes pink?

    For disabling JPEG in ACR go to EDIT => Preferences => Camera Raw and switch it to "Disable JPEG Support" at the bottom in JPEG and TIFF handling.
    It seems that you apply the ProPhoto colorspace via ACR.
    So the result can have two reasons: either the JPEG was saved untagged (converted to ProPhoto but without embedded colorspace) or it was tagged and saved with an embedded profile, but the other applications are non- or wrong colormanaged. Both will result in a desaturated image like it shows up to the right:
    How the appear in a non-colormanaged browser, see the names:
    Also the # in the image name (3rd image) indicates that your color settings (workspace settings) in PS are different from the colorspace of the image.
    Either apply sRGB when you go through ACR or disable the open JPEG with ACR feature as desribed above, which should preserve the original colorspace.

  • Color correction for PrE 10 ?

    Are there any plugins available for PrE 10 to do proper color correction ?
    By default there is a 3-way color corrector but it is quite limited (no range definition for midtones, no secondaries). There is a "Color Fixer" in NewBlue Video Essentials but it appears to be mostly automatic. Basically what I am looking for is something similar to Colorista or Color Finesse that is compatible with PrE.

    As Premiere is not a Color Managed Workspace, the calibrated computer monitor will not be 100% correct. To do advanced CC, I think that you will find Adobe After Effects (a Color Managed Workspace) to be more what you are looking for. PrPro adds many CC Effects, but is still not a Color Managed Workspace, so one needs to output to a calibrated broadcast monitor for critical CC work.
    Also, as Video is likely displayed on myriad devices, from computer monitors to a plethora of TV sets (of various levels of calibration), one can only CC to broadcast standards, and then hope for the best with the viewer's equipment. PrE is designed for consumer output, where PrPro includes broadcast capabilities and After Effects is designed around broadcast. The difference between PrE and PrPro is similar to a comparison of Photoshop and Photoshop Elements, in that Photoshop offers CMYK output for commercial printing, where PSElements does not.
    Until fairly recently, PrE offered scant few Effects to manually CC footage. The addition of the Three-way CC Effect is a big bonus, but as you have found out, for broadcast work, it is lacking.
    I do not know of any CC plug-ins, that will function better in PrE, but places to look would be the NewBlue FX portfolio, and the Red Giant portfolio. Also, make sure that when checking out host applications for their plug-ins, you see Premiere Elements, as most will work in Premiere Pro, but fewer in Premiere Elements, due to differences between those programs.
    Good luck,
    Hunt

  • Workspace changes when re-opening project

    I am using the latest build of Premiere Pro CC 2014, and lately my projects default to showing different sequences whenever I re-open a project. I am working on a project with a LOT of sequences, and every time I re-open the project, I have to sift through sequences to find the one I was last working on. This also happens whenever I switch between the editing and color correction workspaces. I have tried resetting workspaces, but it doesn't help.
    There is a thread about this issue on Creative Cow (http://forums.creativecow.net/thread/3/957081#957081)
    This is eating up a bit of my time, and I'm hoping there is be a solution for this.

    And a thread here, too: Project opens random sequences

  • Changing Workspace Loads Last-Used Sequence Instead of Current One

    Since the update to 8.2.0 (65) build, when switching between workspaces, Premiere will load the last-opened sequence used in that workspace instead of the one currently being worked on.
    For example: I finish my edit of Sequence A. Taking it from my Custom workspace for editing, to the Audio workspace for audio lock, and finally the Color Correction workspace. Then I'm on to Sequence B. I finish my general edit in my Custom workspace and open the Audio workspace to do sound. But now, instead of opening Sequence B in the Audio workspace, Sequence A shows up (having been the last one worked on in that workspace) and I have to manually hunt down Sequence B to load it up.
    Very frustrating. I'll submit a bug report now.
    I tried importing this project into a new project, just in case the issue was the way the update was handling projects created before it, but that didn't solve the problem. I'm on a Mac.

    hello, the desktop is usually not the right place to store the program files. you might want to uninstall firefox from the windows control panel in order to clean up your desktop & install it again. during the setup it's best to keep the installation directory at the default location (usually c:\program files\mozilla firefox) and only create a shortcut to the program.
    [[Install Firefox on Windows]]

  • Color Correction Effect Controls Not Showing Controls

    The recent upgrade seemed to work flawlessly until I tried to go back to some color correction I had started earlier.  In some cases, when I click on the Video Effects tab in the Color Correction workspace, my controls are there and working.  For others, when I click on the Video Effects tab, there's simply nothing there.  I have dragged effects back onto the clip and then gone back to the Effects tab, and still see nothing.  Has anyone else had this problem?  Any thoughts?

    I have the same problem. I've tried removing all effects, adding more effects etc, but in the Effect Controls window all I get is the name of the clip highlighted in blue. I've also gone to Window and selected Effect Controls, but all this does is reveal or hide the Effect Controls tab.  The Motion, Opacity etc controls are not there when I click on the tab. Anyone have any ideas how to get the Effect Controls back?

  • Setting the text color

    Hi
    Does anybody know the syntax for changing the text color for workspace customization ?
    like for backgorund color ,we have color = "background-color:IndianRed"
    Ritu

    Hi Ritu,
    If you're trying to change the color inside of the bpmworkspace.css (the default CSS for the Workspace) to Indian Red you could do this:
    .bpmWorkspaceHeaderUser {
         background-color:#cd5c5c;
         width:100%;
         text-align:right;
    . . .If you're trying to change the background or foreground color of a label or field on a BPM Object presentation, you could do this:
    // set the first label on a presentation to Red
    setForegroundColor this
       using componentId = "label0", 
          color = Fuego.Ui.Color.INDIAN_RED.rgb()
    // set the first text field's background color to Red
    setBackgroundColor this
       using componentId = "text0", 
          color = Fuego.Ui.Color.INDIAN_RED.rgb()This logic would be run from inside a BPM Object's method to dynamically change colors on a Presenation. This would set the first label's ("label0") foreground and the first text field's ("text0") background color to Indian Red. You'd normally have the method invoked either as an initialization method for the presentation (click the outer edge of a presentation -> click the "Properties" tab -> change the method invoked when the presentation initializes by changing the "Initialization method" property) or as the method invoked by a field's "On change invoke" property.
    Note that "label0" and "text0" are the names of the label and text fields on a specific BPM Object's presentation and not the name of an attribute inside the BPM Object. To uncover their specific names, open the BPM Object presentation -> click the label or field -> open the "Properties" tab on the right -> look at the value inside the "Name" field.
    You can see the other colors available if from the Project Navigator tab if you expand the "Catalog" -> expand "Fuego" -> expand "Ui". The upper case attributes listed are enumerations. The string's needed for the "setForegroundColor" and "setBackgroundColor" methods are returned using the catalog's Fuego.Ui "rgb()" method.
    Hope this helps,
    Dan

  • Color Change when saving from CS4

    I have an image from which I wish to make a selection and save as a .png or .gif file on transparent background to use in a collage.  When I re-save the image from CS4, the color is changed quite drastically (face from color to ash!).  The image was shot with a P&S as .jpg but opens in PS first in the cameraRaw dialogue for unknown reasons:
    http://www.gobeck.ca/screenshots/cameraRAW.jpg
    When I save it from CS4:
    http://www.gobeck.ca/screenshots/color_rendition.jpg
    Result form the selection:
    http://www.gobeck.ca/screenshots/color_change.jpg
    How do I resolve this?
    Art

    For disabling JPEG in ACR go to EDIT => Preferences => Camera Raw and switch it to "Disable JPEG Support" at the bottom in JPEG and TIFF handling.
    It seems that you apply the ProPhoto colorspace via ACR.
    So the result can have two reasons: either the JPEG was saved untagged (converted to ProPhoto but without embedded colorspace) or it was tagged and saved with an embedded profile, but the other applications are non- or wrong colormanaged. Both will result in a desaturated image like it shows up to the right:
    How the appear in a non-colormanaged browser, see the names:
    Also the # in the image name (3rd image) indicates that your color settings (workspace settings) in PS are different from the colorspace of the image.
    Either apply sRGB when you go through ACR or disable the open JPEG with ACR feature as desribed above, which should preserve the original colorspace.

  • Customized workspace and direct linking failing

    Morning,
    We are looking to archive the following.
    - Customize the theme (colors) in Workspace based on the following PDF.
    http://help.adobe.com/en_US/livecycle/es/customizeworkspaceui.pdf
    We were successful in customizing the theme. (We simply changed the background color)
    We have are trying to link directly to Workspace base don the following blog. I know this is documented by Adobe also
    however I can't find it. Found it for ES2.
    http://blog.pandyaparth.com/2009/04/workspace-url-parameters/
    This direct link does not work for us when trying to make it work with our custom themed ear file.
    Running ES Update 1 fully patch.
    Adobe recommended Jboss version.
    Windows 2003 environment.
    Suggestions?
    Thanks,
    Carmen

    Not sure if this is it or not but...
    When the portal is restarted it will take your authschemesXX.xml file and rename it to authschemesXX.xml.bak.  The portal does this for most types of files (.par files, etc.) when it's restarted.
    Regards,
    Robin Schmidt.

  • Missing Waveform Monitors - New Install, Most Recent Premiere CC 2014

    Hi,
    I recently downloaded and installed Premiere Pro CC and related apps with a cloud subscription on a new Mac Pro tower. I connected by working RAIDs and opened a PPro project originated on my previous edit system, an iMac.  Right away I noticed some strange behavior and key features missing when I went to color correct my footage.
    With the desired timeline active in the "Editing" workspace, I used the keyboard shortcut (I also tried this with the dropdown menu) and switched the workspace to color correction. Rather than the timeline activated in the "editing" workspace, a completely different timeline in the project appeared in the "color correction" space. This occurred multiple times with seemingly every timeline, but the one I desired to correct activating in the "color correction" space.
    Also, the waveform monitors are absent from both the reference and program viewer menus. I can't seem to the find them anywhere. This leaves me feeling a bit crazy, as I was operating in the most current PPro CC version on the iMac just yesterday and everything was in its place.
    Thoughts on what  is going on here?
    Here are my system specs:
    Mac Pro
    Yosemite 10.10.1
    Processor: 3.5 GHz 6-COre Intel Xeon E5
    Memory: 32 GB 1886 MHz DDR3 ECC
    Graphics: AMD FirePro D700 6144 MB
    For now I suppose, I'll try uninstalling and re-installing the app. Other ideas? Anyone else experiencing this?
    Lindsay

    Thank you for all of the feedback. I have tried un-installing and re-installing twice now. Once using the cleaner tool and once without. Neither has remedied the problem. I was sure to check "Remove Preferences" when performing the un-install, but when I opened a new project after the re-installation, PPro opened in the "Color Correction" workspace rather than opening in the standard editing workspace and still no scopes.
    Other ideas?
    I found this thread, which isn't boosting my confidence in a healthy Premiere / Mac Pro relationship, but I have seen no mention of the missing scopes issue I am experiencing. And really I haven't progressed to the point of attempting an export or render. As you well know, scopes are vital, and there's no point exporting if I can't properly polish a product.
    Premiere Pro CC and the New Mac Pro (2014)

  • How do you make a gradient background on a button in flex 4

    Hey everyone, this is driving me crazy. Below is my css for a button in file.  I want a gradient background on a button in flex 4. I can not for the life of me figure out how to do this. There is no longer the backgroundColors option. chromeColor is only a single color and all the examples I see on the web using fill, and linearGradient throw up errors so I assume these were only in the beta? This is very frustrating to not be able to do a simple thing in flex 4 that worked in flex 3. Any ideas? Thanks.
    Button {
    cornerRadius: 3;
    highlightAlphas: 0.36, 0;
    fillAlphas: 1, 1, 1, 1;
    paddingLeft: 5;
    paddingRight: 5;
    backgroundColors: #ff6600, #ff9900, #ffffff, #eeeeee;
    color: #ffffff;
    disabledColor: black;
    textRollOverColor: #000000;
    textSelectedColor: #000000;
    borderColor: #ff6600;
    fontWeight: normal;

    This may not be what you're looking for, but since you are stuck, I'll elaborate on what FTQuest was saying. It will only take a few minutes to do this.
    In FB4:
    1. right-click the button, choose "Create Skin", give it a package (directory) and name (filename), host component "spark.components.Button" and "Create as copy of" "spark.skins.spark.ButtonSkin".
    This creates junk.mxml for you, the skin file.
    2. In the source of junk.mxml, change layer 1 (shadow) and layer 2 (fill) colors as I did here in this code. Note that where you see {color#}, this is data-binding to a variable I've made in a color.as file that I've included in the skin file. In fact, that is ALL that I changed in the skin file it generated for me.
    snippet from colors.as:
    public   var color1:int = new int(0xA1D190);
    snippet from junk.mxml:
    <![CDATA[
    include "Colors.as";
    layer changes in junk.mxml:
    <!-- layer 1: shadow -->
    <!--- @private -->
    <s:Rect id="shadow" left="-1" right="-1" top="-1" bottom="-1" radiusX="2">
    <s:fill>
    <s:LinearGradient rotation="90">
    <s:GradientEntry color="0x000000" color.down="
    {color5}"alpha="
    0.01"alpha.down="
    0" />
    <s:GradientEntry color="0x000000" color.down="
    {color6}" alpha="
    0.07"alpha.down="
    0.5" />
    </s:LinearGradient>
    </s:fill>
    </s:Rect>
    <!-- layer 2: fill -->
    <!--- @private -->
    <s:Rect id="fill" left="1" right="1" top="1" bottom="1" radiusX="2">
    <s:fill>
    <s:LinearGradient rotation="90">
    <s:GradientEntry color="{color2}" color.over="
    {color3}" color.down="
    {color4}" alpha="
    0.85" />
    <s:GradientEntry color="{color4}" color.over="
    {color5}" color.down="
    {color6}" alpha="
    0.85" />
    </s:LinearGradient>
    </s:fill>
    </s:Rect>
    You can (and maybe should) hardcode colors in here to do your gradients. After this, your button will need to use the skin, like:
    <s:Button ... skinClass="Skins.junk">
    ... where "Skins" is the name of the package/directory I told it to create the skin in.
    This may not be ideal for you, but it's working for me. Regarding having variables for color values, I posted a thread this morning asking if this is the best way to do things or not, so I don't know if it's the way to go.
    Hope this helps ... 

  • SQL*Plus report: hide accept value in report

    HI all,
    I have created an SQL Report of an APEX-Application. The output is stored in a HTML file.
    All works fine but one think I want to hide in the HTML report.
    I try to describe what the problem is.
    I prompt the user to put in the application_id of the apex application:
                           accept v_application_Id char prompt 'Appliaction-ID:'
    In the HTML file the following output is shown:
    Report created on:
    25-Jun-2013, 10:06:04
    alt 8: where application_id = &&v_application_id
    neu 8: where application_id = 680
    Workspace
    WORKSPACE
    APPLICATION_ID
    APPLICATION_NAME
    ALIAS
    OWNER
    Q0Q0AUFTRAGSVERWALTUNG
    680
    Q0Q0AUFTRAGSVERWALTUNG
    F680317
    Q0Q0AUFTRAGSVERWALTUNG_ADMIN
    How can I hide the two lines
    alt 8: where application_id = &&v_application_id
    neu 8: where application_id = 680
    from the report?
    I have searched  this forum and toke a look into the documentation but I have nothing found.
    Could anyone please help me?
    Oracle 11g R2
    This is the SQL script what I run in SQL*Plus.
    -- start script
    accept v_application_Id char prompt 'Appliaction-ID:'
    spool C:\a\APEX.html
    set termout off
    SET MARKUP HTML ON SPOOL ON HEAD "<TITLE>SQL*Plus APEX-Report</title> -
    <STYLE TYPE=’TEXT/CSS’><!--BODY {bgcolor: ffffaa background: ffffc6} --></STYLE>"
    clear break
    clear buffer
    clear compute
    clear column
    clear sql
    set feedback off
    set serveroutput on
    -- Report Header
    ttitle left ' ' skip 1
    select TO_CHAR(sysdate,'dd-Mon-yyyy, hh24:mm:ss')  "Report created on:"
    from dual;
    -- Workspace
    ttitle left col 15 '<font face="Arial" size="+2" color="#0000FF">Workspace</font>' skip 1
    set linesize 300
    set pagesize 500
    set serveroutput on
    column workspace format a35
    column application_id format 99999999
    column application_name format a35
    column alias format a35
    column owner format a35
         select
             WORKSPACE,
             APPLICATION_ID ,
             APPLICATION_NAME,
             ALIAS,
             OWNER
         from apex_applications
         where application_id = &&v_application_id;
    ttitle off
         select
             APPLICATION_GROUP,
             APPLICATION_GROUP_ID,
             HOME_LINK,
             PAGE_TEMPLATE,
             ERROR_PAGE_TEMPLATE
         from apex_applications
         where application_id = &&v_application_id;
    set termout on
    set markup html off head '' body '' entmap off spool off pre off
    set feedback on
    set linesize 80
    set pagesize 50
    ttitle off
    set termout on
    set serveroutput off
    spool off
    set echo on
    -- End Script
    best regards
    ben
    Oracle 11g R2

    Hi, Ben,
    The SQL*Plus command to stop those messages is
    SET VERIFY OFF
    Put this command anywhere before the first use of a substitution variable, e.g. before the SPOOL command.
    Those "OLD" and "NEW" messages will stay suppressed until you either end the SQL*Plus session, or issue a SET VERIFY ON command.
    If you use SQL*Plus often, then, when you have a few minutes, look up the SET command in the SQL*Plus manual,
    SET System Variable Summary
    and read a little about each option.  You probably won't remember everything, but you probably will remember what kinds of things can be controlled by the SET command, and have a better idea of where to start looking in the future when you have a different problem.

Maybe you are looking for