
Welcome Guest
|
#1
|
|||
|
|||
|
I am using a external text file to lead in a link into a flash file. I understand I could have the a text area to render the "<a ref..." code to HTML but I'm using a button to crate a nice roll over so I would ideally like to have it go off of the button.
What I'm using to bring up a link location is like this. Code:
//create new instance of LoadVars object
myData = new LoadVars();
//define what to do with content once it has loaded
myData.onLoad = function()
{
//the value of the "content" property is assigned to the text field
link1.text = this.link1;
};
//now load the external file into the myData object
myData.load("filename.txt");
stop(); Code:
on (release) {
getURL("link1.text", "_self");
} |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loading More Buttons on clicking a button. Please Help!! | misterinley | Flash 8 |
0 | 01-16-2009 06:57 PM |
| loading xml data with previous/next buttons | iwinqiuit | XML & Sockets | 1 | 02-08-2007 06:16 PM |
| Loading external .txt files using links in external .txt files | JeremyToaster | General Flash | 2 | 03-01-2005 01:48 AM |
| Loading buttons into movie clips in ordered sequence? | datter | Flash MX ActionScript |
2 | 12-08-2004 03:24 PM |
| problems loading several dinamic txt's from different buttons | jaibu75 | Flash MX |
0 | 10-08-2002 10:46 PM |





