Google Groups Home
Help | Sign in
Flash size
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Frank Salem  
View profile
 More options Jul 16, 6:15 am
Newsgroups: microsoft.public.scripting.jscript
From: "Frank Salem" <frankc...@activediscovery.net>
Date: Wed, 16 Jul 2008 18:15:00 +0800
Subject: Flash size
    Sir/Madam:

    Is there any way to make a large files (e.g. Flash, Image) into smaller
one using Javascript for faster loading?

    Thanks in advance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Old Pedant  
View profile
 More options Jul 16, 9:04 pm
Newsgroups: microsoft.public.scripting.jscript
From: Old Pedant <OldPed...@discussions.microsoft.com>
Date: Wed, 16 Jul 2008 18:04:01 -0700
Local: Wed, Jul 16 2008 9:04 pm
Subject: RE: Flash size

> Is there any way to make a large files (e.g. Flash, Image) into smaller
> one using Javascript for faster loading?

Ummm...if you are talking about JavaScript running *IN THE BROWSER* then
what's the point????  In order to compress the file, the server would *STILL*
have to send the uncompressed file to the browser.  So then you compress the
data, send it to Flash, which would have to uncompress the data.  Since you
didn't save any time in sending the data from the server to the browser, all
you would do would be to make things *SLOWER*!!

Anyway, the answer is pretty much "NO."  First of all, the browser wouldn't
understand a compressed image file and Flash wouldn't understand a compressed
".swf" file.  Each *NEEDS* the file in the original format.

But secondly, both of those formats are pretty well compressed already.  Go
ahead, try it some time.  Grab a ".jpg" file and stuff it into a ".zip"
archive using Windows Explorer on your own machine.  There's a real good
chance that the file actually gets *LARGER* and an excellent chance that in
any case it will only be 1% to 2% smaller.  

So I think you are looking at an exercise in futility.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google