Flex :: Disable The Icon On A Button?

Jun 9, 2011

I have a button which I use for sending a message. When the message text is empty, it should not be possible to click the button.

This is all fine and not an issue. The only thing that is bugging me is the fact that I can disable the send button but the image does not get disabled (like I would expect).

Is there a way to do this elegantly because I don't want to provide a sendicon_disabled.png and change it myself (I don't think this should be my job).

View 1 Replies


Similar Posts:


Flex :: Add Icon On Spark Button Skin?

Jun 11, 2010

I am trying to add different icon on different buttons. I have my skin file ready but not sure if I have to create different skin class for different button. It sounds inefficient.

<s:Button id="pass"
width="110"
height="35"

[Code]....

View 2 Replies

Flex :: Converting Button Icon Back To Image

Dec 5, 2009

I want to extract/read the button icon image as a Flex image component, then apply transform filters to it to make it black/white and then apply image as an icon to another button. So far I can get the icon out as an Object by doing this: var iconImg:Object = myBtn.getStyle("icon"); Not sure how to convert that Object to an image.

View 1 Replies

Flex :: Reposition An Icon Inside A Button On Any X,y Cordinates?

May 20, 2010

how to reposition an icon inside a button on any x,y cordinates . i know how to use labelplacement etc but still i dont get the full control over them. i m just wondering if there is a way to directly access and control the x,y position of an icon in a flex button

View 1 Replies

Flex :: Button Icon -- Change To Greyscale And Back

Sep 9, 2011

Until now, my solution for a disabled button's icon was to have a second, greyscale icon and swap the icons based on the button's enabled value. Obviously this is very hackish.

I'd like to drill down into the button's icon and apply some kind of greyscale filter when the button is disabled and remove the filter when the button is re-enabled. I tried a couple of things, but I don't know enough about Flash graphics to really have a good idea about what to do.

Can anyone give me some pointers? Ideally, I'd like a Flex 3 solution (since most of my apps are still mx/spark mixed), but Flex 4 would be OK too.

View 2 Replies

