Flex :: Set Theme Using Flexmojos?

Oct 5, 2011

When compiling using flexmojos I get the warning:[WARNING] No themes are explicitly defined in the section or in any scope="theme" dependencies. Flexmojos is now attempting to figure out which themes to include. (to avoid this warning you should explicitly state your theme dependencies)[WARNING] Adding spark.css theme because spark.swc was included as a dependency.[code]But I just get an [code] must be one of [compile, runtime, system] but is 'theme'.I just want to use the standard Spark theme.

View 2 Replies


Similar Posts:


Flex :: Flexmojos Compatibility With SDK To 4.5

Aug 19, 2011

I was working on a project with flexmojos 3.9 and Flex 4.0. I decided to upgrafe my version of the flex SDK to 4.5 but I have the followin problems:

1- Maven Message: [FATAL ERROR] org.sonatype.flexmojos.optimizer.OptimizerMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms

2- Stack trace: java.lang.NoSuchMethodError:flex2.compiler.common.Configuration.setKeepDebugOpcodes(Z)V

View 1 Replies

Flex :: Maven - Flexmojos: Type Was Not Found - UncaughtErrorEvent (Flex 4.1)?

Apr 28, 2011

I'm using flexmojos 3.8 with flex compiler 4.1.0.16248.My Project compiles fine in Flash Builder, but with flexmojos / maven I get the following Error: Type was not found or was not a compile-time constant: UncaughtErrorEvent

The Flex Code looks like this:

loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtError);

The Flex Compiler 4.1 should know the type UncaughtErrorEvent - Why does it fail?

View 2 Replies

Flex :: Swc Build Using Org.sonatype.flexmojos Is Failing?

Oct 14, 2011

I am trying to create and build a flex library project (.swc) using maven 2 firsttime.I am able to create directory structure but build is failing. My maven settings are : Maven version : apache-maven-3.0.2

mvn archetype:generate
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-library

[code].....

View 5 Replies

Flex :: .swc Build Using Org.sonatype.flexmojos Is Failing?

Jan 24, 2011

I am trying to create and build a flex library project (.swc) using maven 2 firsttime.I am able to create directory structure but build is failing. My maven settings are : Maven version : apache-maven-3.0.2

mvn archetype:generate
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-library

[code].....

View 1 Replies

Flex :: Why Does Flexmojos Produce A Different Size Swf To Mxmlc

Oct 5, 2011

I am compiling a very simple app, Main.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">

[code]....

This is quite worrying because I am developing in Eclipse (which uses mxmlc) yet my master build script (which uses flexmojos) is producing a totally different file.

View 2 Replies

Flex :: Flexmojos - SDK Class Not Found, Getting An Error?

Dec 7, 2011

When I try to build the project I get

Definition spark.components.gridClasses:CellRegion could not be found.

this class is contained in com/adobe/flex/framework/spark/4.5.0.17855/spark-4.5.0.17855.swc which is included in the library-path by the flex-mojo compiler but I still get the error.

I use flex-mojos 3.9 and Flex 4.5.

View 1 Replies

Flex :: Get Informative Compile Error Messages When Using Flexmojos-maven-plugin?

Jun 10, 2010

I'am using flexmojos-maven-plugin to build my Flex module. So on the compile phase I'm getting org.apache.maven.plugin.MojoExecutionException: Error compiling!with no information on where (at what source file) the error happens and what is nature of the compile error.

View 2 Replies

Flex :: Setting Compiler.theme Option For Halo/Flex 4 In FlashDevelop?

Jul 12, 2010

Here's what works with ant build.xml:

[Code]...

I tried the following values in Project > Properties > Compiler Options > Additional Compiler Options but none of them worked:

View 2 Replies

Flex :: Set A Swc Theme In Maven?

Nov 1, 2010

I can't set my custom theme in Maven like I do it in Eclipse by changing theme in project properties.

I note the theme swc in dependencies, the compiler founds it but the theme doesn't change.

Who knows how can I set a custom theme in Maven?

View 1 Replies

Flex :: Any Way To Vary Theme By Color?

Dec 17, 2010

When I choose the default theme (Spark Default) in a Flex 4 app, I can merely change the chromeColor value and the theme will effectively change the base color of the theme for me. Are there any special tricks to creating a new theme that uses this same concept? What if the new theme is a more graphical theme? I'd like to offer a number of base themes for my application, each theme having it's own set of color variants.

