A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: basket !!!!

Hybrid View

  1. #1
    Member
    Join Date
    Dec 2000
    Posts
    38
    Hi i posted things related to this but i failed to get a proper response to try and solve the problem.

    BUT i shall try again !. I have a shopping basket where i have php loading productid product name and price from a mysql database. I tried that and it works fine on html.

    Now the problem is i want to display that in flash. In the shopping basket you have the option of deleting a certain product which in turn tells php to remove the product fromt he db.

    The idea i have is to allow php to echo the results lets say product1, 2 , 3 , 4 and so on. If u click on any of the product names, the php file is load and flash sends the product id number and php does the rest.

    Lets say i create a dynamic boxes called products, Product id and price and place them on a scroll bar so u can scroll up and down if needed.

    The question is how do i create a link in every product so that it can send the product id no ? and how do i control the scroll bar to depend on what is available ?

    I know its complicated ....but i really truly need some help. Can n e one shed some light ?

    THanks alot

    UrbanDeveloper

  2. #2
    The Supreme Shaman and Keeper of Polar Lights
    Join Date
    Apr 2000
    Posts
    1,175
    Hi !

    If i understand it, you may use inside dynamic fields HTML option and something like
    Code:
    "<a href='asfunction:someflashfunctionname," add flashvariable add "'>
    Your product ID " add flashvariable  add ".</a>"
    Note ! It is better not to replace "add" with "+" here

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