> (so I don't know) how small I could get the file size for a comparable
solution in Flash.
 
Is that the question that you really wanted the answer to?
 
The answer to that will depend on what your widget actually is/does.
Without knowing that, I don't see how anyone can really offer an opinion
on the likely fize size savings.
 
If you could post a url for what you have then it would probably help
you get a more useful answer.
 
 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of devenhariyani
Sent: 17 December 2008 01:10
To: [email protected]
Subject: [flexcoders] Is Flex the wrong technology for widgets? SWF file
sizes are too big...
 
Hey guys,

I recently posted a thread on a popular widget platform site to get 
developer feedback. Basically, I've created a widget using Flex 
technology, and since I cannot get the SWF file size down to a size < 
100KB I'm wondering if Flex was the wrong technology for my project. 
I'm not very familiar with Flash, so I don't know how small I could 
get the file size for a comparable solution in Flash. Below is the 
original thread.

---------------------------------------

I've created a widget using Adobe's Flex technology which has a SWF 
file size of approx. 350KB. I've optimized the widget using all the 
techniques I could find such as: compiler flags, not embedding assets 
into the SWF, dynamic loading of modules, etc.

Assuming 350KB is the smallest I can get my SWF file, is this still 
too big to distribute as a widget? 

Here are two distribution strategies we are looking at:

1.) Put the widget on a majority of the pages on our website so when 
users come to our website they will see the widget and download it. 
This will be great for distribution, but currently, our website gets 
a good deal of traffic (Alexa top 10,000 ranking website). And, all 
of the pages on our website are around 60-150KB, and there is a lot 
of worry that a 350KB widget will weigh down the page too much and 
make it very slow when loading. There is also concern that adding an 
additional 350KB will greatly impact our bandwidth costs since many 
users will hit these pages.

2.) Create a "widget gallery" on our website where our users can go 
to grab the widget and put it on their MySpace, Facebook, etc. This 
will keep the rest of the pages on our website light and fast, but 
the distribution of the widget will get severely impacted.

I want to know what other developers are doing in similar situations.

Is Flex the wrong technology for creating widgets? What are some avg 
size SWF files that other widget developers are creating? If a 150KB 
page has an additional 350KB flex widget, is it going to greatly 
impact the loading time?

Thanks in advance for your advice!
 

______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
______________________________________________________________________

Reply via email to