[flexcoders] custom context menu on ADG crashes IE and FF - advice please

2009-11-09 Thread MicC
On a custom AdvancedDataGrid - did the standard thing to add a total footer - I 
have a column where the item renderer puts a hyperlink/link button in the grid 
cell. I attached a custom context menu to this link button with custom menu 
item. Selecting this menu item shuts down IE or FireFox immediately. I have 
removed the menu item listener so it does not try and go anywhere,but the 
browser still shuts down when

- right-click gridcell which is a link button to display context menu
- select custon menu item - browser quits.

Any advice on this one would be greatly appreciated. TIA,

Mic.



Re: [Spam] [flexcoders] Re: Memory leak with Data Grid and Item Renderers

2009-11-09 Thread Nick Middleweek
Hi,

There doesn't seem to be a removeAllChildren() method of the Advanced Data
Grid.

Also, when I test test the numChildren property it only gives me 4 but I've
got a renderer (child) for each of the 9 columns over 20 rows = 180...

I've just found a rendererArray which is an Array of Arrays for the
renderers for each row/Column... I'm hoping I may be able to delete the
'children' this way? have you ever used this property?

or perhaps there's another way to delete the 'children' of the Adv Data
Grid?


Thanks,
Nick




2009/11/6 valdhor valdhorli...@embarqmail.com



 I don't think you can do that. Item renderers are created automatically.

 If it were me, I would probably removeAllChildren from the datagrid and add
 each column again. This should create new renderers as required.





[flexcoders] Passing values from popup window to MXML component

2009-11-09 Thread Funand Learning
Hello All,

I was trying to create a login Page. The page has one main MXML application 
file with couple of MXML components. The First component contains the following:

Component1.mxml:

?xml version=1.0 encoding=utf-8?

width=60% height=261

mx:Script
![CDATA[
import mx.managers.PopUpManager;
import mx.controls.Alert;
import components.LoginPopUp;
import mx.events.CloseEvent;

public var loginWin:LoginPopUp;

private function loginHandler():void {
loginWin = new LoginPopUp();
loginWin.addEventListener(CloseEvent.CLOSE,closeHandler);
PopUpManager.addPopUp(loginWin,this,true);
PopUpManager.centerPopUp(loginWin);

}

public function closeHandler(event:CloseEvent):void
{
PopUpManager.removePopUp(loginWin);

}


public function checkCredentials():void{

if(loginWin.userInput.text=='funandlearning'  
loginWin.passwordInput.text=='funandlearning')
{
Alert.show(Login Successful);

}
else
{
Alert.show(Login Failed);
}
}


]]
/mx:Script



mx:HBox width=90% height=55 borderColor=#F85023 id=headerButtons
borderStyle=outset horizontalAlign=left verticalAlign=middle
backgroundColor=#938480
mx:Spacer width=10%/
mx:Button id=loginMain label=Login click=loginHandler()/
mx:Button id=logout label=LogOut /
/mx:HBox

mx:HBox width=100% height=82%
mx:HBox width=25% height=82% borderStyle=outset 
borderColor=#F85023
/mx:HBox
mx:HBox width=65% height=82% borderColor=#F85023 
borderStyle=outset
/mx:HBox
/mx:HBox
/mx:VBox

component2.mxml has the following code for the popup

?xml version=1.0 encoding=utf-8?

xmlns:main=components.* layout=vertical
  title=Please login showCloseButton=true

!-- defined state to toggle between register and login --
mx:states
mx:State name=Register basedOn=
mx:AddChild relativeTo={loginForm}
 position=lastChild creationPolicy=all
mx:FormItem label=Email
mx:TextInput id=email/
/mx:FormItem
/mx:AddChild

mx:SetProperty target={loginButton} name=label 
value=Register/
mx:RemoveChild target={registerLink}/

mx:AddChild relativeTo={linkSpacer} position=before
mx:LinkButton label=Return to Login 
click=currentState='';this.title='Please Login'/
/mx:AddChild
/mx:State
/mx:states
mx:Script
![CDATA[
import mx.events.CloseEvent;
import mx.managers.PopUpManager;
import mx.controls.Alert;


]]
/mx:Script
mx:Form id=loginForm
mx:FormItem label=Username:
mx:TextInput id=userInput/
/mx:FormItem
mx:FormItem label=Password:
mx:TextInput id=passwordInput displayAsPassword=true/
/mx:FormItem

/mx:Form
mx:ControlBar
 mx:LinkButton 
label=Need to Register? id=registerLink
click=currentState='Register';this.title='Register'
/
mx:Spacer width=100% id=linkSpacer/
mx:Button label=Login id=loginButton click=checkCredentials()/
mx:Button label=Cancel click=PopUpManager.removePopUp(this)/
/mx:ControlBar

/mx:TitleWindow

I need help in knowing how to change the login button in component1.mxml to 
logout button when the login functionaility from the popuup window is successful

Thanks.



  

Re: [flexcoders] Passing values from popup window to MXML component

2009-11-09 Thread Rohit Sharma
  You can add a logout button at the same place as login button and toggle
the visibilities of these buttons depending upon the
   state of your component.