View 2 Replies

Flex :: Pass Dynamic Theme From Swf To Swc?

Feb 13, 2012

I have one swf file which takes theme from network during runtime. Now I conerted that swf to swc, and created another container swf to point to that swc. Seems the new swf file has the theme information, which the swc does not take the theme.

View 1 Replies

Flex :: Switch To Another SWC Theme At Run Time?

Mar 22, 2012

My goal is to have more themes for my application and if possible, bundle them with the application itself, not load them at runtime usingIStyleManager.loadStyleDeclarations().Using the theme command-line option, you can have more than one "compile-time theme" bundled with your application according to docs: theme filename [...] Specifies a list of theme files to use with this application. Theme files can be SWC files with CSS files inside them or CSS files. However, I wasn't able to find an example how to actually do that (use the += syntax on command line?) and switch between those themes at runtime.

View 1 Replies

Flex :: Air - Background Not Changed After Changing Theme?

Jun 27, 2010

I am developing an AIR application and I want to change my project theme to one of the additional included themes that is packaged with Flash Builder 4. So, I went to the Project Theme and changed it and it looks like it is supposed to in the Design View. When I run the application, the components (eg: a button) themselves look like it is supposed to, but the application's background is just white instead of the displayed color in the design view.

View 2 Replies

Flex :: Compile Theme In Flash Builder 4

Jan 22, 2011

How to compile Flex theme SWC from file.css and additional skin classes in Flash Builder 4?

I've tried creating simple Flex Library project but it does not seem to use CSS file because resulting SWC does not work as theme.

View 1 Replies

Flex :: Halo Theme On A Spark Component

Aug 2, 2011

I have a Flex form made up mostly of MX components. Due to limitations with the MX mx.controls.ComboBox, I'd like to use the Spark control, spark. components.ComboBox. This works, except the Spark ComboBox sticks out visually because it doesn't use the Halo theme.Is there a way to have the Spark ComboBox use the Halo theme?

View 1 Replies

Flex :: Switch To The Halo Theme In Flash Builder 4?

Feb 14, 2011

As you know, Adobe added a new theme called Spark in Flash Builder 4, but it looks really ugly to me. The problem is that I can't switch the current theme to Halo![code]When I switched button declaration from <s:Button> to <mx:Button> then my button began to look much better. But I can't switch all such declarations manually, and I don't imagine making the same change to the Application tag would apply the style at an application level.So, my big question: How can I make Flash Builder 4 use the same theme as in Flash Builder 3? How can I apply it to all new controls?

View 2 Replies

Flex :: Current Theme Spark Styles Not Working

May 2, 2011

I am trying to figure out why I am getting an error when using the chromeColor (or other spark style related items):
<s:Button x="10" y="208" label="CALL" width="185" fontWeight="bold" id="bCall" chromeColor="#F90000"/>

This is the error:
The style 'chromeColor' is only supported by type 'spark.components.Button' with the theme(s) 'spark'.

Yet in project - properties, the theme is set to Spark. I also tried setting it to Halo and then back to Spark. Here is my app definition:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="800" minHeight="600" width="100%" height="100%">

I have seen references that define the mx namespace as "xmlns:mx="library://ns.adobe.com/flex/halo", but then my mx components break (TabNavigator for example) - not sure if that would fix it anyway. I is using flex 4.1 library (I believe the project was originally created when flex builder was at 4.0 if that matters).

No other libraries included.
Project - properties is set to MX+Spark.

Also, if I remove that chromeColor, the project compiles, BUT there are warnings such as: The style 'borderAlpha' is only supported by type 'spark.components.TitleWindow' with the theme(s) 'spark'. Flex Problem (and others - borderColor, cornerRadius, dropShadowVisible).

View 2 Replies

Flex 4 :: Flash Change Theme Dynamically At Runtime / Not At Compile Time?

Dec 9, 2010

flash builder 4 comes with a couple of cool spark themes, and there are tons of others out there on the web, I want to be able to change the theme at runtime, without recompiling.

View 1 Replies

Flex :: Blackberry - Change Font Size Or Theme Across Entire Application?

