dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Hyperlink pinpoint using x,y

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    28

    Hyperlink pinpoint using x,y

    Hey people,
    I'm very new to flash and cannot find anything that will solve my problem below.

    Iv'e been trying to create an hyperlink that executes flash. In the hyperlink there will be the x and y position for where a shape (circle) should be.
    Image: 100px by 100px

    Any help will be VERY appreciated,
    Thank You!
    Carl.

  2. #2
    Secret Agent
    Join Date
    Sep 2000
    Location
    San Francisco, CA
    Posts
    169
    Quote Originally Posted by CarlT2007
    Hey people,
    I'm very new to flash and cannot find anything that will solve my problem below.

    Iv'e been trying to create an hyperlink that executes flash.
    So you want a link that opens a flash movie? In a new window? In the same window? In a part of the window?

    Quote Originally Posted by CarlT2007
    In the hyperlink there will be the x and y position for where a shape (circle) should be.
    And you want to send a little info to flash along with the hyperlink?

    Quote Originally Posted by CarlT2007
    Image: 100px by 100px
    Either way, here's some help on Adobe's site:
    http://www.adobe.com/cfusion/knowled...=tn_15683#jtfc
    And see the example of this in action here:
    http://www.adobe.com/support/flash/t..._to_flash.html

    Quote Originally Posted by CarlT2007
    Any help will be VERY appreciated,
    Thank You!
    Carl.
    Good luck and have fun!
    aldorr

  3. #3
    Senior Member
    Join Date
    Jun 2001
    Location
    Sydney
    Posts
    124
    I think I know what you mean.

    You need a URL like this:
    http://www.example.com/index.html?x=20&y=20

    Which will open the html/flash page and tell it to place the image at x=20 and y=20 (or where ever).

    The HTML page needs to be constructed so that is passes the query string (the part after ? in the above URL) to the flash movie.

    One way to do this is to use JavaScript to manipulate the call to the swf file. This will help you out:
    http://www.permadi.com/tutorial/flas...ing/index.html

    Good luck.

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