ActionScript 2.0 :: HTML TextField Link?
Aug 17, 2005
I haven't worked with HTML TextFields much, and was wondering if this is even possible. I am working on an events calendar, which when loaded displays a list of the current month's event titles in an HTML TextField. I would like to have these titles be links that when clicked on would call an ActionScript line that would setFocus on the associated date TextField.
View 3 Replies
Similar Posts:
Aug 20, 2009
We have a little app in use with a customer where html links are generated dynamically at run time. The link text and url are put together from a couple of txt files that the customer regularly goes in and edits. These links have recently stopped working.
Of course, you would think the immediate culprit is the customer who has made a mistake in the txt files. But the the same vars from the same files are used to generate a couple of buttons on the page that DO work. And everything works when I export it from flash. It stops working as soon as it gets to a web server.
Here is the output from the functions that piece together the input data:
[Code]....
And here is the link to the app: [URL]
Choose a category in any of the lists and then any of the subheaders that appear. Most have a link in them. It's in Swedish but I know you lot are smart enough to navigate a flash app without understanding what you're clicking on
View 8 Replies
Jul 13, 2009
i made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?
View 1 Replies
Feb 27, 2009
I have a 90% all flash-site and when u click news webpage splits up in HTML blended with flash in a page called news.asp
(buttons are in flash and content in asp bellow)When loceted on news.asp and you click... let's say service you go back to index.html with the flash main.swf, but the link has ALSO have to go to label (service) or frame 30 lets say...
View 1 Replies
Jul 1, 2011
I have a scenario that I get an string with html data, this is not just html data it's an email (outlook) saved as an html file and dropped in the string.Now this string needs to be formatted to an html document and should be a clickable link in a datagrid. So when I click on the link, the HTML document should pop-up and should gave me a nice HTML page that is readable for the normal users. I hope it's a bit clear what I want o_0. don't know where to start.
View 3 Replies
Mar 11, 2011
I want to set link of another html page on flash file.
View 1 Replies
Feb 4, 2009
I am looking for a very basic html editor (similar to the one being used in this forum to make entries - only more basic)...which ONLY uses html tags supported by the AS2 textfield....
View 1 Replies
Feb 14, 2005
I'm trying to get a variable that I get from a PHP-script to be a link in a textfield.
Right now I'm using an html tag to make a link to the information I want to display...
This works but I think its not good enough... I want to get a "rollOver" function on the Headline instead of a new line that says click me.
The following code displays in the textfield "content":
News
Headline <--Headline from the database
Teaser <-- Text from the database
Click me <-- Html link that displays the full text in a textfeild called "info"
[Code]....
View 4 Replies
Dec 20, 2011
I have this command but hate the font. Is there a way to create a textbox on screen, change it's attributes like font, and have it's data come from what the code below does?
var handTotalTxt:TextField = new TextField();
addChild(handTotalTxt);
View 3 Replies
Sep 29, 2011
I wrote a flash (ActionScript3) based radio streaming player, there is a link in the player for users to click. It's is a "a" tag in TextField. The code looks like this
textField.htmlText = '<u><a href="' + url +'">' + htmlEscape(text) + '</a></u>';
It works fine if I put my flash player in same domain of web-page, however, if the domain of web-page is different from the location of flash player, then the link is not clickable.
For example:
A radio example page
You can see there is a link in the title bar of radio player, I hosted the flash player on CDN, its domain is different from the web-page, therefore, the link is not clickable.
Why the link cannot be clicked if it is embedded in a cross-domain page? It doesn't make any sense. I did set the crossdomain.xml file properly, but it appears that it doesn't work. I want to make the link clickable everywhere, no matter what domain the web-page is located.
View 1 Replies
Feb 25, 2010
I've been searching around the web for a very long time but I can't seem to find a good solution for this pickle:I have a dynamic textfield on AS3 and would like to add a tooltip to some words within the text. I already got the tooltip class, so the problem lies in fact on 'how to listen to mouse over events on specific texts inside a textfield'I've been trying to follow some methods from the livedocs but all I can get so far is a rectangle object of a single character using getCharIndexAtPoint and getCharBoundaries. It works if I just needed to add a tooltip to a single character (since it can detect which character I'm currently pointing at), but I need to search for actual words. It would be nice to have some sort of getMouseAt(text:String) but that doesn't seem to exist.
View 2 Replies
Jan 12, 2009
I've got a few areas where I'm displaying XML driven content in Flash. I'd like then to be able to have links shown as well so the user can continue to navigate the page. How do I add an HTML link in the XML so that it displays properly in Flash? Does something need to be added to the ActionScript or is it all done in the XML?
HTML Code:
function loadXML(loaded) {
if (loaded) {
[code]....
View 7 Replies
Jun 22, 2009
as we are using in html<a href="#one> abc </a>ref. to<a name=one></a>xyzso that when click on abc, goes to text - xyz.in flash (as2)if we have a button (linked with a html file)and on click - we want to open html and go to directly on text - xyzin which way we have to give link on that button.(whats the idea for this)
View 3 Replies
Apr 14, 2010
i made this cool nav bar in flash and i would like to put it into my dremweaver html file,
however that file is not uploaded to the web
View 2 Replies
May 21, 2010
I have a box and is assigned as a button. In AS2 would be something like this: getURL("urltoload", "target"); But I am doing it in AS3, so I can learn more. I just want to add a HTML link, so when someone clicks on the box, a different page will load in the same browser, no pop-ups.
View 9 Replies
Sep 20, 2006
I'm working on the drop down menu with xml (from this site - [URL]), and I need to link to specific frames in my flash file, but it seems to be in html, is this possible to do?Or if not, I am building this drop down menu by hand and my actionscript looks like this:
//when you initialize your buttons set them to invisible like this
stars._visible = false;
starsa._visible = false;
stars1._visible = false;
[code]....
and this is only from 3 buttons,I have 2 choices but I would like to know the better, more easier route.
View 2 Replies
Mar 10, 2007
what do I need to do if I'm using web_txt.text to load in xml.
but I want to have that be a link from the xml...?
I've been told: web_txt.text.htmlText but that seems like it messing things up and when I put the html tag into the xml file it wont load any of the code under it.
View 10 Replies
Aug 26, 2009
I'll have an swf that I'd like to open up as a popup from an html link. I've been searching the forum, but most similar questions are to go from flash to html.
get a flash popup from an html link?
View 3 Replies
May 28, 2009
Is it it possible to receive FlashVars from an html link? How would that be done?
View 14 Replies
Feb 28, 2010
I have a swf file but I dont have the source. I need to add a link to the object swf but I dont know how. I need to do something like this:url...
View 1 Replies
Jun 9, 2011
I have swf file, im using code below to display it on my website:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="160" height="264">code]......
How can I convert this swf file into link? Im trying to achieve it with flashVars so I've added something like that:
<param name=FlashVars value="targetURL="http://example.com/">
But what's next? Can I make a link from this .swf file without having .fla?
View 3 Replies
Jul 31, 2011
Is it possible to make a link with a .swf flash file, using swfObject? I would like the entire video to be a clickable link... I'm out of ideas on how to make it happen., on the left thumbnails, do you see how they got a swf object to be a link?Anyone know the principle behind this? How would I do it? It seems like however I lay a div over the flash, my browser will not respond to the click.dit: I cannot make a link directly in the flash file, because 1. I dont have the project file 2. I need to echo PHP code in the link
View 3 Replies
Jan 29, 2009
I have my files organized in various directories on the server. If I'm in Directory A, how do I link to a file in Directory B? I know how to drill down into a directory using forward slashes, but I can't recall how to drill back up (or however you say it).
How do I rewrite this so that my button links to the PDF in a separate directory?
on (release) {
getURL("DirectoryA/bio.pdf","blank");
}
View 2 Replies
Feb 4, 2009
How can I make a normal html link when click to tell a swf to go to say frame 4?
View 1 Replies
Jan 18, 2012
I am using Flex SDK4.1. I would like to add couple of links on a form as follows:
var descriptionText:Text = new Text();
descriptionText.htmlText = "<a href='linkxyz'>TestLink1'</a><br >";
descriptionText.selectable = true;
[code].....
View 1 Replies
Jul 4, 2005
I have a whole site made with flash, but I don't know how to link the buttons to other htmls. the actionscript is way too confusing. Is there a copy and paste I can use?
View 4 Replies
May 22, 2003
say i have a flash file.. which checks the value of a variable... if the value is true then it does something and if the value is false it does something else.... my question is ,,... can i set that variable value... from a link to the html page which has that flashfile embedded in it
View 4 Replies
Nov 16, 2009
i have 5 menu in my website (home, news, about,..) and the news page is built in wordpress. The others is in one flash file (1 swf)..how do i make a link from my wordpress page to my swf (to specific frames in swf, and it's that frames is in a movieclip)
View 2 Replies
Oct 18, 2010
I was wondering if it was possible to swap a .swf with another one on a html page with maybe like an onclick with javascript (just guessing)?
View 2 Replies
Oct 28, 2010
TextFiled is not receiving mouseEvents, coz of the sprite on top:
[Code]...
View 3 Replies