Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

web link in flash - problem with caption tag

Options
  • 04-08-2009 8:43pm
    #1
    Registered Users Posts: 156 ✭✭


    I'm experimenting with my new site www.kgpixels.com , and have issue with a caption tag.

    I'm trying to make the myspace link on the 1st image caption clickable, however it’s not working out.

    Here is what I'm trying at the moment:

    <caption>Digital Circus @ Spirit www.myspace.com/thedigitalcircus <a href="http://www.myspace.com/thedigitalcircus" target="_blank">www.myspace.com/thedigitalcircus</a></caption>

    Thanks in advance. . .


Comments

  • Registered Users Posts: 35,523 ✭✭✭✭Gordon


    It's not quite like HTML. Try this.

    When making text a link in Flash make sure to make the hover area an actual rectangle as opposed to the text. If you default the text as being the rollover area then people will have difficulty clicking the url as their mouse may not quite rollover the text, but the background behind it. This probably won't make much sense until you go through that tutorial tbh.


  • Registered Users Posts: 156 ✭✭kgpixels


    Gordon wrote: »
    It's not quite like HTML. Try this.

    When making text a link in Flash make sure to make the hover area an actual rectangle as opposed to the text. If you default the text as being the rollover area then people will have difficulty clicking the url as their mouse may not quite rollover the text, but the background behind it. This probably won't make much sense until you go through that tutorial tbh.

    Cheers for that, it looks like a good tutorial. Unfortunately I didn't do the flash bit myself, I down loaded it from here,
    http://www.simpleviewer.net/simpleviewer/ so don't think I can edit it.

    I copied the caption from the example and managed to get it working though :)

    Maybe its the CDATA & the square brackets??

    <caption><![CDATA[Digital Circus @ Spirit <u><a href="[URL]http://www.myspace.com/thedigitalcircus[/URL]&quot; target="_blank">www.myspace.com/thedigitalcircus</a></u>]]></caption>


  • Registered Users Posts: 35,523 ✭✭✭✭Gordon


    Ah! Yes, I was going to say that you're right, that's how to do it, but you've got it working already I see.

    Yeah, this is a pre-made flash object that sucks data from the xml file which allows you to upload images freely without needing to edit the flash file. From the source xml file:
    Captions can be HTML formatted. Supported tags are <b>bold</b>, <u>underline</u>, <i>italics</i>, <u><a href="http://www.google.com&quot; target="_blank">hyperlinks</a></u>, linebreaks<br> and <font color="#ffff00" size="30">font tags</font>.

    So you have some basic html formatting at your disposal for text content.


Advertisement