Hello Akshar,
Thanks for your time and response.Yes you are right in that sense.Exploring
it further i got the reason.
I am using a thirdparty tool called "Openscale".Now when i use shared object
on load than what happened is that -

As the shared object is stored as type object and not as the original type
so when i try to recall it on the load than it need type converstion from
Vector.<Object> which is flex shared object to the Vector.<Feature> which is
openscale object (at this point it is failing to proceed further.

So my next question is if there is anyway i can typecast a flexsharedobject
(Type:Object) to openscale thrid party tool object?

Please do suggest if you have any options.

Thanks.

Abhilash

On Wed, May 25, 2011 at 5:20 PM, Akshar Kaul <[email protected]> wrote:

> As per my understanding you want to store different data for each tree
> node.
> so you can use different shared object for each tree node, otherwise when
> you go to new node the old value will be overwrtiten by the new node .
>
> ---> Akshar Kaul <---
>
>
>
> On Wed, May 25, 2011 at 12:10, Abhilash Nagar <[email protected]>wrote:
>
>> Hello vikas,
>>
>> Thanks for the response.
>>
>> Saving Vector object data
>>
>> sharedObj=SharedObject.getLocal("savedData");
>> sharedObj.data.savedArray=vectorobjectlist
>>
>> sharedObj.flush();
>>
>>
>>
>> Retrieve same data while edit-
>>
>>
>> sharedObj=SharedObject.getLocal("savedData");
>> vectorobjectlist=sharedObj.data.savedArray;
>>
>>
>> Basically this is for one sitetreenode,so when i go to next site tree node
>> and return back to this one,i need to reload this data.
>>
>>
>> Thanks
>>
>>
>> Abhilash
>>
>>
>>
>> On Wed, May 25, 2011 at 12:02 PM, Vikas Madan <[email protected]>wrote:
>>
>>> If possible throw in your code, so that others can have a look at it.
>>> What Akshar meant is you might be flushing out the shared object everytime
>>> you reload the page or at the initialization of the app.
>>>
>>> On Tue, May 24, 2011 at 11:11 PM, Abhilash Nagar 
>>> <[email protected]>wrote:
>>>
>>>>  Hello Akshar,
>>>>
>>>> Thanks for the response.Not sure resetting means but this is what i am
>>>> doing -
>>>>
>>>> Once the content is loaded,i save it in the shared object and than again
>>>> for that particular tree node i again retrieve it as required.But as i jump
>>>> on the next tree node the whole page gets loaded and than again if i revert
>>>> back to the old node than the information is lost.
>>>>
>>>> Please do suggest.
>>>>
>>>> Thanks.
>>>>
>>>> On Wed, May 25, 2011 at 11:12 AM, Akshar Kaul <[email protected]>wrote:
>>>>
>>>>> shared object should solve your problems. check your code to make sure
>>>>> you are not resetting shared objects on loading.that way every time you
>>>>> reload you will loose information.
>>>>>
>>>>> ---> Akshar Kaul <---
>>>>>
>>>>>
>>>>>
>>>>> On Wed, May 25, 2011 at 10:38, Abhilash Nagar 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> I tried shared objects but as i reload page the previous information
>>>>>> is still lost,so basically on reload i am loosing the information even 
>>>>>> after
>>>>>> using the shared objects.
>>>>>>
>>>>>> Please do suggest.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> Abhilash
>>>>>>
>>>>>> On Fri, May 20, 2011 at 10:12 AM, Shalu <[email protected]>wrote:
>>>>>>
>>>>>>> use shared objects
>>>>>>>
>>>>>>> On May 18, 3:40 pm, Flex based developments <[email protected]>
>>>>>>> wrote:
>>>>>>> > Anyone please suggest how can i maintain sessions in the flex
>>>>>>> Thanks.
>>>>>>> >
>>>>>>> > Abhilash
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Flex India Community" group.
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> [email protected].
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Flex India Community" group.
>>>>>> To post to this group, send email to [email protected].
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected].
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Flex India Community" group.
>>>>> To post to this group, send email to [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected].
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Flex India Community" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>
>>>
>>>
>>>
>>> --
>>> Vikas
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Flex India Community" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex_india?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to