Re: Extension request: Array with predefined data
Haa! That's very useful to know that one can embed an array to the swf. And funny how almost nobody knew this kind of functionality existed in MMF2.. :)
But before I use this new method to replace loads of list objects, I'd like to understand better if this array embedding method is foolproof or can it fail / cause some problems in some cases (e.g. depending on browsers, operating systems, don't know if that's possible)? In other words, will it always work for all players?
Re: Extension request: Array with predefined data
It's a feature of the MMF runtime, not Flash Player, so yes it should work on all browsers.
Re: Extension request: Array with predefined data
Ok, that's good to know. Thanks.
Re: Extension request: Array with predefined data
Quote:
Originally Posted by Ryan
I agree we need a function in MMF2 to handle this. Flash Exporter is currently crippled because of it's inability to read/write from predefined text-based data. We don't need an interface, we just need something that will autoload a local file into a "string" on compile. After that I'm happy to use string parser to sort through my string array.
My current method is:
Create an editor that saves to the local file data.txt
Manually copy the text in data.txt and paste into an edit box in the .SWF
Have the game read from the edit box.
If anyone can cut out the manual copy and pasting that would be a huge time saver.
So you're saying you want to use the editor, and then have the string the editor would have saved to go straight into the object and stay there upon closing the application?
Re: Extension request: Array with predefined data
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=231250&#Post231 250
I've gotten started, add suggestions etc before I start the Flash version!