Welcome, Guest. Please login or register.
Did you miss your activation email?
02/09/12, 02:46
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Web Services: XML, Soap, WSDL, UDDI, and Flash Integration (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Jorge Solis)
| | |-+  using xml as back-end for the data with flash as front-end
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: using xml as back-end for the data with flash as front-end  (Read 8653 times)
mangesh
Server what's that
*
Posts: 7



View Profile Email
« on: 06/13/04, 09:54 »

Hello to all experts

I want to use xml as my back-end database with falsh application for the stand alone pc, can i do it ? if yes then can i updated that data as entries got added through flash application, is it possible.

it's urgent Pl. help me out asap.

thanks
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14593


View Profile
« Reply #1 on: 06/14/04, 02:51 »

Hi mangesh, welcome to the Boards !

XML is fine for reading data, but really hard for insert-update operations. If you need to load an XMl document, use a database and some background language to output the XML stream, or better, just use a database an some language to just pass data to Flash. Check this tuto for different examples about loading data: http://www.flash-db.com/Tutorials/loading/

Jorge
Logged

mangesh
Server what's that
*
Posts: 7



View Profile Email
« Reply #2 on: 06/14/04, 08:12 »

Thank you very much for the solution.. even i am working on to get data loaded from xml and writing to xml.
But sir, my requirement is like creating an stand-alone application which
1. can be loaded on any single system
2. without any server technology,
3. and also should have some kind of data storage to the local drive not necessory it should be database,text also will do, to update records generated as users uses it

or

should i use pws kind of thing for using some script like .asp etc.

I am trying to use xml, am i going right way...?

Help me I am struck....

thanks for your help again, waiting for more
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14593


View Profile
« Reply #3 on: 06/14/04, 09:01 »

The only kind of data that Flash can write to the local drive are Shared Objects. Hanging on what you need, could serve. Writing to the local File System imply to use some other technology. There are third part products like http://www.multidmedia.com/software/flashstudio/ or http://www.screenweaver.com/index.cfm?nav=0 that allow file writing and database connection.

Jorge
Logged

mangesh
Server what's that
*
Posts: 7



View Profile Email
« Reply #4 on: 06/14/04, 09:10 »

Thanks Jorge,  I will follow the link given by u
thanks again
Logged
Musicman
Administrator
Systems Administrator
*****
Posts: 2685



View Profile WWW Email
« Reply #5 on: 06/15/04, 01:34 »

Hi,

speaking for the non-windows users: shared object will work for linux and mac as well (if you care to put either a suitable projector file or an swf onto your cd) while the third-party products dont

Musicman
Logged
mangesh
Server what's that
*
Posts: 7



View Profile Email
« Reply #6 on: 06/15/04, 05:32 »

Thanks again for your help,
But, as far as sharedObjects are concerned I found that it got some limitation i.e. 100kb data can be utilised and my requirement is mybe huge data.

I tried third party application flash studio V2 but again
V2 required a swf file and generate another exe file with database connection etc.,
is there any way where i can use v2 technology with my corrent fla, so that the global variables can be utilised and transfer to database properly.

thanks for help, expeting more
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14593


View Profile
« Reply #7 on: 06/15/04, 16:54 »

You can ask permissons to use more than 100 Kb for shared Objects. Flash Studio use exe files (so for CD roms, not for web) compatible with Windows only. The variables (global, local, any) can be transfer to the database.

Jorge
Logged

mangesh
Server what's that
*
Posts: 7



View Profile Email
« Reply #8 on: 06/16/04, 03:58 »

Hello experts,

How to increase the storage capacity for sharedObject in the system.

When i open the  sharedObject file i.e. .sol file in note pad it shows the junk characters along with the field names.

Is there any way to crean it up and get pure text file so that it can be copied in excel and keep it as records for further report generation etc.

Pl. help me as early as possible


thanks
mangesh
Logged
Musicman
Administrator
Systems Administrator
*****
Posts: 2685



View Profile WWW Email
« Reply #9 on: 06/16/04, 05:13 »

Hi,

resizing the sol file would normally be left to flash - it is supposed to pop up a message and ask for more space.
I am not sure whether supplying a .sol file with your application would work well

Musicman
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14593


View Profile
« Reply #10 on: 06/16/04, 05:19 »

You need to manipulate the Shared Object from inside Flash, you can't control the format of the sol file. When the Shared Object is trying to save data larger than 100 kb, automatically a window prompts asking for permissons.

Jorge

Musicman: writing at the same time  Wink
« Last Edit: 06/16/04, 05:20 by Jorge Solis » Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!