On Mon, Nov 9, 2009 at 9:58 AM, Funand Learning
funandlearni...@yahoo.comwrote:



 Hello All,

 I was trying to create a login Page. The page has one main MXML application
 file with couple of MXML components. The First component contains the
 following:

 Component1.mxml:

 ?xml version=1.0 encoding=utf-8?

 width=60% height=261

 mx:Script
 ![CDATA[
 import mx.managers.PopUpManager;
 import mx.controls.Alert;
 import components.LoginPopUp;
 import mx.events.CloseEvent;

 public var loginWin:LoginPopUp;

 private function loginHandler():void {
 loginWin = new LoginPopUp();
 loginWin.addEventListener(CloseEvent.CLOSE,closeHandler);
 PopUpManager.addPopUp(loginWin,this,true);
 PopUpManager.centerPopUp(loginWin);

 }

 public function closeHandler(event:CloseEvent):void
 {
 PopUpManager.removePopUp(loginWin);

 }


 public function checkCredentials():void{

 if(loginWin.userInput.text=='funandlearning' 
 loginWin.passwordInput.text=='funandlearning')
 {
 Alert.show(Login Successful);

 }
 else
 {
 Alert.show(Login Failed);
 }
 }


 ]]
 /mx:Script



 mx:HBox width=90% height=55 borderColor=#F85023
 id=headerButtons
 borderStyle=outset horizontalAlign=left verticalAlign=middle
 backgroundColor=#938480
 mx:Spacer width=10%/
 mx:Button id=loginMain label=Login click=loginHandler()/
 mx:Button id=logout label=LogOut /
 /mx:HBox

 mx:HBox width=100% height=82%
 mx:HBox width=25% height=82% borderStyle=outset
 borderColor=#F85023
 /mx:HBox
 mx:HBox width=65% height=82% borderColor=#F85023
 borderStyle=outset
 /mx:HBox
 /mx:HBox
 /mx:VBox

 component2.mxml has the following code for the popup

 ?xml version=1.0 encoding=utf-8?

 xmlns:main=components.* layout=vertical
   title=Please login showCloseButton=true

 !-- defined state to toggle between register and login --
 mx:states
 mx:State name=Register basedOn=
 mx:AddChild relativeTo={loginForm}
  position=lastChild creationPolicy=all
 mx:FormItem label=Email
 mx:TextInput id=email/
 /mx:FormItem
 /mx:AddChild

 mx:SetProperty target={loginButton} name=label
 value=Register/
 mx:RemoveChild target={registerLink}/

 mx:AddChild relativeTo={linkSpacer} position=before
 mx:LinkButton label=Return to Login
 click=currentState='';this.title='Please Login'/
 /mx:AddChild
 /mx:State
 /mx:states
 mx:Script
 ![CDATA[
 import mx.events.CloseEvent;
 import mx.managers.PopUpManager;
 import mx.controls.Alert;


 ]]
 /mx:Script
 mx:Form id=loginForm
 mx:FormItem label=Username:
 mx:TextInput id=userInput/
 /mx:FormItem
 mx:FormItem label=Password:
 mx:TextInput id=passwordInput displayAsPassword=true/
 /mx:FormItem

 /mx:Form
 mx:ControlBar
  mx:LinkButton
 label=Need to Register? id=registerLink
 click=currentState='Register';this.title='Register'
 /
 mx:Spacer width=100% id=linkSpacer/
 mx:Button label=Login id=loginButton
 click=checkCredentials()/
 mx:Button label=Cancel click=PopUpManager.removePopUp(this)/
 /mx:ControlBar

 /mx:TitleWindow

 I need help in knowing how to change the login button in component1.mxml to
 logout button when the login functionaility from the popuup window is
 successful

 Thanks.

  



RE: [flexcoders] Detect if any of the Items on a List are Selected - thought it would be easier.

2009-11-09 Thread Quantum
Oh yeah, just get the count of one of these arrays. I guess that would be
better than what I'm doing :)
Thanks

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Fotis Chatzinikos
Sent: Sunday, October 25, 2009 3:46 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Detect if any of the Items on a List are Selected
- thought it would be easier.


  

you can use the list's properties (arrays of indices, or items):

selectedItems
selectedIndices




On Sun, Oct 25, 2009 at 7:19 PM, steveb805 quantumcheesedog@
mailto:quantumcheese...@gmail.com gmail.com wrote:


  


The only property I could find, from the Flex docs, that tells you whether
your List control has anything selected is: isItemSelected().

And this takes a parameter that refers to a specific item. So before my
Delete button handler, I check if any item is selected with the following:

private function deleteHandler() {

var bDoesNotHasFocus: Boolean = true;
var len:Number = projectList.dataProvider.length;

for (var i:int = 0; i = len - 1; i++) {
if (projectList.isItemSelected(projectList.dataProvider[i])) 
{
bDoesNotHasFocus = false;
}
}
if (bDoesNotHasFocus)
return;

// the code to delete

}

Is there a better way, anyone?
Thanks,
Steve






-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
Fotis.Chatzinikos@ mailto:fotis.chatzini...@gmail.com gmail.com, 





[flexcoders] How to configure flex app in HTTPS load balanced environment where app servers serve http requests

2009-11-09 Thread Abhiken

Hi,


I have developed the dashboard in my application using flex 3.0. For this I
have used JSP wrapper around the flex application. My application runs on
JBoss application server. For communication between flex app and my
application I am using LCDS. HTTPService component is being used to receive
data from the server. Channel definitions are given in service-config.xml
for secure amf and secure http channels. In my proxy-config.xml I have
defined Channels and destinations.

In my development environment both secure and non secure mode were working
fine.


Now in my test environment I have deployed it behind the hardware load
balancer(which accepts secure requests only and if the request is not secure
it redirects it to secure url).

 

So the load balancer only accepts HTTPS URLS and after that the request is
converted into HTTP and sent to web/app servers

 

I am getting following exception

 

06:06:13,521 INFO  [STDOUT] [LCDS][ERROR] Exception when invoking service
'proxy-service': flex.messaging.services.http
.proxy.ProxyException: Error sending request.
sun.security.validator.ValidatorException: PKIX path building failed: sun
.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
  incomingMessage: Flex Message (flex.messaging.messages.HTTPMessage)
method = GET
url = http://10.4.10.224:80/kr/servlet/DashboardServlet
headers = {DSEndpoint=my-secure-http,
DSId=A96D29E3-9B09-8156-DE28-257F324A283F}
clientId = A96D2A56-5A0D-4442-1E1B-4F62ACA8F33B
destination = dashboardService
messageId = 3E568EBD-2239-9A43-8D2D-B9B934E8F10B
timestamp = 1257246373114
timeToLive = 0
body = {source=default}
hdr(DSEndpoint) = my-secure-http
hdr(DSId) = A96D29E3-9B09-8156-DE28-257F324A283F
  Exception: flex.messaging.services.http.proxy.ProxyException: Error
