Flex :: Integrate Shopping Cart System For Flash Application?
Mar 25, 2010
I've built a simple flash application that takes a user's photo/image, offers various effects and filters to play with. In the end, the application can write-out the resulting image to a PDF print file (to be purchased and sent to a printer).Currently I'm using PHP to template the web pages, with the Flash app embedded in the body of one of the pages.
I now need to integrate a shopping cart and check-out system, the idea being that the user can play with images, add various images to a shopping cart, at some point choose print sizes for each image, check-out and purchase etc. My app would attached the necessary print files, and email/submit the order to the printer.In researching the various cart systems out there like Zen-cart, Magento, osCommerce, etc.. these all seem to be full featured CMS systems, full websites, that you deploy, customize and skin, add products to etc... a "canned store". But in my case, I'm adding/creating the product at run-time. It's not a traditional store where you browse and select items.
At first glance its not clear to me how I would use one of these systems, how to integrate with my Flash app.... it seems I only want to make use of the shopping cart, customer database portion, payment transaction features.Is it possible to use one of these, using only the checkout and order management through a API? called from my Flash app? or processed via back-end PHP?
modify an existing flash shopping cart I purchased from Flashden.net (link). The cart uses two XML files to pull in data and to configure most of the data settings. I need help with one thing: I'm using this cart on a sunglasses shopping site and I need to configure the optional sunglasses to be clickable so they can be added to the cart. I know I need to modify both the flash .fla and the xml file so I've included the code for both below. Here's a link to the website I'm trying to re-configure. The section I need to edit has the optional sunglasses on the right-hand side of the main photo.Here's the first xml file that does some of the basic settings. This file is called settings.xml.[code]I made an attachment for the actionscript code called actionscript.txt that needs to be modified. All I need to do is figure out a way to make the optional images clickable so they can be added to the main cart. We can also just create a button that says add to cart next to each sunglass option. Either way works for me. I'm even willing to compensate the person who can help me come up with a workable solution.
i want to build a shopping cart in flash, but i dont know how to do.actually i have a gallery i.e. [URL]now what i want to do is that to put check boxes under each thumbnail,after selecting that check box that product should be added to the cart.
how to build a thorough shopping cart in Flash, with a checkout button and everything? And/or could some provide a fla. that has a checkout button and everything?
has anyone ever used it or have experience with it? It seems a decent price and good functionality, but if someone has experience with it that gives me a lot more insightlso, it's designed w/ AS2 and says it can be used easily w/ AS3 via Loader & LocalConnection, but I've had problems in the past w/ LocalConnection & AVM1Movie's.
I am creating a shopping cart feature within flash using as2 using this tut [URL]. I have created the as file and there are no errors but when it can to adding the first part of code to go into the actual flash file I get this error
The class or the interface 'com.ahfx. Product could not be loaded(source) var myProduct = new Product();
The code added on the first frame of the flash file import com.ahfx.Product; var myProduct = new Product(); myProduct.setQuantity(3); myProduct.setPrice(2.99); myProduct.setDesc("Teddy Bear"); trace(myProduct.getDesc()); trace(myProduct.getPrice()); trace(myProduct.getQuantity()); trace(myProduct.getTotal());
I have a shopping cart/store built in flash. All the pages are built in html. My problem is that when you navigate to another page the shopping cart empties. The cart is .xml based. I didn't think of this at the beggining. Does anyone have a suggestion? The link to the site is below.
Im working on a website for a company that specializes in creating custom sound proof boxes for recording and whatnot. The actual site is done completely in html and the shopping cart is html. You can see how i have the thing layout out here:[URL]So they are supposed to have the option to completely customize a soundbooth in flash.
Step1 Involves has them pick out the size of the box. If its 4x4 or 8x12 and so on.
Step2They have to pick the color of the box.
Step3 They drag and drop Windows(They can only place 2 and only at certain spots)on the box.
Step4They pick where the door goes by dragging it and dropping it over the box.
Step5They pick where they want the ventilation box.
And then its done.Now once they have done all of that it takes that sound booth they have created and exports all the data to the html shopping cart ready to purchase.
Now this is pretty complicated for me since I have a pretty basic understanding of actionscript. I just got up too speed on variables for goodness sake a little while ago. And im just not sure where to start. Would i be using strings for all the variables so that depending on what option they click on its storing the information that way or arrays or what? Any tuts or things you think i should read up on to help me would be awesome im just not sure where to start.
i was trying to find simple code of xml shopping cart i.e it's in AS3 or AS2 it's should be simple & run as different level?i mean if i need to import different swf file or using _root.shopping_cart.URL...
I am trying to create a Flash styled shopping cart to integrate into my website. When the "Add to Cart" button is clicked, i am displaying the corresponding text down the side of the stage. However I need a "Total Price" Dynamic text field to display the Total price of all items clicked!I am new to flash and it's proving very difficult to me, as the only way i could think of doing this is creating Boolean variables with all the items and if "add to cart" had been clicked Boolean = True... But how do I code the addition of prices? and cater for all the variations that are possible?
I'm trying to integrate flash with a CMS (joomla) and cart (virtuemart). I made the flash product alteration page, you can check it here: [URL] I pass variables to index.php page=cart and function= addCart. the code is:
[Code]...
Now, this is successfully adding the quantity inthe cart and i can then move to the checkout page... but the thing is.. on the cart page when I try to update the product or delete the product, it doesn't happen. How to solve this? I think it's some thing related to cookies?
ok, same project i've been working on, new criteria. here's the summary of the project.we are making a digital catalog, in our print catalog we have diagrams but in the digital version i am using flash to link parts of those diagrams to the page with that merchandiseeverything is getting worked out ok.now i have been given some more requirements, myboss wants me to add an "add to cart" button so they can automatically add it to their cart instead of linking to our website and adding it there.
I was just wondering if anyone has seen or has actually built a complete flash based eCommerce system that uses a shopping cart to add items from a gallery as well as connect to the gateway and uses SSL
Trying to create a simple shopping cart with text boxes and delete buttons on the fly and everything is created properly, but I can't get them to delete.
My code:
Code:
for (i=0; i<clothingCart.length; i++) { var ci:TextField = new TextField(); itemArray[i]=ci;
[code]....
I get the same basic error no matter what:
Quote: The supplied DisplayObject must be a child of the caller.
I'm building an application with the Flex framework and the 3D graphics library Flare3D. I want to be able to embed my 3D scene into an MXML application and still have the mouse events dispatched to the 3D scene.
Here is my code: - The MXML app: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
[Code]....
The problem is that the 3D rendering is done by default in a "layer" that is behind the 2D layer (where we can put MXML components). By default, if we mix 3D and 2D elements, we can't see 3D elements. So I added backgroundAlpha="0". This solved the problem of showing the 3D view. But now I have another problem, I can't move the cube (which is the default behaviour) when I click on the scene and move the mouse. I understand that this is because the 3D view is behind the 2D view.
Is it possible to give the 3D view the focus for mouse events (when it's needed) ? Or is there a different way of doing what I want ? The only hack I figured out is to uncomment this //stage.getChildAt(0).visible = false; which make the 2D view invisible. But I want to mix 2D elements and 3D view, so it's not a solution.
I need to disable all the aspects of functionality which access the client file system in a flash/flex application. I started having a look on how to do this. It appears that the package flash.filesystem need to be importated to allow the interaction with the file system. However, I did not find any reference to this package in the application. I am a beginner concerning these technologies so maybe I am missing a point here. Do I need to look into an other direction?
I currently have a system that takes the users order and then sends the data to a php file where the details are then emailed to the shop admin. I accomplish this by using...
ActionScript Code: //Retreive and pass the information to a PHP page var variables:URLVariables = new URLVariables(); variables.vItemCode=menu4dynamictext.text; variables.vBaseColor=basecolorpickertext.text; var request:URLRequest=new URLRequest("sendmail.php"); [Code] .....
However I need to change this system so that rather than each order being sent automatically, the details are stored in an array so that a cart system can be produced somehow! It doesn't need to be overly secure, the system simply needs to email colour details etc to the admin.
I am trying to integrate Flex application to access Rest services (using Jersey) through BlazeDS. I'm able to get Rest + Jersey working (pretty straight forward I guess) and I was able to configure Flex + BlazeDS. I'm looking for help to invoke rest services (different methods) from Flex UI based on the annotations specified such as @Path in my rest service class.
I have google flex application for postcode search, How do I import the Swf file from flex into flash so I could add more movie clips like zooming effects and 3d rotation
I must firstly apologise as I am not an experienced Flash user. As a result I have been working in AS2 and have still (much to the digust of many I'm sure) not converted to AS3. My problem is that I have a rough Verlet system working. However, it is rigid bodied and really need to be able to integrate Runge Kutta into it. I have googled thoroughly and can not find any information on Runge Kutta in AS2. However, I have an AS3 actionscript file for Runge Kutta 4. I will post it below. Does anyone know how I could convert this to AS2. I really need to do this and am prepared to pay someone to do it using paypal if necessary and if somebody would be willing. This is not laziness, but a strict deadline for college work. Here is the AS3 Runge Kutta 4 code:
I'm trying to access local file system from Flex web application. I know it is pretty difficult, but I think there must be a way. Is there a way that Flex app can use AIR components or maybe web application can call some AIR module in order to choose files and upload?