aspose file tools*
The moose likes Flex and the fly likes Flex application dialog events are not working in firefox 3.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex application dialog events are not working in firefox 3.6" Watch "Flex application dialog events are not working in firefox 3.6" New topic
Author

Flex application dialog events are not working in firefox 3.6

Vikas Sonwal
Greenhorn

Joined: May 24, 2012
Posts: 1
I am facing a problem with a Flex web application. It has a dialog and some buttons on the dialog. The problem is that these buttons are not working on Firefox/Chrome, but smoothly working on IE. I mean with "not working" is that the button is not triggering the associated event only in Firefox browser.
the code is something like as follows:
.............
.............
public function nextClick():void {
getOneTimeKey.send();
}
...............
...............
<mx:Canvas width="100%" height="50">
<mx:Button id="btnNext" label="{ResourceUtil.getValue('button.next')}" width="75" y="12" x="239" click="nextClick()"/>
</mx:Canvas>
.............
.............

Can anyone help me on this??
Alvin Watkins
Ranch Hand

Joined: May 25, 2011
Posts: 53
I am not positive that this will solve your problem as I hardly use the MXML features of Flex and stick almost exclusively to AS3 and then only on mobile and not in the browser... still, you might try putting braces around your function call. Instead of click="nextClick()", try click="{nextClick()}".

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Flex application dialog events are not working in firefox 3.6