sending request. sun.security.validator.Validator
Exception: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
at
flex.messaging.services.http.proxy.RequestFilter.sendRequest(RequestFilter.java
:493)
at
flex.messaging.services.http.proxy.RequestFilter.invoke(RequestFilter.java:84)
at
flex.messaging.services.http.proxy.SecurityFilter.invoke(SecurityFilter.java:63
)
at
flex.messaging.services.http.proxy.ResponseFilter.invoke(ResponseFilter.java:68
)
at
flex.messaging.services.http.proxy.ProxyContextFilter.invoke(ProxyContextFilter
.java:58)
at
flex.messaging.services.http.proxy.AccessFilter.invoke(AccessFilter.java:59)
at
flex.messaging.services.http.proxy.ErrorFilter.invoke(ErrorFilter.java:44)
at
flex.messaging.services.http.HTTPProxyAdapter.invoke(HTTPProxyAdapter.java:543)
at
flex.messaging.services.HTTPProxyService.invokeHttp(HTTPProxyService.java:353)
at
flex.messaging.services.HTTPProxyService.serviceMessage(HTTPProxyService.java:1
81)
at
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
at
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:
884)
at
flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.jav
a:121)
at
flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
at
flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:
67)
at
flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.jav
a:146)
at
flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
at
flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
-- 
View this message in context: 
http://old.nabble.com/How-to-configure-flex-app-in-HTTPS-load-balanced-environment-where-app-servers-serve-http-requests-tp26195876p26195876.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Passing values from popup window to MXML component

2009-11-09 Thread Omotola Anjorin
Yeah you can do what rohit said by adding a logout button at the same place and 
toggling the visiblity.

This way,

From you main application you can do something like this.


if(loginWin. userInput. text=='funandlearning'  loginWin.passwordIn 
put.text= ='funandlearning')
{
Alert.show(Login Successful);
loginWin.loginButton.visible = false
 loginWin.logoutButton.visible = true
}

You can also use the same button but play around the text property.

Cheers



From: Rohit Sharma rohit.sharma1...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Mon, November 9, 2009 12:21:02 PM
Subject: Re: [flexcoders] Passing values from popup window to MXML component

  
  You can add a logout button at the same place as login button and toggle the 
visibilities of these buttons depending upon the
   state of your component.

   


On Mon, Nov 9, 2009 at 9:58 AM, Funand Learning funandlearning3@ yahoo.com 
wrote:














  


 
  
 
Hello All,

I was trying to create a login Page. The page has one main MXML application 
file with couple of MXML components. The First component contains the 
following:

Component1.mxml:

?xml version=1.0 encoding=utf-8?

width=60% height=261

mx:Script
![CDATA[
import mx.managers. PopUpManager;
import mx.controls. Alert;
import
 components.LoginPop Up;
import mx.events.CloseEven t;

public var loginWin:LoginPopUp ;

private function loginHandler( ):void {
loginWin = new LoginPopUp() ;
loginWin.addEventLi stener(CloseEven t.CLOSE,closeHan dler);
PopUpManager. addPopUp( loginWin, this,true) ;
PopUpManager. centerPopUp( loginWin) ;
   
 
}

public function closeHandler( event:CloseEvent ):void
{
PopUpManager. removePopUp( loginWin) ;

}


public function checkCredentials( ):void{

   
 if(loginWin. userInput. text=='funandlearning'  loginWin.passwordIn 
 put.text= ='funandlearning')
{
Alert.show(Login Successful);

}
else
{
Alert.show(Login Failed);
}
}
   
 

]]
/mx:Script



mx:HBox width=90% height=55 borderColor=#F85023 id=headerButtons
borderStyle=outset horizontalAlign=left verticalAlign=middle
backgroundColor=#938480
mx:Spacer width=10%/
mx:Button id=loginMain label=Login click=loginHandler( )/
mx:Button id=logout label=LogOut /
/mx:HBox

mx:HBox width=100% height=82%
mx:HBox width=25%
 height=82% borderStyle=outset borderColor=#F85023
/mx:HBox
mx:HBox width=65% height=82% borderColor=#F85023 
 borderStyle=outset
/mx:HBox
/mx:HBox
/mx:VBox

component2.mxml has the following code for the popup

?xml version=1.0 encoding=utf-8?

xmlns:main=components.* layout=vertical
  title=Please login showCloseButton=true

!-- defined state to toggle between register and login
 --
mx:states
mx:State name=Register basedOn=
mx:AddChild relativeTo={loginForm}
 position=lastChild creationPolicy=all
mx:FormItem label=Email
mx:TextInput id=email/
/mx:FormItem
/mx:AddChild

mx:SetProperty
 target={loginButton} name=label value=Register/
mx:RemoveChild target={registerLink}/

mx:AddChild relativeTo={linkSpacer} position=before
mx:LinkButton label=Return to Login 
 click=currentState='';this.title='Please Login'/
/mx:AddChild
/mx:State
/mx:states
mx:Script
![CDATA[
import
 mx.events.CloseEven t;
import mx.managers. PopUpManager;
import mx.controls. Alert;


]]
/mx:Script
mx:Form id=loginForm
mx:FormItem label=Username:
mx:TextInput id=userInput/
/mx:FormItem
mx:FormItem label=Password:
mx:TextInput id=passwordInput displayAsPassword=true/
   
 /mx:FormItem

/mx:Form
mx:ControlBar
 mx:LinkButton 
label=Need to Register? id=registerLink
click=currentState='Register';this.title='Register'
/
mx:Spacer width=100% id=linkSpacer/
mx:Button label=Login id=loginButton click=checkCredentials( )/
mx:Button label=Cancel click=PopUpManager. removePopUp( this)/
/mx:ControlBar

