Solved

frequency of corrupted adobe flash files

Posted on 2009-07-13
8
340 Views
Last Modified: 2013-11-11
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
0
Comment
Question by:cristobal_ny
  • 3
  • 3
  • 2
8 Comments
 
LVL 4

Expert Comment

by:bullmonkey
ID: 24845250
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 ;-)
0
 

Author Comment

by:cristobal_ny
ID: 24845794
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?
0
 
LVL 4

Expert Comment

by:bullmonkey
ID: 24845872
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?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 39

Expert Comment

by:blue-genie
ID: 24847086
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.
0
 

Author Comment

by:cristobal_ny
ID: 24849887
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

0
 
LVL 39

Expert Comment

by:blue-genie
ID: 24856765
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.
0
 

Accepted Solution

by:
cristobal_ny earned 0 total points
ID: 24859702
I substituted the tweenmax with a new as2 one. But I'm sure the AS version was not the problem, I made a test with the file loading AS3 tweenmax and nothing works at all.


OH!!!!!!!!!!!! I found the solution!!!
I am using a MC on top of other buttons, the MC has a function that made it act as a button. The idea is that when enabled it would override the buttons below. This MC was selectively enabled or disabled with casa.enabled=false;
But I now made a separate test where I saw that this technique does not work since even when disabled it still overrides the buttons below. So I'm now using casa._visible=false (or true) and the buttons bellow work when I need them to

thanks to all for their help, getting input from you guys helped me get out of the hole where I was stuck
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 24866809
cool well done. close your question please.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question