Flex :: Remove The Icon Indent In Control Menu?
Oct 26, 2009I 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 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 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 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 am having some trouble with the flex Tree control.I have a control in my system and of course it is data driven.I have a group which shows a folder icon and that's fine but it also shows an expand icon when the item has no children.I don't what it to show the expand icon when the group has no children but I do want to show the folder icon, because it is different entities in my system.
View 1 Repliesi need to fire separate method for individual menu item clicked ,so that individual item can handle separate method.and i need know what all the properties are available in menu item like type="radio".
<mx:MenuBar id="jj" labelField="@label" itemClick="MenuItemClick(event)" x="23" y="228">
<mx:XMLList>
<menuitem label="File">[code]......
I am working on a DVD User Interface for my final project in Photoshop. For extra credit points I am trying to figure out how to make the menu items to light up when the pointer is touching the menu icon.
View 1 RepliesBasically, I have a button and on click it displays a menu. I want to click that menu a second time and the menu closes. Currently, every time you click the button, the menu reopens. I pasted the Flex livedoc example below. If you click the button, the menu keeps reopening.Now, I rigged it up by setting a var to open and closed, so when clicking the button it does a check. However, if you click away from the screen, the HIDE event gets dispatched, and the menu closes. This messed up the open close var being set.
How could I make this Flex example below show the menu on button click, and then on a second button click, it closes the menu? Take into affect that if you click away from the menu, it closes it.Also, I played around with the MOUSE_DOWN_OUTSIDE event for the button and set the preventDefault, and the FlexMouseEvent event.cancelable is set to false.Changing to a PopUpMenuButton is not an option. I have to much skinning involved.Here is the Flex example:
<mx:Script>
<![CDATA[
// Import the Menu control.
import mx.controls.Menu;
[code]....
how can I remove the space between my video and control bar.I tried to change margin and padding to all element without success. There is still a thin white space above the controls.[code]
View 1 RepliesDoes anyone know how can the horizontal control line be removed or made invisible. What am trying to say is, I just want to show the drag-thumb and not the horizontal line.Is there a way to do so, with out using skins?
View 1 RepliesOn my web app, I want to be able to remove the Flash context menu and only leave the ones really needed like the textarea contextmenu.
View 1 Repliesi made swf using flash 9 player if i right click swf it will shows menu like zoom in , zoom out, etc option . but i saw this site url [URL] animation swf like elephant.swf, bird.swf... not show anything .only shows reddraw option How can i do like this ?
View 6 Replieshow to remove a buttons Icon after it has already been set? I tried
PHP Code:
lock.setStyle("icon",null);
but it had no effect.
[URL].. Can anyone lead me in the right direction to create an icon scrolling menu like at the bottom on this webpage. scroll with the right and left arrows and click the images for links.
Is there code available or a product to purchase?
When Flex MenuItem is clicked, the icon gets shown twice. One on top of the other.i.e. SubMenu A1 is doubled:
View 0 RepliesI've a carousel, that has got an image and a label that shows a description of the icon. It is done using It has got an ItemRenderer that renders the image above the icon description text. [URL].Up on click event I display the image and details of some text pertaining that image/icon.
Now I wanted to introduce a smaller 'x' icon on top right hand side of the icons so the user could remove the items he's not interested in from the carousel's list of items. This would dispatch a different event so removeIconEvent and clickEvent would be handled differently.
I created a Flex application with a textArea. I'm populating the textArea's htmlText property.I have a context menu on the textArea, but I don't see how to make a different context menu when the user right clicks on a <a href...>link</a>. Can I control the context menu for a link displayed inside of the htmlText of a mx:TextArea?
View 1 RepliesI'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 RepliesI was able to create a iOS application in Flash and sync it to my iPod Touch for testing. The icon appears in the menu and the application launches fine. However, after shutting off the iPod Touch and then starting again, the menu icon image disappears. The icon is simply white with no image.
View 1 RepliesI 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 RepliesThe title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 RepliesHere is a tutorial that tells you how to remove the gloss on an app in xcode. How can I do this in flash cs5? If I can't, can I do something to the image in photoshop so that it looks like it has no gloss when the gloss is applied?
View 3 RepliesIs it possible to publish my .fla file to .exe without the File menu and the default Flash icon and Flash tile appearing.
View 1 Replieshow to get rid of hanging indent?
I load a simple XML text into a dynamic TextField (Flash CS4):
HTML Code:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<b>TITLE</b>
[Code]....
Maybe I could use myTxt.condenseWhite = true; but dont know how to aply line breaks there.
I'm importing text from a .xml file, in that file my text is formatted with HTML and an imported StyleSheet. The problem is...
Image
The indentation shown here by the red rectangle. I tried to remove it while using text-indent:0; in my css. didn't work..
Does anyone have any idea how to indent text on every line? I am alligning my text to the border of my movieclip wich has a diagonal border. So when i add my text it should indent for example: 2px on line 2, 4px on line 3, 6 on line 4, 8 on line 5, etc. Would there be an easy way to do this?
View 1 RepliesThis is the data, and you can see that it has an indent on its first line.
Where I would like to see this:
This is the data, and you can see that it does not have an indent on its first line.
Some of the code,
// Define variables
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
[Code]....
I suspect that it has to do with prettyIndent and prettyPrinting, and I could not make it to work.
Are there any scripts to auto-indent an actionscript 3 file? I want to standard the check-in to source control, and this way, it'll be uniform (instead of mixing spaces and tabs).
View 1 RepliesI have a bunch of text I am working with from XML and when I import it into my text field it becomes automatically indented on the first line. Is there a way to lose this indent? If I take off word wrapping it does make the indent go away, but then of course the text spans across further than the text field horizontally.
Here are some of the properties I have assigned to the text field I am using:
ActionScript Code:
myTextField.htmlText = txtPath; //txtPath is the loaded and parsed XML
myTextField.multiline = true;
myTextField.wordWrap = true;
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.
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