if (currentSection.refresh)
{
    currentSection.refresh();
}

Karim Beyrouti wrote:
Hello Group -
This should be really easy. I am trying to find out how to check if a
function exists or not in AS3 - I tried this:
<code>
        If ( currentSection.refresh != null ) {
                currentSection.refresh();
        }


</code>

But I get "ReferenceError: Error #1069: Property refresh not found" when the
function does not exist.

Any clues?


Kind Regards



Karim

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to