Link to home
Start Free TrialLog in
Avatar of cristobal_ny
cristobal_ny

asked on

frequency of corrupted adobe flash files

I often encounter files that behave erraticaly. It might be my lack of experience at trouble shooting or my computer and sofware doing weird things. Is this common? how should I deal with it?
it is driving me crazy, projects take forever to complete.

I use Flash CS4 on an intel imac with 4g of ram
Avatar of bullmonkey
bullmonkey
Flag of Denmark image

I often encounter files that behave erraticaly.

cristobal, this is far too vague to be able to make any kind of dignoses as to your problem

if you can give some furhter details as to the erretic behaviour, i may have a better chance of helping ;-)
Avatar of cristobal_ny
cristobal_ny

ASKER

how frequent do flash cs4 files become corrupted??
and how do I know when a file has become corrupted?
and how do I work arround it?
i cannot remember the last time one of my fla's became corrupted.

yoou say "how ddo i know if it is corrupted" well what makes you think it is?

does it open?
can you call up sybols and istances from the library?
can you import items into the library and drag them to the stage?

is it a cracked version of flash?
i've recently changed to CS4 and I find alot of times the files hang and sometimes starts throwing errors that have absolutely nothing to do with the files I've been working on.
sometimes with TweenMax classes it throws errors when i know those classes are fine. close CS4, reopen, and it's happy again.
I've noticed I'm having more odd issues with CS4 then with CS3.

Also I don't often have corrupted files, I've only ever had those when I'm working on a file and have a power failure with no UPS - when we're backup sometimes the files don't want to open.

how do you work around a corrupted file, i've never met someone who's successfully recovered a file.

if its happening alot you may want to see if there are any patterns to what you're doing. File sizes, are you doing large imports into Flash etc.
let me give you the example that is giving me trouble now

I have a script at the root level (shown in code window)
it works fine
but when I add:

layout.periferia.casa.onPress = function() {
      layout.periferia.gotoAndStop("casa");
      TweenMax.to(_root.layout,.5,{_x:-1589.35, _y:926.9, ease:Quad.easeOut});
};

everything stops working (even scripts in other frames). no matter if I paste it at the beggining the middle or the end.

originally periferia was called grid, then realiizing it might be a banned workd I added an s, grids and finally I used periferia.
casa initially was called home, but I changed it to casa just in case it was banned too.
So my theory is that by using the workd grid it somehow messed up something and now there is a ghost.
I have tried copying all frames and pasting them into a new document but the result is the same.

Needless to say it drives me crazy. I hope you can give me some clues
import gs.TweenMax;
import gs.easing.*;
 
 
layout.periferia.web1.onPress = function() {
	layout.periferia.gotoAndStop("web1");
	TweenMax.to(_root.layout,2,{_x:1.85, _y:1994.2, ease:Quad.easeOut});
	TweenMax.to(_root.layout.web_barras,2,{_xscale:80, _yscale:80, delay:1, overwrite:1});//immediately overwrites the previous tween
	_root.layout.design_section.stroke_web.gotoAndPlay(2);
	getURL("javascript:pageTracker._trackPageview('/DESIGN/websites1');");
};
 
 
 
layout.periferia.print.onPress = function() {
	layout.periferia.gotoAndStop("print");
	TweenMax.to(_root.layout,4,{_x:-2526.5, _y:3035.5, bezierThrough:[{_x:-1952.2, _y:2288.2}], ease:Quad.easeOut});
	TweenMax.to(_root.layout.print_barras,2,{_xscale:200, _yscale:200, delay:1.5, overwrite:1});//immediately overwrites the previous tween
	_root.layout.design_section.stroke_print.gotoAndPlay(2);
	getURL("javascript:pageTracker._trackPageview('/DESIGN/print');");
};
 
layout.periferia.juicywallets.onPress = function() {
	layout.periferia.gotoAndStop("juicy");
	TweenMax.to(_root.layout,2,{_x:-2526.5, _y:3035.5});
	TweenMax.to(_root.layout,1,{_x:-2526.5, _y:3780, delay:2, overwrite:2, ease:Quad.easeInOut});
	TweenMax.to(_root.layout.juicywallets_barras,2,{_xscale:160, _yscale:160, delay:3, overwrite:2});
	_root.layout.design_section.stroke_juicywallets.gotoAndPlay(2);
	getURL("javascript:pageTracker._trackPageview('/DESIGN/wallets');");
};
 
 
layout.periferia.logos.onPress = function() {
	layout.periferia.gotoAndStop("logos");
	TweenMax.to(_root.layout,2,{_x:-2526.5, _y:3035.5});
	TweenMax.to(_root.layout,1,{_x:-3870, _y:3250, delay:2, overwrite:2, ease:Quad.easeInOut});
	TweenMax.to(_root.layout.juicywallets_barras,2,{_xscale:160, _yscale:160, delay:3, overwrite:2});
	_root.layout.design_section.stroke_logos.gotoAndPlay(2);
	getURL("javascript:pageTracker._trackPageview('/DESIGN/logos');");
};

Open in new window

I'm sure in my 10 years I've called stuff grid, and its never been a problem.
I'm sure TweenMax has AS2 and AS3 versions. Are you sure you're using the AS2 version.
ASKER CERTIFIED SOLUTION
Avatar of cristobal_ny
cristobal_ny

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
cool well done. close your question please.