[Flashcoders] seeking RegExp improvement

2009-10-29 Thread Mendelsohn, Michael
Hi list... I am essentially a newbie with writing Regular Expressions.I have this one that I wrote: /(g|1|2|3)(E|W)\d{3}-?\d{0,2}/i And it would be good for GE101 or GE101-22. How can I make it so that it only matches if there are 5 total characters or 7 or 8 characters only? What I'm trying

Re: [Flashcoders] re: alpha for dynamic text without embedding font

2009-10-29 Thread kennethkawam...@gmail.com
I did say this before, but you can do this in Flash 10 - you do not need to embed fonts to apply alpha values to TextFields. -- Kenneth Kawamoto http://www.materiaprima.co.uk/ 2009/10/29 Kevin McFarland : > As I described in my eMail I'm using author-time created assets. Follow the > steps I desc

Re: [Flashcoders] re: alpha for dynamic text without embedding font

2009-10-29 Thread Gerry
This is what I had suggested. If you can't or don't want to embed the font you'll need to take a snapshot of the text, delete the movieClip that contains the text then do your fades or alpha property to that snapshot. -Gerry On Oct 29, 2009, at 1:16 PM, Glen Pike wrote: You can't change th

Re: [Flashcoders] swf and xml caching?

2009-10-29 Thread Carl Welch
Matt's cachebuster works, but I also add this to the header of your html file (fixes IE related issues): --Carl. On Thu, Oct 29, 2009 at 5:23 AM, David Hunter wrote: > > brilliant thanks for that, i'll give it a go. david > > > From: mattsp...@gmail.com > > Date: Thu, 29 Oct 2009 07:44:39 -04

Re: [Flashcoders] re: alpha for dynamic text without embedding font

2009-10-29 Thread Glen Pike
You can't change the alpha of text if it's not embedded, unless you do take a "bitmap snapshot" of the movieclip with text in and use that instead of the "live" text. Kevin McFarland wrote: As I described in my eMail I'm using author-time created assets. Follow the steps I described, you shoul

Re: [Flashcoders] re: alpha for dynamic text without embedding font

2009-10-29 Thread Kevin McFarland
As I described in my eMail I'm using author-time created assets. Follow the steps I described, you should see the same thing. Note: just verified that setting the alpha programmatically via AS (following setting the text of the dynamic field) instead of manually on the timeline, makes no differenc

RE: [Flashcoders] swf and xml caching?

2009-10-29 Thread David Hunter
brilliant thanks for that, i'll give it a go. david > From: mattsp...@gmail.com > Date: Thu, 29 Oct 2009 07:44:39 -0400 > Subject: Re: [Flashcoders] swf and xml caching? > To: flashcoders@chattyfig.figleaf.com > > The problem is xml caching, which can be fixed with the "cachebuster" > trick. Whe

Re: [Flashcoders] Printing a page in Safari with SWF(s) Problem

2009-10-29 Thread Eric E. Dolecki
wmode = window and not transparent fixes it all up. it's so stupid. On Wed, Oct 28, 2009 at 11:46 PM, Karl DeSaulniers wrote: > Well for what you were describing, try exporting your flash file with and > without flash detection. > Try and print from each type of html page and see if that is what

[Flashcoders] swf and xml caching?

2009-10-29 Thread David Hunter
hi, a while ago i did a portfolio site for a photographer which loads lots of images using an xml file. everything works fine. when you return to the site it loads more quickly as do the images, i guess because the browser has cached them. but sometimes after the site has been updated (ie. phot

Re: [Flashcoders] swf and xml caching?

2009-10-29 Thread Matt S.
The problem is xml caching, which can be fixed with the "cachebuster" trick. Where you have the path for the XML, use: 'http://www.sitename.com/info.xml?cachebuster='+new Date().getTime(); Because it will generate a unique date and time every single time, it will force a fresh load of the xml fil

Re: [Flashcoders] as3 to iphone app

2009-10-29 Thread Ian Thomas
On Thu, Oct 29, 2009 at 3:48 AM, Kerry Thompson wrote: >> don't swfs compiled from c run faster in the plugin than ones compiled >> in actionscript? i thought i read that > > I don't know of a way to compile a swf from C, or any machine-language > compiler. I'm not quite sure about iPhone apps de

Re: [Flashcoders] as3 to iphone app

2009-10-29 Thread Henrik Andersson
Kerry Thompson wrote: I don't know of a way to compile a swf from C, or any machine-language compiler. I'm not quite sure about iPhone apps developed in Flash--they may compile to native code, but there isn't a way to compile a swf to machine language that I know of. You must have missed the A