Flex :: Mobile - IconItemRender In 4.5.1 With Dynamically Called Icon?
Nov 17, 2011
simple item render, or so I thought... I have an some data loaded into a list, one of the fields is project_Type. It's a string that either says "RESIDENTIAL" or "COMMERCIAL". And based on that string, I just want to display a little house, or a little office building as the icon. So, I cobbled together my itemrender as follows:
<?xml version="1.0" encoding="utf-8"?>
<s:IconItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
labelField="dateAdded"
[code].....
View 2 Replies
Similar Posts:
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
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
Feb 1, 2012
I need to add my images/icons dynamically at runtime to my Flex GUI due to licencing reasons. So how can I add a dynamically loaded icon to an Alert? I use the following function
[Code]...
View 1 Replies
Mar 23, 2012
I would like to move (right or left according the current view) between 2 views when I move my finger on the mobile screen; for example with Google+ mobile application, in profil section, you can change the view just on move your finger on the screen, and the offset and the moving speed must be checked before change complete view.
View 2 Replies
Jun 27, 2011
Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).
View 2 Replies
Aug 3, 2011
I ve got this xml file called "icon.xml" saved in the same folder of my flash file:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
[code].....
View 3 Replies
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
Jun 5, 2011
I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?
View 1 Replies
Nov 27, 2009
How do i set the maximum width and height of a dynamicly created MC. It is a mc holding an loaded image.
This is what i got sofar:
Code:
createEmptyMovieClip("imagecontainermedium", getNextHighestDepth());
// set the alpha to not see the picture loading...
imagecontainermedium._alpha = 0;
[Code].....
View 4 Replies
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oct 12, 2011
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.
View 1 Replies
Feb 5, 2012
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 Replies
Nov 9, 2004
How do I change the icons to Alert buttons like OK, CANCEL etc?
View 1 Replies
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 6 Replies