/mx:TitleWindow

I need help in 

[flexcoders] Re: custom context menu on ADG crashes IE and FF - advice please

2009-11-09 Thread valdhor
Can you post some sample code?

--- In flexcoders@yahoogroups.com, MicC chigwel...@... wrote:

 On a custom AdvancedDataGrid - did the standard thing to add a total footer - 
 I have a column where the item renderer puts a hyperlink/link button in the 
 grid cell. I attached a custom context menu to this link button with custom 
 menu item. Selecting this menu item shuts down IE or FireFox immediately. I 
 have removed the menu item listener so it does not try and go anywhere,but 
 the browser still shuts down when
 
 - right-click gridcell which is a link button to display context menu
 - select custon menu item - browser quits.
 
 Any advice on this one would be greatly appreciated. TIA,
 
 Mic.





[Spam] [flexcoders] Re: Memory leak with Data Grid and Item Renderers

2009-11-09 Thread valdhor
Sorry, you are correct.

I believe you need to manipulate the columns array. This array holds an 
AdvancedDataGridColumn reference for each column. Set this to a new array 
containing the new columns.

--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:

 Hi,
 
 There doesn't seem to be a removeAllChildren() method of the Advanced Data
 Grid.
 
 Also, when I test test the numChildren property it only gives me 4 but I've
 got a renderer (child) for each of the 9 columns over 20 rows = 180...
 
 I've just found a rendererArray which is an Array of Arrays for the
 renderers for each row/Column... I'm hoping I may be able to delete the
 'children' this way? have you ever used this property?
 
 or perhaps there's another way to delete the 'children' of the Adv Data
 Grid?
 
 
 Thanks,
 Nick
 
 
 
 
 2009/11/6 valdhor valdhorli...@...
 
 
 
  I don't think you can do that. Item renderers are created automatically.
 
  If it were me, I would probably removeAllChildren from the datagrid and add
  each column again. This should create new renderers as required.
 
 
 





[flexcoders] skinning the modal window in popupmanager

2009-11-09 Thread Slackware
How can I do it? I want to change the skin in the panel that shows windows in 
popupmanager.
I'm using Flash Builder 4 beta 2 and only mx controls (not spark)

TIA



[flexcoders] Re: LineChart not updating when DP changes

2009-11-09 Thread jmerrill_2001
h... anyone?





[flexcoders] External Style Sheet Naming and Structure Conventions

2009-11-09 Thread Asa Williams
I am creating an AIR/Flex application and wanted to know how to break up my 
styles.  Right now I have everything in two files and quickly realized I needed 
to break it up.  The normal web way of breaking them up doesnt seem to apply to 
us.  Or does it? 

What css file naming convention should I use and what should be included in 
each one? 



Re: [flexcoders] Re: text from a form into an e-mail?

2009-11-09 Thread Kearney Buskirk


On Nov 8, 2009, at 8:14 AM, Tracy Spratt wrote:




At the instance or global level of an mxml file, you can only  
initiate variables to simple values. “richTextInstance” does not yet  
exist when you are trying to access the text property value, thus  
the error.  Declare the variable as you are, but wait to initialize  
the value by using a ceeationComplete handler.


Now, mx:Form is just a layout container, and won’t process the field  
data for you in any special way.  You will need to get the value  
from each form item control individually, and build the string you  
want. (or, if the form changes update a model, use the model.)


Right, so what I had built thus far is:

private var mailMe:String = mailto:kear...@gmail.com?subject=answersbody= 
;


private function sendEmail():void
{
		navigateToURL(new URLRequest(mailMe + unNaturalText_1.text +  
unNaturalText_2.text),'_self');

}

It's working well now except that there's no separation between each  
text block from each TextInput instance in the email output. I'm  
trying to put each text block in its own paragraph. I've tried  
inserting \n and \r in various combinations with + and the .text  
instances. None of those thus far works to separate the text blocks  
into their own paragraphs. What am I missing?


Is there good reason to use a model for this situation?

Tracy, I appreciate your patience, persistence and teaching.

Kearney




Tracy Spratt,
Lariat Services, development services available


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch  
to Fully Featured

Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe






[flexcoders] NumericStepper and change event

2009-11-09 Thread Richard Rodseth
Is there any way to get a NumericStepper to fire a change event on each
keystroke?

I got a bug report that the form save button is not enabled until the
stepper loses focus.


Re: [flexcoders] Re: LineChart not updating when DP changes

2009-11-09 Thread Omotola Anjorin
try update manually using the id of the linechart (in the dp change event 
handler) like...


linechartid.dataProvider = dataprovider.





From: jmerrill_2001 jason.merr...@bankofamerica.com
To: flexcoders@yahoogroups.com
Sent: Mon, November 9, 2009 4:43:24 PM
Subject: [flexcoders] Re: LineChart not updating when DP changes

  
h... anyone?


 


  

[flexcoders] Re: LineChart not updating when DP changes

2009-11-09 Thread jmerrill_2001
try update manually using the id of the linechart (in the dp change event 
handler) like...linechartid.dataProvider = dataprovider.

Huh?  If you see in my code, that's exactly what I'm doing and why I'm confused 
the chart isn't changing even though the data is different.





[flexcoders] Adobe AIR 1.5.1: issue on opening encrypted DB

2009-11-09 Thread handitan
Hi all,

 
I got a sqlite DB that's encrypted with AES256 using sqlite3 command line tool:

sqlite3.exe -key test123Test test.db

 
I able to do this encryption because I bought the SEE license.

 
And I did test that the encryption does work, I could not view the DB content 
directly using the DB Admin Tool I have but I could view the content using the 
sqlite3 command line tool.