Flex :: Scale Button`s Icon For Mobile Applications

Jan 27, 2012

Use Flex 4.5.1 and when add icons to the button is so curve effect of scaling. Prompt how to make a proportional scaling icons?[code]

View 2 Replies

Flex :: Color Of Icon When Changing Color Of Button?

Sep 16, 2011

I have a button with an icon. I want to have the button in gray so I change the chromeColor but when I do that, the icon became darker.On the left the button without changing the color, on the right, the gray button with and darker icon.How can I have a gray button without changing the icon color?

View 2 Replies

ActionScript 3.0 :: Disable Back Button In Browser(Flex)

Dec 10, 2007

I am working on a flex application. And want to disable the back button of browser(IE and firefox both) in my flex application

View 1 Replies

Javascript :: Disable The Browser's Minimize Button When Launching Flex Application?

Mar 14, 2011

How can I disable the browser's minimize button when launching my flex application?

View 1 Replies

Flex4 - Right Align An Icon On A Button Or Tabbar Button?

Aug 18, 2010

I would like to right align an icon on a button or tabbarbutton and keep the text left aligned in Flex 4.0 Spark. So far, I've come up with something like the following in my custom skin:

[Code]...

View 1 Replies

ActionScript 2.0 :: Plug The Title On Each Icon, Showing Up On An Icon When Point On It

Jan 13, 2008

I adopted the tsunami effect that i've got from this link [URL] but the problem is how can i plug the title on each icon, showing up on an icon when i point on it (on rollOver)

View 5 Replies

Professional :: MovieClip Button Working But No Hand Icon

Jul 5, 2010

I am creating a somewhat elaborate (for me at least) navigation for my site. I have created a bunch of animated MC's to use as nav-buttons, and all that works great. The only issue is that when you mouse over the MC-buttons, the cursor stays as an arrow instead of turning into the little hand that always happens with links. The links work, but no little hand. Do I have to have a "hit area" defined in order to get the hand icon to popup or what?

View 7 Replies

ActionScript 3.0 :: Using A Downloaded Image As The Icon Style For A Button?

Oct 29, 2010

When setting the icon to a Button, a Class of an image is needed. This can be done very simply by embeding an image. But what I would like to do is use an image known only at runtime.More exactly I can not download an image from an external source, obtain it bitmapData or something else, convert it and assign it as the icon style for a Button.So my problem is that for the Flex components that need an image, a Class needs to be assigned, and I can not use an external image to download it, to convert it in some way and assign it

View 1 Replies

ActionScript 3.0 :: Flex - Remove Image Icon From A Flex Datagrid

Jan 18, 2011

I am loading the data externally from xml and displaying in a datagrid. I have 2 buttons addRow and deleteRow. My datagrid headertext names are "name" "age" "rollno" "image", where image also will be loading externally thru an xml file. now when i am pressing the deleteRow button, whole row is getting deleted but an image icon is still appearing under "image" headertext. It was not an actual image but a blank image icon kind of thing is appearing, how to remove the icon. i want my whole row to be deleted. but its not happening.

View 1 Replies

ActionScript 2.0 :: Remove Finger Pointer Icon From Button Leaving Regular Cursor

Oct 5, 2004

I've searched for an hour now to no avail, doesent seem to be worth the trouble for something so simple.How do you remove the finger pointer icon from a button leaving the regular cursor when the user rolls over the button?

View 2 Replies

Flex :: Add File Icon To Datagrid?

Nov 17, 2009

I'm trying to put some File objects into a DataGrid, but I can't find a way to display the File.icon in there.

So far I have this: (ms[x] is a File)

listData.addItem({
filename:ms[x].nativePath.replace(/.*\/,""),
path:ms[x].nativePath.replace(/\[^\]*$/,"\"),
icon:ms[x].icon.bitmaps[0]

[Code]....

filename and path are displayed correctly, I just can't get the file icon to show.

View 1 Replies

Flex :: Combobox Custom Icon?

Feb 2, 2010

Trying to set the up and down state icons of a Flex Combobox to images. I see the property for changing the color of the icon, but no property to skin it. How can I do this?

View 1 Replies

Flex :: How To Get Icon From CheckBox Class

Jan 13, 2011

I want to get the checkBox image that is present in the checkBox class of flex Framework how can I access that image.

View 3 Replies

Flex :: Drag And Drop Icon?

Mar 7, 2011

I am dragging item from a datagrid and while dragging I could see all of the columns in the selected record, being getting dragged. However I only want to show one column (maybe name or id of the record)? Is there a way to achieve this? Also, could I show an icon or image instead of the record while dragging.

View 1 Replies

Flex :: Air AutoUpdate & Windows 7 Pin Icon

Sep 23, 2011

I've created an Air app for use in work. To make things slightly easier, I pin the icon to taskbar (Windows 7). The app uses the auto-update framework (default), which works fine.

After I update though, the pinned icon becomes a default blank page icon. If I click on this icon, Windows will tell me that it can't find the program. I need to unpin the icon and repin a new one (the icon in the start menu works fine).

I'm using AIR 2.7 (compiling with the Flex 4.1 SDK) and I'm on Windows 7 64 bit if that helps.

View 2 Replies

Flex :: Set Icon To An Adobe Air Application?

Nov 21, 2011

I am developing an Adobe Air app. I need to set an icon to the app so it is shown on the task bar. I added the icon tag to the descriptor file but it is not working and I really don't know why

View 2 Replies

ActionScript 2.0 :: Disable A Button After It Is Click And Then Enable It Once Another Button Is Clicked?

Sep 8, 2009

I'm trying to figure out how to disable a button after it is click and then enable it once another button is clicked. I'm stuck on how to enable the button.

on (rollOver) {
this.gotoAndPlay("s1");
_root.slideshow.gotoAndPlay("s4");

[code].....

View 1 Replies

Flex :: Use A Remote Image As Icon For A LinkButton?

Jul 9, 2009

We are creating a LinkButton programmatically and would like to set it's icon to an image retrieved from the remote server rather than something embedded within the SWF. The .icon property expects a Class but I can't figure out how to create one equivalent to an @Embed but from a dynamically generated URLRequest or URL String.[code]...

View 5 Replies

Flex :: Add A Title Icon Image To A Panel?

Aug 2, 2010

I would like to add an title Icon image to a Panel, but cant find the click event on that icon,

View 1 Replies

Flex :: Add An Indicator On A Tree Node Icon?

Nov 17, 2010

I want to add an indicator on a tree node icon , meaning , for example like in eclipse when there is an error the icon get a special small indicator on the regular icon. how can i do that?

View 1 Replies

Flex :: Set A Custom Preview Icon For A File Using AIR?

Nov 29, 2010

I have a custom file type that I'm reading from and writing to within an AIR application. The file type is XML based but contains encoded data for an image. I've already defined the file type in my application manifest file using the tag which assigns a custom icon to the file.

What I'm trying to figure out is whether it's possible to set the icon for each individual file to be a preview of the image contained within.

View 1 Replies

Flex :: Change An Adobe Air Application Icon?

Jan 24, 2011

I'm trying to make an application in adobe air where you can externally load icons into the application. Can I change the window application icon in actionscript?

View 1 Replies

Flex :: Use An Fxg File As A MenuBar Icon Attribute?

May 3, 2011

I have a little concern. I started trying to make a MenuBar control with custom icons already made in FXG format. I have 3 FXG files in "assets.graphics.icons" inside my project folder:

src/assets/graphics/icons/MenuIcon.fxg
src/assets/graphics/icons/ItemAIcon.fxg
src/assets/graphics/icons/ItemBIcon.fxg

After reading the following two links and a bunch of web pages.

[Code]...

View 1 Replies

Flex :: Tree Won't Show Label Just Icon

Aug 5, 2011

I get the folder icon, never the label. I've tried numerous datasources, always the same thing. File, ajax call, text, it always fails.

In the code below I even set a custom handler and watch the XML come in, I set a static text label going out. Never anything shown. This happens without the label function and using labelField. Yes, I'm 100% sure the attribute matches. Again, tried with numerous different datasources.[code]...

View 1 Replies

Iphone :: Itunes Icon With Flex Mobile?

Sep 14, 2011

i'm building app with Flash Builder 4.5.1, i set in app.xml this:

<icon>
<image16x16>assets/icon/icon16.png</image16x16>
<image29x29>assets/icon/icon29.png</image29x29>

[code]......

View 1 Replies







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