Re: FlexJS Storage

2016-08-31 Thread xenia1234
Thanks Alex.

It worked perfectly. 



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Storage-tp13475p13489.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS Storage

2016-08-31 Thread xenia1234
Okay, I can try that.
Thank you so much for your help.
I am newbie in FlexJS. Just trying to get my head around it. 



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Storage-tp13475p13488.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS Storage

2016-08-31 Thread xenia1234
But how do you read it ? 

Flex SDK has URLLoader. 
In FlexJS, there is no URLLoader to read the data. 



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Storage-tp13475p13486.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS Storage

2016-08-31 Thread xenia1234
Hi Alex,

Its a csv data file stored on the server. In this case, how can I load the
csv file? Which components should I use? 



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Storage-tp13475p13484.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS Storage

2016-08-31 Thread xenia1234
I am using browser. So Can I still use this Permanent storage and how?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Storage-tp13475p13482.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS Storage

2016-08-30 Thread xenia1234
I found the storage JS example. However, when I debug it, it throw error in
my chrome consoleError:*Starting up*WebStorageProvider.js:235 Uncaught
ReferenceError: cordova is not definedWebStorageProvider.js:136 Uncaught
ReferenceError: cordova is not definedWebStorageProvider.js:202 Uncaught
ReferenceError: cordova is not definedWebStorageProvider.js:136 Uncaught
ReferenceError: cordova is not definedWebStorageProvider.js:94 Uncaught
ReferenceError: cordova is not defined*code throw exception:* var /** @type
{string} */ fullPath = String(cordova["file"]["dataDirectory"]) + fileName; 
window.resolveLocalFileSystemURL(cordova.file.dataDirectory, __localFn0__);



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Storage-tp13475p13476.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


FlexJS Storage

2016-08-30 Thread xenia1234
Hi Guys,

I need to read a csv file from FlexJS application. I found these two class
in the Storage.swc called LocalStorage and PermanentStorage. 

Would you please show me the difference between these two and if possible,
Could you also give me a quick example on how to use both class?

thank you





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Storage-tp13475.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Circular Dependency

2016-08-15 Thread xenia1234
I used interface instead of the actual class. This works for me.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Circular-Dependency-tp13287p13309.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


FlexJS get parameter of a URL

2016-07-28 Thread xenia1234
Hey guys,

I needed to get the parameter from a url through flexjs application. Is this
possible? 

if possible, I would like to be able to get the url of the current window,
if the above is not straight forward.

Any suggestions?

Thank you.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-get-parameter-of-a-URL-tp13082.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS Popup

2016-07-27 Thread xenia1234
Thank you Alex.

It all worked out perfectly. 



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Popup-tp13068p13080.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


FlexJS Popup

2016-07-25 Thread xenia1234
Hey Guys,

I am working on converting an existing flex project to flexjs. I am using
the latest sdk0.6.0. The problem I am facing right now is how to create
custom component popup through the popupmanager. it seems like there were no
equivalent in the sdk. any suggestion?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Popup-tp13068.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.