Getting Object Data at Runtime
hello!
i have file declares , sets data bunch of objects. specifically, locations business, phone numbers, addresses, etc, associated each location. ultimately, appear pins on map, , clicking pin reveal information phone number, etc.
i need come way separate swf file draw in data file can implemented on map. trouble file updated, , not contain same number of objects.
so basically, @ runtime, swf needs reference file, , generate pin on map each object within file.
i've set swf "#include" file, , can use data within using dot notation, don't know how set automatically go through file , process each object, since total number of objects subject change!
any ideas woulf appreciated! thanks.
update-
i've created "locationsgroup" class contains array. assigning each object in swf array, sequentially, should able run through array , perform necessary functions, nice elegant "for loop". if guys have better ideas please let me know, shoudl work, hope.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment