Angelo Anolin wrote:
>
>
> Hi Paul,
>  
> I looked at the StateManager.as file and in the line which Vivian 
> pointed out, this is it:
>  
> private static var sharedObject:SharedObject = 
> SharedObject.getLocal("com.esria.sample.dashboard");
>  
> So, how do I know which file is the line above pointing to?
The real question is - "why should you care where the file is saved"? It 
makes no difference to the application. You should never need to mess 
with the actual file, just interact with the shared object. Google 
"flash shared objects".

Paul
>  
> Pardon my lack of understanding but this is the first time I 
> encountered/delving into the SharedObject thing.
>  
> Thanks.
>  
> Regards,
>  
> Angelo
>
> ------------------------------------------------------------------------
> *From:* Paul Andrews <p...@ipauland.com>
> *To:* flexcoders@yahoogroups.com
> *Sent:* Wednesday, 7 October, 2009 7:08:05
> *Subject:* Re: [flexcoders] Adobe Flex Dashboard
>
>  
>
> Angelo Anolin wrote:
> >
> >
> > Thanks a lot for pointing this one out Vivian.
> >
> > Although I still cannot fathom how the SharedObject is retained even
> > after the application (SWF) is recompiled. I even did a restart of
> > the machine and the settings are still there. Isn't it being retained
> > in some sort of file or something?
> SharedObject is a file on the computer and retains it's content after
> the application is shut down, or recompiled, or the computer turned off!
>
> Look in StateManager. as - the shared object is there..
>
> Paul
>
> >
> > Regards,
> >
> > Angelo
> >
> > ------------ --------- --------- --------- --------- --------- -
> > *From:* Vivian Richard <kanps...@gmail. com 
> <mailto:kanpsack%40gmail.com>>
> > *To:* flexcod...@yahoogro ups.com <mailto:flexcoders%40yahoogroups.com>
> > *Sent:* Wednesday, 7 October, 2009 0:50:37
> > *Subject:* Re: [flexcoders] Adobe Flex Dashboard
> >
> >
> >
> >
> >
> > in the file StateManager. as line 17
> > private static var sharedObject: SharedObject = SharedObject.
> > getLocal("com. esria.sample. dashboard");
> > ------------ --------- --------- --------- --------- ---------
> > --------- --------- --------- --------- --------- --------- ---------
> > --------- --------- --------- -----
> >
> >
> > On Tue, Oct 6, 2009 at 9:23 AM, Angelo Anolin <angelo_anolin@
> > yahoo.com <mailto:angelo_anolin@ yahoo.com 
> <mailto:angelo_anolin%40yahoo.com>>> wrote:
> >
> >
> > I tried to locate if SharedObject was used in the application but
> > I am unable to find one.
> >
> > I know it is being set somewhere but I just can't pinpoint it at
> > this stage.
> >
> > Would still appreciate your inputs. In the meantime, let me dig
> > through this haystack for the needle.
> >
> > THanks,
> >
> > Angelo
> >
> > ------------ --------- --------- --------- --------- --------- -
> > *From:* Vivian Richard <kanps...@gmail. com
> > <mailto:kanps...@gmail. com <mailto:kanpsack%40gmail.com>>>
> > *To:* flexcod...@yahoogro ups.com <mailto:flexcod...@yahoogro 
> ups.com <mailto:flexcoders%40yahoogroups.com>>
> > *Sent:* Wednesday, 7 October, 2009 0:02:22
> > *Subject:* Re: [flexcoders] Adobe Flex Dashboard
> >
> >
> >
> >
> > You can do this using SharedObject - I guess they are also
> > using SharedObject somewhere. Please see this example
> > here:
> >
> > http://livedocs. <http://livedocs./> adobe.com/ flex/3/html/ help.html?
> > content=lsos_ 5.html
> > <http://livedocs. adobe.com/ flex/3/html/ help.html? content=lsos_ 
> 5.html 
> <http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_5.html>>
> >
> >
> >
> >
> > On Tue, Oct 6, 2009 at 8:44 AM, Angelo Anolin <angelo_anolin@
> > yahoo.com <mailto:angelo_anolin@ yahoo.com 
> <mailto:angelo_anolin%40yahoo.com>>> wrote:
> >
> >
> > Hi Flexcoders!
> >
> > I started dabbling with the codes for the Adobe Flex Dashboard
> > (http://examples. <http://examples./> adobe.com/ flex3/devnet/ 
> dashboard/
> > main.html
> > <http://examples. adobe.com/ flex3/devnet/ dashboard/ main.html 
> <http://examples.adobe.com/flex3/devnet/dashboard/main.html>>)
> > and has been able to load properly all the necessary files and
> > components to run the application.
> >
> > My question is that I think the last view settings are being
> > retained but I do not know where these settings are. For
> > example, in the first tab (Sales Tab), when I minimize all
> > windows except the Yearly Revenue (the first pod) and close
> > the browser and open it again, those pods which have been
> > minimized remains minimized. If for example I closed the
> > browser and I was on Marketing tab, opening the application
> > will show me that the Marketing tab is the one currently
> > displayed.
> >
> > I am having a hard time figuring out whether there is a
> > setting which retains what the user has last viewed on this
> > application. Even recompiling the application and replacing
> > the deployed SWF on the server, the view still points back to
> > the last view prior to the browser (application) being closed.
> >
> > What do you call this feature of Flex applications? Where do
> > I configure it so that I could reset the application to
> > default view (the view when SWF file was first deployed) when
> > I open the application?
> >
> > Appreciate your advise.
> >
> > Thanks.
> >
> > Regards,
> >
> > Angelo
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
> 

Reply via email to