I believe the reason why my DB Admin Tool couldn't work because it doesn't have 
the SEE license.

 
Anyway, I tried to open this with ADOBE AIR and I did make sure passing the 
encryption key as part of the argument.

But what I got is an error msg:


Error message: Error #3125: Unable to open the database file.

Details: An encryption key cannot be specified when the database is not 
encrypted.


 
So this brings me to this question:

- What kind of SQLite encryption does ADOBE AIR really supports?

- Does ADOBE have SEE license?

 
Please enlighten me.

 
Thx! 



[flexcoders] Navigating from a Servlet to a flex page

2009-11-09 Thread Shweta Sharrof

Hi,
I am new to flex.
Can anybody please tell me as to how can i navigate from a servlet to a flex
page like we do in the jsp/servlet using RequestDispatcher.

Thanks in advance. 
-- 
View this message in context: 
http://old.nabble.com/Navigating-from-a-Servlet-to-a-flex-page-tp26266413p26266413.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Navigating from a Servlet to a flex page

2009-11-09 Thread Shweta Sharrof

Hi,
I am new to flex.
Can anybody please tell me as to how can i navigate from a servlet to a flex
page like we do in the jsp/servlet using RequestDispatcher.

Thanks in advance.
-- 
View this message in context: 
http://old.nabble.com/Navigating-from-a-Servlet-to-a-flex-page-tp26265728p26265728.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Advanced date/time Flex libraries

2009-11-09 Thread sasuke

Hi folks,

Are there any advanced date/time manipulation libraries out there which
provide operations similar to those offered by the 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html Calendar 
class in Java? Using the AS Date class for basic operations like adding X
amount of days to the current date, adding X amount of hours to the current
time, calculating for leap year etc. requires a fair amount of code. Is
there any library out there which encapsulates this logic and provides a
programmer friendly API?

TIA,
sasuke
-- 
View this message in context: 
http://old.nabble.com/Advanced-date-time-Flex-libraries-tp26267557p26267557.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Advanced date/time Flex libraries

2009-11-09 Thread San Jay
HiHi folks,

Are there any advanced date/time manipulation libraries out there which
provide operations similar to those offered by the Calendar
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.htmlclass in
Java? Using the AS Date class for basic operations like adding X amount of
days to the current date, adding X amount of hours to the current time,
calculating for leap year etc. requires a fair amount of code. Is there any
library out there which encapsulates this logic and provides a programmer
friendly API?

TIA,
sasuke


[flexcoders] Need clarifications about ArrayCollection and binding

2009-11-09 Thread stanlaur
Hi,

Question 1:

There is note in Adobe Flex 3 help 
(http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_4.html):

Note: [..] the ArrayCollection class dispatches an event when the array or the 
array elements change to trigger data binding. For example, a call to 
ArrayCollection.addItem(), ArrayCollection.addItemAt(), 
ArrayCollection.removeItem(), and ArrayCollection.removeItemAt() all trigger 
data binding.

And there (in documentation) is example, where mx:List is used with 
`ArrayCollection` as data provider, which should confirm this note. 

But my experience shows, that it's invalid (or I misunderstand something). 
IMHO, `ArrayCollection.addItem()` (and co.) doesn't trigger data binding (and 
it's only triggered when reference changes). And mx:List handles manually it 
(it registers event listener for CollectionEvent.COLLECTION_CHANGE when 
`dataProvider` is set) - so it may appear like it was binding stuff.

Is this note wrong? Incomplete? Or maybe I misunderstood something?

Question 2 (and it complements question 1): 

I have model class with property `list`:

  [Bindable]
  public var list:ArrayCollection;

I want to reconstruct internal (in MXML) list, when list in model changes 
(reference changes, or item is added/removed). In MXML component I have 
something like this:

  [Bindable]
  public var model:Model;

  /* this is called on `creationComplete` */
  private function initLocal():void
  {
model = new Model();
BindingUtils.bindSetter(constructList, this, [model, list]);
  }

But `constructList` is called only once (in my case, only when reference 
changes). As I understand, bindings doesn't work when adding/removing items and 
I should manually listen for CollectionEvent.COLLECTION_CHANGE?

(third question/issue)

If I change `list` property in `Model` to manual binding:

[Bindable(event=listUpdated)]
public function get list():ArrayCollection
{
...
}

And when manually dispatching `listUpdated` events (when item is added/removed, 
or list reference changes), then `BindUtils.bindSetter()` works as I expect - 
`constructList` is called when item is added, etc.

Question: why this differs from default binding ([Bindable])? I assume, that 
default bindings doesn't fire `propertyChange` event, when something is added 
to ArrayCollection. Am I right?


Laurynas Stancikas



[flexcoders] Unable to transcode Flash Symbol Using Ant in Flex

2009-11-09 Thread vikash kumar
Hello FlexCodersI am currently running into an issue where I have created a 
Library project 'OVUIFramework' containing assets which includes style.css and 
OVSkin.swfNow I have added swc of this project into the main App 'OVApp' and 
used theme option of compiler to access the assest property likeIn an action 
Script File I have used 
;[Embed(source=assets/Styles/OVSkin.swf,symbol=Logo)]private var 
logo:Class;assets folder being present in 'OVUIFramework' flex compiler does 
not give me any compile time or runtime error and work very fineBut when I try 
to compile project 'OVApp' with ant it give me error 
:E:\project\\Codebase\App\src\com\atex\OV\Core\UI\OVUIMgr.as(70): col: 4: 
Error: unable to resolve 'assets/Styles/OVSkin.swf' for transcoding[mxmlc] 
[Embed(source=assets/Styles/OVSkin.swf,symbol=Logo)]Please Help me 
out.Thanks in advanceVikash KumarDear flexcoders ! Get Yourself a cool, short 
@in.com Email ID now!


[flexcoders] Get Notified if a Remoting Result event listener function *doesn't get called?

2009-11-09 Thread steveb805
This sounds vague, but basically it's:

