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


Similar Posts:


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

ActionScript 3.0 :: Creating A List With Different Row Sizes?

Dec 3, 2008

I'm new to AS 3.0 and CS4 and I've been getting up to speedon all of it. I've used the List component before with my owCellRenderer. I now need to create a list with different rowheights. The List component is great and does everything that Iwant but it requires all rows to be the same height.I'm unsure of where to go. Creating my own class seems like alot of work. The TileList and Grid components don't allow differentsized (and dynamically changing) row heights either. Is there somebase class (SelectableList? BaseScrollPane?) that I should extendor do I need to just bite the bullet and write it all from scratch?

I need each row to have it's own height and interaction witha row could change the height of the row. The main use is a list ofdata. If the user clicks in an item, it turns the display intosomething they can edit (which will need more height)I really like that AS 3.0 is much more consistent of aprogramming language than previous MX versions that I've used.We're doing a lot of AS/Flash/AIR work with it and it's turninginto a wonderful environment...

View 1 Replies

Creating A List All Links In A .fla File?

May 28, 2009

I have to make a list every document linked in a multiple .fla files. I can pull them up doing a find for .pdf but I can't figure out how to copy the links from the results field. Each file links to 1000+ pdfs, so i'd like to avoid doing this one at a time. Is there a way to export the results of the find function to a .xml or .txt file?

View 1 Replies

ActionScript 2.0 :: Creating Button List?

Sep 7, 2010

i'm trying to create a list by duplicating buttons, and then when these buttons are clicked, they load a movieso far here's my script in a frame

[AS]
text1 = "link1";
text2 = "link2";

[code].....

View 9 Replies

ActionScript 2.0 :: CS3 Creating Mailing List In Flash?

Mar 2, 2010

I want to allow my viewer to sing up for a mailing list. I want to do this with Flash CS3 and Actions Script 2.0.

First, how do I make the text field again to put the text in? And how do I create a mailing list that will send the person who signed up a confirmation email.

View 2 Replies

ActionScript 3.0 :: Creating Menu For List Items?

Sep 12, 2010

I have been working on making a menu for list items. The file below has an animated menu. If you click on Artificial Intelligence on frame 60, it jumps to frame 61 (a specific section for that list item). How do I make the Artificial Intelligence button on frame 61 jump back to frame 60? I dont know where to add the action script for the function. I need to add a similar script to all 9 list items, do they go on one actionscript file? if so what location? [URL]

View 2 Replies

Flex :: Creating A Custom List Component

Jan 10, 2011

I'm trying to extend the mx:Box container so that two buttons sit on the outside of the container to cycle through it's contents (similar to a scrollbar).

I've made a custom component that looks basically
like "mx:HBox->mx:Button mx:Box mx:Button" where the buttons and box are children of the hbox.

How do I offer the user access to the box (say its dataProvider and itemRenderer) through my custom component?

So they just need to write 'local:MyCustomComponent dataProvider="rar" itemRenderer="rar"/>' and my box inside that component can use it?

View 1 Replies

ActionScript 2.0 :: Creating A List Of Images Dynamically?

Jul 15, 2003

I'm creating a list of images dynamically that I want to mask.

This is the script I'm using:

