Hi,

Just checking out the adobe systemmanager example (link) and there appears to be an error in the code as below.

I get a 'local' is an undefined property in the compiler. If I remove local and just have loadedSM.application it then complains about setVarOne not being defined (it's a method in a loaded swf). How do you invoke methods in a loaded swf without the compiler getting cranky?

// Write to the varOne variable in the loaded application
// using the setVarOne() method of the loaded application.
public function updateNestecVarOne():void {
    local(loadedSM.application).setVarOne("Updated varOne!");
 }

Cheers
Steve
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to