My Zendamf remoting object has a 
fault=faultListener(event), which has an Alert.show statement.

However, I noticed that when I'm on my laptop, and my Net connection is flakey, 
this happens:

 I create a new Item that then gets added to my List object successfully, and 
the next step is to add to the database on the Server-end, so I call:
 myRemote.addNewTask(tempTask);

But there's no feedback , and although I see the new Item in my List this 
only means the Client side succeeds, but the DB save silently fails without a 
Fault event.

I have a Result event set up, but the resultListener function never gets 
called. 
It's not like I can do this:  if (!succeeds) then display fail, like 
you can on a normal php/mysql app.

And I just want to avoid having to go the reverse logic route to resolve this: 
When the Result event gets called, do an Alert.show().  Don't want to have to 
click OK everytime it's successful. ;/

Just wondering how anyone else handles this,
Thanks,
Steve




Re: [flexcoders] Advanced date/time Flex libraries

2009-11-09 Thread Tom McNeer
Hi,


On Mon, Nov 9, 2009 at 1:10 PM, San Jay uzumaki.naruto...@gmail.com wrote:

 Are there any advanced date/time manipulation libraries out there which
 provide operations similar to those offered by the Calendar
 http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.htmlclass in
 Java?



You might take a look at this project - http://flexdateutils.riaforge.org/ -
and see if it suits your needs.


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


Re: [flexcoders] Get Notified if a Remoting Result event listener function *doesn't get called?

2009-11-09 Thread Roman Protsiuk
Hi Steve,

In the situation when there's no response from the server you'll eventually
get request timeout fault. It's just the matter of how long is this timeout
configured to be.

Roman Protsiuk
Software Engineer/Engineering Team Lead

http://under.in.ua

Kyiv, Ukraine (GMT+2)
mobile: +38 097 321 56 54 email:
roman.prots...@gmail.com%3C/span%3eroman.prots...@gmail.com
 skype: roman.protsiuk
linkedin: http://www.linkedin.com/in/romanpv blogspot:
http://roma-ch.blogspot.com
I

On Mon, Nov 9, 2009 at 8:48 PM, steveb805 quantumcheese...@gmail.comwrote:



 This sounds vague, but basically it's:

 My Zendamf remoting object has a
 fault=faultListener(event), which has an Alert.show statement.

 However, I noticed that when I'm on my laptop, and my Net connection is
 flakey, this happens:

 I create a new Item that then gets added to my List object successfully,
 and the next step is to add to the database on the Server-end, so I call:
 myRemote.addNewTask(tempTask);

 But there's no feedback , and although I see the new Item in my List this
 only means the Client side succeeds, but the DB save silently fails without
 a Fault event.

 I have a Result event set up, but the resultListener function never gets
 called.
 It's not like I can do this: if (!succeeds) then display fail, like
 you can on a normal php/mysql app.

 And I just want to avoid having to go the reverse logic route to resolve
 this: When the Result event gets called, do an Alert.show(). Don't want to
 have to click OK everytime it's successful. ;/

 Just wondering how anyone else handles this,
 Thanks,
 Steve

  



Re: [flexcoders] Advanced date/time Flex libraries

2009-11-09 Thread Jeffry Houser


Check out the FlexOOP DateUtils library.

http://code.google.com/p/flexdateutils/
http://flexoop.com/2008/12/flexdateutils-overview/  
http://flexoop.com/tag/flexdateutils/



sasuke wrote:
 



Hi folks,

Are there any advanced date/time manipulation libraries out there which
provide operations similar to those offered by the
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html 
Calendar

class in Java? Using the AS Date class for basic operations like adding X
amount of days to the current date, adding X amount of hours to the 
current

time, calculating for leap year etc. requires a fair amount of code. Is
there any library out there which encapsulates this logic and provides a
programmer friendly API?

TIA,
sasuke
--
View this message in context: 
http://old.nabble.com/Advanced-date-time-Flex-libraries-tp26267557p26267557.html 
http://old.nabble.com/Advanced-date-time-Flex-libraries-tp26267557p26267557.html

Sent from the FlexCoders mailing list archive at Nabble.com.




--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



[flexcoders] Re: Does Flex support Client Side Digital Certificates

2009-11-09 Thread mitchgrrt
Did you ever find out more about this?


--- In flexcoders@yahoogroups.com, Anthony DeBonis anth...@... wrote:

 Does Flex support Client Side Digital Certificates?
 
 I have been asked this question several times each time I have a hard 
 time finding and answer/proof.  
 
 Has anyone implemented this and do you have a code that tests it out. 
 
 If it's all https traffic I am sure the browser handles this fine but 
 what if you're using Flex Data Services for AMF binary transfer or 
 messaging with Flash/Flex support the client side certificate?





[flexcoders] It's about time (zones)...

2009-11-09 Thread Andy

Time zone support really seems pretty minimal in Flex/ActionScript.

I have had my share of trouble trying to work around limitations, but would 
really like to see additional timezone support.

I know I am not alone from some of the blog entries out there... so I found 
these related bugs that you may want to vote for.

https://bugs.adobe.com/jira/browse/FP-175
https://bugs.adobe.com/jira/browse/FP-1170

Hopefully if enough people take the time to point out how lacking this is, 
Adobe will dedicate some time to improving this.

Thanks!
Andy



[flexcoders] Re: Get Notified if a Remoting Result event listener function *doesn't get cal

2009-11-09 Thread steveb805
Hi, thanks that was easy. I just added a  requestTimeout=20 for 20 sec to my 
RemoteObject component, and I already had a faultListener handler. 

In the faultlistener, I added a 

if (event.fault.faultCode == Client.Error.RequestTimeout)
 Alert.show(For some reason, the Server is taking too long to save/get 
this data, Houston, we have temporary connection problems);
else
   Alert.show(event.fault.message, Error);

This is for the benefit of anyone who finds this thread. Anyone want to 
add/change/improve, feel free
Steve

