I'm having difficulties getting a reference to a singleton across frames.
My singleton has this form:
I know how to reference vars, functions and objects across frames, but I just can't seem to get a reference to this singleton.
I'm trying to access the singleton (in lets say myFrame) from a function which is imported into the frameset file, and then trying to do something like:
Are there any issues with using this singleton pattern across frames?
Regards, Roy [ February 17, 2007: Message edited by: Roy Ivar Moe ]
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
I do not see that code above actually running. Does it in the local frame?
Eric
Roy Ivar Moe
Greenhorn
Joined: Jun 22, 2006
Posts: 21
posted
0
Hi Eric,
Yes this runs in the local frame.
Here's a quick test if you want to try and run it. (Note the / in o/nload, in order to post this.)
Hmmm... I don't see why this object would differ from any other object when trying to access it across frames.
Regards, Roy [ February 17, 2007: Message edited by: Roy Ivar Moe ]