FXField modifications

Thx for your update.
Everything works fine, as usual, you provide top support and lib update.

As FX field event mature, new ideas come out, and I was wondering if it was possible to modify on the fly FX fields properties ( I mean PC properties like radius, strength or mode ; I know that, with GetFXField, I can already modify display object properties) ?

[import]uid: 9328 topic_id: 7401 reply_id: 307401[/import]

Sure, you can do so. FX Fields provide the following properties that you can theoretically change at any time:

.x
.y
.isVisible
.mode
.strength
.radius
.fxID
.enabled

If you change the radius, however, the displayed circle graphic won’t change it’s size, so don’t let this confuse you. We’ll probably provide an API interface to change the properties of FX Fields with the next update.

[import]uid: 10504 topic_id: 7401 reply_id: 26269[/import]

Methods to set and get a field’s properties. [import]uid: 10504 topic_id: 7401 reply_id: 26299[/import]

Cool :slight_smile:

It’s not a big issue if the displayed circle graphic doesn’t change its size.

**edit : actually, I’d like to do it by myself but I don’t know how to change the radius of a display.newCircle … (ok for the scale, but what about the radius ?)

( what do you mean with API interface ?) [import]uid: 9328 topic_id: 7401 reply_id: 26297[/import]**