Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member Wayne Thompson's Avatar
    Join Date
    Apr 2011
    Location
    Benoni, Gauteng, South Africa
    Posts
    3
    Member #
    27627
    Hey guys

    Its been a while ;-) I'm back coz I remembered there were some kickass Flash guru's here.

    I want to build a drag and drop game which works as a quote generator for climbing wall construction.
    The user would select standard items from the sidebars, drag and drop them onto the stage to design their wall, then hit calculate and get a price quoted.

    I've found how to do a calculator: http://layersmagazine.com/flash-design-calculator.html
    and how to make a drag and drop game: http://www.flashclassroom.com/docs/d...ropgamecs3.pdf

    Now the trick is to put them together. How would I assign a price value to the symbol, andj have it calculate if its on the stage? Could it be set to lookup the price of a product in virtuemart?

    Any advice or links to applicable tuts will be greatly appreciated.

  2.  

  3. #2
    Junior Member assaf katz's Avatar
    Join Date
    May 2011
    Location
    Israel
    Posts
    9
    Member #
    27758
    Liked
    1 times
    i don't know i got you right, but you can add a price property to the symbols (actually you can add any property you want).
    let's say you have your mc's instance name is itemOne, you can define (for example)
    itemOne.price = 100, and then use the price property to do the calculation.
    hope i helped
    Wayne Thompson likes this.

  4. #3
    Junior Member Wayne Thompson's Avatar
    Join Date
    Apr 2011
    Location
    Benoni, Gauteng, South Africa
    Posts
    3
    Member #
    27627
    perfect! Thats a huge help, thanks ;-)

  5. #4
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by Wayne Thompson, post: 205016
    perfect! Thats a huge help, thanks ;-)
    if that really helped you out - give the guy a "Like" by clicking on the link at the bottom right of the post, next to the "Reply".
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  6. #5
    Junior Member Wayne Thompson's Avatar
    Join Date
    Apr 2011
    Location
    Benoni, Gauteng, South Africa
    Posts
    3
    Member #
    27627
    Me likey ;-)

  7. #6
    Junior Member assaf katz's Avatar
    Join Date
    May 2011
    Location
    Israel
    Posts
    9
    Member #
    27758
    Liked
    1 times
    Glad I could help


Remove Ads

Posting Permissions

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

Search tags for this page

drag and drop calculator flash

Click on a term to search for related topics.
All times are GMT -6. The time now is 05:26 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com