# FireFX AS2 class

**URL:** <https://forum.kirupa.com/t/firefx-as2-class/260436>\
**Category:** flash\
**Created:** [May 15, 2008, 4:07pm UTC](https://forum.kirupa.com/t/firefx-as2-class/260436 "2008-05-15T16:07:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBPresents](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JBPresents](https://forum.kirupa.com/u/JBPresents)\
**Post date:** [May 15, 2008, 4:07pm UTC](https://forum.kirupa.com/t/firefx-as2-class/260436/1 "2008-05-15T16:07:20Z")

</div>

I recently found a great freely disturbuted fire generator for flash and I wanted to use it in my current project.

There was some crazy code I have never seen before, I have figured most of it out but I still have some issues with a few of the oporators I am not familiar with.

for example:

perlinValid &&= (value == \_distortionScale);

what does &&= mean?

and the other question was

super.height = value|0;

what does the | mean?

---

<div class="post-metadata">

**Author:** ![joran420](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joran420/32/2329_2.png) [@joran420](https://forum.kirupa.com/u/joran420)\
**Post date:** [May 15, 2008, 4:11pm UTC](https://forum.kirupa.com/t/firefx-as2-class/260436/2 "2008-05-15T16:11:18Z")

</div>

ive never seen &&= but i assume it means  
if perlinValid & it equals true and value equals \_distorionscale

super.height = value (or if value = null or undefined or false)then =0

---

<div class="post-metadata">

**Author:** ![JBPresents](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JBPresents](https://forum.kirupa.com/u/JBPresents)\
**Post date:** [May 15, 2008, 4:23pm UTC](https://forum.kirupa.com/t/firefx-as2-class/260436/3 "2008-05-15T16:23:48Z")

</div>

Thank you Very much

I am still pretty new to classes and it is intuitive but I am having a hard time absorbing it all and making a useful connection to my timeline

[quote=joran420;2326670]ive never seen &&= but i assume it means  
if perlinValid & it equals true and value equals \_distorionscale

super.height = value (or if value = null or undefined or false)then =0[/quote]
