[Flashcoders] AS2.0 Class Question

2007-06-19 Thread azsl1326-email
Hello All ---



I have what is probably a simple question, but possibly difficult to spell out 
in email. 



I have a SFW(A) which is loading Class A I have another SWF(B) which is
loading Class B. Both FLAs exist in seperate directories and utilize
their own classes. At some point SWF(A) gets loaded into SWF(B) and
Class A makes a call to Class B. Everything runs according to plan. 



However the problem I run into is that when I publish SWF(A) with Class
A attempting to call Class B, I get an error in the output panel that
states more or less that Class B doesn't exist. Again, if I just ignore
the error, everything runs fine. I don't really want to drop Class A
into the folder where Class B is as there are about 15 other class
files and SWF(A)/Class A doesn't really need them to run. Is there a
way to avoid this issue?



Hope that somewhat makes sense. Thanks for any and all replies.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2.0 Class Question

2007-06-19 Thread Alexander Farber

Maybe by setting classpath in Publish settings-Flash ?

On 6/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I don't really want to drop Class A
into the folder where Class B is as there are about 15 other class
files and SWF(A)/Class A doesn't really need them to run. Is there a
way to avoid this issue?



Regards
Alex

--
http://preferans.de
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2.0 Class Question

2007-06-19 Thread sean
import Class A and Class B using their full class paths

Sean

 Maybe by setting classpath in Publish settings-Flash ?

 On 6/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I don't really want to drop Class A
 into the folder where Class B is as there are about 15 other class
 files and SWF(A)/Class A doesn't really need them to run. Is there a
 way to avoid this issue?


 Regards
 Alex

 --
 http://preferans.de
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS2.0 Class Question

2007-06-19 Thread Nick Johnston
Try importing Class B into Class A. If you have already done so, check 
the package name of ClassB.


- Nick

[EMAIL PROTECTED] wrote:

Hello All ---



I have what is probably a simple question, but possibly difficult to spell out in email. 




I have a SFW(A) which is loading Class A I have another SWF(B) which is
loading Class B. Both FLAs exist in seperate directories and utilize
their own classes. At some point SWF(A) gets loaded into SWF(B) and
Class A makes a call to Class B. Everything runs according to plan. 




However the problem I run into is that when I publish SWF(A) with Class
A attempting to call Class B, I get an error in the output panel that
states more or less that Class B doesn't exist. Again, if I just ignore
the error, everything runs fine. I don't really want to drop Class A
into the folder where Class B is as there are about 15 other class
files and SWF(A)/Class A doesn't really need them to run. Is there a
way to avoid this issue?



Hope that somewhat makes sense. Thanks for any and all replies.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com