--- In flexcoders@yahoogroups.com, Roman Protsiuk roman.prots...@... wrote:

 Hi Steve,
 
 In the situation when there's no response from the server you'll eventually
 get request timeout fault. It's just the matter of how long is this timeout
 configured to be.
 
 Roman Protsiuk
 Software Engineer/Engineering Team Lead
 
 http://under.in.ua
 
 Kyiv, Ukraine (GMT+2)
 mobile: +38 097 321 56 54 email:
 roman.prots...@...%3C/span%3eroman.prots...@...
  skype: roman.protsiuk
 linkedin: http://www.linkedin.com/in/romanpv blogspot:
 http://roma-ch.blogspot.com
 I
 
 On Mon, Nov 9, 2009 at 8:48 PM, steveb805 quantumcheese...@...wrote:
 
 
 
  This sounds vague, but basically it's:
 
  My Zendamf remoting object has a
  fault=faultListener(event), which has an Alert.show statement.
 
  However, I noticed that when I'm on my laptop, and my Net connection is
  flakey, this happens:
 
  I create a new Item that then gets added to my List object successfully,
  and the next step is to add to the database on the Server-end, so I call:
  myRemote.addNewTask(tempTask);
 
  But there's no feedback , and although I see the new Item in my List this
  only means the Client side succeeds, but the DB save silently fails without
  a Fault event.
 
  I have a Result event set up, but the resultListener function never gets
  called.
  It's not like I can do this: if (!succeeds) then display fail, like
  you can on a normal php/mysql app.
 
  And I just want to avoid having to go the reverse logic route to resolve
  this: When the Result event gets called, do an Alert.show(). Don't want to
  have to click OK everytime it's successful. ;/
 
  Just wondering how anyone else handles this,
  Thanks,
  Steve
 
   
 





[flexcoders] Re: custom context menu on ADG crashes IE and FF - advice please

2009-11-09 Thread MicC


This is it:

http://blog.visiblecertainty.com/post/199398532/modifying-context-menus-with-flash-player-10-while

Now trying to work out how to fit the solution described into my code. Does 
Adobe know about this? Also is there anyway to add icon/text formatting to 
custom menu items on custom context menu? I cannot find a way. And there's no 
way to trap a right-click on an ADG and pop up a nicer dialog, right? IMHO 
Adobe has dropped the ball on right-click support :-(

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Can you post some sample code?
 
 --- In flexcoders@yahoogroups.com, MicC chigwell23@ wrote:
 
  On a custom AdvancedDataGrid - did the standard thing to add a total footer 
  - I have a column where the item renderer puts a hyperlink/link button in 
  the grid cell. I attached a custom context menu to this link button with 
  custom menu item. Selecting this menu item shuts down IE or FireFox 
  immediately. I have removed the menu item listener so it does not try and 
  go anywhere,but the browser still shuts down when
  
  - right-click gridcell which is a link button to display context menu
  - select custon menu item - browser quits.
  
  Any advice on this one would be greatly appreciated. TIA,
  
  Mic.
 





[flexcoders] BlazeDS security for each messaging topic

2009-11-09 Thread Benjamin
Hello all,

We are using BlazeDS based messaging with Flex frontend. Is it  possible to 
setup security such that when flex consumer tries to subscribe to a topic, I 
need to do a custom security implmentation to check whether the client is 
really entitled to the topic and prevent the client from subscribing if the 
client is not entitled.

Thanks
Ben



Re: [flexcoders] Advanced date/time Flex libraries

2009-11-09 Thread sasuke


Jeffry Houser-2 wrote:
 
 
  Check out the FlexOOP DateUtils library.
 
 http://code.google.com/p/flexdateutils/
 http://flexoop.com/2008/12/flexdateutils-overview/  
 http://flexoop.com/tag/flexdateutils/
  
 -- 
 Jeffry Houser, Technical Entrepreneur
 Adobe Community Expert: http://tinyurl.com/684b5h
 http://www.twitter.com/reboog711  | Phone: 203-379-0773
 --
 Easy to use Interface Components for Flex Developers
 http://www.flextras.com?c=104
 --
 http://www.theflexshow.com
 http://www.jeffryhouser.com
 --
 Part of the DotComIt Brain Trust
 

Thank you for the prompt reply, I'll give the library a go and let you know
how if it works out.

-sasuke

-- 
View this message in context: 
http://old.nabble.com/Advanced-date-time-Flex-libraries-tp26267557p26277917.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Re: text from a form into an e-mail?

2009-11-09 Thread Shabir Gilkar
Hi Dear,

May be this Free Flash  Flex Magazine issue may help you, Please download
the Free Pdf issue of this magazine and hope you may get some hint from
this.

http://ffdmag.com/magazine/726-a-breath-of-fresh-air-for-desktop-apps

Regards


On Mon, Nov 9, 2009 at 9:39 PM, Kearney Buskirk
kear...@lightthrumedia.comwrote:




 On Nov 8, 2009, at 8:14 AM, Tracy Spratt wrote:



 At the instance or global level of an mxml file, you can only initiate
 variables to simple values. “richTextInstance” does not yet exist when you
 are trying to access the text property value, thus the error.  Declare the
 variable as you are, but wait to initialize the value by using a
 ceeationComplete handler.

 Now, mx:Form is just a layout container, and won’t process the field data
 for you in any special way.  You will need to get the value from each form
 item control individually, and build the string you want. (or, if the form
 changes update a model, use the model.)


 Right, so what I had built thus far is:

 private var mailMe:String = 
 mailto:kear...@gmail.com?subject=answersbody=kear...@gmail.com?subject=answersbody=
 ;

  private function sendEmail():void
 {
 navigateToURL(new URLRequest(mailMe + unNaturalText_1.text +
 unNaturalText_2.text),'_self');
 }

 It's working well now except that there's no separation between each text
 block from each TextInput instance in the email output. I'm trying to put
 each text block in its own paragraph. I've tried inserting \n and \r in
 various combinations with + and the .text instances. None of those thus far
 works to separate the text blocks into their own paragraphs. What am I
 missing?

 Is there good reason to use a model for this situation?

 Tracy, I appreciate your patience, persistence and teaching.

 Kearney



 Tracy Spratt,
 Lariat Services, development services available
 --


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



 Your email settings: Individual Email|Traditional
 Change settings via the 
 Webhttp://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJnaDF0MGgwBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMjU3Njk2OTY4
  (Yahoo! ID required)
 Change settings via email: Switch delivery to Daily 
 Digestflexcoders-dig...@yahoogroups.com?subject=email+delivery:+Digest
  | Switch to Fully 
 Featuredflexcoders-fullfeatu...@yahoogroups.com?subject=change+delivery+format:+Fully+Featured

 Visit Your Group 
 http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlOGkxNjU2BF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTI1NzY5Njk2OA--
 | Yahoo! Groups Terms of Use  http://docs.yahoo.com/info/terms/|
 Unsubscribe  flexcoders-unsubscr...@yahoogroups.com?subject=unsubscribe


  




-- 
With Regards

Shabir Ahmad Gilkar

Srinagar Kashmir JK

Voice: +91 9419942501
email: shabirgil...@gmail.com
Skype: shabirgilkar


Re: [flexcoders] Advanced date/time Flex libraries

2009-11-09 Thread sasuke


Tom McNeer wrote:
 
 Hi,
 
 You might take a look at this project - http://flexdateutils.riaforge.org/
 -
 and see if it suits your needs.
 
 -- 
 Thanks,
 
 Tom
 
Thanks for the suggestion; I'll surely give it a go.

-sasuke
-- 
View this message in context: 
http://old.nabble.com/Advanced-date-time-Flex-libraries-tp26271209p26277936.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Need clarifications about ArrayCollection and binding

2009-11-09 Thread Alex Harui
1)  That example could be better.  You are correct that List listens 
directly to collectionChange events and doesn't use the binding subsystem.  
That's because it wants more information about what changed so it can optimize 
updating.  But ArrayCollection does dispatch PropertyChangeEvents when you call 
addItem, etc and that should be enough to update the binding subsystem

