Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Flex application dialog events are not working in firefox 3.6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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()}".

 
    Bookmark Topic Watch Topic
  • New Topic