Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
Yea, I was just trying to discuss the creation of the swf part, I thought the flex client front-end was just assumed, but you know what they say about when you assume I'm not entirely recommending this, I think it's much easier and better to just do with a configuration file and assets outside of the swf. Not to mention that embedding the assets inside of the swf is going to bloat your swf file. That being said, if you absolutely had to have a single swf, I believe that approach would work. Cheers, Nate On Wed, Sep 3, 2008 at 2:08 PM, Paul Andrews <[EMAIL PROTECTED]> wrote: >Nate, > > You'll also need a Flex front end to interact with the user - so they can > choose appropriate options and specify assets that will be used, then upload > assets, etc. The front end would then instruct the server side to build the > swf from the assets and configuration that the user has selected in the > Flex front-end. Effectively the Flex front end would be responsible for > assembling stage 3 of your pipeline and would initiate stage 4. > > Paul > > - Original Message - > *From:* Nate Beck <[EMAIL PROTECTED]> > *To:* flexcoders@yahoogroups.com > *Sent:* Wednesday, September 03, 2008 5:19 PM > *Subject:* Re: [flexcoders] Re: Want to build a SWF on the fly when > someone requests it > > I agree with Paul here. Debugging would be a pain, however, I wouldn't > count this out as impossible. > Here's what I would do it: > > >1. Install mxmlc on my webserver (or offload to another server for >scalability) >2. Write template MXML & AS documents. >3. Have a set of configuration files, xml, assets etc. >4. Use Ruby or Perl, or maybe even PHP to take the configuration files, >assets etc... and generate the code that needs to be compiled from the >templates. >5. Run the generated files through mxmlc >6. Now you'd have a swf that you could prompt the user to download or >something else. > > Now that I think about this. It seems a lot like what Animoto does, except > they're generating video instead on a swf, but it's essentially the same > type of system. > > hope this helps, > Nate > > On Wed, Sep 3, 2008 at 8:49 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: > >>If you are going the single swf route, here are some of the likely >> pitfalls: >> >> Debugging is going to be a PIA. Not only are you debugging a generated >> swf, you are debugging the process of generating that swf and trying to >> build an architecture for all eventualities. If there's a failure in any >> part of the chain - corrupt uploaded file, fault in the code generated for >> compiling into the swf, stalled server process, etc. then you will come >> unstuck in the generation of the swf. >> >> The swf generation pipeline is going to involve co-ordination of a number >> of process - the compiler, loading of assets and use of filespace on the >> server assembling the swf. There's a lot to go wrong. It's not an easy >> route. >> >> As Daniel says, you may be forced to do this swf generation. I really >> wonder how many people on the list have attempted such a thing and how they >> got on. I bet it's a really small number, perhaps even zero. >> >> Paul >> >> - Original Message - >> *From:* Daniel Freiman <[EMAIL PROTECTED]> >> *To:* flexcoders@yahoogroups.com >> *Sent:* Wednesday, September 03, 2008 3:27 PM >> *Subject:* Re: [flexcoders] Re: Want to build a SWF on the fly when >> someone requests it >> >> I agree with Paul from a technological basis, but there is a strong >> business case for doing compilation on the fly and having the deliverable be >> a single file. People with lower technology aptitude/interest would >> consider a single file better/simpler and may use that as a significant >> factor on what to purchase. This is why a lot of these types of products do >> deliver only one file. A lot also deliver multiple files, so it's by no >> means a cut and dry case. So if the product marketing allows for a >> multi-file deliverable/output, then I would agree with Paul. But sometimes >> your stuck with what the market(ers) want. >> >> - Daniel Freiman >> >> On Wed, Sep 3, 2008 at 9:56 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: >> >>>- Original Message - >>> From: "kuntamayu" <[EMAIL PROTECTED] > >>> To: > >>> Sent: Wednesday, September 03, 2008 2:42 PM >>> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone >>&
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
Nate, You'll also need a Flex front end to interact with the user - so they can choose appropriate options and specify assets that will be used, then upload assets, etc. The front end would then instruct the server side to build the swf from the assets and configuration that the user has selected in the Flex front-end. Effectively the Flex front end would be responsible for assembling stage 3 of your pipeline and would initiate stage 4. Paul - Original Message - From: Nate Beck To: flexcoders@yahoogroups.com Sent: Wednesday, September 03, 2008 5:19 PM Subject: Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it I agree with Paul here. Debugging would be a pain, however, I wouldn't count this out as impossible. Here's what I would do it: 1.. Install mxmlc on my webserver (or offload to another server for scalability) 2.. Write template MXML & AS documents. 3.. Have a set of configuration files, xml, assets etc. 4.. Use Ruby or Perl, or maybe even PHP to take the configuration files, assets etc... and generate the code that needs to be compiled from the templates. 5.. Run the generated files through mxmlc 6.. Now you'd have a swf that you could prompt the user to download or something else. Now that I think about this. It seems a lot like what Animoto does, except they're generating video instead on a swf, but it's essentially the same type of system. hope this helps, Nate On Wed, Sep 3, 2008 at 8:49 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: If you are going the single swf route, here are some of the likely pitfalls: Debugging is going to be a PIA. Not only are you debugging a generated swf, you are debugging the process of generating that swf and trying to build an architecture for all eventualities. If there's a failure in any part of the chain - corrupt uploaded file, fault in the code generated for compiling into the swf, stalled server process, etc. then you will come unstuck in the generation of the swf. The swf generation pipeline is going to involve co-ordination of a number of process - the compiler, loading of assets and use of filespace on the server assembling the swf. There's a lot to go wrong. It's not an easy route. As Daniel says, you may be forced to do this swf generation. I really wonder how many people on the list have attempted such a thing and how they got on. I bet it's a really small number, perhaps even zero. Paul - Original Message - From: Daniel Freiman To: flexcoders@yahoogroups.com Sent: Wednesday, September 03, 2008 3:27 PM Subject: Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it I agree with Paul from a technological basis, but there is a strong business case for doing compilation on the fly and having the deliverable be a single file. People with lower technology aptitude/interest would consider a single file better/simpler and may use that as a significant factor on what to purchase. This is why a lot of these types of products do deliver only one file. A lot also deliver multiple files, so it's by no means a cut and dry case. So if the product marketing allows for a multi-file deliverable/output, then I would agree with Paul. But sometimes your stuck with what the market(ers) want. - Daniel Freiman On Wed, Sep 3, 2008 at 9:56 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: - Original Message - From: "kuntamayu" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 03, 2008 2:42 PM Subject: [flexcoders] Re: Want to build a SWF on the fly when someone requests it > Hi Folks, > > There is nothing to hide about it. > > See, the thing is : I like to make a web application with Flex as well > as its counter part desktop version in AIR. > > The application will be of like Flex Flip Book and it also offering > some other features like slideshow, calender view, zoom In zoom Out > etc features. > > I want my end user come to online version and can make his own stuff - > - My system will provide him some layout of > - client will choose any layout and provide data for that particular > layout > - clients input data will be like image / video etc. > - system will save that page(layout) by page > - at the end client will get a swf file to use at his conveniences. > > Same way I want to offer same functionality with AIR version, too. > > ~ Paul, is it information ok to understand you what the application ? Yes, BUT you haven't explained why yo
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
I agree with Paul here. Debugging would be a pain, however, I wouldn't count this out as impossible. Here's what I would do it: 1. Install mxmlc on my webserver (or offload to another server for scalability) 2. Write template MXML & AS documents. 3. Have a set of configuration files, xml, assets etc. 4. Use Ruby or Perl, or maybe even PHP to take the configuration files, assets etc... and generate the code that needs to be compiled from the templates. 5. Run the generated files through mxmlc 6. Now you'd have a swf that you could prompt the user to download or something else. Now that I think about this. It seems a lot like what Animoto does, except they're generating video instead on a swf, but it's essentially the same type of system. hope this helps, Nate On Wed, Sep 3, 2008 at 8:49 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: >If you are going the single swf route, here are some of the likely > pitfalls: > > Debugging is going to be a PIA. Not only are you debugging a generated swf, > you are debugging the process of generating that swf and trying to build an > architecture for all eventualities. If there's a failure in any part of the > chain - corrupt uploaded file, fault in the code generated for compiling > into the swf, stalled server process, etc. then you will come unstuck in the > generation of the swf. > > The swf generation pipeline is going to involve co-ordination of a number > of process - the compiler, loading of assets and use of filespace on the > server assembling the swf. There's a lot to go wrong. It's not an easy > route. > > As Daniel says, you may be forced to do this swf generation. I really > wonder how many people on the list have attempted such a thing and how they > got on. I bet it's a really small number, perhaps even zero. > > Paul > > - Original Message - > *From:* Daniel Freiman <[EMAIL PROTECTED]> > *To:* flexcoders@yahoogroups.com > *Sent:* Wednesday, September 03, 2008 3:27 PM > *Subject:* Re: [flexcoders] Re: Want to build a SWF on the fly when > someone requests it > > I agree with Paul from a technological basis, but there is a strong > business case for doing compilation on the fly and having the deliverable be > a single file. People with lower technology aptitude/interest would > consider a single file better/simpler and may use that as a significant > factor on what to purchase. This is why a lot of these types of products do > deliver only one file. A lot also deliver multiple files, so it's by no > means a cut and dry case. So if the product marketing allows for a > multi-file deliverable/output, then I would agree with Paul. But sometimes > your stuck with what the market(ers) want. > > - Daniel Freiman > > On Wed, Sep 3, 2008 at 9:56 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: > >> - Original Message - >> From: "kuntamayu" <[EMAIL PROTECTED] > >> To: > >> Sent: Wednesday, September 03, 2008 2:42 PM >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone >> requests it >> >> > Hi Folks, >> > >> > There is nothing to hide about it. >> > >> > See, the thing is : I like to make a web application with Flex as well >> > as its counter part desktop version in AIR. >> > >> > The application will be of like Flex Flip Book and it also offering >> > some other features like slideshow, calender view, zoom In zoom Out >> > etc features. >> > >> > I want my end user come to online version and can make his own stuff - >> > - My system will provide him some layout of >> > - client will choose any layout and provide data for that particular >> > layout >> > - clients input data will be like image / video etc. >> > - system will save that page(layout) by page >> > - at the end client will get a swf file to use at his conveniences. >> > >> > Same way I want to offer same functionality with AIR version, too. >> > >> > ~ Paul, is it information ok to understand you what the application ? >> >> Yes, BUT you haven't explained why you cannot package the swf with other >> files. >> >> > Folks, can you guide me the proper way now ? >> >> Avoid building a swf file 'on the fly'. It's going to be very hard to do >> and >> prone to all kinds of problems. >> >> My instinct is this: >> >> If you knew how to do it you would avoid doing it. >> If you don't know how to do it and have to ask you shouldn't do it. >> >> My suggestion
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
On 3-Sep-08, at 8:41 AM, nathan king wrote: > I too am considering the automagic generation of a swf using flex/air. > I am toying with the idea of using PHP on the server side > (http://us3.php.net/manual/en/book.swf.php) to generate the swf and > allow the user to download it. I am pretty sure this is something that > FLEX can not do on it's own, but would make the best interface for the > underlying architecture - passing the vars to another language to > actually do the creation. > > I do however agree that with the use of a generated XML file - the > compiled SWF could have various states (scenes?) and display the > correct scene with the user's preferences from the XML. this would > make the whole process easier in that I could create one SWF, and > don't have to compile on the fly... > > would love to see what you come up with. > > -Nathan > > > When I read this post briefly I thought this might be what you are looking for: http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS This will compile on the fly. Or, you could write a swf in php with something like ming? At first thought, I would probably store my data in a database, use remoting to pull the vars (if applicable) and generate the new swf with a php class (through remoting) or something like that.
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
If you are going the single swf route, here are some of the likely pitfalls: Debugging is going to be a PIA. Not only are you debugging a generated swf, you are debugging the process of generating that swf and trying to build an architecture for all eventualities. If there's a failure in any part of the chain - corrupt uploaded file, fault in the code generated for compiling into the swf, stalled server process, etc. then you will come unstuck in the generation of the swf. The swf generation pipeline is going to involve co-ordination of a number of process - the compiler, loading of assets and use of filespace on the server assembling the swf. There's a lot to go wrong. It's not an easy route. As Daniel says, you may be forced to do this swf generation. I really wonder how many people on the list have attempted such a thing and how they got on. I bet it's a really small number, perhaps even zero. Paul - Original Message - From: Daniel Freiman To: flexcoders@yahoogroups.com Sent: Wednesday, September 03, 2008 3:27 PM Subject: Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it I agree with Paul from a technological basis, but there is a strong business case for doing compilation on the fly and having the deliverable be a single file. People with lower technology aptitude/interest would consider a single file better/simpler and may use that as a significant factor on what to purchase. This is why a lot of these types of products do deliver only one file. A lot also deliver multiple files, so it's by no means a cut and dry case. So if the product marketing allows for a multi-file deliverable/output, then I would agree with Paul. But sometimes your stuck with what the market(ers) want. - Daniel Freiman On Wed, Sep 3, 2008 at 9:56 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: - Original Message - From: "kuntamayu" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 03, 2008 2:42 PM Subject: [flexcoders] Re: Want to build a SWF on the fly when someone requests it > Hi Folks, > > There is nothing to hide about it. > > See, the thing is : I like to make a web application with Flex as well > as its counter part desktop version in AIR. > > The application will be of like Flex Flip Book and it also offering > some other features like slideshow, calender view, zoom In zoom Out > etc features. > > I want my end user come to online version and can make his own stuff - > - My system will provide him some layout of > - client will choose any layout and provide data for that particular > layout > - clients input data will be like image / video etc. > - system will save that page(layout) by page > - at the end client will get a swf file to use at his conveniences. > > Same way I want to offer same functionality with AIR version, too. > > ~ Paul, is it information ok to understand you what the application ? Yes, BUT you haven't explained why you cannot package the swf with other files. > Folks, can you guide me the proper way now ? Avoid building a swf file 'on the fly'. It's going to be very hard to do and prone to all kinds of problems. My instinct is this: If you knew how to do it you would avoid doing it. If you don't know how to do it and have to ask you shouldn't do it. My suggestion for 'the proper way' is not to try and build a single swf. - it's just my opinion, maybe others (and you) disagree. I'll be interested to see how you get on. Paul > Awaiting response > --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: >> >> - Original Message - >> From: "kuntamayu" <[EMAIL PROTECTED]> >> To: >> Sent: Tuesday, September 02, 2008 12:46 PM >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone >> requests it >> >> >> > Hi Daniel Freiman, Paul and Toby Ashley >> > >> > Thanks for your reply. >> > >> > But for this same product we have to crate an AIR (desktop) version >> > too. That's why also, as an end product from my application, I have to >> > give an swf to end client. >> >> I think the main mystery is why it has only to be a single swf > rather than >> swf + customistaion data in various files. You are effectively > trying to >> include all that customistation inside the swf. Air doesn't preclude >> supplying the application + customis
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
I don't know about much of this but Could you just use LiveCycle and Compile the Application on your server so each client gets a different version of the SWF? I know you get 2 options in Livecycle whehter to compile on server or on your computer. -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: nathan king To: flexcoders@yahoogroups.com Sent: Wednesday, September 03, 2008 10:41 AM Subject: [flexcoders] Re: Want to build a SWF on the fly when someone requests it I too am considering the automagic generation of a swf using flex/air. I am toying with the idea of using PHP on the server side (http://us3.php.net/manual/en/book.swf.php) to generate the swf and allow the user to download it. I am pretty sure this is something that FLEX can not do on it's own, but would make the best interface for the underlying architecture - passing the vars to another language to actually do the creation. I do however agree that with the use of a generated XML file - the compiled SWF could have various states (scenes?) and display the correct scene with the user's preferences from the XML. this would make the whole process easier in that I could create one SWF, and don't have to compile on the fly... would love to see what you come up with. -Nathan
[flexcoders] Re: Want to build a SWF on the fly when someone requests it
I too am considering the automagic generation of a swf using flex/air. I am toying with the idea of using PHP on the server side (http://us3.php.net/manual/en/book.swf.php) to generate the swf and allow the user to download it. I am pretty sure this is something that FLEX can not do on it's own, but would make the best interface for the underlying architecture - passing the vars to another language to actually do the creation. I do however agree that with the use of a generated XML file - the compiled SWF could have various states (scenes?) and display the correct scene with the user's preferences from the XML. this would make the whole process easier in that I could create one SWF, and don't have to compile on the fly... would love to see what you come up with. -Nathan
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
I agree with Paul from a technological basis, but there is a strong business case for doing compilation on the fly and having the deliverable be a single file. People with lower technology aptitude/interest would consider a single file better/simpler and may use that as a significant factor on what to purchase. This is why a lot of these types of products do deliver only one file. A lot also deliver multiple files, so it's by no means a cut and dry case. So if the product marketing allows for a multi-file deliverable/output, then I would agree with Paul. But sometimes your stuck with what the market(ers) want. - Daniel Freiman On Wed, Sep 3, 2008 at 9:56 AM, Paul Andrews <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "kuntamayu" <[EMAIL PROTECTED] > > To: > > Sent: Wednesday, September 03, 2008 2:42 PM > Subject: [flexcoders] Re: Want to build a SWF on the fly when someone > requests it > > > Hi Folks, > > > > There is nothing to hide about it. > > > > See, the thing is : I like to make a web application with Flex as well > > as its counter part desktop version in AIR. > > > > The application will be of like Flex Flip Book and it also offering > > some other features like slideshow, calender view, zoom In zoom Out > > etc features. > > > > I want my end user come to online version and can make his own stuff - > > - My system will provide him some layout of > > - client will choose any layout and provide data for that particular > > layout > > - clients input data will be like image / video etc. > > - system will save that page(layout) by page > > - at the end client will get a swf file to use at his conveniences. > > > > Same way I want to offer same functionality with AIR version, too. > > > > ~ Paul, is it information ok to understand you what the application ? > > Yes, BUT you haven't explained why you cannot package the swf with other > files. > > > Folks, can you guide me the proper way now ? > > Avoid building a swf file 'on the fly'. It's going to be very hard to do > and > prone to all kinds of problems. > > My instinct is this: > > If you knew how to do it you would avoid doing it. > If you don't know how to do it and have to ask you shouldn't do it. > > My suggestion for 'the proper way' is not to try and build a single swf. - > it's just my opinion, maybe others (and you) disagree. > > I'll be interested to see how you get on. > > Paul > > > > Awaiting response > > > --- In flexcoders@yahoogroups.com , "Paul > Andrews" <[EMAIL PROTECTED]> wrote: > >> > >> - Original Message - > >> From: "kuntamayu" <[EMAIL PROTECTED]> > >> To: > > >> Sent: Tuesday, September 02, 2008 12:46 PM > >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone > >> requests it > >> > >> > >> > Hi Daniel Freiman, Paul and Toby Ashley > >> > > >> > Thanks for your reply. > >> > > >> > But for this same product we have to crate an AIR (desktop) version > >> > too. That's why also, as an end product from my application, I have to > >> > give an swf to end client. > >> > >> I think the main mystery is why it has only to be a single swf > > rather than > >> swf + customistaion data in various files. You are effectively > > trying to > >> include all that customistation inside the swf. Air doesn't preclude > >> supplying the application + customisation files. > >> > >> Can you not say what this application is? > >> > >> Paul > >> > >> > Folks, do you have any other suggestions . . . !!! > >> > >> > --- In flexcoders@yahoogroups.com , > "Paul Andrews" wrote: > >> >> > >> >> - Original Message - > >> >> From: "kuntamayu" > >> >> To: > > >> >> Sent: Monday, September 01, 2008 2:51 PM > >> >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone > >> >> requests it > >> >> > >> >> > >> >> > Hi... > >> >> > > >> >> > I am working on a project like " Flex Flip Book ", so in that > > project > >> >> > as a end product from my application, I need to give an swf file to > >> >> > end user so he / she can use that swf file directly without
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
- Original Message - From: "kuntamayu" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 03, 2008 2:42 PM Subject: [flexcoders] Re: Want to build a SWF on the fly when someone requests it > Hi Folks, > > There is nothing to hide about it. > > See, the thing is : I like to make a web application with Flex as well > as its counter part desktop version in AIR. > > The application will be of like Flex Flip Book and it also offering > some other features like slideshow, calender view, zoom In zoom Out > etc features. > > I want my end user come to online version and can make his own stuff - > - My system will provide him some layout of > - client will choose any layout and provide data for that particular > layout > - clients input data will be like image / video etc. > - system will save that page(layout) by page > - at the end client will get a swf file to use at his conveniences. > > Same way I want to offer same functionality with AIR version, too. > > ~ Paul, is it information ok to understand you what the application ? Yes, BUT you haven't explained why you cannot package the swf with other files. > Folks, can you guide me the proper way now ? Avoid building a swf file 'on the fly'. It's going to be very hard to do and prone to all kinds of problems. My instinct is this: If you knew how to do it you would avoid doing it. If you don't know how to do it and have to ask you shouldn't do it. My suggestion for 'the proper way' is not to try and build a single swf. - it's just my opinion, maybe others (and you) disagree. I'll be interested to see how you get on. Paul > Awaiting response > --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: >> >> ----- Original Message - >> From: "kuntamayu" <[EMAIL PROTECTED]> >> To: >> Sent: Tuesday, September 02, 2008 12:46 PM >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone >> requests it >> >> >> > Hi Daniel Freiman, Paul and Toby Ashley >> > >> > Thanks for your reply. >> > >> > But for this same product we have to crate an AIR (desktop) version >> > too. That's why also, as an end product from my application, I have to >> > give an swf to end client. >> >> I think the main mystery is why it has only to be a single swf > rather than >> swf + customistaion data in various files. You are effectively > trying to >> include all that customistation inside the swf. Air doesn't preclude >> supplying the application + customisation files. >> >> Can you not say what this application is? >> >> Paul >> >> > Folks, do you have any other suggestions . . . !!! >> >> > --- In flexcoders@yahoogroups.com, "Paul Andrews" wrote: >> >> >> >> - Original Message - >> >> From: "kuntamayu" >> >> To: >> >> Sent: Monday, September 01, 2008 2:51 PM >> >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone >> >> requests it >> >> >> >> >> >> > Hi... >> >> > >> >> > I am working on a project like " Flex Flip Book ", so in that > project >> >> > as a end product from my application, I need to give an swf file to >> >> > end user so he / she can use that swf file directly without any >> >> > modification. >> >> >> >> End users aren't normally given swfs - they are generally either >> > provided >> >> with an application that they install, or they go to a web page. >> > Just what >> >> is your plan? >> >> >> >> If they use a web page there's no need to have everything in a >> > single swf, >> >> if they have an application an installer can install an application >> > file >> >> plus any other files required for customisation. >> >> >> >> Your proposed solution is fraught with difficullty as an automated >> > process. >> >> >> >> Paul >> >> >> >> > --- In flexcoders@yahoogroups.com, "Toby Ashley" wrote: >> >> >> >> >> >> You'd most likely be better off storing your users' data / choices >> >> > as XML or >> >> >> something, then build a SWF which can read in that XML and load / >> >> > display >> >> >> the relevant text
[flexcoders] Re: Want to build a SWF on the fly when someone requests it
Hi Folks, There is nothing to hide about it. See, the thing is : I like to make a web application with Flex as well as its counter part desktop version in AIR. The application will be of like Flex Flip Book and it also offering some other features like slideshow, calender view, zoom In zoom Out etc features. I want my end user come to online version and can make his own stuff - - My system will provide him some layout of - client will choose any layout and provide data for that particular layout - clients input data will be like image / video etc. - system will save that page(layout) by page - at the end client will get a swf file to use at his conveniences. Same way I want to offer same functionality with AIR version, too. ~ Paul, is it information ok to understand you what the application ? Folks, can you guide me the proper way now ? Awaiting response --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "kuntamayu" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, September 02, 2008 12:46 PM > Subject: [flexcoders] Re: Want to build a SWF on the fly when someone > requests it > > > > Hi Daniel Freiman, Paul and Toby Ashley > > > > Thanks for your reply. > > > > But for this same product we have to crate an AIR (desktop) version > > too. That's why also, as an end product from my application, I have to > > give an swf to end client. > > I think the main mystery is why it has only to be a single swf rather than > swf + customistaion data in various files. You are effectively trying to > include all that customistation inside the swf. Air doesn't preclude > supplying the application + customisation files. > > Can you not say what this application is? > > Paul > > > Folks, do you have any other suggestions . . . !!! > > > --- In flexcoders@yahoogroups.com, "Paul Andrews" wrote: > >> > >> - Original Message - > >> From: "kuntamayu" > >> To: > >> Sent: Monday, September 01, 2008 2:51 PM > >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone > >> requests it > >> > >> > >> > Hi... > >> > > >> > I am working on a project like " Flex Flip Book ", so in that project > >> > as a end product from my application, I need to give an swf file to > >> > end user so he / she can use that swf file directly without any > >> > modification. > >> > >> End users aren't normally given swfs - they are generally either > > provided > >> with an application that they install, or they go to a web page. > > Just what > >> is your plan? > >> > >> If they use a web page there's no need to have everything in a > > single swf, > >> if they have an application an installer can install an application > > file > >> plus any other files required for customisation. > >> > >> Your proposed solution is fraught with difficullty as an automated > > process. > >> > >> Paul > >> > >> > --- In flexcoders@yahoogroups.com, "Toby Ashley" wrote: > >> >> > >> >> You'd most likely be better off storing your users' data / choices > >> > as XML or > >> >> something, then build a SWF which can read in that XML and load / > >> > display > >> >> the relevant text / video / audio / links / whatever. Rather than > >> > creating > >> >> one SWF for each user, just create one SWF and pass it different > > XML for > >> >> each instance to populate the template. > >> >> > >> >> > >> >> > >> >> On Sat, Aug 30, 2008 at 12:10 PM, kuntamayu wrote: > >> >> > >> >> > From my flex project, I want to create a swf file on fly - to save > >> >> > clients' data . > >> >> > > >> >> > Clients' data may contains Image, Text, Video, Audio and web link. > >> >> > > >> >> > How to save this data in a swf file at server side. > >> >> > > >> >> > ( We are using java for server side code ) > >> >> > > >> >> > Waiting for reply. > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Flexcoders Mailing List > >> >> > FAQ: > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > >> >> > Search Archives: > >> >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! > > Groups > >> >> > Links > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > >> > > >> > > >> > > >> > > >> > > >> > -- > >> > Flexcoders Mailing List > >> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > >> > Search Archives: > >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > >> > Links > >> > > >> > > >> > > >> > > >> > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > > >
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
- Original Message - From: "kuntamayu" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 02, 2008 12:46 PM Subject: [flexcoders] Re: Want to build a SWF on the fly when someone requests it > Hi Daniel Freiman, Paul and Toby Ashley > > Thanks for your reply. > > But for this same product we have to crate an AIR (desktop) version > too. That's why also, as an end product from my application, I have to > give an swf to end client. I think the main mystery is why it has only to be a single swf rather than swf + customistaion data in various files. You are effectively trying to include all that customistation inside the swf. Air doesn't preclude supplying the application + customisation files. Can you not say what this application is? Paul > Folks, do you have any other suggestions . . . !!! > --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: >> >> - Original Message - >> From: "kuntamayu" <[EMAIL PROTECTED]> >> To: >> Sent: Monday, September 01, 2008 2:51 PM >> Subject: [flexcoders] Re: Want to build a SWF on the fly when someone >> requests it >> >> >> > Hi... >> > >> > I am working on a project like " Flex Flip Book ", so in that project >> > as a end product from my application, I need to give an swf file to >> > end user so he / she can use that swf file directly without any >> > modification. >> >> End users aren't normally given swfs - they are generally either > provided >> with an application that they install, or they go to a web page. > Just what >> is your plan? >> >> If they use a web page there's no need to have everything in a > single swf, >> if they have an application an installer can install an application > file >> plus any other files required for customisation. >> >> Your proposed solution is fraught with difficullty as an automated > process. >> >> Paul >> >> > --- In flexcoders@yahoogroups.com, "Toby Ashley" wrote: >> >> >> >> You'd most likely be better off storing your users' data / choices >> > as XML or >> >> something, then build a SWF which can read in that XML and load / >> > display >> >> the relevant text / video / audio / links / whatever. Rather than >> > creating >> >> one SWF for each user, just create one SWF and pass it different > XML for >> >> each instance to populate the template. >> >> >> >> >> >> >> >> On Sat, Aug 30, 2008 at 12:10 PM, kuntamayu wrote: >> >> >> >> > From my flex project, I want to create a swf file on fly - to save >> >> > clients' data . >> >> > >> >> > Clients' data may contains Image, Text, Video, Audio and web link. >> >> > >> >> > How to save this data in a swf file at server side. >> >> > >> >> > ( We are using java for server side code ) >> >> > >> >> > Waiting for reply. >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > Flexcoders Mailing List >> >> > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> >> > Search Archives: >> >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! > Groups >> >> > Links >> >> > >> >> > >> >> > >> >> > >> >> >> > >> > >> > >> > >> > >> > -- >> > Flexcoders Mailing List >> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> > Search Archives: >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups >> > Links >> > >> > >> > >> > >> > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > >
[flexcoders] Re: Want to build a SWF on the fly when someone requests it
Hi Daniel Freiman, Paul and Toby Ashley Thanks for your reply. But for this same product we have to crate an AIR (desktop) version too. That's why also, as an end product from my application, I have to give an swf to end client. Folks, do you have any other suggestions . . . !!! --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "kuntamayu" <[EMAIL PROTECTED]> > To: > Sent: Monday, September 01, 2008 2:51 PM > Subject: [flexcoders] Re: Want to build a SWF on the fly when someone > requests it > > > > Hi... > > > > I am working on a project like " Flex Flip Book ", so in that project > > as a end product from my application, I need to give an swf file to > > end user so he / she can use that swf file directly without any > > modification. > > End users aren't normally given swfs - they are generally either provided > with an application that they install, or they go to a web page. Just what > is your plan? > > If they use a web page there's no need to have everything in a single swf, > if they have an application an installer can install an application file > plus any other files required for customisation. > > Your proposed solution is fraught with difficullty as an automated process. > > Paul > > > --- In flexcoders@yahoogroups.com, "Toby Ashley" wrote: > >> > >> You'd most likely be better off storing your users' data / choices > > as XML or > >> something, then build a SWF which can read in that XML and load / > > display > >> the relevant text / video / audio / links / whatever. Rather than > > creating > >> one SWF for each user, just create one SWF and pass it different XML for > >> each instance to populate the template. > >> > >> > >> > >> On Sat, Aug 30, 2008 at 12:10 PM, kuntamayu wrote: > >> > >> > From my flex project, I want to create a swf file on fly - to save > >> > clients' data . > >> > > >> > Clients' data may contains Image, Text, Video, Audio and web link. > >> > > >> > How to save this data in a swf file at server side. > >> > > >> > ( We are using java for server side code ) > >> > > >> > Waiting for reply. > >> > > >> > > >> > > >> > > >> > -- > >> > Flexcoders Mailing List > >> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > >> > Search Archives: > >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > >> > Links > >> > > >> > > >> > > >> > > >> > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > > >
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
- Original Message - From: "kuntamayu" <[EMAIL PROTECTED]> To: Sent: Monday, September 01, 2008 2:51 PM Subject: [flexcoders] Re: Want to build a SWF on the fly when someone requests it > Hi... > > I am working on a project like " Flex Flip Book ", so in that project > as a end product from my application, I need to give an swf file to > end user so he / she can use that swf file directly without any > modification. End users aren't normally given swfs - they are generally either provided with an application that they install, or they go to a web page. Just what is your plan? If they use a web page there's no need to have everything in a single swf, if they have an application an installer can install an application file plus any other files required for customisation. Your proposed solution is fraught with difficullty as an automated process. Paul > --- In flexcoders@yahoogroups.com, "Toby Ashley" <[EMAIL PROTECTED]> wrote: >> >> You'd most likely be better off storing your users' data / choices > as XML or >> something, then build a SWF which can read in that XML and load / > display >> the relevant text / video / audio / links / whatever. Rather than > creating >> one SWF for each user, just create one SWF and pass it different XML for >> each instance to populate the template. >> >> >> >> On Sat, Aug 30, 2008 at 12:10 PM, kuntamayu <[EMAIL PROTECTED]> wrote: >> >> > From my flex project, I want to create a swf file on fly - to save >> > clients' data . >> > >> > Clients' data may contains Image, Text, Video, Audio and web link. >> > >> > How to save this data in a swf file at server side. >> > >> > ( We are using java for server side code ) >> > >> > Waiting for reply. >> > >> > >> > >> > >> > -- >> > Flexcoders Mailing List >> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> > Search Archives: >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups >> > Links >> > >> > >> > >> > >> > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > >
Re: [flexcoders] Re: Want to build a SWF on the fly when someone requests it
You're going to have to dynamically write the source code and run the command-line compiler on it. Building the code can be very specific to the project so I can't help you there, but the docs on the compiler are here: http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html - Daniel Freiman On Mon, Sep 1, 2008 at 9:51 AM, kuntamayu <[EMAIL PROTECTED]> wrote: > Hi... > > I am working on a project like " Flex Flip Book ", so in that project > as a end product from my application, I need to give an swf file to > end user so he / she can use that swf file directly without any > modification. > > > --- In flexcoders@yahoogroups.com , "Toby > Ashley" <[EMAIL PROTECTED]> wrote: > > > > You'd most likely be better off storing your users' data / choices > as XML or > > something, then build a SWF which can read in that XML and load / > display > > the relevant text / video / audio / links / whatever. Rather than > creating > > one SWF for each user, just create one SWF and pass it different XML for > > each instance to populate the template. > > > > > > > > On Sat, Aug 30, 2008 at 12:10 PM, kuntamayu <[EMAIL PROTECTED]> wrote: > > > > > From my flex project, I want to create a swf file on fly - to save > > > clients' data . > > > > > > Clients' data may contains Image, Text, Video, Audio and web link. > > > > > > How to save this data in a swf file at server side. > > > > > > ( We are using java for server side code ) > > > > > > Waiting for reply. > > > > > > > > > > > > > > > -- > > > Flexcoders Mailing List > > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > > Search Archives: > > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > > Links > > > > > > > > > > > > > > > > >
[flexcoders] Re: Want to build a SWF on the fly when someone requests it
Hi... I am working on a project like " Flex Flip Book ", so in that project as a end product from my application, I need to give an swf file to end user so he / she can use that swf file directly without any modification. --- In flexcoders@yahoogroups.com, "Toby Ashley" <[EMAIL PROTECTED]> wrote: > > You'd most likely be better off storing your users' data / choices as XML or > something, then build a SWF which can read in that XML and load / display > the relevant text / video / audio / links / whatever. Rather than creating > one SWF for each user, just create one SWF and pass it different XML for > each instance to populate the template. > > > > On Sat, Aug 30, 2008 at 12:10 PM, kuntamayu <[EMAIL PROTECTED]> wrote: > > > From my flex project, I want to create a swf file on fly - to save > > clients' data . > > > > Clients' data may contains Image, Text, Video, Audio and web link. > > > > How to save this data in a swf file at server side. > > > > ( We are using java for server side code ) > > > > Waiting for reply. > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > > >