Groups | Blog | Home
all groups > flash actionscript > april 2005 >

flash actionscript : Changing Frame Rate screw up movie?


Fatmat
4/15/2005 6:25:16 PM
Can changing the framerate cause a glich with swfs? I have a master.swf which
contains all the load code for the movies within a website: header, buttons,
about, services etc.. and everything was working great but now my doesn't load
the elements, it's stuck on the 1st frame (2 frames in movie). I've changed
all the movies back to their original 12fps, but still won't work. There are no
actions that call frames or labels so that shouldn't be it. Here's the code:
FRAME 1: stop(); var myMCL:MovieClipLoader = new MovieClipLoader(); var
myListener:Object = new Object(); myMCL.addListener(myListener);
//-------------<LoadVars loadedInfo>-------------------\\ var myLV:LoadVars =
new LoadVars(); myLV.onLoad = function (success) { if (success) {
_level2.loadedInfo.text = myLV.info; } else { level2.loadedInfo.text =
'There has been a problem loading info'; } } //-------------<loadVars
loadedInfo>-------------\\ //-------------<LoadVars
header>-------------------\\ var myEV:LoadVars = new LoadVars(); myEV.onLoad =
function (success) { if (success) { _level2.header.text = myEV.info; } else
{ level2.header.text = 'There has been a problem loading info'; } }
//-------------<loadVars header>-------------\\ //------------Main Movies
Here-----------------------\\ myMCL.loadClip ('trigger.swf',1);
//------------Main Movies Here-----------------------\\ FRAME 2: stop();
myMCL.loadClip ('background.swf', 2); myMCL.loadClip ('heading.swf', 10);
myMCL.loadClip ('mainbuttons.swf', 11); //------<LoadVars>-----------\\ var
myLV:LoadVars = new LoadVars(); myLV.onLoad = function (success) { if
(success) { _level2.loadedInfo.text = myLV.info; } else {
_level2.loadedInfo.text = 'There has been an error loading the requested
information.'; } } //----------------</LoadVars>---------------\\
Fatmat
4/15/2005 7:38:43 PM
AddThis Social Bookmark Button