A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Hotspots within a draggable map

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    4

    Hotspots within a draggable map

    Hi all!

    I am new to flash and I am required to create a draggable interactive map using CS3 and using actionscript 2.1.

    We are creating an application for a touch screen device and we must provide a draggable map which contains 'hotspots' which when clicked provide additional information (text and pictures).

    I need clickable buttons that stay in the same relative position over the map so that when it is dragged the buttons move with the map. (sorry if that sounds confusing) At present I can only get a static button working which stays in the same position and the map moves independently.

    Hope someone can point me in the right direction

    Thanks!

  2. #2
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,876
    this should put you on the right track... within the the flash test environment you will see a an output traced when you click the hotspot .. replace the trace with whatever you wish to do.
    Attached Files Attached Files
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Posts
    4
    fantastic help silentweed appreciate it

  4. #4
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,876
    np glad I could help
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  5. #5
    Junior Member
    Join Date
    Mar 2010
    Posts
    4

    map.fla

    That example file is exactly what i need to do but I'm having trouble recreating it in my project. Would you be able to explain what you did step by step to get it to work please?

    Thanks

  6. #6
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,876
    make sure you are keeping the instance names the same or change my code accordingly... have a look at my code if you dont understand a particular section give me a shout
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  7. #7
    Junior Member
    Join Date
    Mar 2010
    Posts
    1

    other solution

    Hello,
    You have also that solution here with map easy to customize http://graphic-flash-sources.com/

Tags for this Thread

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