-
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.
-
why not ???
i heard that ... it now supports <li> tag.
-
i agree. i reeeeeally wanted to at least be able to specify a target within the a tag!!!!!!!
-
curmudgeon
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
-
Information Architect
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
-
i mean targeting like a new window, or a frame as in a href="whatever" target="_blank"
-
what about the <pre></pre> tag. I love that one.
-
the pre tag I forgot no HTML in here. I love the pre tag why did they not include this.
-
curmudgeon
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 ?
-
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!!
-
curmudgeon
use asfunction to call a function that calls the link ?
-
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
-
curmudgeon
not if you passed the url to the function as a parameter from within the dynamic text field it wouldn't.
-
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.
-
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
-
well i'll tell ya right now that didnt work!
-
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.
-
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
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|