Try and catch don't stop the errors from happening - it's just a mechanism to give you some control when these errors happen so you can take appropriate action.

Better to work out why they occur and clear them all out.

Paul
----- Original Message ----- From: "David Rogers" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Friday, July 25, 2008 3:43 PM
Subject: Re: [Flashcoders] Best Practices for Flash Video and FlashSiteDelivery AS3


Thank you,
I have inserted a number of try catch statements to catch other errors on the site. Truthfully though, I don't quite understand this. Does this method actually stop the error from occurring/interfering? Or does it simply hide it? Probably a stupid question but I would love some clarification. Thanks for the nice comments about the site. I really love developing in flash.

On Jul 25, 2008, at 4:42 AM, Paul Andrews wrote:

Da.vid,

First of all congratulations on a VERY impressive design. Your client must be impressed - I certainly am.

Mostly it works well on my XP laptop. If you send out 15,000 email links to subscribers it's certain that with even the most perfect website, there may be complaints. Out of 15,000 users there are bound to be a few users whose browser crashes while your website is playing video, or their PC locks up (even though it's been doing that anyway from time to time), or they pick up some virus from an email just before they look at your site and they blame you. You should explain this to your boss and prepare him for expecting a few emails perhaps.

I run the flash debug player and I am picking up a lot of errors and I think that while most of the target users won't see these errors, it would be a good idea to try and deal with them. Check out your flash log!

For example:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at on_demand_fla::MainTimeline/infoScale()
at on_demand_fla::MainTimeline/frame1()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at on_demand_fla::MainTimeline/onComplete()
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData()
at pixelfumes.reflect::Reflect()
at on_demand_fla::MainTimeline/addReflection()
at VidThumb/onComplete()

etc..

Good luck with the site, I'm sure it's going to be a big success.

Paul

----- Original Message ----- From: "David Rogers" <[EMAIL PROTECTED]>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, July 24, 2008 8:02 PM
Subject: [Flashcoders] Best Practices for Flash Video and Flash SiteDelivery AS3


Hello All,

This is a long one, but PLEASE, PLEASE, read and help.

I've recently built a fairly complex flash website in ActionScript 3.0 that uses a main .swf to load each individual page of the site. Some of those pages have video progressively downloading through them. In the future we plan on having many, many videos available for viewing on our site.

snip

We will be doing a massive email blast for the new site to over 15,000 people in our database. We wish to get business from the site so it is important that my boss doesn't get any phone calls or emails about the site crashing.

He will..


So, all that being said, the following is a list of unwanted behaviors the site displays

I didn't see any of them.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to