A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: basic link question

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Location
    Belgium
    Posts
    19

    basic link question

    Hi,

    You know that you can link a symbol directly when you click it double , in the "properties" window...I did this but what's bugging me is that you have to click the link multible times intil it opens..
    Try it yourself http://www.wettersewezels.be , try to click "stadion" or "home" you'll see that it doesn't work directly.How can I solve this?

    Greetz

    JM

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    You may have used the wrong code . Post the code and tell where its located, and if the "buttons" are movieclips or regular buttons.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Location
    Belgium
    Posts
    19
    Hi,

    Thanks for your reply,I don't see how I could have used the rang code as I didn't used any code..I just clicked the symbol and then I was able to fill in the url...to make the situation more clear I've uploaded a screenshot you can view it here :
    http://www.wettersewezels.be/imgstadion/screenshot.jpg

    Greetz

    JM

  4. #4
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Its not a symbol , but a static textfield, so you selected the text and put a url in the link field in the property panel.

    That should work unless the textfield is inside a symbol that have other actions to it.

    Normally you would make a button of the textfield so you can have color changes on mouse over and so on.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  5. #5
    Junior Member
    Join Date
    Jul 2003
    Location
    Belgium
    Posts
    19
    hi,

    I clicked the symbol double and I saw it is already a button..the buttons do not have other actions..I really don't understand why this doesn't work decently..very strange it works "half" after trying a few times it opens the page..but visitors wil click one time and say "this doesn't work"!

  6. #6
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    If the textfield is in a button you will get a conflict as the button has built in functions.

    Dont put the link on the textfield but ON the button.

    Select the button. Open the actioscript editor ( F9 ) and paste this...

    on(release){
    getURL("http://www.wettersewezels.be/stadion.php");
    }

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

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