Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » on(release) dilemma.....Please Help


on(release) dilemma.....Please Help

Reply
  #1 (permalink)  
Old 03-31-06, 05:01 PM
Flash_Boi Flash_Boi is offline
Newbie Coder
 
Join Date: Mar 2006
Location: WA state
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
on(release) dilemma.....Please Help

Hi there everyone!

My dilemma is this, upon on(release) of the dpmoreinfonext_btn it displays my external text file dpmoreinfo.txt in the dynamic text field dpmoreinfo_txt. Now I would like to be able to apply a style sheet so that I can control the look of my text in file dpmoreinfo.txt.

My ActionScript is on the actual button dpmoreinfonext_btn:

on(release) {
loadText = new LoadVars();
loadText.load("dpmoreinfo.txt");
loadText.onLoad = function(success) {
if (success) {
//trace (success)
dpmoreinfo_txt.html = true;
dpmoreinfo_txt.htmlText = this.dpmoreinfopage;
}
};
}

How would I incorporate the actionscript to load my courses.css file into my current code ?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
refresh dilemma thefuzmixman PHP 3 04-15-04 09:59 AM


All times are GMT -5. The time now is 06:10 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.