Issues in Rendering CSS File

I am trying to render a page. This page uses a CSS file. I have used the following line to access CSS.
<link type="text/css" rel="stylesheet" href="Demo/css/workingCSS1.css"/> where 'Demo' is the site name. I have enables 'stylesheet' asset type for the project and have chceked in the CSS file using 'New Style Sheet' option assuming that this will checkin the CSS file at <Site_Name>/css/workingCSS1.css relative location just like its is happening in 'avisports' site where the CSS is getting stored at avisports/css/all.css and being accessed in the following way
<link type="text/css" rel="stylesheet" href="avisports/css/all.css"/>
<link type="text/css" rel="stylesheet" href="avisports/css/form.css"/>
The problem i am facing is that the
1.) unlike sites 'avisports' and 'FirstsiteII', there is no folder getting created for my project\site in /oracle/middleware/user_projects/domains/<domain_name>/CS/<site_name>/css. I am using 'Publish destination: Delivery' for my site. The Destination address: http://[targetserver:80]/servlet/ & Remote User: [user] values for this destination is the default one. I have just included my site by editing the property of this destination. What should i do in order for my site folder to be created at /oracle/middleware/user_projects/domains/<domain_name>/CS/
2.) All my CSS files checked in through the project are getting stored only at /oracle/Middleware/Shared/Storage/StyleSheet/807/436 location. I want these to be stored at /oracle/middleware/user_projects/domains/<domain_name>/CS/<site_name>/css. What i need to to achieve that.
Edited by: user9070495 on Feb 12, 2013 3:40 AM
Edited by: user9070495 on Feb 12, 2013 3:41 AM

dexterity wrote:
Could you please elaborate ?
I am afraid I am not an authority in this.Have your program (in your main method) take a command-line argument that represents a path to the configuration file.
If the argument isn't specified, use the one packaged in your Jar, but don't allow any configuration changes.
If the argument is specified, use that, and allow it to be overwritten.
Example excerpt of filesystem:
/progroot
/progroot/program.jar
jar:/progroot/program.jar!/config.xml
/progroot/config.xml
java -jar /progroot/program.jar - uses the jarfile's configuration file. Cannot be changed
java -jar /progroot/program.jar /progroot/config.xml - uses an external configuration file. Can be changed.
Edited by: endasil on 21-Jul-2008 1:44 PM

