HI,

I came across a problem in using effects in Flex. The 
parameters used to control custom effects are integers, 
and won't parse percentage strings. This is not a problem 
if you're building an application that has a locked size. 
If your app needs to resize, custom effects will give you 
problems.

If you use effects in-line (like this: 
showEffect="WipeRight") the effect will move as a function 
of percentage. That is, first the item (Box, Canvas etc.) 
does the effect, THEN when you resize your application the 
item with the effect will resize correctly. You aren't 
given a way to set these effects with parameters, so maybe 
that's why they work correctly.

If you use a custom effect to move, resize or whatever, 
THEN try to resize your application, the item that had the 
effect run will not resize correctly.

I admit that I have not tested for this problem in all 
situations. Has anyone else run across this behavior? Is 
there a workaround, like temporarily setting the effect 
source on the effected object to ""?

THX


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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