Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-24-2009, 11:22 AM   #1
sipra
Registered User
 
Join Date: Feb 2009
Posts: 15
Default Tooltip not getting on itemrenderer page

Hi All,



I have a datagrid and in one column have itemrenderer.If we are using label then not mention the tooltip,if resize the column then we see the tooltip.But i got the problem,my code is below :
Code:
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:Script>
    <![CDATA[
        import mx.core.Application;
        import mx.controls.Alert;
        import flash.net.URLRequest;
        import flash.net.navigateToURL;
        import mx.controls.Text;
       
        override public function set data(value:Object):void
        {
         super.data = value;
         if(data.website!=''){
         ins.setStyle("textDecoration","underline");
         ins.mouseChildren=false;
         ins.buttonMode=true;
         ins.useHandCursor=true;
        }
        if(data.website==''){
         ins.setStyle("textDecoration","none");
         ins.mouseChildren=true;
         ins.buttonMode=false;
         ins.useHandCursor=false;
        }
        }

        private function gettext(e:MouseEvent):void
        {
            //Alert.show(""+data.website);
            //Alert.show(""+e.currentTarget.text);
            if(data.website!=''){
             var datavalue:int=int(data.website);
                 var urlstr:String=""+datavalue;
                var urlrequest:URLRequest= new URLRequest(data.website);
           
                navigateToURL(urlrequest,"_blank"); 
            }
        }
    ]]>
</mx:Script>

    <mx:Label id="ins" text="{data.co_name}"  click="gettext(event)"  textAlign="left" width="100%"/>
    </mx:VBox>
In the above example i not getting the tooltip when resize the column.



Plase help me , thanks in advance.
sipra is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Page Flip Working with Asp Scripting awarrner ActionScript 3.0 4 12-18-2008 07:48 PM
page navigation in website debswebs ActionScript 3.0 3 11-05-2008 11:52 AM
passing radio button variables/values acperez ActionScript 1.0 (and below) 10 03-17-2006 12:20 PM
Automatic page turn!! Help!! Chopper ActionScript 1.0 (and below) 0 08-01-2005 02:25 PM
2 page form wharfrat ActionScript 2.0 2 07-27-2005 02:40 PM


All times are GMT. The time now is 07:29 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.