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.