A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Help with adding variables/instances

  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    6

    Help with adding variables/instances

    Alright, on my website www.fatbug.com I have an order form, the user can pick between how many labels they want, and what type of shipping using a combo box. What im trying to do is have a dynamic text box display the total purchase i.e. $575 for 5000 labels and 25 for priority shipping.

    Here is the .fla and i hope to hear back!

    http://www.yousendit.com/transfer.ph...774319571CB7C7

  2. #2
    Senior Member
    Join Date
    Nov 2005
    Location
    dante's inferno
    Posts
    904
    didn't look at the file.

    but here is the skinny.
    I'm sure you have a dynamic box for the total purchase, and one for the shipping. when you total out, do you have a button that you press to calculate the total or does it do it automatically.?

    var totalPurchase;
    var myShipping;
    var grandTotal;

    myTotal_btn.onRelease = function(){
    grandTotal = totalPurchase+myShipping;
    }

    just a blind suggestion,, not sure what you have..

    IMS

  3. #3
    Junior Member
    Join Date
    Jun 2006
    Posts
    6
    Yea, that really didnt help, you would probably need to see the fla to know what im talking about. Plus, i have 2 combo boxes for the shipping and the goods, not dynamic text boxes. I want the total to show up in a dynamic text box somewhere.

  4. #4
    Senior Member
    Join Date
    Nov 2005
    Location
    dante's inferno
    Posts
    904
    I'm running 2004MXPRO, I can't open your file

    I don't use components all that much, there great when your in a hurry, but I find it hard to control them the way I would like to.

    IMS

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