Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > FlashLite / Portable Devices Development

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-09-2007, 07:18 PM   #1
keith30
Registered User
 
Join Date: Nov 2005
Posts: 51
Default FlashLite loading text issues

I'm having a hard time with loading my text from subzone.

Code:
//Script To Generate Default Information and names about each subzone
//When you want to put information in get rid of code after this and use:
//Where it is zone 1, subzone 2.
//		/:name1-2 = "Snack Bar" 				- To Define The Name Of Each Subzome
//		/:info1-2 = "Dance Hall" 	- To Define The Information In Each Subzone
//		/:type1-2 = 1							- To Define The Type Of Structure It Is, Should be a Number realting to the types defined above.
for (i=1; i<=/:zones; i++) {
	for (k=1; k<=eval("/:zone" add i add "sub"); k++) {
		set("/:name" add i add "o" add k, "Zone " add i add "-" add k);
		set("/:info" add i add "o" add k, "Here will be information about zone " add i add "-" add k add ". This subzone is a very nice place to visit both during the day and the night. It has a large number of interesting activitys for all the family.");
		//Random Type Of Property Each Place Is
		type = random(3)+1;
		set("/:type" add i add "o" add k, type);
	}
}
/:name1o2 = "Snack Bar 1";
/:info1o2 = "Light meals are served.<br>Price Range: $2 thru $3<br>Cuisine: American<br>Meals: Snack<br>Service Type:*Fast Food Counter / Snack<br><br>Menu<br>-----------------<br> Coke or Root Beet Float - $2.99<br> Apple Slices - $1.49<br><br>Beverages<br>-----------------<br> Apple Juice - $1.49<br> Hot Cocoa - $1.59<br> Coffee - $1.59<br> Bottled Water - $2.50<br> Coke, Diet Coke, Sprite, Root Beer, or Minute Maid<br>Lemonade - $1.99, $2.29";
/:type1o2 = 1;

// Where it is zone 2, subzone 2.
/:name2o2 = "Dance Hall";
/:info1o2 = "Dance to the tunes of pop, rock and blues";
/:type2o2 = 2;
}
keith30 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calling a PDF file in Flash AudryLucy Projectors and CDs 20 12-30-2006 02:43 PM
loading dynamic text into a movie buddy_supreme ActionScript 1.0 (and below) 10 10-10-2005 04:14 PM
Loading Text Files and scrolling them... nightkev Components 7 09-24-2004 05:08 PM
If anyone's bored, a custom class . . . retrotron ActionScript 1.0 (and below) 22 05-24-2003 11:01 PM
loading external text into different variables... rbb ActionScript 1.0 (and below) 3 05-28-2002 04:32 PM


All times are GMT. The time now is 06:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.