-
Flashlite script 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;
}
-
can you explain more about the problem you are having?
Are you getting an error message with this script?
Is it not displaying information in a way you intend?
You need to provide more information inorder for someone to help you.
-
I'm happy to say I did it...took a little time to work through it but now I get it thank you for your help ...
-
Frack300
I think you are posting in the wrong thread.
I dont understand what you are refering to.
-
hp3,
sorry I did not give the best discription.
I just realized I did not paste all the code for this keyframe issue.
I'm not getting error messages.
I first wanted to load external swf files into the main movie.
But I realized too many files need to be uploaded to the mobile phone.
All the files would make the file size too large.
So I want to just load the text files into this code.
The only problem I could find with having the text embeded into the code I'm having trouble formatting the text. I thought I could put like breaks and change the color, size and boldness of the text, but I dont think it can be done.
I will send the code to you.
I would appreciate the help.
Originally Posted by hp3
can you explain more about the problem you are having?
Are you getting an error message with this script?
Is it not displaying information in a way you intend?
You need to provide more information inorder for someone to help you.
-
hp3, i'm unable to send you a private message.
Can you contact me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|