skin states

4 views
Skip to first unread message

elffikk

unread,
Oct 8, 2010, 4:17:56 AM10/8/10
to Reflex Platform
hi Ben,

thank you for new reflex features like percent based layouts,

and states... but not yet thank you for states .. :)
if you will take a look at the swf size you will notice a big
increase, and that is due to states, :(
seems like it adds some flex classes even if you don't use them

I want states but not paying that much

Ben Stucki

unread,
Oct 8, 2010, 12:13:36 PM10/8/10
to reflex-...@googlegroups.com
Hello,

Can you give me some sample code of how you're using states and a list of which classes it's pulling in? The new states feature is supposed to pull in some classes from the mx package (which the compiler looks for by name), but in my testing it barely effected swf size. You might want to make sure that the new mx classes included in the reflex repository are being compiled in, or you may be using some features that I haven't tested for yet. Either way we'll track it down, but it should be possible to use states without any major impact on swf size.

- Ben

elffikk

unread,
Oct 24, 2010, 1:11:01 PM10/24/10
to Reflex Platform

I am trying to port flex spark skins to reflex and the main problem is
that Gradients strokes and are not changing their values
Any thoughts on fixing that?

e.g.
<s:LinearGradient rotation="90">
<s:GradientEntry color="#8A8A8A" color.over="#8AA2BE" ratio="0"
alpha="0.8"/>
<s:GradientEntry color="#595957" color.over="#525C68"
ratio="0.45"/>
<s:GradientEntry color="#4E4E50" color.over="#464E58"
ratio="0.55"/>
<s:GradientEntry color="#686B6B" color.over="#6A7686" ratio="1"/>
</s:LinearGradient>


And a few other issues:
- I can't set from mxml multiple behaviors
- using SlideBehavior from mxml cause an error, and it works if I
comment in constructor updatePosition function

Ben Stucki

unread,
Nov 8, 2010, 4:58:25 PM11/8/10
to reflex-...@googlegroups.com
Hi all,

I just wanted to send an update that I've added this to the issue tracker on github. I'm hoping to have a fix for it later this week. Thanks.

https://github.com/reflex/reflex-framework/issues/issue/5

elffikk

unread,
Nov 9, 2010, 2:21:12 AM11/9/10
to Reflex Platform
I found the fix by digging in the flex code, they don't dispatch a
propertyChange event if there are no handlers, and without that
binding is not working,
also I remember that Rect class had this handler a while ago, but
since then you removed it while refactoring graphics classes
Reply all
Reply to author
Forward
0 new messages