2)  BindSetter just watches for a event associated with a  setter.  It does 
not watch for changes internal to the value of that property.

3)  When you detect internal changes yourself and dispatch the setters 
associated event that will work since it fires the event that BindSetter is 
watching for.

Binding basically watches events at various levels on a property chain a.b.c. 
 The problem with AC is that, you can bind to a property like length, but you 
can't bind to elements without using a function expression like getItemAt(0).  
You can try binding using {model.list.getItemAt(0)} and see what watchers the  
compiler generates.  That might help you figure out how to set it up from 
actionscript, but you might be better off just using {} binding expressions if 
you can.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of stanlaur
Sent: Monday, November 09, 2009 5:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need clarifications about ArrayCollection and binding



Hi,

Question 1:

There is note in Adobe Flex 3 help 
(http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_4.html):

Note: [..] the ArrayCollection class dispatches an event when the array or the 
array elements change to trigger data binding. For example, a call to 
ArrayCollection.addItem(), ArrayCollection.addItemAt(), 
ArrayCollection.removeItem(), and ArrayCollection.removeItemAt() all trigger 
data binding.

And there (in documentation) is example, where mx:List is used with 
`ArrayCollection` as data provider, which should confirm this note.

But my experience shows, that it's invalid (or I misunderstand something). 
IMHO, `ArrayCollection.addItem()` (and co.) doesn't trigger data binding (and 
it's only triggered when reference changes). And mx:List handles manually it 
(it registers event listener for CollectionEvent.COLLECTION_CHANGE when 
`dataProvider` is set) - so it may appear like it was binding stuff.

Is this note wrong? Incomplete? Or maybe I misunderstood something?

Question 2 (and it complements question 1):

I have model class with property `list`:

[Bindable]
public var list:ArrayCollection;

I want to reconstruct internal (in MXML) list, when list in model changes 
(reference changes, or item is added/removed). In MXML component I have 
something like this:

[Bindable]
public var model:Model;

/* this is called on `creationComplete` */
private function initLocal():void
{
model = new Model();
BindingUtils.bindSetter(constructList, this, [model, list]);
}

But `constructList` is called only once (in my case, only when reference 
changes). As I understand, bindings doesn't work when adding/removing items and 
I should manually listen for CollectionEvent.COLLECTION_CHANGE?

(third question/issue)

If I change `list` property in `Model` to manual binding:

[Bindable(event=listUpdated)]
public function get list():ArrayCollection
{
...
}

And when manually dispatching `listUpdated` events (when item is added/removed, 
or list reference changes), then `BindUtils.bindSetter()` works as I expect - 
`constructList` is called when item is added, etc.

Question: why this differs from default binding ([Bindable])? I assume, that 
default bindings doesn't fire `propertyChange` event, when something is added 
to ArrayCollection. Am I right?

Laurynas Stancikas



RE: [flexcoders] skinning the modal window in popupmanager

2009-11-09 Thread Alex Harui
I'm not sure what thing you're trying to change.  The modalWindow is not a skin 
in the panel.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Slackware
Sent: Monday, November 09, 2009 6:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] skinning the modal window in popupmanager



How can I do it? I want to change the skin in the panel that shows windows in 
popupmanager.
I'm using Flash Builder 4 beta 2 and only mx controls (not spark)

TIA



RE: [flexcoders] NumericStepper and change event

2009-11-09 Thread Alex Harui
Maybe watch for keyDown

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Richard Rodseth
Sent: Monday, November 09, 2009 9:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] NumericStepper and change event



Is there any way to get a NumericStepper to fire a change event on each 
keystroke?

I got a bug report that the form save button is not enabled until the stepper 
loses focus.