Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads | All Downloads

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Swish Templates
   SWiSH Climax
   GimpTalk
   Idea Designs
   Sposatoettore
   Try Acai Berry Diet
   Download Free Ringtones
   Swishzone

Manage your site with Flax Article Content Management System
Load different external txt from 1 file
Category : SWiSHMax | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

actually this is not new, i think, but just a logic follow up on loading external text.
instead of reffering every dynamic textbox to a seperate txtfile, it's easy to do al this with one textfile.
if u want to load for example the next lines in 5 different dynamic textboxes:

1.this is line 1
2.this is line 2.......and so one, just give your dynamic tekstboxes the variable:

dynamic textbox 1: externvar1

dynamic textbox 2: externvar2

dynamic textbox 3: externvar3

and so on.

now make a textfile, cal it "dynamic.txt" and put this inside:

&externvar1=this is line 1&
&externvar2=this is line 2&
&externvar3=this is line 3&
and so on...
finnaly, put in the root of youre movie the following script:

onFrame (1) {
loadVariablesNum("dynamic.txt",0);
}


and you will see the five differnet lines in 5 different textboxes. that's all!!

look at the example here
here, and download the zipfile here

good luck with it!!


All rights reserved - swish-db.com