Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML OnEvent handling in FSX ??

Featured Replies

Hi,I was informed by a user of one of my FS9 freeware gauges, that this gauge isn't working properly in FSX-Beta.From everything he described, my first conclusion is that the OnEvent handling appears to work differently in FSX.In FS9, OnEvent code always worked after a gauge was loaded.In FSX, it appears that OnEvent only works if the gauge is in a window releated to a specific view.Eg: if you define the gauge in a VC-window, the OnEvent code is ONLY executed if you are in VC-view, and NOT in 2D or Spotplane view.Can anyone with the FSX-beta confirm my conclusion ???Or even better: is there a way to get it working as in FS9 ??Thanks, Rob BarendregtPS: My guess is that OnEvent now works the same as the OnKey in FS9: so the code only works, if the gauge is kept "visible" (that is: defined in a window that is kept active in all views).

  • Author

Yep. I confirmed the "problem" as described above, with FSX retail.Back to the drawing board :-)Rob

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.