• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 453
  • Last Modified:

flex list: itemsChangeEffect works 1/2

Hello,

I have a vey simple flex application:

You can see it work and code source included :

http://www.proxymis.com/flex/Test.html

when add a new item : itemsChangeEffect  works only 1/2 (!) when added and works fine  when removed: any idea why this happens ?


Thanks
0
yarekGmail
Asked:
yarekGmail
  • 2
  • 2
1 Solution
 
aubwebCommented:
Hi,

Can you please share the code of you itemRenderer ('PopupMessage').
The issue might come from that.
Try to remove your itemRenderer and it will work fine.

If you share the code I can probably fix it for you.

Aubweb
0
 
yarekGmailAuthor Commented:
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009" 
           xmlns:s="library://ns.adobe.com/flex/spark" 
           xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="60">
<s:Label y="11" left="68" right="48" height="39" text="{data.text}"/>
</mx:Canvas>

Open in new window


I republished it again on : http://www.proxymis.com/flex/srcview/index.html

regards
0
 
aubwebCommented:
Do you really need an ItemRenderer ?
Are you using sdk 3 or 4 ? spark or mx..
0
 
yarekGmailAuthor Commented:
flex4 with MX !

regards
0
 
dgofmanCommented:
What you don't like in your code?

"itemsChangeEffect  works only 1/2 (!) when added and works fine  when removed: "
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now