ActionScript 2.0 :: Can XML Hyperlink Work In Flash
Mar 5, 2008
I have a photo gallery that uses a XML file to hold captions for each photo.The captions are displayed in the slide show under each photo.I want to go into the XML file and edit the tag that holds the captions and put a Hyperlink or a <a href> tag in there.I dont know if the caption output area in the SWF file has HTML enabled, does any one know of different ways around this.
When I test the movie my hyperlink works fine, but when I publish it, doesn't work. I'm not experienced with ActionScript. Here are some screen shots of what I got...
I understand that the code below should work but it doesn't, I have to take the underline before self out, for the hyperlink to work at all, and then it creates another window for the file. There may some sort of glitch that I am not aware of. But the code below does not work as is in my app.
var t:TextField = new TextField(); t.htmlText = "hello world"+ "<a href='weeTestPage.html' target='_self'><u>click here</u></a>"; t.autoSize=TextFieldAutoSize.LEFT; addChild(t);
I want to do is add a simple hyperlink in my xmlhtml hyperlink in my xml.how to do a hyperlink in xml.This is what I do know,you can add the <a href="http:[url]...but that does not work for me,when i save and preview my fla, it takes away my scroll bar that i have.I have also seen somwhere you can use the <?[[DATA tag, but this aswell doesnt work for me in my FLA, is there somewhere i need to reference hyperlinks before I can modify my xml?
I have created a simple Flash ad that will appear on an external website. How do I make the whole ad a hotspot or hyperlink? I simply need it to become a hyperlink to a website when clicked on.
I am currently using CS4 flash and have designed a banner. I cannot get a hyperlink to work when you click on the banner. I have tried multiple action scripts and have no idea.
I am currently doing an animation in Flash CS4, at the end of the animation I would like to create a button. From this button I would like the player of the game to click on it and it will open a powerpoint presentation.
I have looked on numerous forums as well as books and the only one I can find it getURL.
Currently i'm working on web site.Actually,i need to make a clicking flash banneri found this codes on internet,but can't make this to be working.
now you can put this code on the movie clip:on (release) {getURL("http://www.actionscript.org", _blank);} or in the timeline this:my_mc.onRelease = function()
I would like to be able to put a hyperlink with anchor tags in an XML node so all the characters in the node are passed to a dynamic text box in Flash where HTML formatting is preserved.
I have designed a image slide show with dissolving effect and all images comes externally through xml file.go through my codes. every thing is going aright. Now I need to hyper link individual image with individual links.here is my xml file details...
I have made a Flash banner for my website using CS3 but I wanted to add a hyperlink to it so that when someone clicks on my banner it will bring them to a different page on my site, kinda like the way ad banners work on most websites on the net. I have the official Adobe CS3 Flash manual as well as another one on Flash CS3 just as thick but I can't seem to find anything in either that explains how I can do this.
I am using a TextArea in flash and setting its htmlText property to contain the following link:txtMyTextArea.htmlText = "some dynamic text here that ends in you can check this out <a hrefIt works fine when I test it in flash (CTRL + Enter), although when I open the generated HTML I get the following error dialog:How can I make the link work without receiving the security dialog?
I have a dynamically loaded text file. In this file I want to make a hyperlink, by adding the HTML code to the file. I wonder if it is possible to make that hyperlink do something in a Flash Movie (like got to a certain frame making certain levels visible or invisible).
I can't make a button in Flash, because the textfield is scrollable, and the button won't move with the loaded text (although, writing this it occurs to me , that it maybe possible; make the position of the button respond to the position of the scrollbar, mmm)
I would have thrown both my computer and probably my family out the window by now out of pure frustration. I used the tutorial to learn how to use flash mx to make button hyperlinks by using the actions/browser/geturl thingWhat I am struggling with is finding a way to outline or select each individual state so that the user can click anywhere in the state and have it link to another page rather then have to make a dot on the state
the last step was to add hyperlinks. As soon as I add a single link, size jumps to 26K ! Even after removing the link, size stays at 26K. Only way to go back to 8k is to close the file, and reopen the previous copy. I did a bunch of googling but couldn't find anything.
I add a hyperlink by just entering text in the "link" section of the property panel when u select a text.
I would do it in AS, however I am trying to make the flash file SEO friendly and thought maybe the AS approach will make it difficult for search bots to index.
I want to hyperlink to a zip file using a button in flash. Is there anyway i can do this? the GetURL bit doesnt work. (at least not in mozilla). The final file will be a projector so it has to work from there. When a person clicks on a image, it links to a high-rez tiff in a zip file.
I was wondering if it�s possible to have to full screen or kiosk mode in the link browser page? What I mean is to make the targeted page to become full screen or kiosk mode when user click on the link in flash file. FYI, I refered AS3 code from website below.Hope can get the solutions asap as its urgent. [URL]
I have created a button, and once you hit the button (within the HTML page), I want it to open another HTML page in the same frame, both HTML pages are stored in my hard drive offline. It required coding in the code snippet panel which I do not know.
I want to be able to link an Action Script event to clicking text within a text box.The only thing I can see is to just create a basic Hyper Link, but not apply any action:I have been messing around for over an hour but just can't see a way to apply actionscript and all the tutorials on the internet seem to target ActionScript 3 or not do exactly what I want.The reason for this is that there is background music to the site and when YouTube is launched, it needs to be muted. I know the code to mute and have done this on custom objects before, but I can't see any way to apply script to a textbox hyperlink.Whilst I would ideally like to do it this way, I am happy to consider any solution resulting in opening a page and muting the site.To be honest, I tried doing a quick switch to AS3, but as there are so many problems that would need addressing, I would rather spend the time converting the site to HTML/Jquery or even Silverlight.
I am using a simple: on (release) { getURL("mailto:mymail@mysite.com"); } On a button in a digital business card (and publishing as a flash.exe file). While I can get a button to link to the internet it does not seem inclined to bring up email.
Am working on a website and just doing the final tests and evrything works apart from in internet explorer 7 when i click on the hyperlink( flash button) it says it can't find the url, which doen't make any sense as it works fine using mozilla.
on (release) { getURL("mailto:mymail@mysite.com"); }
on a button in a digital business card (and publishing as a flash.exe file). While I can get a button to link to the internet it does not seem inclined to bring up email.
The basic idea is that I have a string that contains a user's comment, which could potentially contain URLs, so I wanted to take a string like:"Gee, the folks in the Url...And using pattern replace, replace the URL with an HTML hyperlink, so the string would end up being:[code]So my question is how can I alter the pattern replace code so that it accommodates a string containing random text, as well as a URL.