Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Gary #1
Change cast members at runtime
Is it possible to permanently change the contents of castlibs or
castmembers at runtime? Or are all changes only in memory?
For example, what if I want to import new bitmaps into the cast?
Gary Guest
-
cast members moved in cast - neet to get htem back!!!
Hello I inadvertedly pasted a cast member into my cast and it bumped the rest of the members one number forward, screwing up my lingo all over the... -
missing cast members
For some reason i am intermittantly losing all my cast members. When i open a .dir all the cast members are there, but they have somehow lost... -
lost cast members
A whole set of internal cast members created in the paint window have disappeared. The names are still in the cast locations and the property... -
run one of cast members ?!!
hi all, I want to run an *.exe file that has been placed in my cast member. for example I added "mario.exe" in my cast member, now I want to... -
Too many cast members
what exactly is "too many"? as far as I know cast-size is unlimited and only constraint to memory and/or disk size. I remember having used... -
Ned #2
Re: Change cast members at runtime
dont protect the cast, and use lingo "saveCastLib" keyword (never tried with
bitmaps, thought, only to keep user-typed texts and it worked good)
--
----------------
-- Ned
----------------------------------------
Bien faire et laisser braire
----------------------------------------
"Gary" <nospam@nojunk.com> a écrit dans le message de
news:bmh46s$88s$1@forums.macromedia.com...
| Is it possible to permanently change the contents of castlibs or
| castmembers at runtime? Or are all changes only in memory?
|
| For example, what if I want to import new bitmaps into the cast?
|
Ned Guest
-
Rob Dillon #3
Re: Change cast members at runtime
If this is a projector and not SW then yes, you can change members in a
cast. To do this the cast must be external and exist on some writable
media. In other words, you can't make changes to a cast on a CD because
you can't write to the CD.
One common method of doing this is to write the external cast to the
user's hard drive. On every play of the projector, test to see if this
new external cast exists on the user's drive, if it does then use it's
members instead of the original on the CD.
Use the save castLib() function to accomplish this.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest



Reply With Quote

