Do not use on any
shared computer
August 29, 2008 11:00pm pdt
 
[x]
Attachment Details

AS 2 to AS 3 BRIDGE CONNECTION BREAKS WHILE LOADING / UNLOADING MULTIPLE AS 2 SWFS IN AS3 Using the AS2toAS3 Bridge Component

Tags: Adobe, Adobe Flash CS 3, Flash CS 3 Professional
AS 2  AS 3 BRIDGE CONNECTION BREAKS WHILE LOADING / UNLOADING MULTIPLE AS 2 SWFS IN AS3 (Using the AS2 to AS 3 Bridge Component)

I have a Main AS 3 Swf file , into which I am loading an AS 2 Swf. This AS 2 swf in turn loads multiple AS 2 Swfs. The problem happens when  I am trying to load an  AS 2 Swf which does not exist in that location / i.e. if the swf is not found . I can catch this load error in AS2 or in AS 3 as well. But after this happens the Bridge breaks. i.e. the connection breaks and I am unable to load any more as 2 swfs after this.I am trying to  load the swf directly in AS 3 first and check OnLoadComplete  if it was found or not. Then I go ahead and establish the connection using the AS2 to AS3 bridge.  Also  try , catch  doesnt work at all with the  Bridge.
Is there any other way I can check if the AS 2 Swf was found or doest it exist , instead of  loading  it first ??
And how do I fix this problem of the connection breaking after this error occurs ??
And at times I also encountered the following errors while Loading / Unloading multiple AS2 swfs in AS 3 using the AS2-AS3 Bridge Component :-

ArgumentError: Error #2082: Connect failed because the object is already connected. 

Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: ashugarg00
Question Asked On: 07.14.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by aneeshchopra

Rank: Genius

Expert Comment by aneeshchopra:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by ashugarg00
Author Comment by ashugarg00:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by aneeshchopra

Rank: Genius

Expert Comment by aneeshchopra:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628