ActionScript 2.0 :: Creating Shopping Cart Feature In Flash

Oct 20, 2009

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());

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Create A User Login / Reg Page And Also A Shopping Cart Feature?

Oct 2, 2009

Good tutorials which show how to create a user login/reg page and also a shopping cart feature .

View 0 Replies

Modifying Flash Shopping Cart

Apr 12, 2009

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.

View 3 Replies

ActionScript 2.0 :: Build A Shopping Cart In Flash?

Feb 10, 2009

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.

View 2 Replies

ActionScript 2.0 :: Build A Thorough Shopping Cart In Flash?

May 31, 2002

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?

View 6 Replies

ActionScript 3.0 :: Flash Shopping Cart By Dreamline Studio?

Mar 4, 2008

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.

View 3 Replies

Professional :: Shopping Cart/store Built In Flash?

Mar 16, 2010

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.

View 2 Replies

IDE :: Implement PayPal's Shopping Cart Html Into Flash?

Nov 14, 2002

Here is a sample of the code that would work:

form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"
input type="hidden" name="cmd" value="_cart"
input type="hidden" name="business" value="sample@sample.com"[code].....

View 14 Replies

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?

View 1 Replies

ActionScript 2.0 :: Making Sort Of A Customizable Flash Shopping Cart?

Jan 25, 2006

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.

View 4 Replies

ActionScript 2.0 :: Implement PayPal's Shopping Cart Html Into My Flash?

Nov 14, 2002

Implement PayPal's shopping cart html into my Flash? Here is a sample of the code that would work[code]...

View 1 Replies

ActionScript 2.0 :: Simply Xml Shopping Cart

Jan 13, 2010

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...

View 1 Replies

ActionScript 3.0 :: If / Else / Switch Statement For A Shopping Cart

Feb 24, 2011

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?

View 15 Replies

Professional :: Set Up A Button To Automatically Add Items To A Shopping Cart?

Jan 7, 2011

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.

View 4 Replies

Uses A Shopping Cart To Add Items From A Gallery As Well As Connect To The Gateway And Uses SSL?

Nov 13, 2007

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

View 3 Replies

Create A Simple Shopping Cart With Text Boxes And Delete Buttons On The Fly?

Sep 12, 2009

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.

View 1 Replies

ActionScript 2.0 :: Script A Flash Shopping Cart In Flash Mx Similar To "flashkart"?

Jul 7, 2005

script a flash shopping cart in flash mx similar to "flashkart"?

View 6 Replies

ActionScript 1/2 :: Creating A Shopping List?

May 10, 2011

My project is a page flipping magazine.  On each page are several products.  When you click on a specific product, a popup window comes up and shows all of the product details.  The popup window also includes two buttons - Add to Cart & Add to Shopping List.  This is where I am having trouble.  When the user clicks on the 'Add to Shopping List' button I would like the product details  (i.e picture of item, item description, price, select quantity, delete product option)  to "load" into a shopping list (which would be on a different frame further down the timeline and look like a whole new page to the user). I don't want to redirect them to the shopping list at this time, I just want the information to "load" into the shopping list.  Later, when they are done adding all their items into the shopping list, they can click on the shopping list tab at the top of the page and it will direct them to the correct frame in the timeline and show all of the products they added.  

View 4 Replies

ActionScript 2.0 :: Creating A SEARCH Feature?

Dec 13, 2005

just wondering if there is a way of setting out a text input box and a go button and using an EXCEL Sheet FULL of data (uk postal codes) to create a search application???

View 1 Replies

ActionScript 3.0 :: Finding A Tutorial On Creating Sort Of Feature?

Apr 25, 2011

Could you please lead me to some tutorials on similiar feature that is displayed on this website.URL...a big bilboard type of thing,which shows a large image coming in from the right...but also smaller images on the right hand side that are moving up.

View 9 Replies

ActionScript 3.0 :: Auto-complete Feature Doesn't Work Well / When Creating New Class File

Aug 3, 2010

For some reason, in the past few days, the auto complete feature doesn't work well when I'm creating a new class file. I'm trying to write a new class which uses away3D, and even though the auto-complete works well when I start a new AS3 file, it just doesn't work as far as away3D is concerned when I try to create a new AS3 Class file. Other features of the auto-complete don't work as well, for some reason.

View 1 Replies

Actionscript 2.0 :: Integrate Flash With A CMS (joomla) And Cart (virtuemart)

Sep 24, 2009

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?

View 1 Replies

ActionScript 2.0 :: ANYRD Flash Paypal Cart Component (currency)

Aug 29, 2008

I purchased ANYRD Flash Cart component a while back. Recently Paypal took a great step forward by adding support for Mexican Pesos. So since I live in Mexico people is more open to do a transaction in Pesos rather than Dollars or Euros. The downside for me is that MXN is not in the component's list of supported currencies. It is a dropdown option in the component inspector so I have no way of changing this. anyrd.com website has been down for several months so I don't think I can get any support from them and I don't see an update any time soon (or at all).

View 4 Replies

ActionScript 3.0 :: Use ArrayCollection Like Feature In Flash IDE?

Nov 18, 2010

I heard that ArrayCollection on Flex, so how can I use ArrayCollection like feature in ActionScript 3.0 and Flash IDE.

View 2 Replies

Flash :: Online Demo Of New AEC Feature?

Dec 30, 2011

Does anyone know of an online demo of the new flash AEC feature ?

View 1 Replies

Flash :: Pressing F12 To Preview And Use This Feature It Would Not Work ?

Jul 23, 2009

I have recently received a copy of the Adobe eLearning suite, in particular I hope to use Flash for the majority of my elearning projects.I have been having trouble using the learning interactions that come ready to use with Flash. For example,I placed the drag and drop interaction onto the stage area, but when pressing F12 to preview and use this feature it would not work (could not drag the movie objects), the same goes for all the other features I can select radio buttons etc but when pressing the 'cheack answer' button nothing happens.Even though these interactions come with instructions which i have followed, it still does not seem to work. I do not wish for them to be scored, I just want the user to receive correct or incorrect feedback.

View 1 Replies

Professional :: Have A Page-turning Feature In Flash?

Jul 10, 2010

does Adobe have a plug-in for Flash CS4 or what would you recommend?

View 6 Replies

Flash :: Add A Zoom Feature To Existing Application?

Sep 25, 2010

I have a Flash application with one scene, three frames and a bunch of ActionScript code to provide a number of ExternalInterface hooks. The three frames contain a single Input Text box which, as the <embed> tag is resized using JavaScript, grows and shrinks (not scales) to fit. I now want to add the ability to zoom in/out of this application, for enlarging small text on screen without increasing the text point size. I thought this would be easy using the Javascript Zoom(percent) method of the Flash object, but this doesn't work because my ActionScript code contains:

[Code]...

I suspect I need to take the entire movie as I have it now, and put it inside a movie clip, add a zoom ExternalInterface call which somehow scales the movieClip, and move the External Inteterface methods I have now from the new Movie Clip outside to the stage... but this sounds like a near complete rewrite? Will this method even work? Is there a better way?

View 1 Replies

Actionscript 3 :: Flash Allocation Scheme Bug Or Feature?

Feb 9, 2011

Having the following code:[code]Doesn't work if the line marked with (1) is there, however if I comment out this line, its able to load one single file, before it stops working.Using ActionScript 3.0 under CS5.[code]

View 1 Replies

AS3 :: Flash - Zoom Feature With A Movie Clip?

Aug 1, 2011

how to zoom a movie clip like this: [URL]The Fist map on that page, you can zoom a particular region by draging a box around it.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved