Hi Manish,
attached sample code. 2 files test.mxml and test2.mxml ( throw in any image 
of size 20px by 20 px)
What I am trying to achieve is get the Image in test2.mxml to grow to a new 
width on mouse over (it should either grow and move out the adjoining items 
or grow itself on a higher depth above the adjoining items)

Hope this makes sense

Thx,

superabe



File1  (test.mxml)
==================

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>

<mx:TileList id="itemList" width="100%" height="100%"
  itemWidth="65" itemHeight="59" borderStyle="none"
  cellRenderer="{test2}"
  dataProvider="{item_ar}" change=""/>
  <mx:Script>
  <![CDATA[
   var item_ar:Array = new Array(1,2,3,4,5);
  ]]>
  </mx:Script>
</mx:Application>


File2  (test2.mxml)
==================
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml"; 
vScrollPolicy="off" hScrollPolicy="off" mouseOverEffect="resize">

 <mx:Image xmlns:mx="http://www.macromedia.com/2003/mxml"; witdh="20" 
height="20" source="_images/1.jpg" />
 <mx:Effect>
  <mx:Resize name="resize" duration="1000" widthFrom="20" 
widthTo="300"></mx:Resize>
 </mx:Effect>
</mx:Canvas>




----- Original Message ----- 
From: "Manish Jethani" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, April 18, 2005 3:40 PM
Subject: Re: [flexcoders] Apply Resize Effect to Items in TileList


>
> On 4/18/05, superabe <[EMAIL PROTECTED]> wrote:
>
>> The effect works fine when resizing to a smaller size that the start 
>> size,
>> but what I really want is to make the item "grow" out in size, which does
>> not seem to work
>
> I'll try to help, but can you post some code that show the problem?
> (I should be able to run it directly and see the problem.)
>
> -- 
> [EMAIL PROTECTED]
> http://manish.revise.org/
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
> 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to