for (i=0; i<10, i++) {
img_MC = createEmptyMovieClip("image" + i, 3*1);
img_MC.loadMovie("image" + i + ".jpg);
}

The images are loading fine but I can't get it to mask

how can I a mask Dynamically every image on the list?

View 2 Replies

ActionScript 3.0 :: Creating Picture List Or DataGrid Component?

Aug 14, 2009

How can I create a picture list with List or DataGrid component.

View 1 Replies

ActionScript 3.0 :: Creating Search Field For A List Component?

Nov 4, 2009

what i would like to do is create a search field that as the user types in the search bar if there are any matching entries in the list, the focus/selection jumps to that particular item in list. i don't want to clear the list just go to the item that matches.i would like it to be predictive so if i have these entries:and the user types "s" in the search box to the first "s" entry in the list (samson) is selected, if they type "se" the selection jumps to the first entry with "se" in it (seek) if they type "seet" the selection jumps to "seether" and so on.i have absolutely no idea how to do it, but more importantly...is this possible? Attachments: glossary.zip (1.0 MB)

View 6 Replies

ActionScript 2.0 :: Medical Cartoon - Creating Notification List

Dec 13, 2009

Basically what I am trying to do is show a medical cartoon, that at various times, the user can click on a button to say "I want to read more about this point later". This will allow them to continue watching the cartoon, and at the end be taken to an HTML page that shows them the list of points they selected for further research. It's like creating a shopping list for further reading.
SWF output version 8
AS 2

View 7 Replies

Media Server :: Creating Users List For Each User?

Sep 21, 2010

i have made a chat app and i want to let the user add another users that he can find by searching the database of users to his own list, and grouping them ,,, this is can be done but ,,, now in my app when the user connect to the lobby he get all the online connected users in his list i mean when connecting to the online user list sharedobject the user list contains all the connected clients to the lobby and if the number of the connected users is by hundreds or thousands i think
if i create a loop for updating the own user users list statues it would not be good idea,,,
 
so what is the best way to let the user build his own users list and get the statues of each user in his list from the application online users sharedObject witch connected to the lobby app

View 24 Replies

Flex :: Creating Card Stack (Horizontal List)

Jul 21, 2010

I'm trying to develop a card game with Flex, and I was wondering if there's a way to create an horizontal list (the cards that I have in my hand) having the elements overlapped, like you can see in this example made with openflux: [URL]. The thing that's missing here is the possibility to swap the cards with drag and drop. What I could do to get a similar effect with an horizontal list based component?

View 2 Replies

Flex :: Creating A Dynamically Sized List Component

Aug 16, 2010

I need a List that resizes to exactly fit its content, unless that height exceeds its (dynamically sized) parent container. My requirements are as follows:

The component extends List, or at least acts similarly. variableRowHeight and wordWrap both equal to true. The height of the list cannot be less than minHeight (roughly 32px for scrollbar arrows). The height of the list cannot be greater than the height of the parent container .

Note that the parent container can be resized dynamically.

The height of the list should be updated as the size of both the contents and parent container changes.

Live updating would be preferable but not necessary.

There should be no scrollbars if the content height is less than the parent container height (sounds obvious, but I've had trouble with this too).

The trouble is that with variableRowHeight and wordWrap, it's very hard to know the size of the content at any given time. If the parent container's width is reduced, a line wrap may occur in the list which will change the height of the content. I know I can measure the height of the list content using measureHeightOfItems() + viewMetrics.top + viewMetrics.bottom, but when should I calculate that? What events should I listen for? And the thing I've had the most trouble with - when should I calculate it to set the size initially (i.e. just as the content has finished populating)?

View 1 Replies

ActionScript 2.0 :: Self Updating List - Creating Correct Animation Effect?

Oct 8, 2009

How to construct the following in Flash 8 as 2. I have several items that need to be shown in a text field list, the list needs to update as a new item is to be displayed also the new item has to move up or down depending on how many items are on the list. For example the list has 6 items available,the fist three are a higher priority than the last three.

oranges
apples
mangoes
trucks
cars
boats

When items are called for example oranges we will have oranges in the text field
If the second item is called say trucks this will go below oranges,
If no oranges are called this will go in the top text field.
if we remove an item the remaining field will move up so there are no gaps in the text field.
For example start out with oranges only
oranges (top of list)

Next case add trucks
Oranges(top of list)
trucks
Next trucks only (remove oranges)
trucks( at top of list)

Next add and apples and oranges
Oranges ( top of List)
apples
trucks

Next add boats
Oranges ( top of List)
apples
trucks
boats

Next remove trucks
[Oranges ( top of List)
apples
boats

The actual movie clip is an aircraft caution and warning display that updates when faults occur. I know I can use an array to to populate the text field but I am not sure what to use to create the correct animation effect.

View 6 Replies

ActionScript 3.0 :: Creating Button Menu With Array - List Items?

Jan 12, 2011

I am trying to create a buttons menu with Array, and for some reason it only show the lastone on the list.

Here is my code (AS3):
var nav1Items:Array = new Array("about", "work", "contact");
//Create text field
var myFont:Font = new Calibri();
var myFormat:TextFormat = new TextFormat();
var label_txt:TextField = new TextField();
//Set text style
[Code] .....

View 3 Replies

ActionScript 3.0 :: Creating A List Of Names And Putting Them Into A Computer File?

Jul 25, 2010

I am trying to create a list of names which is generated by a swf file that contains buttons representing letters of the alphabet. The user generates a name by clicking on the letter buttons until the letters of the name have been spelled out and then clicking on abutton to add each name to the list. The names are generated inside the swf file but I want the list of names to be deposited in a file within a folder of the computer and remain there as a permanent record after the swf file has been closed. I can do the Actionscript 3 programming associated with the letter buttons but I would like to know how to send the names to the computer file.

View 15 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 :: 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

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 :: Show Images In Shopping Basket?

Oct 10, 2009

I'm using the below code as a reference [URL] to create a 'kind of' shopping basket at the end of my animation.

To put the 'items' in the shopping basket, the user clicks a button that is made from an image of the item.

how can I get the image of the item they clicked on to appear next to the description of the item on the shopping basket?

ActionScript Code:
import com.ahfx.Product;
import com.ahfx.Shopping;
var myProduct = new Product();

[Code].....

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 :: Lose The Informations Of The 'shopping' Bag Of Customer?

Feb 20, 2012

I have a strange problem with LocalConnection.Situation: A sample e-shop. I have a parent .swf who load 3-4 external swf.In a external swf (let's name it "X") u can order items u want.

Because i don't want to lose the informations of the 'shopping' bag of customer when the parent swf unload the 'X' and load something another (for example "contact us"), i use localconnection with both duplex between parent swf and 'X'.

Problem: In the swf "X" i have an array "Bag" which holds the id of items the customer clicked to buy. When change the external swf, i send via localconnection to the parent .swf this array (done, i tried with trace).

[Code]...

View 3 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

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

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







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