| Author |
working with large amount of text
|
|
| Zeus : Master of PC ! 2004-04-12, 4:42 am |
| I am working with a large amount of text ( abound 9 pages word ), and flash
became really slow . Is that anyway that I can compress text or made it faster?
I used scroll box component and some text is missing ??
Please help me, please !!!! hu hu hu
| |
| fasterthanlight 2004-04-12, 4:42 am |
| Flash does not handle text very well. my advice is to throw the text into a popup or a frame or something outside of flash
| |
| anishu 2004-04-12, 4:42 am |
| i think u can go for load variable option.
just save ur texts in notepad file, individual file for each category
then call those text to dynamic text box using loadvariable script
find these tutorials
[L=Two]http://comscience.gq.nu/flashTutor/FlashTutorial6.htm[/L][L=One]http://fl
ash-db.com/Tutorials/loading/loadingData.php?page=1[/L]
| |
| Peter Blumenthal 2004-04-21, 3:14 pm |
| > i think u can go for load variable option.
You can, but it won't make the text handling any faster.
--
---------------------------------------
http://www.phageinteractive.com
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'If I come across as a grumpy and twisted old man, it's just because I'm a
grumpy, twisted, old man." - me
---------------------------------------
| |
|
| You can creat a text area in flash, link it to an XML or HTML document, then
format the XML document with a CSS.
In the Flash file you will need to call for the CSS and HTML / XML with action
script. I can show you an example but you will need to format it yourself.
Example:::
this.myText.label.selectable = false;
this.myText.depthChild0._alpha=0; (set to one to enable the green glow)
//stylesheet
var ss = new TextField.StyleSheet();
ss.load("news.css");
myText.styleSheet = ss;
//xml
about = new XML();
about.load("news.html");
about.onLoad = function () {
myText.text = about;
}
stop();
I got that script from a site a while ago, I am not sure of the author but, it
was posted publicly. (not taking credit for it)
Anyway, I have used it over a hundred times and it works flawlessly.
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |