Using css from another project

I've been trying to create a "Theme" project in Flex 3 that can be included in my numerous other projects. Is there a way to do that currently? All it has in it right now is a styles.css file, but when I try to link that to a different project it doesn't work. Do I really need to copy my css to each project every time I make a change?
Thanks,
Philippe

Hi,
You create theme swc from css files. Check this livedoc's page for more info
http://livedocs.adobe.com/flex/3/html/help.html?content=styles_12.html
css files can also be compiled into swfs which can be loaded at run time.
http://livedocs.adobe.com/flex/3/html/help.html?content=styles_01.html

Similar Messages

  • How to include a CSS from another project

    Hi all,
    I'm developing an AbstractPortalComponent which uses some of my own defined stylesheets. I can include the stylesheet defined in my own project by this:
    com.sapportals.portal.prt.resource.IResource myStyle =
    request.getResource("css", "css/my_nav.css");   
    response.include(request, myStyle);
    Now I need to include another CSS but from another project.
    I tried also to get the response and write the HTML code but it writes it into the <BODY></BODY> tag and the CSS is not used when rendering the document:
    ...</head>
    <body class="prtlBody urFontBaseFam urScrl">
    <LINK REL=stylesheet HREF="/irj/portalapps/myProject/css/zglobal.css" TYPE="text/css">
    Does anybody know the solution?
    Thanks in advance,
    Romano

    There are document hooks that you can use to insert things into the response of a page being written to the client.
    Therefore, if you create a service which implements the IDocumentHookListener, you will then need to implement the
    String doDocumentHook(int documentPosition, IPortalComponentRequest request, IPortalComponentResponse response)
    and
    void doDocumentHook(int documentPosition, IPortalComponentRequest request, IPortalComponentResponse response)
    The first method, that returns a String, you can basically check where in the document you would like to write code, something like
    switch (documentPosition) {
      case IDocumentHookListener.HEAD_SECTION_BEGIN :
        return "some string";
        break;
      case IDocumentHookListener.HEAD_SECTION_END :
        return "some other string";
        break;
    The second method, simply writes out the String returned from the first method to the response, i.e.
      response.write(doDocumentHook(documentPosition, request));
    I hope this helps
    Darrell

  • Using vi from another project

    I have two LabVIEW projects. One of them works fine. I want to use two VIs from the working project in my other project. However, when I copy the VIs to the other project, it states that the subVIs are not executable and there is an invalid method, refnum class and constructor. 

    What exactly do you mean by project? The issue you are describing sounds more like you are trying to use a few VIs from either a library or a class. Projects do not impose any restrictions on the scope of VIs. It would be much easier if you could post some screen shots of the project and indicate what you are trying to copy.
    The real question though is why are you copying the VIs? If you take the time to organize your code correctly you should be able to simply reuse the code without having to copy it.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Importing sequence from another project, can't connect to dynamic link

    I'm trying to get another sequence from another project into this one (mostly to be able to copy over a specific edit from that without remaking it) and when trying to do so, the system, as per the usual, tries to connect to the dynamic link server, but stalls on the connection screen for some time.  One time it simply told me that it could not connect, and another time I got an "unspecified draw error".  I'm using a PC.  Any help that anyone could provide would be greatly appreciated; I've never run into this issue before, and have had to copy edits between projects multiple times.

    Hi Boonslayer,
    Wrong forum. Moving to Premiere Pro forum.
    Kevin

  • Importing single bin from another project

    Do any of the experts (or former Avid users) know how to import a single bin from another project into the current project - is this possible in CS6? Also is there anything like the dupe detection in Avid? On the subject of Speech to text (analysis) does this improve over time - i.e. is there a learning system such as in Dragon Naturally Speaking that will reduce the gibberish somewhat? Thanks

    Hi Mike,
    You can only import an entire Premiere Pro project, or a selected sequence, into your current PP project.  If you want to import just a single Bin, you can:
    Make a copy of the project you want to import, and then, in the Project window, delete all media outside the Bin you you want to keep.  Now import that modified project with only 1 Bin.
    Put all of your Bin's media on a new sequence, and then import just that sequence into PP.  Only the media associated with that sequence will be copied into your master project.
    Import your entire PP project and delete all media outside your Bin from within your master project.
    No dupe detection as of yet.  If you haven't already, please send Adobe a Feature Request here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&promoid=EWQQL.  The more people ask this, the better the chances we'll finally get it (I miss it from FCP).
    As for Speech to text, I don't use it so I don't know.  Hopefully someone else will chime in.
    Hope this helps.  Cheers!

  • Can we use Result from another query in Webi using Bex uery universe?

    Hi,
    Can we use Result from another query filter option in Webi to create a report using a Bex Query universe?
    I need to create a report using two universes, one is Bex Query Universe and the other is Orcle universe. I have two queries, one is using Oracle universe; the other using Bex Query universe. I need to pass the Oracle data from the Oracle query to the Bex Query query to get the matched data from SAP Bex query.
    I used Result from another query in the query filter panel for the query using Bex query universe. But I got an error saying that 'A filter contains a wrong value. you cannot run this query. (Error: WIS 00007). The data used in the filter on both sides are the same. they are char.
    I have tested by using two queries from the same Bex query universe to see if the Result from another query filter option works. And I got the same error.
    Has anyone run into the same issue and if this is possible and what should be the solution?
    Thanks in advance!
    Edited by: BO_Haiyan on Oct 6, 2010 3:47 PM

    In that situation:
    Create two queries : Oracle and BW query.
    @ Report:
    As you have to see result set from both the Dataproviders, correct? To achieve thise one must have common dimension objects to merge them at report and use Objects those are coming from both queries to use them in single Table/Report.
    Unless you don't use Merge Dimensions, you don't get a chane to use both queries objects in single Table/Report. (It will give tooltip saying: You can't drop here -- Incompatable Objects)
    In case, if you don't have common dimensions, change object definitions to Detail objects, for those required.
    Hope it helps you.
    Thank You!!

  • Using data from another View

    Is it possible to create a new Grid in the same analysis where calculated/Grand Totals columns/rows may be used?
    I understand there is a feature use results from another analysis but wonder if it can be used in the same. Thanks.
    Adi

    Hi,
    Say you have a report for retrieving Sales by Products for a company and showing up grand total of sales for all products too in the same report. So, how about a case where you would like to see each product's contribution to the whole sales numbers? For this, a new column could be something like
    Measures.Sales*1.0/SUM(Measures.Sales)
    Here Measures.Sales is the sales for each product and SUM(Measures.Sales) is nothing but the total sales ie grand total.
    Hope this helps.
    Thank you,
    Dhar

  • How can I use footage from one project in another?

    The best format for saving your video from one project so that it can be used in another Premiere Elements project is DV-AVI. For hi-def video, the format is HDV.
    To save your video as a standard-definition DV-AVI, go to Share, Personal Computer and select the AVI output option with the DV preset. When you're ready to mix together these segments open a new project using the DV settings and assemble them on that timeline.
    To save your video as a high-definition M2T video, go to Share,  Personal Computer and select the MPEG output option with the 1440x1080 MPEG preset. When you're ready  to mix together these segments open a new project using the HDV settings  and assemble them on that timeline.

    The best format for saving your video from one project so that it can be used in another Premiere Elements project is DV-AVI. For hi-def video, the format is HDV.
    To save your video as a standard-definition DV-AVI, go to Share, Personal Computer and select the AVI output option with the DV preset. When you're ready to mix together these segments open a new project using the DV settings and assemble them on that timeline.
    To save your video as a high-definition M2T video, go to Share,  Personal Computer and select the MPEG output option with the 1440x1080 MPEG preset. When you're ready  to mix together these segments open a new project using the HDV settings  and assemble them on that timeline.

  • Inserting animations from another project

    Hello,
    I'm using Captivate 5 (ver. 5.0.2.630) for a while know and up till know I've included interactive content by using creating it in another project, publishing it and than I included it as an animation in my main project.
    That worked fine for me for while but roughly since the last patch the anymation I include won't show anymore.
    The old anymation I included some months ago are solid white (picture 1) work perfectly fine but the ones I recently included are see-through and won't show in the publishe project (picture 2).
    Any ideas how to fix this?
    Thank you
    Michael
         Picture 1
         Picture 2

    Sorry if I was unclear on this. The animation was created in captivate and then imported into my main captivate project as a .swf. I've been working that way since march this year without problems but for the last 1...2 month it just doesn't work anymore.
    What I've done so far is to include the slides from the "animation" project and included them into my main project. But that's not always possible since I might cause problems with my navigation on some occasions.

  • How to call a Jclient form from another project?

    In my workspace, there are three projects. One is for business components. The other two are Jclient forms applications. Can I open a Jclient form from another Jclient form in another project?
    I used to create multi_form accounting application using Oracle Form Builder in which I can call a form from another form.

    Just set one project to be dependant on another in the project settings dialog of the former. This should work.

  • Inheriting Project Roles from another project

    Hello all,
    I wants to inherit all the project roles from one project to another without actually creating the new roles, and then close the parent project.
    Because i have one business requirement that we need to create a new project with same resources as the parent project and it is too time consuming to create roles, consider the case there are 10-15 resources assigned.
    Is there is any way to do it ?

    Hi Rahul,
    You can create generic  project template in which you can create the WBS and create the roles as well as you can assign business partner to roles .
    use the template while creating the project all the role from the template will be inherited.
    Regards
    shiv

  • How to call a process from another project

    Hi;
    How to calling a process from another process in another project? Which activity that i need or web service, direct binding? I use 11g

    Hi Tulasi ;
    I have wsdl of the process i need to call. Also wsdl address on the server. But CALL activity can't use to service call. CALL activity can use only to reusable process call.
    I think, this operation must make on composite.xml. But I have a same problem with this method and it don't work.
    I create a base process that looking at below. It's include a direct binding. Is it include a direct binding?
    [Base Process|http://d1201.hizliresim.com/t/s/21wqu.png]
    Then i create a process that call to base process:
    [Caller Process|http://d1201.hizliresim.com/t/s/21wqx.png]
    I paste to base process' wsdl address on the server. Then i select port type (BaseProcessPortType) and a warning has occured that you see the picture above. Base Process contain Oracle SOA Composite Type. What's the wrong? It happened for Callback Port Type.
    And second question is what's the Address? (under Reference Binding Setails option).
    I think, i create the this direct binding correctly, i call to base process into my caller process via service activities.

  • JBO-33035: Row currency has changed; Using snapshots from another DB

    I receive this error due to a snapshot performing a complete refresh. It is not due to the user hitting the Back button in the browser. How can you get around this scenario. The page has been rendered, the user navigates somewhere else via some link, and the jbo-29000 and 33035 errors get thrown because of the snapshot having refreshed. It's not an option to stop using the snapshot. I have already tested setting 'Enable Token Validation' to false on the object. Still get the error. Any suggestions?

    Hi,
    I assume you use JavaServer Faces, correct ? In this case go to the starting page's pagedef file and opn the Structure Window
    - select the "bindings" node and create an "action" that you bind to the ViewObject execute() operation (If you use EJB or POJO, crate a methd binding)
    - in the "executables" section create an "invokeAction" pointing to the action created before
    - under refresh conditions, add #{!adfFacesContext.postback} so the iterator is refreshed when you navigate back from another page.
    This should solve the problem
    Frank

  • Slide size issues with copy from another project

    Working with Captivate 4.  I have a completed project where I have a slide I would like to re-use in a new project.  The recording options for each project are the same - full screen recording.  The image is being cut off all the way around the when I 'Copy Slide' in Project A and 'Paste Slide' in Project B.
    If the layout size is the same, why is the image being cropped/adjusted in the Paste?  Is there any way to adjust the size of the image when pasting an entire slide into a project?
    Thanks in advance,
    D

    Hi again
    Seems odd. But I may have a workaround. What if instead of copying the slide, you simply insert a Blank slide in the new project? Then you copy the background of the slide from the older one and paste as background into the newer? Results the same then or what?
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • FB: best way to extract CSS from a project created in Catalyst

    I'm posting this on behalf of a question on the Catalyst forum (http://forums.adobe.com/message/2324233#2324233): Once I import a Catalyst project into FB, what's the best way to go about extracting CSS from it so that all the styles aren't inline?

    Any help or pointers will be greatly appreciated.
    thanks,
    Fu

Maybe you are looking for

  • Issue with deleting a group using Request APIs in OIM 11g R1

    Hi, I am facing an issue with Request Based provisioning in OIM 11g R1. I am currently testing a scenario where i have imported a data set for 'Modify Provisioned Resource' and am able to add a group/entitlement to an already provisioned resource by

  • VF02- Billing doc not cleared

    Hi Gurus, I have raised a sales order and got the following document flow: - Sales order - Completed - Delivery + PGI - Completed - Billing - Invoicing done + FI Document has been created But I have the following message in Billing: Accounting docume

  • Last version of ADT.xsd is obsolete to be used with JAXB 2.0?

    When applying the JAXB 2.0 compilation to ADT.xsd, a java.lang.Exception occurs. The debugger informs that some of these XML Schema constructs are not supported by JAXB. As these unsupported constructs are included in the ADT.xsd schema, an error is

  • Error 101

    I have sufficient memory on my computer but keep on getting error 101 and I am unable to download.

  • DVD Image/Icon?????

    Does anybody know how to create an representation image of the dvd when it is in the computer. So the DVD icon is replaced by a graphic? I tried jacket that enabled something like a screensaver. I am trying to create a graphic for the DVD icon. I hop