In theory can Flash do this...

  • Timmy
  • Graduate
  • Graduate
  • Timmy
  • Posts: 104

Post 3+ Months Ago

I would like an online form for taking business card orders over the net using Flash.

I know it is possible to do this using dynamic fields to show the card being populated and I know I can connect all this to a database to prepopulate some fields.

my question is, once the order has been placed and the details have been stored in the database and emailed to myself, is there a way of auto sending back an image to the user of what the business card would look like.

Kind of an online proof for them to view.

i can send them an email with the details of what they have entered. But could i attach an image or send it as part of mail?


Any suggestions?


Cheers,

Tim
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

Well the short answer is yes this is very possible.

The firm where I work actually offers this type of solution for many of our clients. I can't discuss much of how we do these projects do to my NDA but if you have more specific flash questions related to your project I'll try to answer them.
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

Flash can't generate the Image, but PHP has some Image function to dynamically generate images.

You can get the data out of flash and to a PHP script by using the LoadVars.send() function. Look up LoadVars() in the actionscript reference (comes built in to flash) to learn more about the LoadVars() Object.

If you can somehow store the data from the flash movie in a way where PHP can read the information and place it in the image correctly then there is your solution.

How to do this is beyond me. I don't know how the image functions work in PHP so I wouldn't know where to begin for what data to pull out of Flash that PHP would need to know for creating the image.

But those may open up more specific questions for graphixboy :) I'm afraid I probably won't be much help on this subject any further.
  • Timmy
  • Graduate
  • Graduate
  • Timmy
  • Posts: 104

Post 3+ Months Ago

Is that the way you would recommend to perform this task graphixboy?

I have lots of projects where I would like to use PHP and Flash together.

I have has lots of problems with Acrobat and I am trying to find a good alternative.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

Yeah the process seems to work pretty well. We use php to build a pdf via some external program and then display a faked version in flash (where flash has all the assets and puts stuff in the right place) and then the PDF thats actually downloaded is generated behind the scenes.

I'll probably be the most help with the flash end of things since I don't do any of the actual backend work.
  • Timmy
  • Graduate
  • Graduate
  • Timmy
  • Posts: 104

Post 3+ Months Ago

I am concerned about the flexiblity of the Flash forms.

I found a couple of tutorials on tinternet where in order to import data from mysql into dynamic fields, in your flash movie, you have to convert the fields in to movie clips.

Doing this conversion meant the fields could not be typed in any more. Is this correct?

I did want fields that would be half populated and the user could still type in them eg

Tel: 0121 (user enters the rest here)
  • roarmeow
  • Professor
  • Professor
  • User avatar
  • Posts: 861
  • Loc: BKNY

Post 3+ Months Ago

you can most definitely still enter information into an input box even if it's inside of a movieclip. you have to be sure everything has proper instance names in order to retrieve the information, but it's all kosher...

peace out

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.