Spark skins, modules and custom themes: linking issues?

I've read some other threads on this topic that were related to the pre-release versions, but I can't get a complete answer get. I also opened an issue in the bug tracker (https://bugs.adobe.com/jira/browse/SDK-30748), but I'm also posting here, hoping to get some help.
Basically, I have a bunch of skin classes for the standard Spark controls (e.g. s:Button), as well as other skin classes for my custom SkinnableComponent objects. I need to reuse those skins in many projects, so I created a theme: I put in a Flex Library Project all my skin classes, all related graphical assets, and a defaults.css stylesheet that associates each component with its correct skinClass.
Now, in my modular application project, what is the correct method to link this compiled theme SWC? I tried different ways, and found some issue for each one:
In <app>-config.xml, using the <theme> compiler option: this way, modules don't pick up the skinClass correctly (default components use the standard Spark skin, and for custom components I get many skinNotFound errors).. its a pity, I like this method because command-line invocations of MXMLC (build scripts) automatically apply the settings in the config.xml file, while I have to manually keep in sync any additional compiler argument.
In <app>-config.xml, using the <theme> compiler option and add -compiler.isolated-styles=false: seems to work, but not always.. moreover, the option must be put in additional compiler argument, and not in <app>-config.xml, to have effect... I understand that the config.xml file, in a modular application, is only applied to the main application (or that it must replicated with correct name for each module)?
In additional compiler arguments, using the theme+= option.. these arguments should be used also for modules compilation, and this seems the most effective solution at the moment (swf size of compiled modules has slightly increased), but skinNotFound errors still happens sometimes, usually going away after a clean build.. maybe this has something with the incremental build performed by Flash Builder and/or optimization of modules?
Right now, I've tried adding also -keep-all-type-selectors in the compiler arguments to see how it goes...
Is my scenario supported by Flex 4? How should I setup my environment? I read how to create custom themes in the official documentation (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f85.html) and a specific help section exists about using styles with modules (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-799a.html#WSda 78ed3a750d6b8f1b97f82d12508050aa0-8000), but it only cover simple style sheets, no specific information about compiled themes and the suggested linking strategy.
I'm using Flash Builder 4.5.1 and compiling with Flex SDK 4.5.0 (both application and theme), the project use some Halo components (e.g. DateField) but almost all components are Spark, and I use Spark component for <s:Application> and <s:Module>. Modules are optimized for the main application, and are loaded using the ModuleManager.
Thanks in advance for any help.
Cosma Colanicchia

I'm not sure Spark components will work if the compatibility mode is set to
3.

Similar Messages

  • Change the look and custom themes, masterpage problem

    I have created a masterpage and deployed it to the masterpage gallery.
    I have created a spcolor file and a spfont file and deployed them to the theme catalog.
    I have also created a New item in the composed look list like this:
    Masterpage: /_catalogs/masterpage/mycustom.seattle.master
    Theme: /_catalogs/theme/15/mycustom.spcolor 
    Font: /_catalogs/theme/15/mycustom.spfont
    Image: none
    DisplayIndex 3
    The problem is this: The theme is not displayed in the Change the look preview window.
    But if i change the masterpage back to std (/_catalogs/masterpage/seattle.master) in my composed look item. THEN it is displayed ??
    Changing back to my custom masterpage, then it disappears.
    Everything looks right, i can apply the theme through code. Masterpage is also changed in code and works.
    The only place it doesn't work is in change the look.
    The masterpage is deployed like this:
     <Module Name="MasterPages" List="116" Url="_catalogs/masterpage" Path="MasterPages" RootWebOnly="TRUE">
        <File Url="mycustom.seattle.master" Type="GhostableInLibrary">
          <Property Name="UIVersion" Value="15" />
          <Property Name="ContentTypeId" Value="0x010105" />
        </File>
      </Module>
    What am i missing ??

    Hi blarsern,
    Thanks for your sharing! It will be beneficial to others in this forum who meet the same issue in the future.
    I will mark your reply as anwser to close this case.
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to split Inventory and customs during Goods Issue

    Hi Friends,
    We create an Intercompany PO and do a GR against it. It creates an automatic GI. The Material document posted during GI is Dr. COGS account and Cr. Inventory account. The Inventory account consists of stock value + customs duty paid during GR.  Now we want to split this inventory and customs separately while posting the GI.
    For Example: Stock value = $100, Customs duty $10. Then total inventory value is $110.
    Current postings
    Dr. COGS      $110
    Cr. Invenotry  $110
    To be postings
    Dr. COGS          $100
    Dr. Other Costs $ 10
    Cr. Inventory      $100
    Cr. Customs       $ 10
    Please share any inputs to achieve the required postings.
    Regards
    Surya

    Hi
    In our company we have the following cycle if it can gives you any idea:
    inventory purchase with custom/ freight cost
    Dr. Inventory                         1150
         Cr. GR-IR                         1000
         Cr. Custom for Inventory    100
         Cr. Freight for Inventory       50
    While Goods issue to production :
    Dr. COGS                1150
         Cr. Inventory        1150
    Regards
    Mahmoud El Nady

  • Custom data link issues in sample code

    Hi all,
    I had tried to debug/run the sample of custom data link of Indesign SDK CS2. I found issue in this sample code whenever I create a package of the document which having the custom data link, at this time I got the message dialog box having the message "Cannot copy necessary linked file(s)".
    anybody know about this problem that how we can resolve this, Please let me know.

    Pete, I think this is a known issue- see http://support.adobe.com/devsup/devsup.nsf/docs/54028.htm for some workarounds.
    best wishes
    Ian

  • Pop-up blocker icon and custom themes?

    While searching with Google for instructions on how to re-enable pop-up blocker notification messages, I found this [http://forums.mozillazine.org/viewtopic.php?f=38&t=159901&start=0 discussion thread], where it was mentioned that FF places a icon in the status bar if pop-ups are blocked and notification messages are disabled. I have never seen such an icon in my FF installation. Some experimentation revealed that the icon ''does'' display if the FF default theme is selected, but not in the custom themes I am currently using: Alfred Kayser's Walnut2 1.8.60, and Ken Barbalace's Classic Compact 3.6.0.
    Is this a problem with FF, or with specific themes? If you have the pop-up notification message disabled, do you see a notification icon in your status bar when pop-ups are blocked? Which custom theme are you using when you see it? Thanks...

    If it doesn't work with a custom theme then the theme makers didn't include that icon in its theme. You can contact the creators of those themes and inform them about that.
    You can re-enable the sliding info bar at the top of the browser.
    You can look at these prefs on the about:config page and reset them via the right-click context menu:<br />
    Info bar at the top: privacy.popups.showBrowserMessage<br />
    Status bar icon: browser.popups.showPopupBlocker<br />

  • Regds : Adapter modules and custom modules

    Based on which criteria, we will start working towards custom and adapter modules

    Hi praveen,
       There is no specific criteria on which the adapter modules have to be developed.The only criteria is the Business requirement.SAP ships the Ready to use adapter modules to enchance the functinalities of Available Adapters.
    Ex: There is a Adapter module called ZIP bean that can ZIP the files that have been received on the target side .Simlilary there are about 9 SAP provided modules which can meet certain business requirement.
      If u like to have ur own u can develop one and go ahead.So many Giudes are available in SDN for that.to get an idea.
    Please refer the followig links .Hope this is useful
    http://help.sap.com/saphelp_nwpi711/helpdata/en/fd/16e140a786702ae10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
    Thanks,
    Ram.

  • How to sync external audio to clips and KEEP them linked?

    I have never been able to do this. Very simple...
    1. Shoot some video with a DSLR and...
    2. Record audio with external recorder, such as an H4N.
    3. Sync then in Premiere Pro (I have CS5)
    4. Keep those files associated with each other so that you do not have to keep them in your timeline at all times.
    Unfortunately, this is a mystery to me. I'm always stuck with everything in my timeline or I will lose those now linked files.
    Below is a video I shot of my computer screen and Premiere Pro so I can explain it visually.
    Yes, there is likely an easy solution. But I haven't found it. Please note that I have CS5, no plans to upgrade and no money to do so.
    Thank you. 

    Provided that you are happy to lose the synch with the original audio of the clip, this can be done.
    Right click on the original clip and select Unlink from the drop down menu.
    Highlight the video and the new audio by clicking on both whilst holding down Shift, and R click.  Select Link in the drop-down menu.
    If you want synch for both audio clips, then the only work-around that I have found is to duplicate the original video clip in a track which is turned off, so it does not show, and link the new audio to that.

  • Drobo and Lightroom 2 link issues

    I am using my Drobo through DroboShare.  I import the folders into lightroom and after about 24 hours Lightroom shows that the link is broken.
    When I look for the folder the path indicates something like drobo 24 or drobo 25.  It seems that whenever the Drobo does its thing it is breaking the link.  Does anyone else have this issue?  Any ideas how to fix it?
    Thanks

    Import your files onto your internal HDD. You set the path in the dialog on Import.

  • Controls, Skins, CSS and Custom "psuedoclass" (beyond :hover, :pressed...)

    Hi All,
    If you haven't experienced control skinning via css, read about it here: http://forums.sun.com/thread.jspa?threadID=5357325&tstart=0 (thanks to tamerkarakan).
    Turns out Control has some stateful information stored in it such as hover, pressed, focused. When these are TRUE you can associated a style with that stateful presence of your Control.
    The CSS to turn MyControl from RED to GREEN when hover is (programaticaly) set to true would look something like:
    "com.myjavafxapp.control.MyControl" {
    fill: RED;
    "com.myjavafxapp.control.MyControl":hover {
    fill: GREEN;
    }What I would like to know is can I add my own "hover" equivalent? If I create a control that has stateful setting of "state"="Low:Medium:High" and I want these represented in the CSS by "Yellow, Orange, Red" how can this be done? Ideally all styling logic should be outside the control in JavaFX CSS. What I would really like to see from a CSS perspective is this....
    "com.myjavafxapp.control.MyControl" {
    "com.myjavafxapp.control.MyControl":state=low {
    fill: YELLOW;
    "com.myjavafxapp.control.MyControl":state=med {
    fill: ORANGE;
    "com.myjavafxapp.control.MyControl":state=high {
    fill: RED;
    }Can this be done?
    Cheers

    Thanks topley, that's what the fan's want alright.
    According to that I need...
    "com.myjavafxapp.control.MyControl":${state == LOW} {
    fill: YELLOW;
    "com.myjavafxapp.control.MyControl":${state == MED} {
    fill: ORAGE;
    "com.myjavafxapp.control.MyControl":${state == HIGH} {
    fill: RED;
    }But this css syntax is NOT supported in JavaFX :'( and neither is :state==High or :state=High eta. I tried adding state as a boolean and just :state {} but this gives the following exception....
    com.sun.stylesheet.UnsupportedPropertyException: java.lang.IllegalArgumentException: state
    at com.sun.stylesheet.javafx.FXObjectStyleSupport.addPseudoclassListener(FXObjectStyleSupport.java:430)
    at com.sun.stylesheet.styleable.DefaultStyleable.addPseudoclassListener(DefaultStyleable.java:184)
    at com.sun.stylesheet.PropertyManager.addPseudoclassListener(PropertyManager.java:447)
    at com.sun.stylesheet.Rule.applyTo(Rule.java:226)
    at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:277)
    at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
    at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:257)
    at javafx.scene.Scene.applyStylesheets$impl(Scene.fx:235)
    at javafx.scene.Scene.applyStylesheets(Scene.fx:43)
    at javafx.scene.Scene.userInit$(Scene.fx:220)
    at javafx.scene.Scene.initialize$(Scene.fx:43)
    Things would probably be a little easier for me to work out if I could look at the source of Control and determine how hover, pressed and focused are implemented... even if I am limited to just discrete Boolean values for now.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Linking Clips to Projects and Keeping them linked when re-arranging events.

    I have uploaded all of my videos in I movie and created several projects in rough form as I plan to work with those projects over the upcoming weeks. The video's I uploaded as events were 25 years old and of my events spanned a few years. When I created my projects--I used pieces and parts of events (clips) from several different events. In short, my events don't align at all with my projects. Now I'm wanting to maybe rearrange my events to better align with my projects (i.e. I've put all birthday parties into one projects and I want to move birthday clips into one event.)
    I'm concerned that if I move the clips and arrange new events--I movie will not know where to find the clips that align with my current projects. Will this be a problem.
    A related but different question is as follows--I've backed up my events onto a portable hard drive. If I decide to delete these events altogether from my hard drive---and plug in my portable drive---will I movie find the clips making up my projects--even though they are not on the drive they were originally on when they were selected and placed into the project.

    What I am asking is if anyone knows how to link these together in a less cumbersome fashion.
    Yes and no. Basically, you were caught in an changeover enhancement. iMovie '08 only had the option of movie Events whereas iMovie '09 can move or copy either or both. In my case, the Projects were still on my number one internal drive but my Events had been previously moved to my number two internal drive. I simply opted to "move" both the a single external drive which worked successfully without have to first "restore" the Events to the number one drive first which seems to imply there was sufficient pointers available to restore/update locations by simply "moving" your Projects to join your Events on the external drive. But I tend to agree that having a "re-link" option would be a nice enhancement request for iMovie '09.

  • How to manipulate records inside customized modules and reflect to the seeded modules

    If we are going to add custom modules inside Oracle EBS that link to Receivables, how do we create/update/delete records inside those custom modules and make them reflect inside Receivables? Are we going to use also the Interface tables and standard APIs? Can anyone help me on this matter or point me to some reading materials.  Actually, I already started reading Oracle Applications Developer's Guide which gave great knowledge on how to start this task.
    Thanks in advance.

    Jon632 wrote:
    If we are going to add custom modules inside Oracle EBS that link to Receivables, how do we create/update/delete records inside those custom modules and make them reflect inside Receivables? Are we going to use also the Interface tables and standard APIs? Can anyone help me on this matter or point me to some reading materials.  Actually, I already started reading Oracle Applications Developer's Guide which gave great knowledge on how to start this task.
    Thanks in advance.
    You can use interface table, or APIs or both.
    All APIs are documented in eTRM website -- http://etrm.oracle.com
    Oracle Receivables: Receipts API Overview, Setup, Sample Scripts and Troubleshooting (Doc ID 1361075.1)
    Oracle Receivables Invoice API: Setup and Sample Scripts (Doc ID 1242202.1)
    Oracle Receivables: Receipts API Known Issues and Patches (Doc ID 1362066.1)
    Oracle Receivables Credit Memo API: Setup and Sample Scripts (Doc ID 1272600.1)
    Oracle Receivables Invoice API: Known Issues and Patches (Doc ID 1306471.1)
    Oracle Receivables: Transactions API Overview (Doc ID 1240573.1)
    Oracle Receivables Credit Memo API: Known Issues and Patches (Doc ID 1316475.1)
    Oracle Receivables Adjustments API: Overview, Sample Scripts, Known Issues (Doc ID 808758.1)
    Oracle Receivables Deposits API: Sample Scripts, Known Issues/Patches (Doc ID 266964.1)
    How to Register a Receivables Application Programming Interface (API) as a Concurrent Request (Doc ID 785369.1)
    Thanks,
    Hussein

  • Horrible time making customs themes and masters

    I'm having just the most difficult time working with Keynote (2.0.2) and custom themes. I've create a new master slides but all kinds of problems just keep creeping in. First the bullets that I created on the master would (sometimes) be hidden on the actual slides. Then I could just expand the body content on the actual slides and the bullets would come back. If I edit things a little more then would go away.
    Sometimes when I make a new slide and see the words "Double-click to edit" I would double-click but I would never edit.
    Now I have a problem where the indenting for a "Body Level Three" node is further left than a "Body Level Two" node. And I can't find out how to fix this for the life of me.
    http://www.moss-pultz.com/random/keynote_master.png
    I've tried to create new documents based on this theme and still, nothing works right.
    I'm pulling my hair out trying to get this program to work. Any ideas what's going on?

    In version 3 you can go to your menu bar, click on the view tab and go to "show master slides".
    On the left side you will see the two different boxes. The masters are on the top and the regular slides are on the bottom. Click on the master slide you want to edit at the top. Once you select it you are now working on the master.
    As for the third bullet, you have two choices. You can change the indentation on the master, or you cand simply highlight the bullet, pull up the inspector, go to the text tool or "T" on the inspector. After you do that select bullets. There you can change any bullet to any indentation level you desire.
    I realized after typing this that you said you had version 2. Version 2 bullet alignments in the masters are a little harder to manage. You have to click on show rulers and adjust the tabs stops for the text boxes. This really takes a little tweaking when you do that. Version 3 makes life much easier as you can set the indent level and also the spacing with specific numbers under the bullet information in the text area of the inspector tool.
    Seriously, if you want an easier time, they really improved text and bulleting in version 3. You will save a ton of time by upgrading. Version 3 also has a ton of other enhancements including multiple text boxes with bulleting.
    Good luck.

  • Invoice in SD and Customer Invoice in FI

    Hi,
    We can create invoice in Vf01 in SD billing module and customer invoice in F-22 in FI module, may I ask what is the difference between them?

    Hello,
    The diff between VF01 & F-22:
    VF01: This will create only billing document in SD module, No financial impact in FI.
    F-22: This will create invoice document in FI and accounting doc will be generated.
    In real time with the integration(FI-SD) accounting doc automatically generated, no need to post again in F-22. If u can make only in VF01 then ther is no accounting doc and payment is also shows pending.
    thnkas
    Para

  • Architecture for base Product and customized versions of product

    Hello
    We have a product written in Flex.
    We have several customers who have this product. The product is customized to each customer.  When starting a new project, we copy the project of a customer who had similar requirements, and then make further changes.
    We have this idea to have a base product layer and then have a customization layer where we can place project and customer-specific fuctionalities.   Also:  when we update the base product, these updates can be incorporated into the customized versions.
    I wonder how can you accomplish this in Flex?
    Thank you,
    Juan Esteban

    Developing a good plug-in architecture is *hard*.However, it's definitely worth it. The best approach will depend on exactly what you want to do. At the high level, you can:
    1. Write the base application and load plug-in modules, and allow them to changes aspects of the application behavior or style
    2. Turn your base application into a core application logic library and a (separate) custom component library, and turn each customer implementation into a new project that leverages these.
    If you use dependency injection (e.g., SmartyPants or SwiftSuspenders), you can allow (1) a fairly flexible manner of interacting with the application without depending on gynormous "context" objects. You just need to perform injections on the loaded plugins, and they can pick up any dependencies without having to worry about anything else.
    Whether (1) or (2) makes more sense will depend on exactly what you're trying to do, but in general, (2) is more flexible while (1) is somewhat simpler (and generally less per-implementation work).

  • Issues with OSSO ,custom login module and form based authentication

    Hi:
    We are facing issues with OSSO (Oracle Single Sign on ),Our application use the form based
    authentication and Custom login module.
    Application is going in infinite loop when we we try to login using osso ,from the logs
    what I got is looks like tha when we we try to login from OSSO application goes to the login
    page and it gets the remote user from request so it forwards it to the home page till now
    it is correct behaviour ,but after that It looks like home page find that authentication is
    not done and sends it back to the login page and login page again sends it to the home as it
    finds that remote user is not null.
    Our web.xml form authentication entry looks like this :
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/jsp/login.jsp</form-login-page>
    <form-error-page>/jsp/couldnotlogin.jsp</form-error-page>
    </form-login-config>
    </login-config>
    While entry in orion-application.xml has the following entry for custom login :
    <jazn provider="XML">
         <property name="custom.loginmodule.provider" value="true" />
    <property name="role.mapping.dynamic" value="true" />
    </jazn>
    Whether If I change the authentication type to BASIC and add the following line
    in orion-application.xml will solve the issue :
    <jazn provider="XML">
         <property name="custom.loginmodule.provider" value="true" />
    <property name="role.mapping.dynamic" value="true" />
    <jazn-web-app auth-method="SSO" >
    </jazn>
    Any help regarding it will be appreciated .
    Thanks
    Anil

    Hi:
    We are facing issues with OSSO (Oracle Single Sign on ),Our application use the form based
    authentication and Custom login module.
    Application is going in infinite loop when we we try to login using osso ,from the logs
    what I got is looks like tha when we we try to login from OSSO application goes to the login
    page and it gets the remote user from request so it forwards it to the home page till now
    it is correct behaviour ,but after that It looks like home page find that authentication is
    not done and sends it back to the login page and login page again sends it to the home as it
    finds that remote user is not null.
    Our web.xml form authentication entry looks like this :
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/jsp/login.jsp</form-login-page>
    <form-error-page>/jsp/couldnotlogin.jsp</form-error-page>
    </form-login-config>
    </login-config>
    While entry in orion-application.xml has the following entry for custom login :
    <jazn provider="XML">
         <property name="custom.loginmodule.provider" value="true" />
    <property name="role.mapping.dynamic" value="true" />
    </jazn>
    Whether If I change the authentication type to BASIC and add the following line
    in orion-application.xml will solve the issue :
    <jazn provider="XML">
         <property name="custom.loginmodule.provider" value="true" />
    <property name="role.mapping.dynamic" value="true" />
    <jazn-web-app auth-method="SSO" >
    </jazn>
    Any help regarding it will be appreciated .
    Thanks
    Anil

Maybe you are looking for