No HTML support upgrade
A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 25

Thread: No HTML support upgrade

  1. #1
    Senior Member
    Join Date
    Jan 2002
    Posts
    167
    Why did Macromedia choose not to have Flash MX support any new HTML tags in dynamic text boxes this is something I wa really hoping for.

  2. #2
    Arckid - Curving the Web
    Join Date
    Dec 2000
    Location
    India
    Posts
    1,412
    why not ???

    i heard that ... it now supports <li> tag.

  3. #3
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    i agree. i reeeeeally wanted to at least be able to specify a target within the a tag!!!!!!!

  4. #4
    curmudgeon swampy's Avatar
    Join Date
    Jan 2001
    Location
    [wakey]
    Posts
    2,775
    Originally posted by bhoran
    i agree. i reeeeeally wanted to at least be able to specify a target within the a tag!!!!!!!
    what do you mean ? target an mc from within a dynamic text field?

    you can do this with asfunction

  5. #5
    Information Architect Subway's Avatar
    Join Date
    Feb 2000
    Location
    Switzerland
    Posts
    4,779
    You can do this in Flash 5, but it's a non documented feature.

    Just use this syntax:

    <*a href="asfunction:the FunctionToInvoke,itsParameter">Click to invoke
    function<*/a> (without the "*" of course)

    You can only pass 1 (or 0) parameter tho, so if you need to pass more, put a
    | between them and use a split("|") in your function for instance...

    Fredi

  6. #6
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    i mean targeting like a new window, or a frame as in a href="whatever" target="_blank"

  7. #7
    Senior Member
    Join Date
    Jan 2002
    Posts
    167
    what about the <pre></pre> tag. I love that one.

  8. #8
    Senior Member
    Join Date
    Jan 2002
    Posts
    167
    the pre tag I forgot no HTML in here. I love the pre tag why did they not include this.

  9. #9
    curmudgeon swampy's Avatar
    Join Date
    Jan 2001
    Location
    [wakey]
    Posts
    2,775
    if the flash player were an html parser it would be massive file size. What's the point when you have a browser to do that ?

  10. #10
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    i like to use dynamic text content in my flash movies, so that *dumbass* clients can update the text themselves. but without being able to target a link, whats the point? the link simply loads right on top of my flash movie and theres not a thing i can do about it!!

  11. #11
    curmudgeon swampy's Avatar
    Join Date
    Jan 2001
    Location
    [wakey]
    Posts
    2,775
    use asfunction to call a function that calls the link ?

  12. #12
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    that would still require me to go in and change the flash every time a link is changed, sort of cancelling out the clients ability to update stuff themselves

  13. #13
    curmudgeon swampy's Avatar
    Join Date
    Jan 2001
    Location
    [wakey]
    Posts
    2,775
    not if you passed the url to the function as a parameter from within the dynamic text field it wouldn't.

  14. #14
    Senior Member
    Join Date
    Jan 2002
    Posts
    368
    Originally posted by bhoran
    i mean targeting like a new window, or a frame as in a href="whatever" target="_blank"
    you can already do that with flash 5.

  15. #15
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    so in the .txt file that the dynamic textfield is reading from:
    <*a href="asfunction:getURL ( "http://www.subdose.com", "_blank" );">Click to invoke
    function<*/a>

    is that right?


    Originally posted by Subway
    You can do this in Flash 5, but it's a non documented feature.

    Just use this syntax:

    <*a href="asfunction:the FunctionToInvoke,itsParameter">Click to invoke
    function<*/a> (without the "*" of course)

    You can only pass 1 (or 0) parameter tho, so if you need to pass more, put a
    | between them and use a split("|") in your function for instance...

    Fredi

  16. #16
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    well i'll tell ya right now that didnt work!

  17. #17
    Senior Member
    Join Date
    Jan 2002
    Posts
    368
    you are confusing two things (both are in flash 5 though)

    to load an external html page in a new window, from a html text box in a flash file, use this text in the text box:

    < a href="http://mypage.html" target="_blank" > mypage < /a >

    very simple.

    ASFUNCTION is a way to call an actionscript function from a link in a text box. similar syntax, but completely different action. already well described above.

  18. #18
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    believe me, you can't do that in an html formatted textbox. i will quote a macromedia tech note from a page about html formatted dynamic text:
    "Note: Currently, the TARGET tag is an undocumented and, therefore, unsupported feature. This feature is accessible only through ActionScript and not in the authoring environment."
    thats why i need to somehow define it in actionscript then pass a url parameter to it

  19. #19
    Senior Member
    Join Date
    Jan 2002
    Posts
    368
    Originally posted by bhoran
    believe me, you can't do that in an html formatted textbox.
    ok, i beleive you. i will have to edit my site and remove the 50 or so html links in dynamic text boxes which use the target parameter. they work so well. it's a shame i can't do it.



    "undocumented", "unsupported" and "can't do that" are not the same thing.

  20. #20
    Senior Member
    Join Date
    Oct 2000
    Posts
    124
    so why when i include the target parameter in my .txt files, everything up thill then shows up in flash but nothing after?

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

Poll by Flashkit.com