Re: [Flashcoders] Fonts taking up too much space

2012-06-27 Thread Don Talcott
No need to outline in Illustrator.

In Flash, select the text, go to Modify/Break Apart. Do this twice, and you 
will have outline of text.

On Jun 27, 2012, at 4:42 PM, Karl DeSaulniers wrote:

 Looking at your swf, my suggestion would be to take the copy that is not 
 input fields and turn them to outlines in Illustrator then put them back in 
 the layout.
 Flash handles vector really well. Not much size increase for mathematical 
 equations. Then only embed the necessary glyphs for the input files.
 
 Best,
 Karl
 
 On Jun 27, 2012, at 3:16 PM, Kevin Newman wrote:
 
 Every static glyph for every font face and weight/style is also embedded. 
 The only way to really reduce the size of those fonts is to embed fewer 
 glyphs. One strategy might be to consolidate the number of fonts you are 
 using.
 
 If you are using 4 typefaces, try to reduce it to 3 or even 2. That'll 
 probably have the biggest reduction.
 
 I've never really tried it, but you could try editing the font names so that 
 they are shorter in the font embed screen, then make sure all your text 
 fields are set to those new embedded names (such as a, b, c and d). I'm not 
 sure how much space that would save, but it might get you a few bytes.
 
 And maybe it's obvous, but make sure you aren't including XMP metadata or 
 debug symbols (uncheck both boxes in the publish settings) - that's a couple 
 of KB.
 
 Kevin N.
 
 
 On 6/26/2012 4:59 PM, Tristan wrote:
 I did not embed any fonts but the numerals and period for the input box.
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

DON TALCOTT
316 Greenwood Avenue
Decatur, Georgia 30030

404.538.1642
dtalc...@mindspring.com




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] text input conditionals

2012-02-06 Thread Don Talcott
I have a form with many fields. Four of the fields are not required, but if any 
one of the four has text entered, I would like to have a conditional if 
statement to tell the user to fill out the other three fields.

I am struggling with how to check whether any type of character at all is 
entered into an input field. I know how to check if the field is empty, how do 
I check if the field contains anything?

Thanks in advance for any help with this.

DON TALCOTT
316 Greenwood Avenue
Decatur, Georgia 30030

404.538.1642
dtalc...@mindspring.com





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] text input conditionals

2012-02-06 Thread Don Talcott
Thank you, this worked. Now I have the following;

Six fields:
1. Phone
2. Address
3. City
4. Country
5. State
6. Zip

What I'm trying to do is give the choice of filling out the Phone field OR the 
address fields ( 2-6).
If they choose the Phone field, none of the address fields are required.
If they choose one of the address fields, all of the address fields are 
required.

I know I'm over-thinking this.
On Feb 6, 2012, at 3:47 PM, Ross Sclafani wrote:

 if( field.text != ''){
 // field contains anything.
 };
 
 Ross P. Sclafani
 design / technology / creative
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

DON TALCOTT
316 Greenwood Avenue
Decatur, Georgia 30030

404.538.1642
dtalc...@mindspring.com





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Cache in IE FF

2009-09-25 Thread Don Schnell - TFE

Chris/Joe, thanks a bunch, but here is my next question (just curious)...
Is it the SWF which is not getting reloaded every time the page is 
viewed and thus my data is not getting reloaded or is it my data file 
that is cached and therefore the browser just keeps reloading the same 
old data file, or is it both?
One other item I notice is that I entered the url for the actual text 
file i was attempting to load and when I previewed that file it also 
contained old content and did not update until I performed a CTRL F5. 
Even attempting to clear the browser cache didn't seem to help.


*Don
*


Joseph Balderson wrote:
You cannot prevent a file from being cached in the browser; what most 
cache settings are designed to do is prevent session information and 
cookies from being cached. The best you can do is force the browser to 
grab the file from the server each and every time it is viewed, which 
acheives the desired effect.


To do that, all you need is to add the following js to your html file:

