Flex :: How To Get Icon From CheckBox Class
Jan 13, 2011I want to get the checkBox image that is present in the checkBox class of flex Framework how can I access that image.
View 3 RepliesI want to get the checkBox image that is present in the checkBox class of flex Framework how can I access that image.
View 3 RepliesI need a datagrid, which contains checkbox (4 no's) without multiple selection. And I also need a text area which should contain the selected checkbox's label/data. I tried using arraycollection but I am not getting.
View 2 RepliesThis PHP contact form works well and is very simple. I have one checkbox in the fla file. However, it keeps displaying 'No' in the email message field, whether the checkbox is selected or not. It should display 'Yes' if the checkbox is selected, and 'No' if the checkbox is unselected.Here is the PHP:
PHP Code:/DESTINATION--------------------------
$destination="***@***.com";
//-------------------------[code]....
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 RepliesI have a ball vector object which i generate from its own class in as3, but I wish to base its behaviour on the state of a checkbox called "walls". Which is at a "sideways" class, (see attached below). Such that the ball will reverse direction if it reaches the edges of the stage when the checkbox is ticked. The walls check box is in the controlpanel class. Any way for the ball class to get the state of the checkbox, I can't figure out how to do this by going back up the class heirarchy or by using listeners.
View 6 RepliesI have drawn a box on stage and turned it into a movieclip called sidePanel, within it I place a checkbox. My document class 'Main.as', ie the class called upon by the flash file, creates a class of name Class1. So we have .FLA (The Stage) -> Main.as -> Class1.as Now from the Class1.as How to get the checkbox status, ie checked or not, from within my class1.as ?
View 3 RepliesI am using datagrid and added 3 columns to it in flex project. Data is provided to each column by using itemrenderer. Itemrenderer is checkbox for each column. Name of columns are col1,col2,col3. I want to make the checkbox in col1 selected when i selects the checkbox in col2. But i am not able to do this.
View 1 RepliesI 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 RepliesI'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.
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 RepliesI 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 RepliesI 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).
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.
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 RepliesWe 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 RepliesI 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]....
I would like to add an title Icon image to a Panel, but cant find the click event on that icon,
View 1 RepliesI 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 RepliesI 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.
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 RepliesI 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]...
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]...
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]......
I am working on ActionScript 3.0 and came across a doubt. We can have 2 images in a single cell of datagrid via itemRenderer property.
I want to show an icon as a superscript to some text present in the cell itself.
I have a list with itemrenderer with dragEnabled true and dropEnabled true. Now, I am trying to tell flex not to let the dragged item (even the icon indication) leave the drop panel. I don;t care if it stop the dragging or just freezes it as if it was the application border - and I cannot. I tried to stop the dragging on dragExit handler but it seems to ignore it. Does anyone know of a working mechanism to do such? (Flex 4)
View 1 RepliesHow do I change the icons to Alert buttons like OK, CANCEL etc?
View 1 RepliesHow could you add a checkbox to a tab in a tabnavigator or a tabbar in Flex? Or would you have to create your own tabbar?
View 1 RepliesI 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 6 RepliesI use PopUpButton object and inside a Menu object. For some reason it has default text indent (even when an icon is not defined). How can I remove this indent?
View 1 RepliesI 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