Apply Color Theme On UIScorllbar
Nov 23, 2009I wana apply theme on UIScrollbar according to my design theme but i m unable to do that.
View 3 RepliesI wana apply theme on UIScrollbar according to my design theme but i m unable to do that.
View 3 RepliesWhen 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 RepliesIs it possible to change color and theme style of flashpaper when we load it in Flash?It's color is not good for my project... How can I change it's color from halo green to something else
View 2 RepliesI need to use te colorTransform to change the color of one movieclip in stage. I can do it, but I loose the original degrades illustration has. How to apply the color transform but defining one alpha to the new color, so what is being fill doesn't looses its appearance?
cor_tv = new ColorTransform();cor_tv.color = picker_fundo.selectedColor;
root[que_tv].tv.transform.colorTransform = cor_tv;
root[que_tv].tv.alphaMultiplier = 0.5;
I'm building a website and I have a constant moving background that is red. Sometimes I need to change the color of the background. Now I Don't want to load new movies! Instead I would like to use the adjust color filter to change the color of the background. Now through research I have found out that you have to use the color matrix. Here is the code
import flash.filters.ColorMatrixFilter;
var myMatrix:Array = [1,0,0,0,0, // Red
0,1,0,0,0, // Green[code]....
My question is how can Apply this so I can fade it in? I assume I use an onEnterFrame to add it but how do I alpha it? It's kind of like this tut but not for a button.
i have 3 mc's on stage and several buttons to change the color of a mc. can i apply the color change to one of the 3 mc's by selecting it?
example: i click on the triangle to select an then go to the color buttons and click to change the color, but if i select the square and then click on the color button it will change the square color....
ActionScript Code:
function changeColor(){
var my_color:Color = new Color(my_mc);
my_color.setRGB(0xFF0000); // my_mc turns red
[Code].....
I have figured out how to have 3 different color transformations apply to an MC called myPic. I am trying to figure out how to reverse those changes on rollOut. This is what I have so far. Do I need to use delete this.onEnterFrame? I tried but got errors.
Code:
chip1_mc.onRollOver = function() {
this.onEnterFrame = function() {
myColor = new Color(myPic);
myColorTransform = new Object();
[code]....
I have Flash CS5 and cannot get the pencil or in k tool to change color it stays at the layer color only. When I make a shape and pick paint bucket tool it will not add the color I am choosing.
View 1 Repliesin FlashBuilder I want to dynamically generate approximately 1200 rectangles from a CSV file (these are all different colours) which will perform an action on Click.
What is the best way to go about doing this? I've read that the drawing API on Air and Android is not a good idea, and am thinking about using the Spark Rectangle class, but I can't seem to work out how to apply a colour to it if I'm generating them dynamically using AS?
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?
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 RepliesIs 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 RepliesI 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]....
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 RepliesI 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 RepliesMy 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 RepliesI 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 RepliesI 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.
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 RepliesHow to Change ScrollPane ScrollBar theme
View 2 RepliesI 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 RepliesHow 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.
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 RepliesAs 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 RepliesI 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).
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.
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.
i have a button, with instance name lightblue_color. I am assigning a color to its color field like this: lightblue_color.transform.colorTransform.color = 0x65ffff; then i am adding an eventlistener to the button like this: lightblue_color.addEventListener(MouseEvent.CLICK, ChangeColor); Then, in the function: public function ChangeColor(evnt:MouseEvent):void {trace(evnt.target.transform.colorTransform.color);} It prints 0. Why is that? Shouldn't it print 0x65ffff or do i need to do some type conversions?
View 2 Repliesflash 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