...Main.swf?nocache=+(new Date()).getTime()

I wrote a tutorial on adding this to the flex html template:
http://www.communitymx.com/abstract.cfm?cid=32F44

This appends a unique number on the end of the file name, tricking the 
browser into thinking it's getting a new file every time, thus 
downloading the SWF from the server every time. You can use an 
equivalent of this technique in ActionScript for loading modules you 
don't want cached as well.


I would not recommend this technique for production, as it will spike 
your server load something terrible, but for testing it's essential.

___

Joseph Balderson, Flex  Flash Platform Developer :: http://joeflash.ca
Author, Professional Flex 3 :: http://tinyurl.com/proflex3book


Don Schnell - TFE wrote:


Thanks William, I am not sure why there was no text in my original 
post but my issue is how to prevent data from being cached in IE  
Firefox.
My SWFs load in data from a flat text file and I tried using the 
following No-Cache settings before the head but they don't seem to 
prevent this issue.


// prevent browser cache
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);



William Chadwick wrote:

Not sure what you want, as there is no text in your message.

But if you want to know about how SharedObject's work, here you go.
Local SharedObjects (AKA 'Flash Cookies') are stored in the 
following path in a directory with a random name:
C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash 
Player\#SharedObjects


There are some really clear articles on them on Adobe's devnet.

William Chadwick

On Thu, Sep 24, 2009 at 5:06 PM, Don Schnell - TFE 
dschn...@toolsforeducation.com 
mailto:dschn...@toolsforeducation.com wrote:



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto:Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] SMS with Flash Web App

2009-09-25 Thread Don Schnell - TFE
Hello, looking for some direction, tutorials, examples or otherwise on 
creating a flash web app which would support SMS text messaging.

TIA,
--
*Don*
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash Cache in IE FF

2009-09-24 Thread Don Schnell - TFE

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Cache in IE FF

2009-09-24 Thread Don Schnell - TFE


Thanks William, I am not sure why there was no text in my original post 
but my issue is how to prevent data from being cached in IE  Firefox.
My SWFs load in data from a flat text file and I tried using the 
following No-Cache settings before the head but they don't seem to 
prevent this issue.


// prevent browser cache
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);



William Chadwick wrote:

Not sure what you want, as there is no text in your message.

But if you want to know about how SharedObject's work, here you go.
Local SharedObjects (AKA 'Flash Cookies') are stored in the following 
path in a directory with a random name:
C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash 
Player\#SharedObjects


There are some really clear articles on them on Adobe's devnet.

William Chadwick

On Thu, Sep 24, 2009 at 5:06 PM, Don Schnell - TFE 
dschn...@toolsforeducation.com 
mailto:dschn...@toolsforeducation.com wrote:



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto:Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Cache in IE FF

2009-09-24 Thread Don Schnell - TFE
Thanks Chris, I forgot all about that technique (been away from this for 
a little bit)!


*Don *


Chris Foster wrote:

Sorry - formatting got screwed up there... one more try...

AS3 example of 'anticache' technique.
-

var l:Loader = new Loader();
var req:URLRequest = new URLRequest(your url here); 
var vars:URLVariables = new URLVariables(); 
req.method = URLRequestMethod.POST; 
vars.antiCache = Math.round(Math.random()*99); 
req.data = vars; 
l.load(req); 



Regards,
C:

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Don
Schnell - TFE
Sent: Friday, 25 September 2009 1:07 PM
To: William Chadwick
Cc: Flash Coders List
Subject: Re: [Flashcoders] Flash Cache in IE  FF


Thanks William, I am not sure why there was no text in my original post
but my issue is how to prevent data from being cached in IE  Firefox.
My SWFs load in data from a flat text file and I tried using the
following No-Cache settings before the head but they don't seem to
prevent this issue.

// prevent browser cache
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);



William Chadwick wrote:
  

Not sure what you want, as there is no text in your message.

But if you want to know about how SharedObject's work, here you go.
Local SharedObjects (AKA 'Flash Cookies') are stored in the following 
path in a directory with a random name:
C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash 
Player\#SharedObjects


