Hi Ryan, all of the MX2004 UI components have numerous Class dependancies as well as common skin elements i.e all UI components extend UIObject and UIComponent. Therefore adding any component adds a minimum of 22k. Many of the components share common classes and therefore adding more components won't usually add a lot more to file size after the initial jump. For example adding a label adds 22k then adding a button takes the total to 27k. The more complex the component the bigger the hit (datagrid has 56k on it's own).
You can't use the V2 components without using their class structure. You could build your own light weight architecture (if you have nothing better to do with the next month). The other option is to take advantage of the V2 architecture when building your own classes. That way they won't add much to file size and you get a lot of out of the box functionality. Chafic Kazoun has two terrific articles on using V2 available at Ultrashock. The following is a good overview: http://www.ultrashock.com/ff.htm?http://www.ultrashock.com/tutorials/flashmx2004/ui-components01.php Bill Lane ===================== Web Developer Educational Media Group PVC Teaching and Learning Portfolio RMIT University Tel: 61 3 9925 9804 Fax: 61 3 9925 9625 [EMAIL PROTECTED] ===================== >>> [EMAIL PROTECTED] 04/13/05 10:14 am >>> Hi all, thanks for the help with the last question on streaming... here is the next one :) I've got a main movie that's calling in a lot of smaller swfs. Each of the swfs is about 75 k.. however when I look at the size report, there is an item there called "ActionScript 2.0 Classes" which is taking up 66k for each of the swfs. Firstly, why are these so big? I'm using a few form components in my piece... is that what's making the classes come along for the ride? Secondly, is there any way to get all my swf's to share the same set of classes that are in my main movie, instead of each swf bringing its own set of classes down...? thanks! ----------------------- Ryan Sabir Newgency Pty Ltd 2a Broughton St Paddington 2021 Sydney, Australia Ph (02) 9331 2133 Fax (02) 9331 5199 Mobile: 0411 512 454 http://www.newgency.com/index.cfm?referer=rysig --- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to fugli as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
