[flexcoders] Re: optimize swf generated by mxmlc module

2007-09-07 Thread danielvlopes
Even not using framework caching, is possible create image loader with
minimal swf size, depends of what kind image load you want (loading
from xml, db, webservice, etc) and no embeding images in swf, for test
i made one of this and final swf had less than 90kb (i made teste
using only image comp and xml), but in my opnion, use flex for only
load images dinamicaly like as kill a fly with shotgun.

Even flex 3 is not officially launched, you can download beta and use
with no problems (respecting Trial time or licence for Flex Builder,
and ofcourse problems can appear because is still beta).

--- In flexcoders@yahoogroups.com, Steve Hagenlock <[EMAIL PROTECTED]> wrote:
>
> Daniel, you are giving this guy advice based on software that hasn't 
> been released to production yet - flex framework caching is a Flex 3 
> technology.  Further, a simple image loader doesn't need the flex 
> framework, regardless of whether the bulk of it will (eventually) be 
> cached on the end users machine.  There is nothing to be gained by
using 
> Flex for a dynamically generated image loader except a Flash 9 minimum 
> player requirement + the flex framework requirement.
> Cheers,
> Steve
> 
> danielvlopes wrote:
> > No, flex is right tool for tha job. Look in internet for framework
> > caching and generate report for modularity compiling.
> >
> > Watch this video, this will reduce your swf file extremely.
> > http://labs.adobe.com/technologies/flex/videos/flex3rsls/
> >
> > The size of swf is because Framework is embeded in swf. I had project,
> > with giant codes and comps with 70kb.
> >
> > --- In flexcoders@yahoogroups.com, Steve Hagenlock  wrote:
> >   
> >> Flex is probably not the right tool for that job.  You should be
> >> 
> > looking 
> >   
> >> at something like Ming (php module) or the MTASC open source project
> >> 
> > for 
> >   
> >> compiling Flash.  I'm sure there are several other options if you
look 
> >> around.  When you use the Flex compilers, you get the Flex framework 
> >> code as the price of entry.
> >> -Steve
> >>
> >> Ary wrote:
> >> 
> >>> Hi,
> >>>
> >>> i use mxmlc module (apache) to generate swf, its a
> >>> very simple swf only write a swf that has function to
> >>> load images externally, but the file size is 133 KB ,
> >>> if i make the same procedure  with flash and publish
> >>> it the file its only 20-30 KB.
> >>>
> >>> can i make the swf that rendered by mxmlc more simpler
> >>> and lighter? and is it possible to embed the image
> >>> inside the swf rather than link it to external file?
> >>>
> >>>
> >>>
> >>>
>




Re: [flexcoders] Re: optimize swf generated by mxmlc module

2007-09-06 Thread Steve Hagenlock
Daniel, you are giving this guy advice based on software that hasn't 
been released to production yet - flex framework caching is a Flex 3 
technology.  Further, a simple image loader doesn't need the flex 
framework, regardless of whether the bulk of it will (eventually) be 
cached on the end users machine.  There is nothing to be gained by using 
Flex for a dynamically generated image loader except a Flash 9 minimum 
player requirement + the flex framework requirement.
Cheers,
Steve

danielvlopes wrote:
> No, flex is right tool for tha job. Look in internet for framework
> caching and generate report for modularity compiling.
>
> Watch this video, this will reduce your swf file extremely.
> http://labs.adobe.com/technologies/flex/videos/flex3rsls/
>
> The size of swf is because Framework is embeded in swf. I had project,
> with giant codes and comps with 70kb.
>
> --- In flexcoders@yahoogroups.com, Steve Hagenlock <[EMAIL PROTECTED]> wrote:
>   
>> Flex is probably not the right tool for that job.  You should be
>> 
> looking 
>   
>> at something like Ming (php module) or the MTASC open source project
>> 
> for 
>   
>> compiling Flash.  I'm sure there are several other options if you look 
>> around.  When you use the Flex compilers, you get the Flex framework 
>> code as the price of entry.
>> -Steve
>>
>> Ary wrote:
>> 
>>> Hi,
>>>
>>> i use mxmlc module (apache) to generate swf, its a
>>> very simple swf only write a swf that has function to
>>> load images externally, but the file size is 133 KB ,
>>> if i make the same procedure  with flash and publish
>>> it the file its only 20-30 KB.
>>>
>>> can i make the swf that rendered by mxmlc more simpler
>>> and lighter? and is it possible to embed the image
>>> inside the swf rather than link it to external file?
>>>
>>>
>>>
>>>   



[flexcoders] Re: optimize swf generated by mxmlc module

2007-09-06 Thread danielvlopes
No, flex is right tool for tha job. Look in internet for framework
caching and generate report for modularity compiling.

Watch this video, this will reduce your swf file extremely.
http://labs.adobe.com/technologies/flex/videos/flex3rsls/

The size of swf is because Framework is embeded in swf. I had project,
with giant codes and comps with 70kb.

--- In flexcoders@yahoogroups.com, Steve Hagenlock <[EMAIL PROTECTED]> wrote:
>
> Flex is probably not the right tool for that job.  You should be
looking 
> at something like Ming (php module) or the MTASC open source project
for 
> compiling Flash.  I'm sure there are several other options if you look 
> around.  When you use the Flex compilers, you get the Flex framework 
> code as the price of entry.
> -Steve
> 
> Ary wrote:
> > Hi,
> >
> > i use mxmlc module (apache) to generate swf, its a
> > very simple swf only write a swf that has function to
> > load images externally, but the file size is 133 KB ,
> > if i make the same procedure  with flash and publish
> > it the file its only 20-30 KB.
> >
> > can i make the swf that rendered by mxmlc more simpler
> > and lighter? and is it possible to embed the image
> > inside the swf rather than link it to external file?
> >
> >
> >
>