There are some really clear articles on them on Adobe's devnet.

William Chadwick

On Thu, Sep 24, 2009 at 5:06 PM, Don Schnell - TFE 
dschn...@toolsforeducation.com 
mailto:dschn...@toolsforeducation.com wrote:



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto:Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.
  

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] PLEASE help with advanced dataset issues

2007-04-20 Thread Don
Thanks Mate, I'm looking now...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rost, Andrew
Sent: 20 April 2007 03:24 PM
To: 'flashcoders@chattyfig.figleaf.com'
Subject: RE: [Flashcoders] PLEASE help with advanced dataset issues

Sorry Don, typo in address...

www.radiantmedia.biz/FlashSamples/DatasetFilter.zip

Andrew

-
Don:

There are a couple things to check for. Rather than list them all I have a
sample of exactly what you're trying to do. Feel free to download the ZIP
below and take a look. It's written in MX04 and it's a bare-bones example,
but works well.

www.radiantmedia.biz/FalshSamples/DatasetFilter.zip

HTH,
Andrew
-Original Message-
From: Gaia-Tek [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 20, 2007 6:49 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] PLEASE help with advanced dataset issues

Hi Group,

I have an XMLconnector, bound to a dataset, bound to a datagrid.
Connector connects, fills the dataset, dataset is sorted and filtered, and
the datagrid is populated - lovely!
Except for the looong freeze while the XMLconnector does it's thing...

So I tried to fill the dataset manually, by populating it with an array...

This works fine, better in fact because it's faster and there's no freeze,
and I can use a progressbar component to show progress.

I can sort the datagset, and the results are shown in the datagrid.

BUT, as soon as I try and filter the dataset, everything goes pear-shaped!!!
As soon as I apply any filter to the dataset, the datagrid goes blank, and
if I trace the first record of the dataset, it's undefined...

I've been fighting this for 2 days, please help!

Thanks

Don


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 2007/04/19
05:56 PM
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 2007/04/19
05:56 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 2007/04/19
05:56 PM
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] loadMovie in a duplicated movieclip

2007-01-17 Thread Don
Sorry Jason, I was typing from memory, not copy / paste...

this[newName]._x = menu_ds.HorizontalPos;

Doesn't work for me, and the only reason I ended up using eval() is because
it's the only thing that worked!

This code doesn't work...

duplicateMovieClip(dupButton, newName, i);
this[newName]._x = menu_ds.HorizontalPos;
this[newName]._y = menu_ds.VerticalPos;

I scoured the net and eval() was the only answer I could find...

I'm publishing Flash 8, AS2

Thanks...



 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 16 January 2007 16:49
To: Flashcoders mailing list
Subject: RE: [Flashcoders] loadMovie in a duplicated movieclip

And could anyone explain why

this.[newName]._x = menu_ds.HorizontalPos;

doesn't work?

Improper syntax.  Try:

this[newName]._x = menu_ds.HorizontalPos;

Also, would recommend against using eval() in this case and use the []
operator instead.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 16/01/2007
16:36
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] loadMovie in a duplicated movieclip

2007-01-17 Thread Don
Hi Jason,

I've put buttons in the duplicated movieclips, and they always trace back as
+level0.button_28 or whatever the button number was when created...

I've also traced every variable coming from menu_ds and they all work as
they should... The while loop and the hasNext() come right out of the help
files when iterating through a dataset, I had never used either before.

I think the next step is to look into creating an empty movieclip and
attaching from the library...  This is just too much headache to be worth
it...

Thanks for your time...

Don


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 17 January 2007 15:17
To: Flashcoders mailing list
Subject: RE: [Flashcoders] loadMovie in a duplicated movieclip

