Skip to main content
Participant
April 23, 2007
Question

Dynamically Linked buttons

  • April 23, 2007
  • 1 reply
  • 115 views
Good Afternoon, Im new to actionscript so I need a little help - I figured how to make a dynamic image scroller - I think im using dynamic right. I have a txt file that flash looks to for text content and images, I did this with a loadvariable command. I would like to be able to create buttons that the hyperlink can be updated in the same way - any suggestions, it doesnt work the same as my dynamic text box with a variable name.
This topic has been closed for replies.

1 reply

Participant
April 23, 2007
well i figured out my problem -

var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean) {
if (success) {
trace(this.link2)
_ref=this
_root.image2.onPress = function() {
getURL(_ref.link2, "_blank");
};
}
}
here is where my text file is inserted.