Home
> FlashEff 2.0
> Topic
swf file loop stops - error #2015 or crash
Posted by user434387
swf file loop stops - error #2015 or crash September 14, 2010 01:24AM | Registered: 13 years ago Posts: 3 |
I love the Flasheff effects! My animations (text and images) are working perfectly in my swf file output. However...
I'm just having a problem. I have a large set of effects (each is in its own nested movie clip, on the same layer) and when I export the swf file, it runs through 3-4 times then stops or crashes. One error I'm getting is:
argumentError #2015 invalid bitmap data (followed by several lines of at.flash.display...etc.)
Sometimes, flash just crashes.
Suggestions? I need to have a swf file that runs a few hours for a conference.
I have my effects starting in keyframe 2.
I also tried adding this actionscript in the first fram (from this link):
[www.flasheff.com]
*********************************************************************************************
function rm(ev:Event):void{
var target=ev.currentTarget.target
ev.currentTarget.removeAll();
this.removeChild(target);
}
function entFrame(ev:Event):void{
for(var i=0;i<this.numChildren;i++){
if(getChildAt(i) is FlashEff2){
getChildAt(i).addEventListener(Event.REMOVED_FROM_STAGE,rm,false,0,true);
}
}
}
addEventListener(Event.ENTER_FRAME,entFrame);
******************************************************************
Thanks!
I'm just having a problem. I have a large set of effects (each is in its own nested movie clip, on the same layer) and when I export the swf file, it runs through 3-4 times then stops or crashes. One error I'm getting is:
argumentError #2015 invalid bitmap data (followed by several lines of at.flash.display...etc.)
Sometimes, flash just crashes.
Suggestions? I need to have a swf file that runs a few hours for a conference.
I have my effects starting in keyframe 2.
I also tried adding this actionscript in the first fram (from this link):
[www.flasheff.com]
*********************************************************************************************
function rm(ev:Event):void{
var target=ev.currentTarget.target
ev.currentTarget.removeAll();
this.removeChild(target);
}
function entFrame(ev:Event):void{
for(var i=0;i<this.numChildren;i++){
if(getChildAt(i) is FlashEff2){
getChildAt(i).addEventListener(Event.REMOVED_FROM_STAGE,rm,false,0,true);
}
}
}
addEventListener(Event.ENTER_FRAME,entFrame);
******************************************************************
Thanks!
Re: swf file loop stops - error #2015 or crash September 14, 2010 06:55AM | Admin Registered: 15 years ago Posts: 547 |
Sorry, you do not have permission to post/reply in this forum.