sAjber
September 20th, 2001, 10:35 AM
ok !
i got an animation of a door closing, when the door is closed
a script on "frame 10" says:
-----------------------------------------------------------
ClipCache.loadMovie("history.swf");
-----------------------------------------------------------
and then on "frame 11" i got a script saying:
-----------------------------------------------------------
function preload (MyCache) {
if (!MyCache.doneLoading) {
if (MyCache._framesloaded>0 && MyCache._framesloaded == MyCache._totalframes) {
MyCache.doneLoading = true;
}
}
}
stop ();
-----------------------------------------------------------
i also have a cache with the following script:
-----------------------------------------------------------
onClipEvent (enterFrame) {
if (this._url != _root._url) {
_root.preload(this);
}
}
-----------------------------------------------------------
now the thing i wanna know is : what and were do you type in
a script that says: when .swf is loaded go "to frame 30" (that is "frame 30" in the door animation timeline, not the preloaded .swf)??
i also would like to know how you unload the .swf that are in the cache ? what is the script for unloading it (like when i press a button the :swf in the cache should be unloaded)?
hope u guys know this cos i need to know it bad
i got an animation of a door closing, when the door is closed
a script on "frame 10" says:
-----------------------------------------------------------
ClipCache.loadMovie("history.swf");
-----------------------------------------------------------
and then on "frame 11" i got a script saying:
-----------------------------------------------------------
function preload (MyCache) {
if (!MyCache.doneLoading) {
if (MyCache._framesloaded>0 && MyCache._framesloaded == MyCache._totalframes) {
MyCache.doneLoading = true;
}
}
}
stop ();
-----------------------------------------------------------
i also have a cache with the following script:
-----------------------------------------------------------
onClipEvent (enterFrame) {
if (this._url != _root._url) {
_root.preload(this);
}
}
-----------------------------------------------------------
now the thing i wanna know is : what and were do you type in
a script that says: when .swf is loaded go "to frame 30" (that is "frame 30" in the door animation timeline, not the preloaded .swf)??
i also would like to know how you unload the .swf that are in the cache ? what is the script for unloading it (like when i press a button the :swf in the cache should be unloaded)?
hope u guys know this cos i need to know it bad