Search tutorials
Be sure to format your print statements so that the separate variables won't get 'smashed' together. Imagine that the results of the script will most likely look like one, continuous line. For example, if your script includes:
Print "dogs=fun"; Print "cats=boring";The resulting data that the flash movie will read will look like:
dogs=funcats=boringBecause the movie won't be able to distinguish where variables start and end, you will end up with undesirable results. To make it work, you must include '&' between statements. For example, you might arrange the above data like this:
Print "&dogs=fun"; Print "&cats=boring"; Print "&fish=food";The resulting data will now look like this:
&dogs=fun&cats=boring&fish=foodThe '&' between the variable statements allows flash to read them each as separate statements.
| » Level Intermediate |
|
Added: 2001-12-20 Rating: 8 Votes: 168 |
| » Author |
| Can be found at www.indivision.net. |
| » Download |
| Download the files used in this tutorial. |
| Download (6 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!