Apr 7, 2011

I am creating an Adobe Flex application for the Blackberry Playbook. I was wondering if there is a way where the user can click a button (for example) to increase or decrease all font sizes across the entire application?

View 1 Replies

Apply Color Theme On UIScorllbar

Nov 23, 2009

I wana apply theme on UIScrollbar according to my design theme but i m unable to do that.

View 3 Replies

Flash :: Complete My Wordpress Theme?

Sep 30, 2010

Is possible to have the posts loaded into an swf using the wordpress framework? i mean, i want to write a post using the wordpress wp-admin interface and then see the result in a swf... I know that if i access using a php pipe the mysql server i can retrive the posts, but as i said i want to use the facebook framework.

View 1 Replies

Css :: Make External Theme And Use It - With Flex4?

Mar 18, 2011

I made a SWC project (my new Theme), with these elements :

src/views/MyViewSkin.mxml
src/DefaultTheme.css

I made a SWF project (Flex app), with these elements :

src/views/MyView.as
theme/DefaultTheme.swc // theme building result

In the SWF project, I added this information in mxmlc compiler : -theme theme/DefaultTheme.swc. My problem is : how to build SWC projet (theme) with HostComponent[xx] is external ?

[Code]....

View 1 Replies

Flash :: FlashDevelop And Compile A Theme Using FD 3 Or 4?

Jul 22, 2011

How to compile a theme using FD 3 or 4? I have a CSS file with assets and would like to get a SWC file (not SWF) like halo.swc

View 2 Replies

ActionScript 3.0 :: Dynamically Load A Theme In Flash?

Mar 10, 2009

I am looking for a way to dynamically load a theme in flash. I want to change the look of the swf based on the passed url. I can get the data from the url I just don't know if there is an easy way to dynamically change the theme other than just creating several swf files and choosing which one to load.

View 1 Replies

ActionScript 2.0 :: Theme Loaded At Separate Times?

Sep 21, 2009

I have a bunch of external .swf's that I need loaded into my main one, but I need theme loaded at seperate times. Basically I think I need a single screen in the main file that holds a loader in the background and a movieclip place holder in the front. The click from a button in the menu needs to set the swf to be loaded and the screen informations,w here it is then sent to the single frame area to display the screen information, the loading bar, etc. When the movieclip is 100% loaded, it needs to take over the screen in that area until another screen is requested.

View 1 Replies

Professional :: Lost Theme Music - Any Way To Track Down?

Apr 27, 2010

I have a large Flash site. Inside one of the frames I've placed an MP3 track as a theme tune. I now cant find where it is. Is there a way to track down the theme tune so it can be removed from the site?

View 1 Replies

ActionScript 1/2 :: Change ScrollPane / ScrollBar Theme?

Apr 5, 2011

How to Change ScrollPane ScrollBar theme

View 2 Replies

ActionScript 2.0 :: Flash Theme - How To Edit Destination Of Buttons

Dec 17, 2007

I am trying to make a flash theme for my website. Lets start off by saying I downloaded a theme already made I just gotta edit the text. What I want to know is how I can edit the destination of the flash buttons they are set to move across the page on a marquee. I am able to find the individual file but when I try putting in

Code:
on(release){
getURL("[URL]", "_blank");
}

It responds Cannot Make this change cause mouse settings can only be done to a button. I understand I have to switch it to Action - Button.

View 2 Replies

Actionscript 2.0 :: WordPress 2.8.6 With P2 Theme, Only Carousel Part 1 Works?

Feb 16, 2009

My test site has the (working) part 1 carousel on it, but the part 2 carousel, which I have embedded just like part 1, DOES NOT WORK.

Go to the following to verify that both are working outside of WordPress:

- Part 1 carousel
- Part 2 carousel

I have been beating on this for TWO WEEKS, I am ashamed to say. I tried every possible carousel possible. Really! Thrilled to meet with success in getting parts 1 and 2 of the carousel to work at least locally. Not only have I tried every carousel, but I have also tried every plug in known to try to get the part 2 carousel to run as an *.swf embedded in a PAGE. Why does part 1 work, but not part 2?

I even worked my way up from WordPress version 2.2, leaving the default template intact (thinking that the P2 theme might be incompatible), but no. Only the part 1 *.swf works.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved