Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

frequency of corrupted adobe flash files

Posted on 2009-07-13
8
Medium Priority
?
356 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

721 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