A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Shopping Cart

  1. #1
    Junior Member
    Join Date
    Oct 2001
    Posts
    11
    I am using Dreamweaver to create a shopping cart. I have created four separate flash movies. The html page consists of links to these external flash movies. The flash movies consist of a variable called total. Can I write an action that will calculate the grand total for each of the total variables which are located in different .swf files. So far I have on (release) {
    grandtotal = books.swf_root.total+cloths.swf_root.total+golf.sw f_root.total+miscellanous.swf_root.total;
    }

    this does not seem to be working. Please help. Thanks.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    these swf's are talking to a common html form...
    Whenever one of them changes its total, it should call something like
    geturl("javascript:settotal(1, 13.50)")
    where 1 is the item group (books)

    Where would you want the grand total to display? In a html box?

    Musicman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center