Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
65 user(s) are online (28 user(s) are browsing Forum)

Members: 0
Guests: 65

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +10€

Current balance: -300€
(last updated 11/2017)

Please make a donation if you want to help keeping The-Starport online:

Bitcoin address:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 98 users playing Freelancer on 34 servers.
November. 22, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Parsing text from .html into swf/html
Just can't stay away
Joined:
2010/8/2 0:04
Group:
Registered Users
FLServer Admins
Posts: 464
Offline
Here is direct approach of one way:
This Flash has to load text content from this webpage!
Currently it only reads/loads myText1.txt file.

AS2 used in swf:
Code:
myData = new LoadVars();
myData.onLoad = function() {
myText_txt.html=true;
myText_txt.htmlText = this.myVariable;
};
myData.load("myText1.txt");


I am trying the AS3 way of .html read! No luck so far -.-

I know is somehow possible PHP, Ajax, JS, etc way, but I dont want to learn build the car so I can have one.

Any suggestion how to solve this without the DSAM forcing spit the .txt file too.

Posted on: 2014/8/2 0:00
Of all things that are lost - brain I miss most
Top
Re: Parsing text from .html into swf/html
Just can't stay away
Joined:
2010/8/2 0:04
Group:
Registered Users
FLServer Admins
Posts: 464
Offline
Finally I did it!
It also auto-refresh every 2 mins while being embedded to forum.

Posted on: 2014/8/2 21:57
Of all things that are lost - brain I miss most
Top