Similar Messages

  • Issue with multiple CSS files

    I am having a problem adding multiple css files in an article.  When i alter the html close the article then re-open it. RoboHelp changes this and adds 1 css link.  See images below.  For now I am going to put all styles in one file, but want to know if there is a work around and what others are doing for this.
    Before close
    After close and re-open

    Sorry but RoboHelp only supports one CSS file.
    See www.grainge.org for RoboHelp and Authoring tips

  • Issue with path reference in apex.min.css file using Theme 25

    Hi all.
    I upgraded recently to Apex 4.2.1.00.08 and my existing applications had been working fine. I then thought I'd changed the theme to Theme 25 as it was a new one available to me. This was fine and the application works well however I wanted to test a change to the css so I copied the apex.min.css file and renamed it as apex.min_copy.css. I made my small change, which was just a change to the background colour of the table in apexir.WORKSHEET. I then uploaded this through the shared components and referenced it in my header using
    #WORKSPACE_IMAGES#apex.min_copy.cssI also commented out the referenced to #APEX_CSS# in the header so it would use my uploaded copy and not be overridden.
    When I then ran the application again, it prompted me for the xdb username and password. I tracked this down to lines in the css file where the relative path to an image in the file was like ../ws/image_name
    For example:
      background-image : url(../ws/report_bg.gif);I took these lines out, uploaded again and it was fine and my change was visible, meaning that the #WORKSPACE_IMAGES#apex.min_copy.css was being read correctly. I can also browse the location of these files on the xdb database using a browser connected a system and I can see the files where i expect them to be.What I cannot understand is how other references to images in this css file such as
    background : url(../apex/builder/dev-bar.png) 0 0 repeat-x transparent;
    background-image : url(../htmldb/builder/builder_find_bg.png);do not cause an issue but the one mentioned earlier(/ws) does
    I hope someone has an idea .
    Thanks,
    Colm Dickson

    Mark,
    Modifying the default files is dangerous and ill advised. You could always just add a style sheet (inline or linked) to your application that overrides that one setting while you wait on the permanent fix.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Defaults.css File issue

    Hi Guys,
    I have been trying to understand the issue revolving around defaults.css file in a Flex Library project. Here is my scenario,
    I  have the following 3 library projects and they have their own defaults.css
    1. Component-1.swc ( this is a defaults.css in it )
    2. Component-2.swc ( this is a defaults.css in it )
    3. Component-3.swc ( this is a defaults.css in it )
    I am trying to merge all the above SWC's into a single SWC named framework.swc using the maven dependency element as shown below.
    <dependencies>
           <dependency>
                 <groupId>com.ui</groupId>
                 <artifactId>Component-1</artifactId>
                 <version>${project.version}</version>
                 <type>swc</type>
                 <scope>internal</scope>
           </dependency>
           <dependency>
                 <groupId>com.ui</groupId>
                 <artifactId>Component-2</artifactId>
                 <type>swc</type>
                 <version>${project.version}</version>
                 <scope>internal</scope>
            </dependency>
           <dependency>
                 <groupId>com.ui</groupId>
                 <artifactId>Component-3</artifactId>
                 <type>swc</type>
                 <version>${project.version}</version>
                 <scope>internal</scope>
             </dependency>
    <dependencies> 
    this results in framework.swc with a single defaults.css ( any one out of the three defaults.css file ). Can someone help me understand why this is behaving like this ? My guess is that it is trying to replace the defaults.css file when a dependent file was included in the file swc. But why ??
    Any response is greatly appreciated.
    thank U!

    That's because you're creating a class.   You don't need a class to style HTML selectors.
    HTML selectors don't contain any prefixes.
    h1 {color:teal}
    h2 {color:brown}
    h3 {color: maroon}
    Classes contain a dot prefix and must be referenced in the HTML.
    .classname {color:pink}
    <h2 class="classname">This class is pink</h2>
    Nancy O.

  • DW6 fluid grid layout issue: writes to page instead of css file

    Using DW6 (version 12, owned, build 5861) on Windows 7 64 bit.
    Following tutorials and the help files to use the fluid grid layout.
    Start a blank page on a new site, which inserts the starter div and new css file
    Immediately save page, which also generates/saves ancillary files (js and css).
    Remove inner div that's created in order to use my own (have also tried leaving the default one in place and using that)
    Insert new div, within the "gridContainer clearfix" div.
    Place cursor just after that new div, still inside "gridContainer clearfix" and add new "fluid grid layout div tag", new row.
    Following same method, do so again.
    Dreamweaver adds the generated CSS code to the actual page instead of the expected div, visibly (minified)....and everything breaks. It does *not* add the code into the CSS file from there on and the only way to have it display the div (which does not show any visual indicators since the CSS is basically lost that would do so, is to CTRL-Z to undo the last step. It undoes the CSS showing as the only content in the HTML file, and *does* show a div with the name I'd given it. If I copy/paste that generated CSS into the fluid css file *then* CTRL-Z, it looks the way it's supposed to, with drag handles, visible indentations and so on.
    If I then change div widths or position, it does record those changes in the CSS file, so it appears this is only when inserting new divs after the second one that's a problem (third div inside the container is when it starts choking; none overlap).
    This is repeatable, on both desktop and laptop, running the same version. I've tried saving after every div insertion, only saving at the start, code view only, split only...
    I've tried searching for someone else having this issue and must not be wording the search properly, can't find anyone else seeing this. It's a weird one.
    If anyone can point me to something to try so the workaround isn't needed, it would be appreciated.

    OK try this workflow.
    Create a new FGLayout and SAVE.  This will save your CSS file with whichever name you give it.
    Switch to Design View.  Click on Mobile Display.  Build your mobile layout first since this is what everything else is based on.
    Insert a few Divs and don't worry about content.  Just get the basic Div structure stacked one on top of the other like this:
    <div class="gridContainer clearfix">
         <div id="div1">
              Div 1
         </div>
          <div id="div2">
              Div 2
         </div>
         <div id="div3">
              Div 3
         </div>
          <div id="div4">
              Div 4
         </div>
    </div>
    Hit Save and name your HTML file.   Do not edit the CSS file.  DW will generate the necessary layout code for you.
    Switch to Tablet Display.
    Grab the right side handles to resize divs and move to row above as desired.
    Save often during development.
    Switch to Desktop Display and repeat.
    Once your layout is built, test media queries by previewing in browsers by resizing viewport
    When you are completely satisfied with your responsive layout, begin adding content and use a separate external style sheet for content styles.  DO NOT EDIT boilerplate or Layout CSS files as doing so could break your layout.
    Nancy O.

  • Linking external css file issue

    Hello everyone,
    I have linked my css file to the html in dreamweaver manual in the html page and by attaching the css file in dreamweaver but when I add new stle to my css file I dont know why it wont show the affect of the style I add to the HTML file while I have the split view in dreamweaver. please help

    That's because you're creating a class.   You don't need a class to style HTML selectors.
    HTML selectors don't contain any prefixes.
    h1 {color:teal}
    h2 {color:brown}
    h3 {color: maroon}
    Classes contain a dot prefix and must be referenced in the HTML.
    .classname {color:pink}
    <h2 class="classname">This class is pink</h2>
    Nancy O.

  • [svn:fx-trunk] 11548: MXFTEText. css now has a type selector for FTEDataGridItemRenderer that matches the one for DataGridItemRenderer in the MX default .css file.

    Revision: 11548
    Author:   [email protected]
    Date:     2009-11-06 16:35:27 -0800 (Fri, 06 Nov 2009)
    Log Message:
    MXFTEText.css now has a type selector for FTEDataGridItemRenderer that matches the one for DataGridItemRenderer in the MX default.css file. Both set paddingLeft to 5.
    QE notes: None
    Doc notes: None
    Bugs: SDK_22741
    Reviewer: Alex
    Tests run: ant checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/MXFTEText.css
        flex/sdk/trunk/frameworks/spark-manifest.xml

    AN UPDATE ON MY ISSUE:
    It appears to be limited to Dreamweaver. When I upload the files to my server and use BrowserLab or Microsoft SuperPreview the pages are rendering properly in all versions of IE. It's only broken when viewing in Design view within Dreamweaver or when using BrowserLab from within Dreamweaver. So at least I know my website works, which is a huge relief, but does anyone have any idea why Design view would complete ignore my styles? It's very annoying.

  • Mac 10.5.7 update has made golive 9 stop rendering css in layout view

    Has any one else on Mac with the mac 10.5.7 update have new issues with golive 9 not rendering css in layout view. It works still in pdf preview and if I boot to 10.5.6 all is normal again. Also in the live rendering engine it works as well...just not in layout view- its very disconcerting. Any workarounds? anyone else with this issue?
    thanks
    Adam

    I have been using an external CSS file simply for defining font styles
    site wide. The rendering of them on screen in layout view is now just
    the plain default font prior to showing the CSS altered version of it.
    Sorry, I'm not sure I understand what you mean here. You mean it shows your text in the default and *then* renders it correctly using the CSS after a delay?
    I tried torching the prefs...perhaps I did the wrong file...what file is to be deleted?
    ~/Library/Preferences/Adobe GoLive 9.0 Prefs
    ~/Library/Preferences/Adobe/GoLive/Settings9 (a folder)
    ~/Library/Preferences/com.Adobe.GoLive.plist
    Move them out to, say, the Desktop. If they are not the cause of the problem, put them back replacing the newly-created versions.
    I cloned my os prior to the update and all was fine. Rebooting to clone
    css renders normal...but in 10.5.7 its not rendering in layout view.
    I'm not seeing the same thing here with GL9/OS X 10.5.7, so it may be its something specific to your particular update. You might also want to consider doing a re-import of the site to recreate the site file and see if that helps.
    John

  • OHS failed to load css file due to URL too long

    Hi everyone.
    I hate weblogic and webcenter rendered URL, it is so long and so unfriendly. I have a webcenter portal with two applications and both of them run on clustered managed servers.
    To load balance between managed server, I use OHS with mod_wl. My portal application has web root /portal, so that I have to use URL_rewrite method to change / to /portal. My url rewrite rule like that:
    RewriteRule ^/$       /portal/ [R]Almost things work fine, but my application has been lost css file, I tried to track back problem on Oracle WebCache and Http Server. Finally, I found the problem on OHS when it tried to load URL, this error log message:
    [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: cnth-webportal02] [host_addr: 10.0.11.12] [pid: 2032] [tid: 6] [user: oracle] [VirtualHost: main] (78)File name too long:  Cannot map GET /portal/resourceproxy/~.portletId~3D~252Foracle~252Fadf~252Fportlet~252FscopedMD~252Fs8bba98ff_4cbb_40b8_beee_296c916a23ed~252Fportlets~252FDsVbQppl_aac156d0_7228_4d64_8d64_540747b24374~26clientId~3D376889213~26resourceId~3Dwsrp-url~25253Dhttp~2525253A~2525252F~2525252Fcnth-webap01~2525253A7005~2525252Fdsvbqpplportlet~2525252Fportlets~2525252Fresources~2525252Fadf~2525252Fstyles~2525252Fcache~2525252Fportal-desktop-p3hck1-en-ltr-gecko-prtl.css~252526wsrp-resourceID~25253D~252526wsrp-preferOperation~25253Dfalse~252526wsrp-requiresRewrite~25253Dtrue~252526wsrp-resourceState~25253D~252526wsrp-resourceCacheability~25253D~26baseUrl~3Dhttp~253A~252F~252F10.0.11.12~252Fportal~252Ffaces~252Fvi~252Fvim~252Fvipages_trangchu~252Fvanbanquyphamphapluat~252FPage21a40ab3_13db990577d__7ffe~253F_adf.ctrl-state~253Da6u2s5q4o_4~2526_afrWindowId~253Dq4kb7nftg_835~2526_afrLoop~253D95429295792500~2526_afrWindowMode~253D0~26locale~3Den~26checksum~3Da2e2f3fca8c0242727c089582d5766a64621549b/portal-desktop-p3hck1-en-ltr-gecko-prtl.css HTTP/1.1 to file, referer: http://10.0.11.12/portal/adfportlet?_adfp_request_id=1364703594900&_adfp_icr=1I've google for it but cannot found useful solution yet. Have you ever face to it ? How to solve it ?
    PS:
    Does this problem relate to mod_rewrite ? If true, how to direct root / to /portal without that module ?
    I see that portal project have to have an web root name that cannot be /. So with out rewrite module, my users cannot use http://portal-host/ to entry my portal.
    I have another issue with OHS, that is my servlet cannot work with OHS. My servlet (used to provide link to download file) work perfectly on managed servers but not on OHS load balancer. I am wondering that it is URL to long, too.
    Please help me

    I am currently running other OHS instance on RHEL 5.5 with the same configurations and have not any error. So, I am wondering about different between Solaris 10 and RHEL. Have you got any idea ?

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Problem with CSS files when placed in multiple locations.

    Hi,
    In our application we have a folder structure for the code files. Folder structure looks something like the one shown below:
    ABC
    ---Scripts
    ---Stylesheets
    DEF
    Scripts
    Stylesheets
    Common
      ---Scripts
      ---Stylesheets
      The problem is, if we create a CSS file and place it in its module specific folder (Eg: ABC) to which it belongs to and call the CSS on a page, then the styles are not getting applied to the page. But if we move the stylesheet to the Common folder, then page renders properly. In common folder, we already have a common CSS which is used across the project.
    Facing similar problem with module specific and common js files.
    We have to move all the module specific files to the module folders and all the common files to be placed in the Common folder.
    MII Version: 11.5
    Please help!
    Regards,
    Rajesh.

    Rajesh,
    Also note that, If your html is referencing to multiple css files then the last referenced CSS file style classes will override all the style class having same names in the previous css files.
    for example,
    say CSS1 has
    .bodycolor
    background-color:yellow;
    .button
    color:red;
    h1
    font-size:50pt;
    and CSS2 has
    .bodycolor
    background-color:red;
    .button
    color:yellow;
    And your HTML is,
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="css1.css"/>
    <link rel="stylesheet" type="text/css" href="css2.css"/>
    <title>CSS Test</title>
    </head>
    <body class="bodycolor">
    <h1>Hello World</h1>
    <input type="button" class="button" name="B1" id="B1" value="      Click         " size="50">
    </body>
    </html>
    In this case the classes "bodycolor" and "button" will be overridden by css2 file but h1 will be taken from css1
    Hope this helps!!
    Regards,
    Adarsh

  • Unable to embed External CSS file, dropdown list,filter panel and dimension filter are not working in SAP Design Studio Tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    There should be an Error Log under View > Error Log that gives you more details of these errors.  Could you add that?  There is also a View > Script Problems log that provides more details as well.

  • How can I specify a different css file for mobile browsers?

    I'm experimenting with updating our website to be "mobile friendly". I could use some help.
    We use a lot of static HTML landing pages for things like links from email ads, etc. What I'm trying to do is have 1 landing page so the content/html page is always the same, but the page will detect what browser/device you are using and then load a different css file depending on what it is. But, we don't want to have to load the style info from the PC version if you're not on a PC.
    What I'm doing now is specifying the media type in the css link, like this..
    <link rel="stylesheet" href="style.css" type="text/css">
    <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="mobile.css" type="text/css">
    What's happening is it's loading the main stylesheet first, and then the 2nd one changes some styles if you're on a device with a max width of 480 pixels (like an iPhone). But since it's loading the PC styles first, it's making some things look screwy.
    So, is there a way to say "If you're on a PC, load this stylesheet. If you're on an iPhone, load this one instead." .. without javascript? I don't trust javascript too much on mobile devices. I feel like this some simple little thing that I'm missing that will make it all automagically work.
    We don't want to have different content depending on the browser, just different stylesheets. Can anyone help?

    Hi
    Would it be better to do 2 different stylesheets, or just one big one and add a section at the bottom like:
    @media only screen and (max-device-width: 480px) {   .styles {whatever: styles;} }
    2 separate style sheets are recommended. The reason for this is that the Safari mobile browser, (as used in iPhone etc) will download any/all images specified in a style sheet even if they are not used or specified in a media-query rule, this is a know bug with that browser.
    I'm also having a new issue where the style "clear: both;" doesn't seem
    to be working right. I set up my top horizontal menu using float: left,
    and there's a lot of links so on the smaller screen it wraps, which is
    fine but now the wrapped links are floating over the page content...
    This is one of the reasons that floats should not be used in style sheets for mobile devices, the only exception I know of is for small typographical feature such as 'pull-quotes', (and never use float: right;). It is also recommended to include a menu at the bottom of the page, (or at least a link back to the top).
    It works, if I have the iPhone as portrait it looks great, but if I turn
    it to landscape, everything is zoomed in. But if I switch back to
    portrait, everything is the right size. Is there any kind of way to get
    the landscape to have the normal zoom level? I know I can do
    "initial-scale=1.0", but that is just for when the page loads, not if
    you change it afterwards...
    I have heard of only one recommendation to fix this and that is a page refresh on resize, but due to bandwidth limits now being implemented by many providers it is probably not a good idea, you could try setting -
    maximum-scale = 1.0
    as well.
    PZ

  • Safari not loading .css files / hanging page load

    A bit of an odd one this...
    I'm having a few issues a couple of websites in that the page takes an age to load - and when (if) it does, the CSS file hasn't loaded, so the page is unstyled.
    One page is http://www.liverpoolfc.tv - the main page and the advert page before it both have the same issue.
    From the activity report, this is because the browser is not completing the download of the file http://www.liverpoolfc.tv/lfc.css - although this will download fine if I download the file not as a part of the site.
    The (Safari) activity report shows that the page's .css file is stalling, in this case at 8.0KB out of 8.6KB - this is consistent each time I try to load the page.
    The problem occurrs in both Safari (3.2.1) and Firefox (3.0.6) on Mac OS X 10.5.6. It also happens with the current version of WebKit and Camino. The computer is up to date on all other relevant patches, including the recent Security Update, Java Update 3 and Flash.
    I'm experiencing this problem with another website, again with the .css file not loading.
    Similarly, I have two computers (both the same versions of software) and the problem is consistent between them.
    What I've tried so far...
    - resetting Safari
    - deleting the cookies manually
    - using a proxy server
    - starting Safari in Rosetta
    - using a copy of Safari without any user preferences (via the System Admin login)
    None of these have made a difference. However, given that this is a problem across Safari, Firefox etc., I suspect this must be an issue in a shared component.
    Any thoughts?

    1. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    2. From the menu bar, select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Delete All. Close the preference pane. Test.
    3. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Trying to dynamically load CSS for project at compile time via config XML file to select CSS file.

    I'm using the same code base to compile different versions of a project. Each project has different base fonts. I've created multiple css files that use the same style names. The idea being that in the code I reference the style names, then the loaded CSS determines which font (and size, color, etc) is used for each style name.
    The CSS files are compiling to SWFs, and those SWFs are referenced in config.xml files. Before compiling, I select the config file to use.
    I am loading the CSS SWF files via the StyleManager in the Application.mxml, like so:
      styleManager.loadStyleDeclarations( _contentData.elements( 'cssPath' ).@path )
    The path traces out correctly as:
    assets_embed/styles/project2.swf
    For some reasone I must include an fx:Style line in the Application.mxml file or no fonts are recognized. Example:
      <fx:Style source="assets_embed/styles/project1.css"/>
    If I reference the css for project one (as done above) then most, but not all, styles work. Some styles reference the fonts from the project 1 css, others properly use fonts from project 2 swf. If I point to the CSS for the project I'm compiling in the <fx:Style > tag then all fonts work, but that defeats the goal of using XML rather than code to identify the styles.
    So, why do I need the fx:Style line if the css is being loaded via StyleManager?
    Why is there "cross talk" between style definitions?
    Is there a better way to select styles at compile time?

    I read this quickly so I might have missed a detail.  I think your describing an issue with recent Flex releases that is described in the fine print somewhere.  If you don't have any fonts embedded in the main app and are only bringing in fonts embedded in CSS SWFs, you have to force-link the EmbeddedFontRegistry by adding something like this to the main app's script block.
    import mx.core.EmbeddedFontRegistry; EmbeddedFontRegistry;
    (Yes, "EmbeddedFontRegistry" is in there twice, once to define the fully qualified name, the other to create a class dependency to force the linking).

Maybe you are looking for

  • Runs fine in preview, but doesn't work when burned

    I've been running into a few nagging problems on iDVD 6... When I preview what I've assembled in iDVD, it runs as intended -- an autoplay intro movie, then to the main menu. When I've burned it to DVD, it starts with the intro movie, but then goes in

  • T 410s : the best of Lenovo ever

    Is it only me believing this ? I think this model is the best laptop one can buy today - although it is not as customizable as T410.  It has the right size, the ideal weight and it is worth all its money ( unless there are any "issues" ).

  • I am running my canon camera on the EOS utility program for mac, and i was wondering if there is a keyboard shortcut to start video recording, instead of using the mouse.

    I am using EOS utility for MAC to run my canon camera at work. I have a foot switch connected to my macbook that allows me to take snapshots with my foot while i work ( i am a dentist and i have my camera hooked to a microscope). the way i did that i

  • Move objects from DEV to QA

    My database is a 10.2.0.4 database running on HPUX IA64 box. I have a requirement to move a Package and a Trigger from DEV to QA. Package ETH_OWAI.CAI_E1_Trigger_pkg Trigger ETH_OWAI.CAI_F4311_AIUDR Could someone please help me with the steps as to h

  • Listeners Problem

    Dear All i type netmgr and ORACLE NET MANAGER OPENS there i click on (plus)+ sign of Listeners and it gives following error .. [oracle@sys202 ~]$ netmgr Exception occurred during event dispatching: java.lang.IllegalArgumentException: illegal LWChoice