Customizing UITableViewCell (image, label, button).

I have an image and 4 UILabels in my tableViewCell. I need the image to be selectable and two labels to be selectable. I searched in documentation and I found nothing about writing selector for UILabel. So, I am trying to use UIButtons ( UIButtonTypeCustom) instead of the two UILabels. But, when I touch the cell the entire cell is selectable. How can I differentiate the labels, image and buttons in my UITableViewCell.
I need the image to be selectable. I wanted to add a video in place of the image.
How can I make all this possible.
Thank You.

http://www.iphonesdkarticles.com/2008/08/table-view-tutorial-tableview-cell.html
http://iphoneincubator.com/blog/windows-views/display-rich-text-using-a-uiwebvie w
Google is your friend...

Similar Messages

  • How do I get "custom label" button back on Contacts

    I used to have "custom label" button for phone number tags on contact list. It is now gone. Any way to get it back. This started on my iPhone 4 and remains on my iPhone 5.
    SOLUTION FOUND !!!
    Go into settings and do this:
    Settings --> Mail,Contacts,Calendars --> Default account (for Contacts)--> select "On My Phone"
    this restored the custom labels button when creating new contacts. Somehow it was set to 'Hotmail" and i guess Hotmail does not support customized labels so it isn't offered when creating new contacts.

    That is what i a talking about. When i go to add a new contact and go to edit the label - the generic list of number types is present but the additional list of custom lables is not present - nor the button to create a new one. Some of my contacts do have the custom label present - old contacts created back when the buttons and label types were all there but it is no longer present when creating new contacts or editing contacts that were recently added.

  • Missing 'Add Custom Label' button again

    A  mate and I both have an iphone 4, same firmware i.e. 6.1.3 and as far as i can see all settings are the same. However when entering the same  new contact on my phone I have at the bottom of the 'select phone type label' screen an add a 'Custom Label' button, the list of phone types labels on mine  are 'Mobile, iPhone, Home, Work, Main, Home Fax, Work Fax, Pager, Other' On my mates  his list is 'Home, work, home fax, work fax, pager, assistant, car, company main, radio' and the 'Add Custom Label' button is missing.
    Other contact entries on his phone have the same list as mine and they include the 'Add Custom Label' button.
      They are both only synchronised with icloud  Can anyone help please?

    I have found the answer - the 'Contacts' in my mates iPhone was set to 'Exchange' set it to 'iCloud' both iPhones now have the 'Add Custom Label' option

  • How to edit label in custom UITableViewCell?

    Hi, I'm a newby in iPhone programming, I have created a custom UITableViewCell with 3 labels and I have populated an UITableView with some rows. I need to change the text of one of the labels when the user select the cell.
    I wrote this:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
    UITableViewCell *theCellSelected = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    theCellSelected = [theTableView cellForRowAtIndexPath:indexPath.row];
    UILabel *theLabelToEdit = (UILabel *)[theCellSelected viewWithTag:1];
    theLabelToEdit.text = @"Some Text..";
    ..but nothing happen to the label, the text doesn't change..
    What's wrong?
    Thank you!
    PS: sorry for my english, I'm italian and I don't speak it very well..

    Hi Zoodany, and welcome to the Dev Forum!
    zoodany wrote:
    I wrote this:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    theTableView = tableView;
    // remove --> static NSString *CellIdentifier = @"Cell";
    UITableViewCell *theCellSelected;
    // remove --> = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    theCellSelected = [theTableView cellForRowAtIndexPath:indexPath]; // <-- remove '.row'
    UILabel *theLabelToEdit = (UILabel *)[theCellSelected viewWithTag:1];
    theLabelToEdit.text = @"Some Text..";
    Assuming your @interface, xib and DataSource methods are consistent with the above, the only thing stopping your code from working would be the 'indexPath.row' arg as commented. The lines which dequeue a cell won't prevent your code from running, though if any cells are actually in the queue, you'll have a memory leak there.
    However, I doubt the code you posted is the same as the code you tested. If you actually coded cellForRowAtIndexPath:indexPath.row, you should have gotten a warning since 'row' is an int instead of a pointer. And if you had ignored that warning the program would have crashed at that line. This kind of mixup often happens when the programmer keys code into the forum instead of pasting it directly from the source file. Please copy and paste when posting your code here (also see the alert about formatting code, the first topic of the forum), ok?
    If indeed 'indexPath.row' is a red herring, I think we need to look elsewhere in your project for the problem.
    I have created a custom UITableViewCell
    This contradicts your code somewhat. If you subclassed UITableViewCell, you'd normally add ivars with matching @properties to the custom cell so you could access the subviews as cell.label1, cell.label2, etc. Using viewWithTag to find one of the labels suggests that you simply added the labels to vanilla UITableViewCell objects rather that subclassing (adding the labels without subclassing is probably the best choice if no further customization is required).
    So please let us know whether or not you actually defined a subclass of UITableViewCell. Assuming you didn't, here's an example of how to add labels to your cells (only two labels are added below to simplify the example):
    // Customize the appearance of table view cells.
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
    cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
    reuseIdentifier:CellIdentifier] autorelease];
    // make label 1
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 3, 140, 38)];
    label.text = @"Label 1";
    label.backgroundColor = [UIColor lightGrayColor];
    label.font = [UIFont boldSystemFontOfSize:20];
    label.tag = 1;
    [cell.contentView addSubview:label];
    [label release];
    // make label 2
    label = [[UILabel alloc] initWithFrame:CGRectMake(160, 3, 140, 38)];
    label.text = @"Label 2";
    label.backgroundColor = [UIColor yellowColor];
    label.font = [UIFont boldSystemFontOfSize:20];
    label.tag = 2;
    [cell.contentView addSubview:label];
    [label release];
    // Set up the cell...
    return cell;
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *theCellSelected = [tableView cellForRowAtIndexPath:indexPath];
    UILabel *theLabelToEdit = (UILabel *)[theCellSelected viewWithTag:1];
    theLabelToEdit.text = @"Some Text..";
    Note that 'tableView' is used in the delegate method instead of an instance variable such as 'theTableView'. The 'tableView' parameter will always be set to the address of the table view which is calling the delegate method, so there's no need to use an ivar in this case. In fact, 'theTableView' could also be the cause of your problem. For example if you made the table view in IB, you might have forgotten to connect the 'theTableView' outlet of the controller (or File's Owner) to the UITableView object. So you might also check that connection, though the code above doesn't depend on it.
    Hope that helps!
    - Ray

  • Default UITableViewCell text label background color

    I need a table view cell that just has simple text but with custom backgroundView images when not selected vs. selected. I'm too lazy to implement a custom cell, so I was using the regulation UITableViewCell, setting the backgroundView and backgroundSelectedView. The problem is for non-white backgroundView, when the cell is not selected, the text has a white box around it (the background color of the label containing the text, I assume), which looks horrible. When the cell is selected, the default UITableViewCell implementation takes care of changing the text color to white and text label background to clearColor and the custom backgroundSelectedView shows through beautifully. Is there a reason why the text label shouldn't just have a clear background color ALL THE TIME?? If the UITableViewCell is not customized for backgroundView, i.e., the cell background is white, the clear colored text label is no different from a white colored text label. If the backgroundViews are customized to non-white, a clear text label won't be in the way of the backgroundView showing through.
    Does this sound like a good feature request?
    How does one submit requests or bug reports for iPhone SDK anyways??
    Thanks.

    fitzyjoe wrote:
    I am having this exact same problem right now. Did you have to subclass UITableViewCell to fix it?
    I had the same problem and subclassed UITableViewCell to solve it. I set the backgroundView and selectedBackgroundView to UIView instances I wanted to use and then implemented setSelected:animated: in my subclass.
    {code:}
    -(void)setSelected:(BOOL)selected animated: (BOOL)animated {
    [super setSelected: selected animated: animated];
    for (UIView *view in self.contentView.subviews) {
    view.backgroundColor = [UIColor clearColor];
    {code}
    Bit bruteforce and as Apple suggests this will impact table performance, but the tables I work with aren't that big and it works well so far.
    It'd be nice if UITableViewCell honored backgroundView like it does selectedBackgroundView, i.e. when the backgroundView property is set keep the cell contents transparent.

  • Color Label Buttons - Unexpected Behavior

    I have had two issues with the color label buttons on the toolbar in LR3:
    - When a custom filter is being used and then one of the color buttons is pressed to change the color, the resulting color is not the selected color.  For example, if the "green" button is pressed, the color changes to "red".
    - Have also noticed that under certain circumstances, just hovering the mouse over the "red" button causes the color to change without actually pressing the button.  So if a custom filter is being used (filter by color), just passing the mouse over the "red' button causes the image to disappear.

    - set filters to off using the drop-down list on the right side of the filmstrip
    - folder has 6 images in it
    - mark 2 as flagged
    - mark same 2 as color yellow
    - select to filter by color yellow using the filter buttons on the filmstrip
    - go into loupe view on the first image
    - click the green color button on the toolbar
    - have gotten 2 results repeating this:
             1. in some cases the image turns green
             2. in some cases removes the color yellow and turns the 2nd image green (all with just one click on the first image)
    For the issue with hovering over the red button, I have not been able to repeat this today.  I will continue to look for the specific conditions that caused this.
    System Info
    Lightroom version: 3.0 [677000]
    Operating system: Windows 7 Ultimate Edition
    Version: 6.1 [7600]
    Application architecture: x86
    System architecture: x86
    Physical processor count: 2
    Processor speed: 1.9 GHz
    Built-in memory: 3070.9 MB
    Real memory available to Lightroom: 716.8 MB
    Real memory used by Lightroom: 628.7 MB (87.7%)
    Virtual memory used by Lightroom: 686.1 MB
    Memory cache size: 60.4 MB
    System DPI setting: 96 DPI
    Desktop composition enabled: Yes
    Displays: 1) 1920x1200, 2) 1920x1200

  • Custom UITableViewCell: Recognizing which cell to update

    Hello,
    I have created a custom UITableViewCell in IB with two UIButtons and one UILabel. What I would like to do is have each button perform an action on the UILabel - lets just say change the UILabel's text for now. I have the following set up and everything works.
    MyViewController.m/h
    _ Has UITableViewCell property and IBOutlet connected to MyCustomTableCell
    _ Has two IBAction methods to handle each UIButton pressed
    MyCustomTableCell
    _ File Owner set to MyViewController
    _ Has tags denoting each item
    _ UIButtons events are connected to the custom methods in MyViewController.m
    Just as a test, I have populated 3 rows in the table. When I hit either UIButton from any row, it only updates the last row's UILabel text. The method that handles the UIButton's event is something like:
    -(IBAction)buttonOnePressed:(id)sender
    UILabel *myLabel = (UILabel*) [customLoadedCell viewWithTag:1];
    myLabel.text = @"button one";
    How do I recognize which row the button's event came from so I can only update that label?

    sptrakesh wrote:
    The button that triggered the event will be the child of the appropriate cell.
    Took me awhile but I finally understood what you meant. So basically what I did inside the method to handle the touch up event was:
    UITableViewCell *mycell = (UITableViewCell *)[[sender superview] superview];
    UILabel *myLabel = (UILabel*) [mycell viewWithTag:4];
    myLabel = @"test";
    The first line allows to get a reference to the UITableViewCell I tapped. If I needed the row number I could reference it by doing this:
    NSIndexPath *ip = [self.tableView indexPathForCell:(UITableViewCell *)[[sender superview] superview]];
    ip.row will return the row number.
    self.tableView is the reference to the table view.

  • When I duplicate or copy slides, my custom theme images turn into question marks.  Why, and how can I copy themes with slides?

    When I duplicate or copy slides, my custom theme images turn into big grey boxes with an 'x' through them and a question mark in the middle in their new destination.  When I go look at the master slides, I see that there are now two sets of masters, one for the my custom theme and a new one just like it, but with no images.
    How can I copy (or duplicate) my slides?

    OK, got it ...  the Power ON Factory reset procedures might have changed with GB ... 
    To get to a Factory reset using the Power up method:
    1.  Power Off phone
    2. Press & Hold the HOME Button
    3. Press and Hold the Power ON button.
    You come up to the Triangle with the Exclamation mark & android guy.
    Press BOTH the Up and Down Buttons at the same time.  This brings up the Blue menu of options.
    use the Up/Down arrows to scroll thru the choices. Press the POWER Button to Select the menu item you choose.
    You can harmlessly test this and just choose to Reboot without doing anything, just to see how it works in case you ever need to do this in the future.
    edit:  It was concluded in the test group that they changed this process to align it with the new DX2 as the camera button isn't hard-wired like it is in the DX. So likely they just wanted to make this process the same for both platforms.  At least it sounds like a good reason...

  • Unable to install supporting objects(custom CSS/Images) through SQL

    4.2.1
    Hi there,
    we have a Apex app which uses custom CSS/images loaded into shared objects CSS and image folders respectively. I followed the steps
    http://nerd.net.au/29-apex-application-express/general-application/122-include-images-with-supporting-objects-on-apex-export-import
    Now, this works fine when we manually import the application through application builder, it "prompts" if we want to install supporting objects, when yes is selected, everything gets installed.
    MY problem is we have an automated patching process where the .sql application file gets installed but the supporting objects are not. So I tried bundling the supporting object as a separate .sql file but got an error
    Testing options PL/SQL procedure successfully completed. declare * ERROR at line 1: ORA-20001: Package variable g_security_group_id must be set. ORA-06512: at "APEX_040200.WWV_FLOW_IMAGE_API", line 11 ORA-06512: at "APEX_040200.WWV_FLOW_IMAGE_API", line 31 ORA-06512: at
    The supporting object is a button. Do I need to set the application id or security group id or something else?
    begin
    wwv_flow_api.g_varchar2_table := wwv_flow_api.empty_varchar2_table;
    wwv_flow_api.g_varchar2_table(1) := '89504E470D0A1A0A0000000D494844520000009600000051080600000030EC5FEE000000097048597300000B1300000B1301009A9C1800000A4D6943435050686F746F73686F70204943432070726F66696C65000078DA9D53775893F7163EDFF7650F56';
    wwv_flow_api.g_varchar2_table(2) := '42D8F0B1976C81002223AC08C81059A21092006184101240C585880A561415119C4855C482D50A489D88E2A028B867418A885A8B555C38EE1FDCA7B57D7AEFEDEDFBD7FBBCE79CE7FCCE79CF0F8011122691E6A26A003952853C3AD81F8F4F48C4C9BD80';
    wwv_flow_api.g_varchar2_table(3) := '021548E0042010E6CBC26705C50000F00379787E74B03FFC01AF6F00020070D52E2412C7E1FF83BA50265700209100E02212E70B01905200C82E54C81400C81800B053B3640A009400006C797C422200AA0D00ECF4493E0500D8A993DC1700D8A21CA908';
    wwv_flow_api.g_varchar2_table(4) := '008D0100992847240240BB00605581522C02C0C200A0AC40222E04C0AE018059B632470280BD0500768E58900F4060008099422CCC0020380200431E13CD03204C03A030D2BFE0A95F7085B8480100C0CB95CD974BD23314B895D01A77F2F0E0E221E2C2';
    wwv_flow_api.g_varchar2_table(5) := '6CB142611729106609E4229C979B231348E7034CCE0C00001AF9D1C1FE383F90E7E6E4E1E666E76CEFF4C5A2FE6BF06F223E21F1DFFEBC8C020400104ECFEFDA5FE5E5D60370C701B075BF6BA95B00DA560068DFF95D33DB09A05A0AD07AF98B7938FC40';
    wwv_flow_api.g_varchar2_table(6) := '1E9EA150C83C1D1C0A0B0BED2562A1BD30E38B3EFF33E16FE08B7EF6FC401EFEDB7AF000719A4099ADC0A383FD71616E76AE528EE7CB0442316EF7E723FEC7857FFD8E29D1E234B15C2C158AF15889B850224DC779B952914421C995E212E97F32F11F96';
    wwv_flow_api.g_varchar2_table(7) := 'FD0993770D00AC864FC04EB607B5CB6CC07EEE01028B0E58D27600407EF32D8C1A0B91001067343279F7000093BFF98F402B0100CD97A4E30000BCE8185CA894174CC608000044A0812AB041070CC114ACC00E9CC11DBCC01702610644400C24C03C1042';
    wwv_flow_api.g_varchar2_table(8) := '06E4801C0AA11896411954C03AD804B5B0031AA0119AE110B4C131380DE7E0125C81EB70170660189EC218BC86090441C8081361213A8811628ED822CE0817998E04226148349280A420E988145122C5C872A402A9426A915D4823F22D7214398D5C40FA';
    wwv_flow_api.g_varchar2_table(147) := 'A514B7B6B6EA5AADA60B8582EAECEC54511471BD5EE7BEBE3EBF4E108FCA58FE9601580A68199FDAF12F8D1DDB5E3386221ADD8E3AF3CEC772A73505D60820C32BF0238E6DAF5D508DBAFFF2CFACE20C3E9A03E2789F3430B68D6DAF641BF33D8D6D63C0';
    wwv_flow_api.g_varchar2_table(148) := '1ADBC68035B68D016B6C1BDBC68035B6BD46B6FF3B0074B1DD40306DC6CD0000000049454E44AE426082';
    end;
    declare
        l_name   varchar2(255);
    begin
        l_name := 'logo.png';
      wwv_flow_api.create_or_remove_file(
         p_name=> l_name,
         p_varchar2_table=> wwv_flow_api.g_varchar2_table,
         p_mimetype=> 'image/png',
         p_location=> 'WORKSPACE',
         p_nlang=> '0',
         p_mode=> 'CREATE_OR_REPLACE',
         p_type=> 'IMAGE');
    end;
    /

    Thanks Fac586! I did follow the process on those lines and was able to successfully get the images, application installed. The CSS which just had
    body {
         background-color:#000000;
    }Was also applied. However, it for some reason does not work. Looks like the CSS is not getting loaded. When I delete the CSS and upload it again through the shared components->CSS folder, it works fine. Not sure what the solution is!
    Oh and by the way, thanks a ton for helping everyone!
    Cheers,
    Ryan

  • How could i put image in button bar

    import events.ToolbarEvent;
    import mx.events.FlexEvent;
    import mx.events.ItemClickEvent;
    import mx.events.SliderEvent;
    import mx.core.*;
    import spark.skins.spark.ImageSkin;
    import ui.presenters.MainPresentationModel;
                [Bindable]
                public var fileButtons:Array = [{label:"Open"},{label:"Save"}];
                [Bindable]
                public var navButtons:Array =
                    {label:"Adjust",state:MainPresentationModel.ADJUST_STATE},
                    {label:"Touchup",state:MainPresentationModel.TOUCHUP_STATE},
                    {label:"Effects",state:MainPresentationModel.EFFECT_STATE}
                [Bindable]
                public var historyButtons:Array = [{label:"Undo"},{label:"Redo"}];
                private function handleFileClick(e:ItemClickEvent):void
                    if (e.label == "Open")
                        dispatchEvent(new ToolbarEvent(ToolbarEvent.OPEN));
                    else if (e.label == "Save")
                        dispatchEvent(new ToolbarEvent(ToolbarEvent.SAVE));
                private function handleNavClick(e:ItemClickEvent):void
                    callLater(handleNavigation,[e.item.state]);
                private function handleNavigation(state:String):void
                    if (navBar.selectedIndex == -1)
                        dispatchEvent(new ToolbarEvent(ToolbarEvent.SHOW));
                    else
                        dispatchEvent(new ToolbarEvent(ToolbarEvent.SHOW,true,false,state));
                private function handleHistoryClick(e:ItemClickEvent):void
                    if (e.label == "Undo")
                        dispatchEvent(new ToolbarEvent(ToolbarEvent.UNDO));
                    else if (e.label == "Redo")
                        dispatchEvent(new ToolbarEvent(ToolbarEvent.REDO));
                private function handleZoomChange(e:SliderEvent):void
                    dispatchEvent(new ToolbarEvent(ToolbarEvent.ZOOM, true, false, null, e.value));
            ]]>
        </mx:Script>
        <mx:ButtonBar dataProvider="{fileButtons}" itemClick="handleFileClick(event)"   />
        <mx:ToggleButtonBar id="navBar" dataProvider="{navButtons}" toggleOnClick="true"
            creationComplete="event.target.selectedIndex=-1" itemClick="handleNavClick(event)"/>
        <mx:Button label="Show Source" click="dispatchEvent(new ToolbarEvent(ToolbarEvent.SRC))"  />
        <mx:Spacer width="100%" />
        <mx:ButtonBar dataProvider="{historyButtons}" itemClick="handleHistoryClick(event)"  />
        <mx:HSlider value="1.0" minimum="0.1" maximum="3.0" snapInterval="0.1" liveDragging="true" change="handleZoomChange(event)" />
    </mx:HBox>
    using this code what shoud i do to add image on button bar

    I would extend the button bar and in create children I will add the image.

  • How to add an image or button to an AdvancedDataGrid cell with wrapped text alongside

    I have an advanced data grid with which i need to add either
    images or buttons to individual cells alongside the text.
    This i can do, but what i can't figure out is how to make the
    text wrap.
    Currently, I can make cell text wrap by using an itemRenderer
    which extends Text. Or, I can add an image or button to a cell by
    using an itemRenderer which extends HBox and contains an image or
    button child. To this HBox i can add a Text or Label object also,
    but i can't make the text wrap.
    Does anyone have any ideas/suggestions/solutions????
    Thanks
    Mark

    "ms10" <[email protected]> wrote in message
    news:g8jlb5$l6p$[email protected]..
    >I have an advanced data grid with which i need to add
    either images or
    >buttons
    > to individual cells alongside the text.
    >
    > This i can do, but what i can't figure out is how to
    make the text wrap.
    >
    > Currently, I can make cell text wrap by using an
    itemRenderer which
    > extends
    > Text. Or, I can add an image or button to a cell by
    using an itemRenderer
    > which
    > extends HBox and contains an image or button child. To
    this HBox i can add
    > a
    > Text or Label object also, but i can't make the text
    wrap.
    >
    > Does anyone have any ideas/suggestions/solutions????
    I'd look at the code for AdvancedDataGridGroupItemRenderer
    and try to see
    what keeps it from displaying an icon in the columns that are
    not grouping
    columns. I'd then extend it to change that and use an icon
    function.
    HTH;
    Amy

  • How can I change the color of interactive image label box background.

    Interactive image labels are a bit overwhelming in appearance. Can I change the label background color or make it partially transparent? I have tried several things and looked this up on Lynda.com training but no info.

    don't know how much this might help but you can change some colors using the Inspector as follows:
    from the text menu you can control paragraph and character colors, from the text menu you can control the text color.
    hope this helps...

  • How do I make a custom brush image in a gradient color scheme in Photoshop Elements 12?

    I want to make a custom brush image in a gradient color scheme.  I know how to change the hue jitter, but I want to "paint" the image with a gradient between two colors.  For example, I have an image of an octopus that I have used to create a custom brush.  I want the top of the octopus to be hot pink and gradually fade into a deep orange at the end of the tentacles.  Everything I've looked up just colors the background.  Thanks in advance!

    Try the following:
    Open the octopus image
    Open a Gradient Map Adjustment layer above this. There are several preset gradients, but in my version of the program I don't see one with pink to orange.
    When you double click on the gradient bar in the Adjustments palette, this will open up the Gradient Editor, where you can tailor the gradient to your specifications with color and opacity stops. (see below)
    This will apply the gradient to the entire picture. However, the adjustment layer has a built-in mask (the white rectangle).
    Left click on this and paint with a black brush to hide the gradient outside of the octopus. If you go too far, you can correct with a white brush.
    Now, as to the Gradient map adjustment layer, here is how to configure it:
    http://retouchpro.com/tutorials/?m=show&opt=printable&id=132

  • Images as Buttons and Image Resizing in mxml

    Sorry for all the questions but I've run into a problem when trying to create buttons that are just an image in mxml. When I first tried this I couldn't find a way to get the border around the button to dissapear so it ended up looking like my image had an extra black border around it. Then someone here suggested I just set the buttonMode property of an mx:Image to true which ended up working fine to a point. The problem I'm having is that even if I make the tabEnabled property of the image (that I'm using as a button) true, I can't tab over to it. Is there a way to either get rid of the black borders of a button or to make it so I can tab over to an image I'm using as a button?
    My second question has to do with image resizing. Lets say I have an image of a horizontal line that I want to put at the top of the mxml page, and I want it to extend the full length of the page, even after the user has resized the browser. Is there a way to do that? I've tried putting the width as 100% or giving the image a "left" and "right" value so that presumably it would be stretched to fit within those but nothing has worked so far. Is there no way to do this or am I doing something wrong?
    Thank you for any help you guys can give.

    Of course, sorry about that. So the following is a barebones example of how I currently implement buttons and images as buttons:
    <mx:Button id="facebookButton" icon="@Embed(source='image.png')" width="30"/>
    <mx:Image buttonMode="true" id="button" source="anotherimage.png" enabled="true" click="{foo()}"/>
    And within the image I've tried making the tabFocusEnabled property true but to no avail.
    The following is how I've tried stretching out an image across the whole page:
    <mx:Image source="yetanotherimage.png" width="100%" scaleContent="true"/>
    <mx:Image source="yetanotherimage.png" left="10" right="10" scaleContent="true"/>
    Is this more helpful?

  • Photomatix plug-in's HDR merged image has suddenly stopped showing up as part of the stack, yet when I repeat the merge it warns that these images are already merged. I have the merged image labeled with a HDR suffix.

    Photomatix plug-in's HDR merged image has suddenly stopped showing up as part of the stack, yet when I repeat the merge it warns that these images are already merged. I have the merged image labeled with a HDR suffix. Worked fine until now. Thanks

    I am not sure what's happening with IE9 (no live site) but I had real problems viewing your code in Live View - until I removed the HTML comment marked below. Basically your site was viewable in Design View but as soon a I hit Live view, it disappeared - much like IE9. See if removing the comment solves your issue.
    <style type="text/css">
    <!-- /*Remove this */
    body {
        margin: 0;
        padding: 0;
        color: #000;
        background:url(Images/websitebackgroundhomee.jpg) repeat scroll 0 0;
        font-family: David;
        font-size: 15px;
        height:100%;

Maybe you are looking for

  • All share options are greyed out

    I downloaded a movie into Movie '08 from a USB memory stick. The movie is in MPEG 4 format and I had made the movie on another computer using the Studio program. I can play the movie on the computer, but all the share options are grayed out. I would

  • Bridge CS6 not reading file metadata

    Bridge CS6 5.0.2.4, Mac OS X 10.9.2, Photoshop 13.0.6 x64. In Bridge, only the File Properties info appears. Data for other categories such as IPTC Core and Camera Data (Exif) no not appear although checked in Preferences, but after opening a file in

  • Can I use Apple Ram in a Windows Computer

    I recently upgraded my ram from 4 to 8 GB (I took out the 4 GB, then put in the new 8 GB of ram) and now I have 4 GB or ram that is not being used or in my computer. I was wondering if I could use that same ram to put in a Windows PC that I have? The

  • Multiple copies of one Application on different hard drives?

    Hi guys -- Ok - I have 2x Hard drives in my G5 (2 physical HD's, not 2 partitions of the same HD). On one HD I have 10.5 Leopard and on the other I have 10.4 Tiger. My question is this: I have Adobe CS3 installed on my Tiger HD. But when I'm in Leopa

  • Clarification regarding GO LIVE

    Dear all, I need a Clarification required regarding GO LIVE PRODUCTION server The client wants to upload available opening data in SAP and work parallel in both existing ERP and SAP as well. At the end of 2nd Qtr, They want to compare data in both th