I've ran into 2 roadblocks, 1 confirmed, 1 unconfirmed and extremely hard to 
re-produce.

1. Symbol names can be a maximum of 64 characters.

Flex utilizes a custom numbering scheme upon compile, so your physical 
views, say:

com.company.yourapp.view.controls.YourControl;

Would become:

__Packages.342809923.com.company.yourapp.view.controls.YourControl;

So, watch for that.  I can't remember how long the numbers are, but if you 
add that to the word "__Packages", then subtract that number from your 
classpath, and that'll tell you if you are ok or not.  Code to check:

var s = 
"__Packages.342809923.com.company.yourapp.view.controls.YourControl";
trace(s.length);

2. Some package depths are too long.

Reproducing this was impossible, because it was dependent on how many 
pakcages (folders) you had.  I was finding that a class wasn't working if it 
was longer than 72 characters... but if I moved it up one package; from 
controls to view lets say, I could get away with 84.


So, if I were you, I'd only care about #1, and forget about #2 unless you're 
seeing crazy stuff.

----- Original Message ----- 
From: "Greg Johnson" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, October 03, 2005 2:56 PM
Subject: [flexcoders] Nesting Instinct on overload?


How far can you nest custom components?

IOW including one in another.  Right now im looking at like 5 or 6 layers
Main App File
    window1 - file
       .as file
    window2 - file
       .as file
    window3 - file
       .as file
       tab1 - file
          .as file
          window1
             viewstack1 - file
                .as file
             viewstack2 - file
                .as file
             viewstack3 - file
                .as file
          window2 - file
             .as file
          window3
    tab2 - file
       .as file
       tab1 - file
          .as file
          accordian1 - file
             .as file
          accordian2 - file
             .as file
             viewstack1 - file
                .as file
             viewstack2 - file
                .as file
             viewstack3 - file
                .as file
             viewstack4 - file
                .as file
             viewstack5 - file
                .as file
       tab2 - file
          .as file
       tab3 - file
          .as file
       tab4 - file
          .as file

Yes, this is a very very very complex app that I need to be highly
expandable but still easy to work on the code, so I was breaking it up
into lots of small files.  But then I started getting errors saying it
can't read .as file this or that and I know 100% the file is there
because I used the "browse" mode to select it.

Have I gone too bonkers for Flex's like?

Thanks
Greg

-- 
Greg Johnson
Owner & Lead Technician
[EMAIL PROTECTED]

Techno-Fix-It
Filling the Gap Between the Store and the Repair Shop
----------------------
www.technofixit.com
Phone:(919)-371-1476
Fax:(919)-882-9804
P.O. Box 1094
Morrisville, N.C. 27560




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to