I was able to reproduce this error exactly as you describe.
Good work on identifying this issue. I will pass this forward to the
Flexcoders owners list also, so we can be sure someone at Adobe picks
this up.
Good work.
Regards,
Graham Weldon
===================================
Unhandled exception at 0x3014ea33 in IEXPLORE.EXE: 0xC0000005: Access
violation reading location 0x00000000.
===================================
EAX 00000001
ECX 00000000
===================================
3014EA33 mov eax,dword ptr [ecx]
===================================
===================================
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
backgroundColor="#C6D0DE" >
<mx:Script>
<![CDATA[
private function setEdate():void
{
var date:Date = new Date(sDate.selectedDate);
eDate.selectableRange={rangeStart: new Date(2006, 7, 1),
rangeEnd: new Date(date.getFullYear(), date.getMonth()+3,
date.getDate()+7)};
}
]]>
</mx:Script>
<mx:DateField id="sDate" change="setEdate()"/>
<mx:DateField id="eDate"/>
</mx:Application>
===================================
Dima Ulich wrote:
> In my application I'm using 2 dateFields and I need to
> set selectableRange for one field based on dates
> entred in the other one. In priveous beta everything
> worked fine but in b3 it started to kill my browser.
>
> So I made another application to test it
> Here it is, try to run the following code in your
> browser. The problem occurs when you first set the
> date in the top field and then change that date to a
> date before.
> ___________________________________
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application
> xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
> backgroundColor="#C6D0DE" >
> <mx:Script>
> <![CDATA[
>
> private function setEdate():void
> {
> var date:Date = new Date(sDate.selectedDate);
>
> eDate.selectableRange={rangeStart: new Date(2006,
> 7, 1),
> rangeEnd: new
> Date(date.getFullYear(),
> date.getMonth()+3, date.getDate()+7)};
>
> }
>
> ]]>
> </mx:Script>
>
> <mx:DateField id="sDate" change="setEdate()"/>
> <mx:DateField id="eDate"/>
>
>
> </mx:Application>
> ____________________
>
> On my computer it kills the browser so the system
> suggests to disable flash player.
> I have tried on different computers with same luck.
> So I guess it'a bug.
>
> Dima Ulich
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
> SPONSORED LINKS
> Web site design development
> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
> Computer software development
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
> Software design and development
> <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
>
> Macromedia flex
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
> Software development best practice
> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
> * Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders>" on the web.
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.