I'm not familiar with this syntax:
override getLocal function getLocalAdvanced(...

I would think it would just be
override function getLocal(...

-David

On Fri, Sep 25, 2009 at 11:22 AM, Eric DeCoff <[email protected]> wrote:
> Hey all,
>
> What am I doing wrong?
>
>
> <pre lang="mxml">
>
> package
>
> com.component
>
> {
>
> import flash.net.SharedObject;
>
> import mx.controls.Alert;
>
> public dynamic class AdvancedSharedObject extends SharedObject
>
> {
>
> public function AdvancedSharedObject()
>
> {
>
> super();
>
> }
>
> override getLocal function
> getLocalAdvanced(name:String,localPath:String,secure:Boolean =
> false):SharedObject{
>
> try {
>
> return super.getLocal(name);
>
> }
>
> catch (e:Error) {
>
> Alert.show(e.message.toString(),
>
> "Error Opening Shared Object")
>
> return null
>
> }
>
> }
>
> }
>
> }
>
> </pre>


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to