Google Groups Home
Help | Sign in
Message from discussion Offered contribution: WindowShade control
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Tianzhen Lin  
View profile
 More options Jan 3, 10:06 am
From: "Tianzhen Lin" <tang...@usa.net>
Date: Thu, 3 Jan 2008 10:06:05 -0500
Local: Thurs, Jan 3 2008 10:06 am
Subject: RE: [flexlib] Offered contribution: WindowShade control
I encounter a bug while implementing it using Flex 3 beta 3:

ArgumentError: Undefined state 'up'.
        at
mx.core::UIComponent/getState()[E:\dev\flex_3_beta3\sdk\frameworks\projects \
framework\src\mx\core\UIComponent.as:7055]
        at
mx.core::UIComponent/findCommonBaseState()[E:\dev\flex_3_beta3\sdk\framewor k
s\projects\framework\src\mx\core\UIComponent.as:7075]
        at
mx.core::UIComponent/commitCurrentState()[E:\dev\flex_3_beta3\sdk\framework s
\projects\framework\src\mx\core\UIComponent.as:6974]
        at
mx.core::UIComponent/setCurrentState()[E:\dev\flex_3_beta3\sdk\frameworks\p r
ojects\framework\src\mx\core\UIComponent.as:6938]
        at mx.core::UIComponent/set
currentState()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx \
core\UIComponent.as:4250]
        at
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewIconForP
hase()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\control s
\Button.as:1972]
        at
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewIcon()[E
:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\controls\Button .
as:1871]
        at
mx.controls::Button/commitProperties()[E:\dev\flex_3_beta3\sdk\frameworks\p r
ojects\framework\src\mx\controls\Button.as:1356]
        at
mx.core::UIComponent/validateProperties()[E:\dev\flex_3_beta3\sdk\framework s
\projects\framework\src\mx\core\UIComponent.as:5660]
        at
mx.managers::LayoutManager/validateProperties()[E:\dev\flex_3_beta3\sdk\fra m
eworks\projects\framework\src\mx\managers\LayoutManager.as:517]
        at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\flex_3_beta3\sdk\ f
rameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex_3_beta3\sdk\framewo r
ks\projects\framework\src\mx\core\UIComponent.as:8450]
        at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex_3_beta3\sdk\framewor k
s\projects\framework\src\mx\core\UIComponent.as:8393]

From: flexlib@googlegroups.com [mailto:flexlib@googlegroups.com] On Behalf
Of Dave Glasser
Sent: Saturday, December 29, 2007 4:59 PM
To: flexlib@googlegroups.com
Subject: [flexlib] Offered contribution: WindowShade control

Attached is the source for a component I wrote which I've found to be pretty
useful. A sample can be seen here:
 
http://qform.sourceforge.net/WindowShade_Sample.swf
 
I'd like to contribute it to the Flexlib project, if it is deemed worthy.
 
This control displays a button, which when clicked, will cause a panel to
"unroll" beneath    
it like a windowshade being pulled down; or if the panel is already
displayed it  will be "rolled up" like a windowshade being rolled up. When
multiple WindowShades are stacked in a VBox, the result will be similar to
an mx.containers.Accordian container, except that multiple WindowShades can
be opened simultaneously whereas an Accordian acts like a tab navigator,
with only one panel visible at a time.
 
If you unzip the attached file in a clean working directory, everything
should build; the library, the example app, the ASDoc, etc.  It's all there,
along with the proper license notices.
 
If this becomes part of Flexlib, there are a few more enhancements I'll make
to it, but for right now it serves my own purposes as it is.</div


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google