Well, to dig deeper, it's hard to comment because I don't know what
_root.menu_ds.hasNext() does, or how _root.menu_ds.Type is set, or how
dupButton is determined.  There could be any number of things wrong there.
Why are you using a while loop out of curiosity?  Also, I usually avoid
duplicateMovieClip because I always see people complain about it - either
buggy or it's limitations.  For those situations, I usually create an empty
movie clip and attach from the library.  Not saying that's the right
approach, just what I have found works best for me in most situations.

eval() is the old way, Adobe is pushing Actionscript to sctrict ECMA
specifications, which means using the [] operator instead.  If
this[newName] doesn't work, then something is wrong with the scope, and I
don't know where your clips are set up relative to that statement.
Have you tried sprinkling some traces in your code to find out what's
failing and where? 

Jason Merrill
Bank of America
Learning  Organizational Effectiveness
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 16/01/2007
16:36
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Network Tools in Flash

2006-01-25 Thread Don Rinderknecht
My latest project is to build a network monitor tool to provide data 
like ping or traceroute.
One thing I'd like to do is monitor webservers/sites to keep track of 
uptime.


I've done some searching but haven't found much yet on how to get started.

Any advice?

Thanks,
Don.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Network Tools in Flash

2006-01-25 Thread Don Rinderknecht

Oh yeah, I'm using Flash MX 2004 Pro.

Thanks,
Don.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] How to Build a Flash Bandwidth Tester?

2006-01-17 Thread Don Petersen
It's kind of cool...  It looks like it calls some server side script
that generates a random noisy image, which it then proceeds to download:

http://chi.speakeasy.net/speedtest/random350x350.jpg

I'm guessing it probably uses MovieClipLoader, which fires off events to
give you the progress updates on downloads.  That's how they can
determine speed on the fly.  It kicks off downloading that 350x350
image(around 200k), but then it finishes with an almost 5mb generated
image.

The upload test posts a pretty sizable amount of random gibberish(200k
and then 1mb).  I'm not really sure how they track that, is there
something akin to MovieClipLoader for uploads with Flash 7?  It might
just be a timer, where they just take your Total Size / Seconds Taken...

Don Petersen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Mastropietro
Sent: Tuesday, January 17, 2006 2:54 PM
To: Flashcoders mailing list
Subject: [Flashcoders] How to Build a Flash Bandwidth Tester?

Does anyone have any ideas how this flash bandwidth tester is working?

http://www.speakeasy.net/speedtest/

It must be fetching a file from the server somehow, but how?  Also, it 
must be posting that file or some other file back to the server.

We have an application that let's our users upload files to our servers,

so we'd like to provide something like this on our website so that our 
users can test their upload speeds.  If anyone knows of an open source 
one, that would be superb.

Thanks,
Jeff



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] FP8: file upload and server response

2005-11-22 Thread Don Petersen
I haven't been able to test this yet, and it's probably a hack, BUT it
might allow at least some kind of feedback:

LiveDocs says that the onHTTPError event has an argument for the HTTP
Error Code.  If the language you're using on the server side allows it,
maybe you could throw certain error codes for specific issues that might
occur on the server side(lack of permissions to write file, file already
exists, etc).  

I'm going to test this out at some point, but I figured I'd throw it out
there as a possibility.  It's not going to give Claus the information he
originally wanted, but it might help get at least some kind of feedback
when you are uploading.

Don Petersen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Matsikas
Sent: Tuesday, November 22, 2005 9:44 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FP8: file upload and server response

Sorry to tell you Claus.. but the answer is no.

There isn't any way currently to get any kind of return from your upload
script (other then the events the FileRef object throws)

Most implimentations I've seen have a second script that is called when
the
upload completes (to fetch a file list or whatever)

Maybe they'll fix it for 8.5..

Cheers,
Ryan Matsikas

On 11/22/05, Claus Wahlers [EMAIL PROTECTED] wrote:

 hi folks,
 i'm currently playing with the flash player 8 FileReference stuff. i'm
 uploading a file to a server script (works fine). the server script
 returns an xml with info about the uploaded file. is there any way i
 can access the server response?
 tia, cheers,
 claus.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders