Solved

frequency of corrupted adobe flash files

Posted on 2009-07-13
8
349 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

634 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