RE: [Flashcoders] merging data problem

2008-05-12 Thread Bernard Visscher
i = -1 should be i--; that's much faster :)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Bernard Visscher
Verzonden: zondag 11 mei 2008 19:42
Aan: 'Flash Coders List'
Onderwerp: RE: [Flashcoders] merging data problem

Hi Anthony,

I didn't test your code, but I think the problem lies in your for loops.
When you get such an error it is probably an index out of bounds.

You could try the following, didn't test it by the way.

workData.sortOn("pm");
for(var i:int = 0 ; i < workData.length - 1 ; i++)
{
if(workData[i].pm == workData[i+1].pm)
{
workData.splice(i,1);
i = -1;
}
}

Good luck,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Anthony Cintron
Verzonden: zondag 11 mei 2008 18:55
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] merging data problem

Thanks Jason and Juan,
I tested it out and the splicing works really well. One thing I'm noticing
is when I uncomment and add another index, I get a compile error. I messed
with the splice index number, but received unsuccessful results. Any
thoughts on this?

var workData:Array = new Array();

//workData.push({pm:"Bob", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-",  totalHours:40});
workData.push({pm:"Dan", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:50});
workData.push({pm:"Bob", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:30});
workData.push({pm:"Dan", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:50});
trace(workData);
// for each item in the array
for ( var i = workData.length - 1; i >= 0; i-- ){
// compare to all other array elements
for ( var j = workData.length - 1; j >= 0; j-- )
{
if ( workData[i].pm ==  workData[j].pm && i != j)
{
   for ( var props in workData[i] )
   {
   workData[i][props] = workData[j][props];
   }
   trace("index: " + j
 );
   workData.splice(j, 1);
}
}
}
trace(workData);
___
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


RE: [Flashcoders] merging data problem

2008-05-11 Thread Bernard Visscher
Hi Anthony,

I didn't test your code, but I think the problem lies in your for loops.
When you get such an error it is probably an index out of bounds.

You could try the following, didn't test it by the way.

workData.sortOn("pm");
for(var i:int = 0 ; i < workData.length - 1 ; i++)
{
if(workData[i].pm == workData[i+1].pm)
{
workData.splice(i,1);
i = -1;
}
}

Good luck,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Anthony Cintron
Verzonden: zondag 11 mei 2008 18:55
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] merging data problem

Thanks Jason and Juan,
I tested it out and the splicing works really well. One thing I'm noticing
is when I uncomment and add another index, I get a compile error. I messed
with the splice index number, but received unsuccessful results. Any
thoughts on this?

var workData:Array = new Array();

//workData.push({pm:"Bob", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-",  totalHours:40});
workData.push({pm:"Dan", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:50});
workData.push({pm:"Bob", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:30});
workData.push({pm:"Dan", resource:"Anthony", client:"Microsoft",
role:"Developer", job:"XXX-", totalHours:50});
trace(workData);
// for each item in the array
for ( var i = workData.length - 1; i >= 0; i-- ){
// compare to all other array elements
for ( var j = workData.length - 1; j >= 0; j-- )
{
if ( workData[i].pm ==  workData[j].pm && i != j)
{
   for ( var props in workData[i] )
   {
   workData[i][props] = workData[j][props];
   }
   trace("index: " + j
 );
   workData.splice(j, 1);
}
}
}
trace(workData);
___
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] amfphp 1.9 issue

2008-04-27 Thread Bernard Visscher
I think it's a wrong .htaccess :)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Cor
Verzonden: zondag 27 april 2008 8:42
Aan: 'Flash Coders List'
Onderwerp: RE: [Flashcoders] amfphp 1.9 issue

Your gateway isn't there ?

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens chas warn
Verzonden: zaterdag 26 april 2008 22:24
Aan: Flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] amfphp 1.9 issue

Hello ... I'd appreciate any help on this issue.Carlos

1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
using the HelloWorld sample) 2. have no problems with amfphp 1.2 on remote
server 3. I'm using flash 8 with php 5.2.
4. copied over amfphp directory less the fla files in the samples directory.

4. Maybe there is something in the gateway.php that needs modification.
(???)




*** Below is located in www\amfphp\services directory.





*  Below is my fla file located in root directory

var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

NetDebug.initialize();
var oPosts:Object;

var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
null); var pc:PendingCall = _service.sayHello();

pc.responder = new RelayResponder(this, "handleResult", "handleError");

function handleResult(re:ResultEvent) {
oPosts = re.result;
trace (oPosts.length);
test_txt.text=oPosts.length; //initial text changes to '12'   locally - but
no change on web server.
}


*  Below is cross-domain  file in root directory 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

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


--
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

___
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] Determining sound sample rate?

2008-04-23 Thread Bernard Visscher
Well, I was just looking @ my code when you posted this.
I found that I read the channels wrong for stereo (not joint), I use the
channel data to calculate how many samples I need.
I now tried starting @ frame 1 and no problems yet.
So I think it's my mistake, but I can't see why frame 2 always worked for me
:S

About the Meta data, that's true, but that is ignored when the correct seek
is used :)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Juan Pablo
Califano
Verzonden: woensdag 23 april 2008 14:40
Aan: Flash Coders List
Onderwerp: Re: [Flashcoders] Determining sound sample rate?

Bernard, are you sure the sample rate is sometimes wrong in the first frame
or you mean just the bitrate? I've put some code together to read the tags
and I always seem to get the right value for the sample rate (even for
Xing-encoded mp3's -- assuming those are the ones with a "Xing" string
within the first frame).

In most cases, it's true that the bitrate in the first frame doesn't match
the bitrate you can read if you hover the file name in Windows Explorer (in
Windows, of course), but that's most likely due to variable bitrates. (By
the way, I'm curious about how the explorer -- or any other software --
determines that "average" bitrate; is it really an average of all frames, is
just the bitrate of a fixed frame... does anyone have any clue?)

Anyway, it seems in some cases, the first frame stores some kind of metadata
(I've seen the string "LAME3.92" within the first frame of a Xing-encoded
file, for instance), so it's probably a good idea to go for the second
frame.

Cheers
Juan Pablo Califano

2008/4/23, Bernard Visscher <[EMAIL PROTECTED]>:
>
> I would go for the second frame.
> I've done some testing with loading MP3's in bytearrays then creating a
> SWF
> in a bytearray with the mp3 data.
> When I use the info from frame 1, 50% of the mp3's play with a wrong
> samplerate/bitrate. I think this is done by the Xing encoder.
> When I skip frame 1, all is ok.
>
> Greetz,
>
> Bernard
>
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens ben gomez
> farrell
> Verzonden: woensdag 23 april 2008 3:42
> Aan: Flash Coders List
> Onderwerp: Re: [Flashcoders] Determining sound sample rate?
>
> Thanks!  That should get me on my way.  This, in combination with the
> last reply about getting raw ID3, should help me out.
> So thanks to both of ya.
> ben
>
> Juan Pablo Califano wrote:
> > Hi, as far as I know, the info you're looking for is not in the ID3 tags
> > (which are not mandatory by the way).
> >
> > An mp3 file is a formed by an arbitrary number of "frames", which carry
> > information about "chunks" of the sound stream; each one contains a
> header
> > and the actual audio data. There's no "global" file header, but if
> you're
> > looking for the sample rate, I think it's fair to assume that the sample
> > rate stored in the header of the first frame is the sample rate of the
> whole
> > file (that might not be true if you were looking for, say, the bitrate).
> >
> > So, I think you can get that data if you read the file directly in
> binary
> > format, look for the first frame, and read the bits indicating the
> sample
> > rate.
> >
> > A good reference for the format spec:
> > http://mpgedit.org/mpgedit/mpeg_format/MP3Format.html
> >
> > And this graphic may help to "visualize" the meaning of each bit in a
> frame
> > header:
> > http://upload.wikimedia.org/wikipedia/commons/0/01/Mp3filestructure.svg
> >
> > By the way, if you want to inspect the raw file, you should use an
> > hexadecimal editor, you won't get far with a text editor. There are many
> > available, some of them are free, like Hexplorer, which is what I've
> been
> > using for a while.
> > ( you can find it here: http://artemis.wszib.edu.pl/~mdudek/ )
> >
> > I don't know much about the mp3 format specifically, but I have worked a
> bit
> > with raw files, so if you want to give it a try and need some help,
> maybe
> I
> > can lend you a hand.
> >
> >
> > Cheers
> > Juan Pablo Califano
> >
> >
> > 2008/4/21, Steven Sacks <[EMAIL PROTECTED]>:
> >
> >> Ben has an open source project on Google code that is the evolution of
> his
> >> old classes called Metaphile.
> >>
> >> http://code.google.com/p/metaphile/
> >>
> >> ___
> >> Flashcoders mailing l

RE: [Flashcoders] Determining sound sample rate?

2008-04-23 Thread Bernard Visscher
I would go for the second frame.
I've done some testing with loading MP3's in bytearrays then creating a SWF
in a bytearray with the mp3 data.
When I use the info from frame 1, 50% of the mp3's play with a wrong
samplerate/bitrate. I think this is done by the Xing encoder.
When I skip frame 1, all is ok.

Greetz,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens ben gomez farrell
Verzonden: woensdag 23 april 2008 3:42
Aan: Flash Coders List
Onderwerp: Re: [Flashcoders] Determining sound sample rate?

Thanks!  That should get me on my way.  This, in combination with the 
last reply about getting raw ID3, should help me out.
So thanks to both of ya.
ben

Juan Pablo Califano wrote:
> Hi, as far as I know, the info you're looking for is not in the ID3 tags
> (which are not mandatory by the way).
>
> An mp3 file is a formed by an arbitrary number of "frames", which carry
> information about "chunks" of the sound stream; each one contains a header
> and the actual audio data. There's no "global" file header, but if you're
> looking for the sample rate, I think it's fair to assume that the sample
> rate stored in the header of the first frame is the sample rate of the
whole
> file (that might not be true if you were looking for, say, the bitrate).
>
> So, I think you can get that data if you read the file directly in binary
> format, look for the first frame, and read the bits indicating the sample
> rate.
>
> A good reference for the format spec:
> http://mpgedit.org/mpgedit/mpeg_format/MP3Format.html
>
> And this graphic may help to "visualize" the meaning of each bit in a
frame
> header:
> http://upload.wikimedia.org/wikipedia/commons/0/01/Mp3filestructure.svg
>
> By the way, if you want to inspect the raw file, you should use an
> hexadecimal editor, you won't get far with a text editor. There are many
> available, some of them are free, like Hexplorer, which is what I've been
> using for a while.
> ( you can find it here: http://artemis.wszib.edu.pl/~mdudek/ )
>
> I don't know much about the mp3 format specifically, but I have worked a
bit
> with raw files, so if you want to give it a try and need some help, maybe
I
> can lend you a hand.
>
>
> Cheers
> Juan Pablo Califano
>
>
> 2008/4/21, Steven Sacks <[EMAIL PROTECTED]>:
>   
>> Ben has an open source project on Google code that is the evolution of
his
>> old classes called Metaphile.
>>
>> http://code.google.com/p/metaphile/
>>
>> ___
>> 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

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


RE: [Flashcoders] [AS3] Using ByteArray as a FLV holder

2007-08-31 Thread Bernard Visscher
I must correct that, that is a swf hack to inject sound into a swf and the
load with the loader.loadBytes. I'm now trying to do the same with a flv.

I've read a lot and found that injecting bytes into netstream isn't
possible.

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens T. Michael Keesey
Verzonden: vrijdag 31 augustus 2007 17:00
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: Re: [Flashcoders] [AS3] Using ByteArray as a FLV holder

On 8/31/07, Bernard Visscher <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was trying to load a FLV in a ByteArray and then attaching it to a
> NetStream or something like that to display the flv. No luck yet!
> Does someone know how this can be done?
> I think I have to replace the data like you "can" do with sound.

How do you do it with sound? For DisplayObject instances, there's
Loader.loadBytes, but I don't see an equivalent for Sound instances.
-- 
Mike Keesey
___
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


[Flashcoders] [AS3] Using ByteArray as a FLV holder

2007-08-31 Thread Bernard Visscher
Hi all,

I was trying to load a FLV in a ByteArray and then attaching it to a
NetStream or something like that to display the flv. No luck yet!
Does someone know how this can be done?
I think I have to replace the data like you "can" do with sound.

Greetz,

Bernard

___
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] File upload : getting Flash to know the new name

2006-08-29 Thread Bernard Visscher
If you create a MD5 of the filename, why not create a MD5 within flash of
the original name.
MD5 classes can be found, here is one:
http://www.meychi.com/archive/31.php
 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Rich Rodecker
> Verzonden: zaterdag 26 augustus 2006 0:48
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] File upload : getting Flash to 
> know the new name
> 
> as far as I've seen there's no way to return any values from 
> a file upload.
> There was something I saw where you could return different 
> HTTP header codes back to flash to get some sort of control 
> over what was sent back, but even that still wouldnt send 
> back any data.
> 
> jeroen's suggestion might work, or if you have a lot of data 
> maybe you can even save a text file to the server and read 
> that in after the onComplete.
> 
> 
> 
> On 8/25/06, Serge Jespers <[EMAIL PROTECTED]> wrote:
> >
> > Yeah... I see where you're going with that... Can also read 
> the value 
> > from my database but I thought it must have been possible 
> to have my 
> > upload.php return that new name to Flash. That would have made more 
> > sense, but I guess that's not possible then...?
> >
> > S
> >
> >
> >
> > > Hi Serge,
> > >
> > > Maybe store the new name into the $_SESSION and request 
> it when the 
> > > onComplete event is dispatched?
> > > Or am I mis-understanding the situation?
> > >
> > > Greets,
> > > Jeroen
> > >
> > > Serge Jespers wrote:
> > >> Hey guys,
> > >>
> > >> I'm doing a fileUpload in this project and in my PHP script, I 
> > >> rename the file (make an MD5 from it).
> > >> I was just wondering how I can get Flash to understand this new 
> > >> filename... Is this possible at all?
> > >>
> > >> Thanks for your fast responses ;-)
> > >>
> > >> Serge
> > >> ___
> > >> 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
> >
> > ___
> > 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
> 

___
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] Weird?? increment behavior..

2006-08-13 Thread Bernard Visscher
Thanks Mark!
Didn't know that :) 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Mark Winterhalder
> Verzonden: maandag 14 augustus 2006 0:03
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] Weird?? increment behavior..
> 
> > test('name' + depth, depth++); //traces name2 : 1
> 
> Yes, arguments of functions are pushed on the VM's stack in 
> reverse order, right-to-left. It's counterintuitive, 
> something you just have to come across once to notice, a nice 
> bit of ActionScript trivia :)
> 
> Mark
> 
> 
> On 8/13/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > Just tested a simple function to check if the increments 
> are done correctly.
> > I found the following a bit od.
> > Maybe some can shed a light on this..
> >
> > base code:
> >
> > //code
> > function test(myName:String,myNumber:Number):Void
> > {
> > trace(myName + " : " + myNumber); } var depth:Number = 1; 
> > test('name' + depth, depth++); //traces name2 : 1 depth = 1; 
> > test('name' + depth, ++depth); //traces name2 : 2 depth = 1; 
> > test('name' + depth++, depth); //traces name1 : 1 depth = 1; 
> > test('name' + ++depth, depth); //traces name2 : 1 //end code
> >
> > I believe only the last 2 have the correct behavior, the 
> first 2 don't.
> >
> > when I test, test('name' + depth, depth++); I expect a trace like: 
> > name1 : 1 when I test, test('name' + depth, ++depth); I 
> expect a trace 
> > like: name1 : 2
> >
> > Is it my mind that's letting me down, or is it really a "bug" ?
> >
> > Greetz,
> >
> > Bernard
> >
> > ___
> > 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
> 

___
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] Weird?? increment behavior..

2006-08-13 Thread Bernard Visscher
Hi all,

Just tested a simple function to check if the increments are done correctly.
I found the following a bit od.
Maybe some can shed a light on this..

base code:

//code
function test(myName:String,myNumber:Number):Void
{
trace(myName + " : " + myNumber);
}
var depth:Number = 1;
test('name' + depth, depth++); //traces name2 : 1
depth = 1;
test('name' + depth, ++depth); //traces name2 : 2
depth = 1;
test('name' + depth++, depth); //traces name1 : 1
depth = 1;
test('name' + ++depth, depth); //traces name2 : 1
//end code

I believe only the last 2 have the correct behavior, the first 2 don't.

when I test, test('name' + depth, depth++); I expect a trace like: name1 : 1
when I test, test('name' + depth, ++depth); I expect a trace like: name1 : 2

Is it my mind that's letting me down, or is it really a "bug" ?

Greetz,

Bernard

___
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] String Empowerment

2006-08-01 Thread Bernard Visscher
Sorry.. my mistake... 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Steven Sacks | BLITZ
> Verzonden: woensdag 2 augustus 2006 0:16
> Aan: Flashcoders mailing list
> Onderwerp: RE: [Flashcoders] String Empowerment
> 
> > Don't use the toLowerCase()
> > Because when I write my name like: "Bernard Visscher" I 
> don't want the 
> > output to be "Bernard visscher" with the lowercase V.
> 
> That's what capitalize() does.  For what you're wanting you 
> should use toTitleCase().
> 
> 
> 
> 
> ___
> 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


RE: [Flashcoders] String Empowerment

2006-08-01 Thread Bernard Visscher
Don't use the toLowerCase()
Because when I write my name like: "Bernard Visscher" I don't want the
output to be "Bernard visscher" with the lowercase V.


> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Steven Sacks | BLITZ
> Verzonden: dinsdag 1 augustus 2006 19:20
> Aan: Flashcoders mailing list
> Onderwerp: RE: [Flashcoders] String Empowerment
> 
> Right you are!  Thanks!
> 
> BLITZ | Steven Sacks - 310-551-0200 x209
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> [mailto:flashcoders- 
> > [EMAIL PROTECTED] On Behalf Of Heerko van der Kooij
> > Sent: Tuesday, August 01, 2006 9:12 AM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] String Empowerment
> > 
> > Hi Steven,
> > 
> > Maybe i'm saying something stupid here, but would this be a 
> prettier 
> > way to do the capitalize?
> > 
> > String.prototype.capitalize = function() {
> > return this.charAt(0).toUpperCase() +
> this.substr(1).toLowerCase();
> > }
> 
> ___
> 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


RE: [Flashcoders] String Empowerment

2006-07-28 Thread Bernard Visscher
Maybe you can do something with this.
It's an implemenataion of the Damerau-Levenshtein distance.
The output is equal to the minimal number of insertions, deletions,
substitutions and transpositions needed to transform one string into the
other. 
Could be handy for a spellchecker...
It's not optimized, just wrote it a few days ago for testing...

private static function compare(first:String, second:String):Number
{
if(first == "" || second == "") return null;

var f:Array = first.split("");
var s:Array = second.split("");

var dist:Array = new Array();

for(var i:Number = f.length+1 ; i--)
{
dist[i] = new Array();
for(var j:Number = s.length+1 ; j--)
{
if(i==0) dist[i][j] = j;
else dist[i][j] = 0;
}
dist[i][0] = i;
}

for(var i:Number = 1 ; i <= f.length ; i++)
{
for(var j:Number = 1 ; j <= s.length ; j++)
{
var cost:Number = ((f[i-1]==s[j-1])?0:1);
var dx:Number = dist[i-1][j]+1;
var dy:Number = dist[i][j-1]+1;
var dz:Number = dist[i-1][j-1] + cost;
dist[i][j] =
Math.min(Math.min(dx,dy),Math.min(dy,dz));

if(i > 1 && j > 1 && f[i] == s[j-1] &&
f[i-1] == s[j])
dist[i][j] =
Math.min(dist[i][j],dist[i-2][j-2]+cost);
}   
}

return dist[f.length][s.length];
} 


Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Steven Sacks | BLITZ
> Verzonden: vrijdag 28 juli 2006 0:59
> Aan: Flashcoders mailing list
> Onderwerp: RE: [Flashcoders] String Empowerment
> 
> Pseudocode examples of usage:
> 
> "hello".capitalize()  > "Hello"  
> "HELLO".capitalize()  > "Hello"  
> "123ABC".capitalize()  > "123abc"  
> 
> "hello".center(4)  > "hello"  
> "hello".center(20, "_")  > "___hello"  
> 
> "hello".chomp()  > "hello"  
> "hello\n".chomp()  > "hello"  
> "hello \n there".chomp()  > "hello \n there"  
> "hello".chomp("llo")  > "he"
> 
> "string\r\n".chop()  > "string"  
> "string\n\r".chop()  > "string\n"  
> "string\n".chop()  > "string"  
> "string".chop()  > "strin"  
> "x".chop().chop()  > ""
> 
> a = "hello world"  
> a.count("lo")  > 5
> a.count("^hello ")  > 3
> a.count("ej-m")  > 4
> a.count("^e-t")  > 3 
> 
> a = "hello"
> a.ljust(4)  > "hello"  
> a.ljust(20)  > "hello   "  
> 
> a = "hello world"
> a.remove("l")  > "heo word"  
> a.remove("lo ")  > "hewrd"  
> a.remove("^aeiou")  > "eoo"  
> a.remove("ej-m")  > "ho word" 
> a.remove("^e-t")  > "helloorl"
> 
> "stressed".reverse()  > "desserts"  
> 
> a = "hello"
> a.rjust(4)  > "hello"  
> a.rjust(20, "-")  > "---hello"  
> 
> "yellow  moon".squeeze()  > "yelow mon"  
> "  now   is  the".squeeze(" ")  > " now is the"  
> "putters shoot balls".squeeze("m-z")  > "puters shot balls"  
> "hello  world".squeeze("^ ")  > "helo  world"  
> 
> "hello".strip()  > "hello"  
> "\tgoodbye\r\n".strip()  > "goodbye"
> 
> "Hello".swapcase  > "hELLO"  
> "cYbEr_PuNk11".swapcase  > "CyBeR_pUnK11"
> 
> 
> ___
> 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


RE: [Flashcoders] Attention Recursion & Speed Experts

2006-07-25 Thread Bernard Visscher
I don't know if I understand this correctly, but is it making a array flat?

Then this is the fastest way I think:

var foo : Array = ["a", "b", "c", ["d", "e",["d", "e",["d", "e",["d",
"e", "f", ["g", ["h"]], [[], "i"], "j"];
var fooString:String = foo.join(";");
fooString = fooString.split(",").join(";");
foo = fooString.split(";");

output:
a,b,c,d,e,d,e,d,e,d,e,f,g,h,,i,j
 

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Danny Kodicek
> Verzonden: dinsdag 25 juli 2006 21:51
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] Attention Recursion & Speed Experts
> 
> >Oh, I just noticed that Mark's was fastest.  
> 
> Sorry, replied to an easlier mail before noticing the thread 
> continued...
> 
> Danny
> ___
> 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


RE: [Flashcoders] 195 ms versus 57 ms ping time

2006-07-24 Thread Bernard Visscher
I depends...
If you're loading a lot of external resources, all calls will have the 195ms
delay and so it will take longer to load the complete site. It also depends
on the audience, if most people who visit this site are abroad they may be
faster then your local hoster.

But most important is speed (if you don't load many external resources). You
could simple test it by uploading a large file and download it. If the over
all speed isn't much slower then a local hoster I don't think it's a real
problem.

Just my 2 cents...

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Marcelo de Moraes Serpa
> Verzonden: dinsdag 25 juli 2006 0:53
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] 195 ms versus 57 ms ping time
> 
> Well... I have my flash website hosted outside my country... 
> the ping average time is 195ms. Another site like mine hosted 
> locally (on my city) takes an average 57ms to ping. Does the 
> 138ms of difference really makes difference? Does this 
> justifies changing the host? Do you think I should search for 
> a "local host" instead of hosting it outside like I´m doing now?
> 
> Please, share your experiences!
> 
> Marcelo.
> ___
> 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


RE: [Flashcoders] modify sample rate in MP3 header?

2006-07-20 Thread Bernard Visscher
I don't believe it's possible like that.
MP3 doesn't store samplerate in the headers it's all over the place.
Just test with a simple mp3, delete the first mb with a texteditor now it
will play the remaining mp3 with the correct sample rate.

Bernard 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Marc Hoffman
> Verzonden: donderdag 20 juli 2006 22:06
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] modify sample rate in MP3 header?
> 
> I've been using Flash to play back bird songs from amy 
> website. By generating some MP3's at half or quarter speed 
> (with commensurate drop in pitch) I can demonstrate some 
> fascinating detail in bird songs that's otherwise missed by 
> the human ear.
> 
> Now if I could just modify the MP3 headers on-the-fly (with 
> server side file manipulation), I could let Flash slow down 
> any MP3's without having to generate and store separate 
> versions of the sound file on the server.
> 
> Anybody know of tools to modify MP3 header info on the fly? 
> Sort of like creating thumbnails of images using PHP?
> 
> Marc Hoffman
> 
> 
> ___
> 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


RE: [FlashCoders] Memory builds up

2006-07-20 Thread Bernard Visscher
> I tried your example, but i see no alarming memory build up.
I can confirm this, no speedy memory increase, only 500kb in about 5 min.

Bernard

> On 7/20/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I have a few very simple lines of code on _root, frame 1 (it's the 
> > only frame in the main timeline):
> >
> > --
> > var ballID:Number = 0;
> >
> > _root.onEnterFrame = createBall;
> >
> > function createBall():Void {
> > var mc:MovieClip = _root.attachMovie("ball", "ball" + ballID, 100 +
> > ballID++);
> > mc._x = random(550);
> > mc._y = random(400);
> > }
> > --
> >
> > "ball" is the linkage ID of a simple vector circle in the library.
> > The ball movieclip has 10 frames (with only 1 keyframe on 
> frame 1) and 
> > at the last frame it says
> >
> > this.removeMovieClip();
> >
> > I run the swf and it soon builds up memory, from 6.8M to 
> 10M. It will 
> > probably go up more if I leave it open.
> >
> > Why??
> >
> > The balls are created and destroyed just fine on the 
> screen. What is 
> > happening and the memory builds up?
> >
> > This is a test regarding a big optimization attempt for a big game 
> > project I'm finishing up, where the game slows down significantly 
> > after 30min of play. I started with the very basics and I see that 
> > even in this simple example there is problem with the memory.
> >
> > Am I missing something here?
> >
> > Thanks a lot,
> >
> > Dimitrios
> > ___
> > 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
> 

___
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] call JS-Method from SWF in hidden on IE

2006-07-17 Thread Bernard Visscher
You could try a width and height of 0px and the overflow set to hidden.
I don't know if all browsers will accept 0px for the width or height,
therefor I made a simple js example:


function hideDiv(divId)
{
var d = document.getElementById(divId);
if(document.all){
d.style.width = "0px";
d.style.height = "0px";
d.style.overflow = "hidden"; 
} else {
d.style.visibility = "hidden";
}
}
hideDiv("testDiv");


Just place it just before the  tag.

Greetz,

Bernard
 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> David Fischer
> Verzonden: maandag 17 juli 2006 21:18
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] call JS-Method from SWF in 
> hidden  on IE
> 
> Hi Kevin,
> 
> after several test i can confirm your previously mentioned 
> behaviour, but haven't found a workaround though.
> 
> Thanks for your information!
> 
> David
> 
> 
> 
> 
> 
> Kevin Newman wrote:
> > In my experience with trying to work out a magic fix for the eolas 
> > patent (http://www.unfocus.com/projects/patentMagic/), I have found 
> > that in IE, with swfs at least (but possibly all objects) 
> objects that 
> > are set with display: none, do not even load in the 
> background, never 
> > mind execute javascript.
> > 
> > Kevin N.
> > 
> > 
> > David Fischer wrote:
> >> Hi,
> >>
> >> turns out that a swf in a  hidden  won't execute any 
> >> Javascript-Methods in Internet Explorer.
> >> it kinda seems logical in terms of "if anything is hidden, 
> i don't care".
> >>
> >> this works with firefox (mac/win), opera(mac/win), safari though.
> >> Can anyone confirm this behaviour ?
> >>
> >> Thanks,
> >>
> >> David
> > 
> > 
> > ___
> > 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
> 

___
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] as3: weird package problem

2006-07-15 Thread Bernard Visscher
Try this:

c:/classes


Note the / instead of \ for the path.

Hope this will help.

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Meinte van't Kruis
> Verzonden: zaterdag 15 juli 2006 15:11
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] as3: weird package problem
> 
> Thanks for your reply,
> 
> I just tried out what you suggested, but didn't make any difference :(
> 
> It works when I leave the package name empty (this seems obvious).
> But that wouldnt be a solution, because a class sitting 
> somewhere else wouldn't be able to access it.
> 
> On 7/15/06, John Grden <[EMAIL PROTECTED]> wrote:
> >
> > it's a stab in the dark, but have you tried renaming your class to 
> > somehting different than the folder/package it sits in?
> >
> > package nl.test{
> >public class MyClassTest{
> >public function MyClassTest(){
> >}
> >}
> > }
> >
> >
> >
> > On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > >
> > > Hellow,
> > >
> > > I'm currently exploring as3 with the free compiler and 
> keep running 
> > > against a seemingly strange problem.
> > > Here's my class:
> > >
> > > package nl.test{
> > > public class Test{
> > > public function Test(){
> > > }
> > > }
> > > }
> > >
> > > It's sitting in the directory c:\classes\nl\test. That 
> directory is
> > added
> > > in
> > > the flex configuration file:
> > >
> > > 
> > >  c:\classes\
> > > 
> > >
> > > I get the following error when I try to compile the class:
> > >
> > > C:\classes\nl\test\Test.as: Error: A file found in a source-path 
> > > must
> > have
> > > the s
> > > ame package structure '', as the definition's package, 'nl.test'.
> > >
> > > This error also shows when I don't add the c:\classes to the 
> > > source-path in the flex-config.xml.
> > >
> > > I'm really stuck, I can't figure out what I'm doing 
> wrong, probably 
> > > overlooking something..
> > > Does anyone know?
> > >
> > > regards,
> > > Meinte
> > > ___
> > > 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
> > >
> >
> >
> >
> > --
> > John Grden
> > ___
> > 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
> 

___
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] IIS vs Apache: transferring of vars from swf to PHPproblem?

2006-07-12 Thread Bernard Visscher


You have to use $_GET or $_POST to get your variable.

I wouldn't use the mail script like this, you'll have to do some checking on
which data is passed.
mail() has a posibillity of header-injection.

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Ramon Miguel M. Tayag
> Verzonden: woensdag 12 juli 2006 12:14
> Aan: FlashCoders Programming; [EMAIL PROTECTED]
> Onderwerp: [Flashcoders] IIS vs Apache: transferring of vars 
> from swf to PHPproblem?
> 
> Hi everyone,
> 
> I need help.
> 
> I have a swf file with this code in the timeline:
> ==
> var lv:LoadVars = new LoadVars();
> var lv_temp:LoadVars = new LoadVars();
> 
> lv.foo = "bar";
> lv.sendAndLoad("test.php", lv_temp);
> ==
> 
> then test.php is:
> ==
>mail("my email", "You tried to send $foo", "Message"); 
> ?> ==
> 
> The problem:
> In one server (IIS), it sends but the subject just comes out 
> "You tried to send" and on another (Apache), it works: "You 
> tried to send bar".
> 
> Is there something in IIS that I have to fix?
> 
> --
> Ramon Miguel M. Tayag
> ___
> 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


RE: [Flashcoders] Php Host

2006-07-11 Thread Bernard Visscher
www.bhosted.nl very good! 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Zeh Fernando
> Verzonden: dinsdag 11 juli 2006 23:02
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] Php Host
> 
> > And if you're wondering why they seem to get good reviews 
> in a lot of 
> > places, it may be related to their policy of paying people 
> to refer them.
> > I'm also pretty disappointed with most of the sites that review web 
> > hosting, which are in many cases not impartial.
> 
> Thanks for letting us know of that, but just to be clear - I 
> do recommend them because I've been using them for 4 years 
> without any problem, not because I've read reviews of them.
> 
> I feel sorry for the problems you had, but I just wanted to 
> add that my experience with them has been different and I'm 
> not basing myself on other people's reviews or opinions.
> 
> 
> 
> - Zeh 
> 
> ___
> 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


RE: [Flashcoders] flash to detect/play files in a folder

2006-07-09 Thread Bernard Visscher
Only if you run the swf localy on the clients computer and the folders it
should search are also on the clients computer.
 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> jordan robinson
> Verzonden: zondag 9 juli 2006 18:24
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] flash to detect/play files in a folder
> 
> Would northcodes swf studio or multidmedias Zinc help this 
> issue out any?
> 
> 
> 
> 
> On Jul 9, 2006, at 12:12 PM, Bernard Visscher wrote:
> 
> > The only way is plan B.
> > The swf runs client side so it has no rights/methods to read the 
> > server folders.
> >
> > Bernard
> >
> >> -Oorspronkelijk bericht-
> >> Van: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] Namens jordan 
> >> robinson
> >> Verzonden: zondag 9 juli 2006 18:03
> >> Aan: flashcoders@chattyfig.figleaf.com
> >> Onderwerp: [Flashcoders] flash to detect/play files in a folder
> >>
> >> I am working on  kiosk project that will be updated 
> dynamically. Is 
> >> there  way to have flash detect what is in a folder before 
> I have the 
> >> shell play through the sub files. I know you can set it up through 
> >> xml and have it go through a list but I'd rather use that 
> option as 
> >> plan b. The project is dealing with kiosks in hundreds of 
> locations 
> >> and some locations will be playing different file then 
> others. If I 
> >> could get my shell to just play whatever is in a folder then that 
> >> would be ideal (playing whatever is in that subdirectory). 
> Thanks in 
> >> advance for any help on this issue.
> >>
> >> Jordan Robinson
> 
> 
> ___
> 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


RE: [Flashcoders] flash to detect/play files in a folder

2006-07-09 Thread Bernard Visscher
The only way is plan B.
The swf runs client side so it has no rights/methods to read the server
folders. 

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> jordan robinson
> Verzonden: zondag 9 juli 2006 18:03
> Aan: flashcoders@chattyfig.figleaf.com
> Onderwerp: [Flashcoders] flash to detect/play files in a folder
> 
> I am working on  kiosk project that will be updated 
> dynamically. Is there  way to have flash detect what is in a 
> folder before I have the shell play through the sub files. I 
> know you can set it up through  
> xml and have it go through a list but I'd rather use that option as   
> plan b. The project is dealing with kiosks in hundreds of 
> locations and some locations will be playing different file 
> then others. If I could get my shell to just play whatever is 
> in a folder then that would be ideal (playing whatever is in 
> that subdirectory). Thanks in advance for any help on this issue.
> 
> Jordan Robinson
> ___
> 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


RE: [Flashcoders] loading a symbol (library item) into a new movieClip?

2006-07-09 Thread Bernard Visscher
> hiya -
> 
> i want to have a movieClip "symbol" in my library of items, 
> and then create an instance of this on the stage. is there a 
> function to do this?

Have an instance in your library and export it for actionscript.
Let's say the name you give for the export is "symbol"
The you could use:
attachMovie("symbol","myNewSymbolInstance",getNextHighestDepth());
 
> seems odd the programmer has to do this work... simply:
> 
> clip = mc.createEmptyMovieClip();
> 
> would seem to be adequate... ?

No it isn't because when you would assign another var to clip the movieClip
will still be on stage but with no reference.
What you could do is:

var n:Number = mc.getNextHighestDepth();
var clip:MovieClip = mc.createEmptyMovieClip("movieClip"+n,n);

Now all clips will have a unique name, because the depth number is attached.

Bernard

___
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] euro symbol fight

2006-07-06 Thread Bernard Visscher
Maybe you want to take a look at this thread: 
http://sourceforge.net/forum/message.php?msg_id=2147438 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Ron Wheeler
> Verzonden: donderdag 6 juli 2006 15:27
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] euro symbol fight
> 
> If you want it to work
> It is probably easier to do every single one than just some.
> 
> Ron
> 
> 
> Gabriel wrote:
> > I access it with AMFPHP, are you saying I have to modify 
> every single 
> > object returned from AMF?
> >
> >
> > thanks
> >
> > Ron Wheeler wrote:
> >> Who controls "my_flash_service.php". That is the spot where the 
> >> escaping should be done.
> >>
> >> Ron
> >>
> >> Gabriel wrote:
> >>> Is a good idea, but I cannot do that because, most of the data I 
> >>> get, I retrieve it from the database directly trough the 
> ORM (pear), 
> >>> so I can't "touch" the data.
> >>>
> >>> the way it comes is:
> >>>
> >>> DB->ORM->my_flash_service.php->AMFPHP gateway->myApp.swf
> >>>
> >>> any idea?
> >>>
> >>> thanks!
> >>> GaB
> >>>
> >>> David Rorex wrote:
>  How about 'escaping' the text before you send to amfphp, and 
>  'unescaping' the text after you recieve it back?
> 
>  escaping = turning all non-standard characters into things like
>  %12%34%56
>  unescaping = reverse of above process
> 
>  -David R
> 
>  On 7/4/06, Gabriel <[EMAIL PROTECTED]> wrote:
> > thanks Serge
> > yes, it has the symbol. And is not the "embed" problem...
> >
> > thanks
> > GaB
> >
> > Serge Jespers wrote:
> > > Does that font have the euro symbol?
> > > I think what you're describing could mean it doesn't have the 
> > > font symbol...
> > >
> > > Serge
> > >
> > >
> > >
> > >> thanks Bernard, but this is not the problem.
> > >>
> > >> I have a table in a database, where I write this text "this
> > will cost
> > >> you 50€".
> > >>
> > >> when I retrieve this info from AMFPHP I receive the 
> whole text
> > except
> > >> for € which cames as a square.
> > >>
> > >> thanks,
> > >> GaB
> > >
> > > ___
> > > 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
> > >
> >
> > -- 
> > Gabriel Belvedere
> >
> > www.antares.es 
> > ___
> > 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
> 
> >>>
> >> ___
> >> 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
> 

___
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] AS2 and watch ...

2006-07-06 Thread Bernard Visscher
Or a simple linedraw, I've used the watch once with the tween class.

var test_mc:MovieClip = this.createEmptyMovieClip("test_mc",1);
test_mc.lineWidth = 0;

var f:Function = function(prop, oldVal, newVal){
this.clear();
this.lineStyle(1,0x00);
this.moveTo(0,25);
this.lineTo(newVal,25);
return newVal;
}

test_mc.watch("lineWidth",f);

this.onEnterFrame = function(){
test_mc.lineWidth++;
}

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens eka
> Verzonden: donderdag 6 juli 2006 9:40
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] AS2 and watch ...
> 
> Hello :)
> 
> You can use watch with a MovieClip if you want create 
> components with an event when you use the "enabled" property 
> for example :)
> 
> import mx.utils.Delegate ;
> 
> class MyButton extends MovieClip {
> 
> // o Constructor
> 
> public function MyButton() {
>this.watch("enabled", Delegate.create(this, 
> _changeEnabled) ;
> }
> 
> // -o Init Broadcaster
> 
> static public var INIT = 
> AsBroadcaster.initialize(MyButton.prototype)
> ;
> 
> // -o Public Methods
> 
> public function up():Void {
>   this.gotoAndStop("up") ; // first frame in your 
> component
>   this._alpha = 100 ;
> }
> 
> public function disabled():Void {
>   this.gotoAndStop("disabled") ; // the skin when 
> you button is disabled
>   this._alpha = 60 ;
> }
> 
> // o Private Methods
> 
> private methods _changeEnabled( id , oldValue, newValue) {
>   trace("id : " + id + ", change " + oldValue + " to " +
> newValue) ;
>   if (newValue) {
> up() ;
>   } else {
> disabled() ;
>   }
>   return newValue ;
> }
> 
> private function onPress():Void {
>broadcastMessage("onClick", this) ;
> }
> 
> 
> }
> 
> In flash you create a MovieClip symbole with AS2 class MyButton !
> 
> Try this :
> 
> myButton.addListener(this) ;
> this.onClick = function ( who:MovieClip ) {
>   trace("Click : " + who) ;
> }
> 
> Key.addListener(this) ;
> onKeyDown = function () {
> myButton.enabled = ! myButton.enabled ; // press key to 
> test please :) }
> 
> 
> EKA+ :)
> 
> 2006/7/6, Julien Vignali <[EMAIL PROTECTED]>:
> >
> > Well, I use it sometimes as an update broadcast mecanism. 
> Let's say I 
> > have some value objects floating around, and when I change 
> a property 
> > on any of these, I use the watch to broadcast an event if 
> for example 
> > the value has changed (by testing the newValue and the oldValue).
> > It can be sometimes useful for some little and simple tasks 
> that don't 
> > rely on a heavy process, like applying watches on global vars.
> >
> > Of course, you can do all of this without using the watch function, 
> > it's just a matter of design, choice and code comfort :)
> >
> > Julien
> >
> > Stephen Ford a écrit :
> > > How often do you use 'watch' in your applications?.
> > >
> > > It seems pretty powerful to me, and I've only just discovered it.
> > >
> > > Any thoughts on this.
> > >
> > > Cheers,
> > > Stephen.___
> > > 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
> >
> 

___
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] Re: Programmatically instantiating a classthatextends MovieClip

2006-07-05 Thread Bernard Visscher
Nice!
Didn't know that one :) 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Tyler Wright
> Verzonden: woensdag 5 juli 2006 17:47
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] Re: Programmatically 
> instantiating a classthatextends MovieClip
> 
> There's a really light class called Prototype which is free 
> to download at http://codext.com/code/9. It does the same 
> thing except with full constructor support. It also has a 
> really simple/clean API:
> 
> mc = createEmptyMovieClip("mc", 1);
> Prototype.makeInstanceof(mc, MyMovieClipClass);
> 
> thats it! I've loved it ... works on extending other elements 
> too, like TextFields or _root (I use that one constantly).
> 
> Tyler
> 
> 
> On 7/3/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
> >
> > I've tested the following a while ago and it works perfectly.
> > It uses the acme ClassUtilities class.
> >
> > MovieFactory:
> >
> > import com.acme.ClassUtilities;
> >
> > class nl.debit.util.MovieFactory {
> >
> > private static var instance : MovieFactory;
> >
> > public static function getInstance() : MovieFactory
> > {
> > if (instance == null)
> > instance = new MovieFactory();
> > return instance;
> > }
> >
> > private function MovieFactory()
> > {
> > ClassUtilities.registerPackage();
> > }
> >
> > public static function
> > createMC(target:MovieClip,id:String,className:Function):MovieClip
> > {
> > if (instance == null)
> > instance = new MovieFactory();
> >
> > if(!className.symbolLinked)
> > {
> > var classPath:String = 
> ClassUtilities.getPath(className);
> > className.symbolName = "__Packages." + classPath;
> > className.symbolLinked = 
> > Object.registerClass(className.symbolName,className);
> > }
> >
> > return
> > 
> target.attachMovie(className.symbolName,id,target.getNextHighe
> stDepth());
> > }
> > }
> >
> >
> > MyClass:
> >
> > class MyClass extends MovieClip{
> >
> > public function MyClass() {
> > beginFill(0x00);
> > moveTo(0,0);
> > lineTo(100,0);
> > lineTo(100,100);
> > lineTo(0,100);
> > lineTo(0,0);
> > endFill();
> > }
> > }
> >
> > Then use in your code:
> >
> > var mClip:MovieClip = MovieFactory.createMC(_root,"test",MyClass);
> >
> >
> > Greetz,
> >
> > Bernard
> >
> > > -Oorspronkelijk bericht-
> > > Van: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Namens 
> Costello, 
> > > Rob R
> > > Verzonden: maandag 3 juli 2006 17:05
> > > Aan: flashcoders@chattyfig.figleaf.com
> > > Onderwerp: [Flashcoders] Re: Programmatically 
> instantiating a class 
> > > thatextends MovieClip
> > >
> > > As a variant on the __proto__ method (which I gather is what the 
> > > compiler actually uses behind the scenes anyway) I also 
> bundle the 
> > > code into a static method
> > >
> > >
> > >
> > >
> > >
> > >  Class A {
> > >
> > > ...
> > >
> > >
> > >
> > > // dynamicMc (no library symbol) will be added and subclassed to 
> > > mcSubClass
> > >
> > > dynamicMc:MovieClip  = McSubClass.addInstance(baseMC);
> > >
> > > }
> > >
> > >
> > >
> > >
> > >
> > > class McSubClass extends MovieClip{
> > >
> > >
> > >
> > > function McSubClass {
> > >
> > >   //empty constructor
> > >
> > > }
> > >
> > >
> > >
> > > function init(){
> > >
> > >
> > >
> > >   //initialize mc - add dynamic graphics etc
> > >
> > >
> > >
> > > }
> > >
> > >
> > >
> > > static function addInstance (base_mc) {
> > >
> > >
> > >
> > > var newMc;

RE: [Flashcoders] euro symbol fight

2006-07-04 Thread Bernard Visscher
The escaped HTML Euro sign is %E2%82%AC 

So you could use something like: my_txt.htmlText = unescape("%E2%82%AC");


Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Gabriel
> Verzonden: dinsdag 4 juli 2006 9:10
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] euro symbol fight
> 
> Hi all!...
> 
> Does anybody knows the correct path to fight against the €uro 
> symbol to be shown in a swf and retrieved from a database 
> through AMFPHP???
> 
> 
> thanks in advance!
> 
> GaB
> ___
> 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


RE: [Flashcoders] 50 stars blinking... app gets too slow

2006-07-03 Thread Bernard Visscher
Following Weyerts suggestion to update all stars in 1 onEnterFrame.. Here is
a little demo (150 stars): http://www.debit.nl/flashcoders/stars.html

This is the code, just place it in the first frame and make a MovieClip and
export it for AS with the name "star"

var starCount:Number = 150;
var stars:Array = new Array();
var alphaSpeed:Number = 5;

for(var a:Number = 0 ; a0.5?1:-1) * ((Math.random() *
alphaSpeed) + 1);
stars.push(tmpStar);
}

onEnterFrame = function(){
var i:Number = 0;
while(i= 100){
stars[i]._alpha = 100;
stars[i].alphaSpeed *= -1;
}
i++;
}
}

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Marcelo de Moraes Serpa
> Verzonden: maandag 3 juli 2006 21:11
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] 50 stars blinking... app gets too slow
> 
> Hmmm... looking better at this loop, I don´t think it would 
> do the smooth fade-in/fade-out I would like to achieve. I 
> guess the best solution still is animating this 
> fade-in/fade-out using the flash IDE and then do a play() in 
> the script. I would have only to add a line of script in the 
> last keyframe of the star animation to make it loop.
> 
> On 7/3/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
> >
> > Ok Weyert...:) now I think I´ve got the point - each star 
> would have a 
> > different speed, so, they would blink at different time 
> rates, right? 
> > And with only one loop to achieve this, I would prevent myself of 
> > attaching an onEnterFrame to each of the stars...
> >
> > Marcelo.
> >
> >
> > On 7/3/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
> > >
> > > Well, what you do is you add +5 or -5 to the current _alpha value.
> > > Meaning you will increase or decrease the current alpha 
> value by 5. 
> > > It's like writing instance._alpha = instance._alpha - 5 
> (or + 5). Of 
> > > course, you can use some sort of loop to update all 
> movieclips/stars i.e:
> > >
> > > var starsCount  = 50;
> > > var i =0;
> > > while ( i < starsCount ) {
> > >   var currentStar = _root[ "star" + i ]._alpha ;
> > >   currentStar._alpha = currenStar._alpha + currentStar.alphaSpeed;
> > >   i++;
> > > }
> > > ___
> > > 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
> 

___
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] Re: Programmatically instantiating a class thatextends MovieClip

2006-07-03 Thread Bernard Visscher
I've tested the following a while ago and it works perfectly.
It uses the acme ClassUtilities class.

MovieFactory:

import com.acme.ClassUtilities;

class nl.debit.util.MovieFactory {

private static var instance : MovieFactory;

public static function getInstance() : MovieFactory 
{
if (instance == null)
instance = new MovieFactory();
return instance;
}

private function MovieFactory()
{
ClassUtilities.registerPackage();   
}

public static function
createMC(target:MovieClip,id:String,className:Function):MovieClip
{   
if (instance == null)
instance = new MovieFactory();

if(!className.symbolLinked)
{
var classPath:String = ClassUtilities.getPath(className);
className.symbolName = "__Packages." + classPath;
className.symbolLinked =
Object.registerClass(className.symbolName,className);
}

return
target.attachMovie(className.symbolName,id,target.getNextHighestDepth());
}
}
 

MyClass:

class MyClass extends MovieClip{

public function MyClass() {
beginFill(0x00);
moveTo(0,0);
lineTo(100,0);
lineTo(100,100);
lineTo(0,100);
lineTo(0,0);
endFill();
}
}

Then use in your code:

var mClip:MovieClip = MovieFactory.createMC(_root,"test",MyClass);


Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Costello, Rob R
> Verzonden: maandag 3 juli 2006 17:05
> Aan: flashcoders@chattyfig.figleaf.com
> Onderwerp: [Flashcoders] Re: Programmatically instantiating a 
> class thatextends MovieClip
> 
> As a variant on the __proto__ method (which I gather is what 
> the compiler actually uses behind the scenes anyway) I also 
> bundle the code into a static method 
> 
>  
> 
>  
> 
>  Class A { 
> 
> ... 
> 
>  
> 
> // dynamicMc (no library symbol) will be added and subclassed 
> to mcSubClass
> 
> dynamicMc:MovieClip  = McSubClass.addInstance(baseMC);
> 
> }  
> 
>  
> 
>  
> 
> class McSubClass extends MovieClip{ 
> 
>  
> 
> function McSubClass {
> 
>   //empty constructor
> 
> }
> 
>  
> 
> function init(){
> 
>  
> 
>   //initialize mc - add dynamic graphics etc 
> 
>  
> 
> } 
> 
>  
> 
> static function addInstance (base_mc) {
> 
>  
> 
> var newMc;
> 
> var nd = base_mc.getNextHighestDepth();
> 
> newMc= base_mc.createEmptyMovieClip("mcSubClass"+nd,nd);
> 
> newMc.__proto__ = new McSubClass ();
> 
> newMc.init();
> 
> return newMc;
> 
> }
> 
>  
> 
>  
> 
> }
> 
>  
> 
> maybe mc.__proto__ == MyClass.prototype (below) is better 
> than my  newMc.__proto__ = new McSubClass ()  
> 
> my method (i picked up on this list) does have the side 
> effect that the constructor can't initialize the mc, hence 
> the separate init call after the __proto__ / constructor; all 
> wrapped in one method so I don't forget  
> 
>  Rob 
> 
>  
> 
>  
> 
> > Subject: Re: [Flashcoders] Programmatically instantiating a 
> class that
> 
> > extends MovieClip.
> 
> > To: "Flashcoders mailing list" 
> 
> > Message-ID:
> 
> > <[EMAIL PROTECTED]>
> 
> > Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> > 
> 
> > Hello :)
> 
> > 
> 
> > it's easy, you must use __proto__
> 
> > 
> 
> > AS2 - MyClass extend MovieClip !!!
> 
> > 
> 
> > MyClass extends MovieClip {
> 
> > 
> 
> >  // o Constructor
> 
> > 
> 
> >  public function MyClass() {
> 
> > 
> 
> >  }
> 
> > 
> 
> > }
> 
> > 
> 
> > 
> 
> > 
> 
> > var mc = createEmptyMovieClip("myInstance", 1) ;
> 
> > mc.__proto__ == MyClass.prototype ;
> 
> > MyClass.call(mc) ;
> 
> > 
> 
> > EKA + :)
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 2006/6/29, Scott Hyndman <[EMAIL PROTECTED]>:
> 
> > >
> 
> > > That's exactly what I mean. As a result you can do cool 
> things like
> 
> > > reparenting -- like moving a button from one window to another. It
> 
> > > handles the MovieClip creation itself.
> 
> > >
> 
> > > A code example really isn't too easy, because the framework that
> 
> > > allows this to be possible is quite large. If you were really
> 
> > > interested, you could look at the code. Here's a link:
> 
> > >
> 
> > > http://tinyurl.com/jqtwv
> 
> > >
> 
> > > It's a gigantic class...so it might be difficult to work through. 
> > > The
> 
> > > important method is createMovieClips(), which is called 
> when a view
> 
> > > (the type of object that encapsulates movieclips) moves to a new
> 
> > > superview.
> 
> > >
> 
> > > Scott
> 
> > >
> 
> > > On 29/06/06, Jim Kremens <[EMAIL PROTECTED]> wrote:

RE: [Flashcoders] Ajax and ActionScript 2.0

2006-07-01 Thread Bernard Visscher
> > but I see very much job postings with "With a good 
> knowledge of PHP, 
> > ASP, ASP.NET, XHTML, HTML, CSS, PERL, JS, SQL, C# etc etc..."
> >
> I could answer that ad, couldn't you? ;-)
No problem ;)
 
> It's actually the part where they want all of those 
> skills and the job only pays $30k that bothers me.
So true!
 
> Here's my sample job posting:
> 
> -
> We're a small interactive agency woirking for top clients 
> that we can't tell you about. It's a fun enviornment and 
> we're like a big family.
> 
> Requirements: PhD in Physics, 10+ years experience in 
> aerodynamics and aircraft design, 8+ years working experience 
> with particle accelerators, a doctorate in divinity, 
> familiarity with the layout of the human genome, and PhotoShop CS.
> 
> Pay: $23k
> 
> Oh, and we need you to relocate to Dubai.
> -
> 
> ;-)

LOL :D

Bernard

___
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] Ajax and ActionScript 2.0

2006-06-30 Thread Bernard Visscher
> I'm not trying to make you look foolish, it's just that 
> overblown descriptions like that are what make "real" 
> programmers delete the job posting without finishing the 
> first paragraph.

I'm in with that. IMO you should only say "We need people! This is our
portfolio, if you think you can help us give us a call!"
I think every good AS programmer can program javascript and thus AJAX sites
(If they want to is another issue ;)).
I'm just meaning to say, I really do think it's a bit useless to ask for
experience in some kind of language.
You did it rather nicely to only say AS or AJAX, but I see very much job
postings with "With a good knowledge of PHP, ASP, ASP.NET, XHTML, HTML, CSS,
PERL, JS, SQL, C# etc etc..."
The best way IMO is getting to know people in a reallife conversation and
maybe ask them a few logical questions that a good programmer can answer,
not covering one (script)language.

Greetz,

Bernard



___
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] About OOP metodology

2006-06-30 Thread Bernard Visscher
I think you could do this the MVC way
(http://en.wikipedia.org/wiki/Model_view_controller)
The only thing that really changes is your view, the model and the
controller are almost the same.
You could even write a model, controller and view which holds all fields and
logic that returns in all the forms.
Then you extend those to meet the needs for this particular form.

This is the same way edibol as wrote I see now... Quote: "You could even
abstract the technical logic from the UI completely and write
communicators/controllers that respond to events fired from the ui
(movieclips)."


Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens elibol
> Verzonden: vrijdag 30 juni 2006 17:06
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] About OOP metodology
> 
> Try a compositional approach. You might design a set of 
> classes that reference movieclips and delegate events to the 
> class; this would be contrary to extending movieclips. This 
> way you can design movieclips specific to the site and design 
> the code specific to the logic.
> 
> You could even abstract the technical logic from the UI 
> completely and write communicators/controllers that respond 
> to events fired from the ui (movieclips).
> 
> M.
> 
> On 6/30/06, Ricardo Sánchez <[EMAIL PROTECTED]> wrote:
> >
> > I've just started to work in a big internet communication 
> agency. We 
> > have to make 2 or 3 microsites every week. Each of which 
> uses a very 
> > similar form to get user data.
> >
> > All that changes from one to another is a couple of fields and the 
> > look of it.
> >
> > My question is: What's the best way to implement a 
> re-usable class for 
> > this kind of work? Should I make a movieclip with all the 
> fields and a 
> > class binded to it and modify the clip everytime I re-use it? Or 
> > should I make a class that loads different clips from the library?
> >
> > Do I explain myself?
> >
> > Thanks.
> > ___
> > 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
> 

___
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] Server app for video to swf conversion?

2006-06-27 Thread Bernard Visscher
I know it's a bit late to answer this post.. But ;)
When you use ffmpeg (which works great) you should use flvtool2 to insert
the metadata like duration etc.
It kan be found at: http://www.inlet-media.de/flvtool2

A simple php sollution to execute ffmpeg and then the flvtool2 would be (if
you have the rights): 

$shell = '/usr/bin/ffmpeg -i '.$uploadedfile.' -acodec mp3 -ab 96 -f flv -s
320x240 -ar 44100 -pass 2 -b 400 -r 25 -y '.$outputfile.' ; flvtool2 -U
'.$outputfile;
$output =  exec($shell);

The ; seperator can be used in the commandline to execute another process
when the first is finished.
You can easily test it on your box with something like: "ls ; ls -l"

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens ::: curdiss
> Verzonden: zaterdag 10 juni 2006 0:01
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] Server app for video to swf conversion?
> 
> seems like there has been much talk about FFMEG for server 
> side solutions.
> 
> http://soenkerohde.com/tutorials/ffmpeg
> 
> 
> Best, Curt
> 
> 
> On 6/9/06, Arlo Jamrog <[EMAIL PROTECTED]> wrote:
> > Hi all-
> >
> > I'm doing a user-upload based section of a site where the 
> video they 
> > upload gets converted to a swf for approval on a backend.  
> Can anyone 
> > point me toward a module or application that can do this?  It's a 
> > linux server.  Thanks!
> >
> > -a
> >
> >
> > ___
> > 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
> 

___
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] Composition problems

2006-06-16 Thread Bernard Visscher
> Another things, a lot of people also capitalize class names, 
> but that's personal preference.  And if you aren't already, 
> would recommend you organize your classes into packages - 
> will get real messy real quick if you don't.  

And if you do create packages as Jason proposed..
My personal preference is to create package names lowercase and begin the
classname with a Capital...
That way it's easy to read (I think..)

My 2 cents

Bernard

___
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] unsuscribe

2006-06-16 Thread Bernard Visscher
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

And BTW it's UNSUBSCRIBE not UNSUSCRIBE ;)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens AML
Verzonden: vrijdag 16 juni 2006 23:44
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] unsuscribe


___
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


RE: [Flashcoders] Transparent independent window (not wmode)3rd party tools?

2006-06-14 Thread Bernard Visscher
Does it have to be flash, because quicktime can do this...
http://www.ideesfortes.nl/shapesquad/


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Merrill, Jason
Verzonden: dinsdag 13 juni 2006 17:21
Aan: Flashcoders mailing list
Onderwerp: RE: [Flashcoders] Transparent independent window (not wmode)3rd
party tools?

Hey thanks though - appreciate it!

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Weyert de Boer
>>Sent: Tuesday, June 13, 2006 11:09 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] Transparent independent window (not
wmode)3rd
>>party tools?
>>
>>Yeah, well sadly enough I can't help you with this... Neither do I
have
>>time for it. Sorry, otherwise I wouldn't mind to hack something up in
>>Delphi (win32 onyl)
>>___
>>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

___
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] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
I know;)
I would be a nice option :)
Maybe in future... :P

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Weyert de Boer
Verzonden: maandag 12 juni 2006 20:42
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Stopping FLV Playback download

The site is nice maybe it's nice to support mouse wheels? Not that the 
Flash IDE itself supports it under MacOSX 
___
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


RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
>Aha, so you make thumbnial of a movie and save it as a flv?
Yes, The first frame is a jpg.. then when you load the flv the start image
is the same (if all went well ;))..




___
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] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
OMG! The grill is @ home.. the girl isn't :P

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Bernard Visscher
Verzonden: maandag 12 juni 2006 20:33
Aan: 'Flashcoders mailing list'
Onderwerp: RE: [Flashcoders] Stopping FLV Playback download

Weyert,

The thumbnail is not included in this example ;)
This only shows the play button.. but it's the player used in
http://www.hazazah.com and that site has thumbnail flv's with  thumbnails
and then loads the rollover-flv...

Greetz,

Bernard...

Ps.. It's pizza day.. The gril isn't at home ;)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Weyert de Boer
Verzonden: maandag 12 juni 2006 20:27
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Stopping FLV Playback download

Bernard Visscher wrote:
> http://www.debit.nl/flashcoders/flv/
>
> Pizza's these days are smaller than I thought ;)
>   
Hahah! It's not even pizza day!! Anyway, you can't make it in such way 
that the thumbnial will appear before you press Play?
Miami Vice cool.
___
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

___
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] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
Weyert,

The thumbnail is not included in this example ;)
This only shows the play button.. but it's the player used in
http://www.hazazah.com and that site has thumbnail flv's with  thumbnails
and then loads the rollover-flv...

Greetz,

Bernard...

Ps.. It's pizza day.. The gril isn't at home ;)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Weyert de Boer
Verzonden: maandag 12 juni 2006 20:27
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Stopping FLV Playback download

Bernard Visscher wrote:
> http://www.debit.nl/flashcoders/flv/
>
> Pizza's these days are smaller than I thought ;)
>   
Hahah! It's not even pizza day!! Anyway, you can't make it in such way 
that the thumbnial will appear before you press Play?
Miami Vice cool.
___
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


RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
http://www.debit.nl/flashcoders/flv/

Pizza's these days are smaller than I thought ;)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Bernard Visscher
Verzonden: maandag 12 juni 2006 20:06
Aan: 'Flashcoders mailing list'
Onderwerp: RE: [Flashcoders] Stopping FLV Playback download

I'll make an example... I'm going to eat now.. in about one hour I'll post
it here...

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Jonathan Berry
Verzonden: maandag 12 juni 2006 19:49
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Stopping FLV Playback download

I'm sorry. You said I could download the FLVs when the user hits the play
button. How do you set this option? Maybe this is so obvious I am missing
it?

On 6/12/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
>
> You can't stop the download, you can only break it by loading an empty flv
> in the same component. But I don't think that is what you want.
___
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

___
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] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
I'll make an example... I'm going to eat now.. in about one hour I'll post
it here...

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Jonathan Berry
Verzonden: maandag 12 juni 2006 19:49
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Stopping FLV Playback download

I'm sorry. You said I could download the FLVs when the user hits the play
button. How do you set this option? Maybe this is so obvious I am missing
it?

On 6/12/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
>
> You can't stop the download, you can only break it by loading an empty flv
> in the same component. But I don't think that is what you want.
___
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


RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
You can't stop the download, you can only break it by loading an empty flv
in the same component. But I don't think that is what you want.

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Jonathan Berry
Verzonden: maandag 12 juni 2006 19:31
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Stopping FLV Playback download

Thank you, Bernard, but my questions is, do you have a tutorial on the FLV
Playback component that shows how to do this? Or is there a coded way that
is shown in a tutorial?

On 6/12/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
>
> Just download the flv's when the user hits the play button (show a
> thumbnail
> of the first frame) and when the buffer is full it starts to play.
> Users don't mind waiting a few seconds before a movie starts.
>
>
>
___
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


RE: [Flashcoders] Stopping FLV Playback download

2006-06-12 Thread Bernard Visscher
Just download the flv's when the user hits the play button (show a thumbnail
of the first frame) and when the buffer is full it starts to play.
Users don't mind waiting a few seconds before a movie starts.


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Jonathan Berry
Verzonden: maandag 12 juni 2006 18:09
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] Stopping FLV Playback download

Hello all,
I wonder if any of you could direct me to a resource that discusses how to
have download of a video in a FLV Playback component start only upon
interaction? I have a couple of videos on a page with other multimedia
available for download (Flash presentations on other HTML pages, PDFs) and
they are downloading at the same time so when someone clicks on the PDF
links they are trying to download them as the videos are downloading -
bogging down everything. If you know of a better way to do this as well you
could send me some pointers. Thanks in advance.

-- 
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
www.mindarc.com

---

This E-mail is covered by the Electronic Communications Privacy Act, 18
U.S.C. ?? 2510-2521 and is legally privileged.
This information is confidential information and is intended only for
the use of the individual or entity named above. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.

---
___
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


RE: [Flashcoders] Player question

2006-06-12 Thread Bernard Visscher
For windows I found this: http://www.softwarepatch.com/internet/flash.html
For mac http://www.macupdate.com/info.php/id/17338

Hope this helps...

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens 8ball Developer
Verzonden: maandag 12 juni 2006 17:32
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Player question

I found this:

http://www.adobe.com/support/documentation/en/flashplayer/7/readme/fp7_r19_e
nglish.html

There is talk about standaloneplayer for both mac and pc but where do I
download it and how do I apply for the license to distribute this?

Thoughts?

On 6/12/06, 8ball Developer <[EMAIL PROTECTED]> wrote:
>
> So, I looked at the player distribution license and the only things I see
> are flash player and shockwave, nothing about standalone player. Anyone
have
> a link for that? Thanks
>
>
> On 6/12/06, Mike Mountain <[EMAIL PROTECTED]> wrote:
> >
> > > or send him a copy of your
> > > own standalone player (on my machine it's in C:\Program
> > > Files\Macromedia\Flash 8\Players)
> > >
> > > Danny
> > >
> >
> > Don't think that's allowed without a distribution license.
> > ___
> > 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

___
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] > Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
You could also use almost every digital camera which has "night shot".
That's also infrared. Just plug it into your fire wire port.


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Weyert de Boer
Verzonden: donderdag 8 juni 2006 16:27
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] > Infrared camera for the Mac

Bernard Visscher wrote:
> Well I just tried my old d-link cam and it works like a charm.
> It a d-link c310 (about 10,- euro's I think)
> Open the case, get a sharp knife just cut in the lens-tube at the red
filter
> height. Remove the filter and screw it back again...
>
>   
Are you using a Mac? I am having a Powerbook G4 with 10.4.6, I am scared 
to buy a webcam because the last one I bought only supported OSX < 
10.2/10.3

___
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


RE: [Flashcoders] > Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
I'm using windows sorry...
I don't have a MAC here, but I'll try to test it this weekend with this cam
on a mac.
But I think it would be possible with every cam..

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Weyert de Boer
Verzonden: donderdag 8 juni 2006 16:27
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] > Infrared camera for the Mac

Bernard Visscher wrote:
> Well I just tried my old d-link cam and it works like a charm.
> It a d-link c310 (about 10,- euro's I think)
> Open the case, get a sharp knife just cut in the lens-tube at the red
filter
> height. Remove the filter and screw it back again...
>
>   
Are you using a Mac? I am having a Powerbook G4 with 10.4.6, I am scared 
to buy a webcam because the last one I bought only supported OSX < 
10.2/10.3

___
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


RE: [Flashcoders] > Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
Well I just tried my old d-link cam and it works like a charm.
It a d-link c310 (about 10,- euro's I think)
Open the case, get a sharp knife just cut in the lens-tube at the red filter
height. Remove the filter and screw it back again...

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Weyert de Boer
Verzonden: donderdag 8 juni 2006 16:08
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] > Infrared camera for the Mac

I was not planning to smash my Apple iSight ;-)
> -
>
> A bit off topic, but you can convert an ordinary (cheaper the better) 
> webcam into infrared.
> Many webcams are IR capable, but have a filter over the lens. With 
> care, you can smash the filter without damaging the lens. Then you 
> just need to create a daylight filter to remove all natural light 
> except IR - a piece of camera film negative that is completely black 
> will do this.
>
> There are instructions on Google ;)
>
> HTH,
>
> 
>
>
> Weyert de Boer wrote:
>> Does anyone know a good Infrared featuring camera for the Mac? I want 
>> to use infrared footage for a interactive installation. If anyone 
>> know a affordable one, please let me know!
>> ___
>> 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

___
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] > Infrared camera for the Mac

2006-06-08 Thread Bernard Visscher
You mean something like this?
http://www.hoagieshouse.com/IR/



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Weyert de Boer
Verzonden: donderdag 8 juni 2006 15:40
Aan: Flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] > Infrared camera for the Mac

Does anyone know a good Infrared featuring camera for the Mac? I want to 
use infrared footage for a interactive installation. If anyone know a 
affordable one, please let me know!
___
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


RE: [Flashcoders] Missing Pixels???

2006-06-06 Thread Bernard Visscher
Does the position of the swf sit on half pixels?
If so, try rounding the position to whole pixels.
This could help the breaking of small lines and fonts.

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Loren R. Elks
Verzonden: dinsdag 6 juni 2006 16:03
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] Missing Pixels???

Hi:
I am having issues with screen clarity at run time.  

Background:
SWF A is loaded into movieclip Screener in SWF B.  Both SWFs are set for 30
fps.  SWF A and Screener measure 922x530.  SWF B is about 100 pixels larger
all the way around.  The target screen resolution is 1024x768.  SWF A
contains a screenshot of a software interface that takes up the whole
922x530.

Problem:
When the presentation runs and SWF A is loaded and is playing in SWF B,
we've noticed a slight blur (in some cases).  In others, it appears that
some of the words (which are on the software interface screenshot) appear to
be missing pixels (i.e. parts of some letters are missing).

Efforts:
We've tried resizing Screener and have had some success, but for some
reason, we cannot get it totally clear.
Any ideas?


Loren
 
___
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


RE: [Flashcoders] onResize (when done)

2006-06-06 Thread Bernard Visscher
You can add a listener to the Stage.

var listener:Object = new Object();
listener.onResize = function(){ //updated }
Stage.addListener(listener);

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Flash Mel
Verzonden: dinsdag 6 juni 2006 2:16
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] onResize (when done)

I had a question about this.  There is a solution in the archives
(http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/056558
.html)
 where someone used onEnterFrame.  That solution was back in 2002.  Is
there a better alternative now?

My question is two-fold:  Is it possible to determine if the stage is
resizing larger?  smaller?  only height?  only width?


Ah, my mind is boggled!

Cheers,

fM
___
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


RE: [Flashcoders] More on shared fonts and embedding

2006-06-05 Thread Bernard Visscher
Or take a look at this one:
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-May/166619.html

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Tyler Wright
Verzonden: maandag 5 juni 2006 14:35
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] More on shared fonts and embedding

You're right, unless the font is embedded Flash will render it as a "system
font" which means it will hopefully look as good as other aliased fonts in
the browser, but not better.

My suggestion is to take a look at Rob Taylor's Fontastic, it's pretty
ingenious. You might have to subscribe to his site.

http://FlashExtensions.com

Tyler

On 6/5/06, Danny Kodicek <[EMAIL PROTECTED]> wrote:
>
> Okay, I'm back after the weekend and ready to get this sorted out.
>
> Thanks to various help, mostly Tom, I've got to the stage where objects in
> one movie are managing to share a font in another, which at least is what
> shared fonts are supposed to do (and is in itself something of a
> breakthrough for me). But it's still not right. The problem is that for
> dynamic fields, unless I embed the font, it doesn't appear antialiased.
> This
> means that my 'client' movie has to embed my shared font, but as soon as I
> do that, the linkage breaks (quite reasonably). Meanwhile, I'm still
> concerted about the low filesize in the 'Official' version: I can't see
> how
> this can contain all the font information.
>
> I really would appreciate some more thoughts on this. Am I just missing a
> trick on how to get these fonts antialiasing correctly?
>
> Danny
>
> ___
> 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

___
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] Font symbols and bold/italic (cont.)

2006-06-03 Thread Bernard Visscher
Hi,

IMO the only way to export all styles, like bold, italic etc is to have a
textfield on stage which embeds the font.
The textfield has to have HTML-render, and you have to type a letter (or
something like that) in all the styles you need.
So something like:
Regular
bold
italic

Now the font is available in all the styles and will work if you set a
dynamic field to render as HTML.

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens jim
Verzonden: vrijdag 2 juni 2006 20:26
Aan: 'Flashcoders mailing list'
Onderwerp: RE: [Flashcoders] Font symbols and bold/italic (cont.)

Bummer, well if you have any luck let me know.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: 02 June 2006 19:19
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font symbols and bold/italic (cont.)

No... In fact it seems to fail entirely if you turn on Render Text as Html
for the text field.  I'll have to research this more another day.

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jim
Sent: Friday, June 02, 2006 2:07 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font symbols and bold/italic (cont.)

Taking this back to the original point, did you ever get one font embedded
that has plain, bold, italic & bold italic symbols so if you have a html
text field with all of those styles inside it will display correctly?

I have never managed to do this & would like to know if its possible. I have
no trouble using shared assets movie clips, fonts, sounds etc its just this
one last thing that would make me very happy.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: 02 June 2006 17:38
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font symbols and bold/italic (cont.)

If you want to do run-time embed rather than author-time embed, you follow
the exact same procedure, except that the linkage for your font library
would be "Export for runtime sharing" instead of "Export for ActionScript".
I tried it with a really complex font called "JokerMan" and my resulting
filesizes were 44KB for fontLibrary.swf and just 124 bytes for fontTest.swf
(the consuming swf).

-tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: Friday, June 02, 2006 12:07 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Font symbols and bold/italic (cont.)

>
> I hope that I don't insult your intelligence by referring you to a 
> TechNote.
> But, by following the steps as shown at
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14786 I was 
> able
> to use a shared font successfully in Flash 8.  It sounds as if you may be
> taking some unnecessary steps: for example, you shouldn't need to include
> any text fields in your sharedfonts.fla.  Also, make sure that you follow
> the method of "Open As Library" as described in the TechNote.  (In Flash 
> 8,
> this is File > Import > Open External Library).  Setting the library font 
> to
> a different font may in fact be causing a problem - I would suggest 
> instead
> testing with wingdings or some other crazy font so you can know for sure
> it's working.

Okay, this works, thanks for that. But it makes no sense to me. The two 
files are both about 20k, so they can't contain the font outlines. So in 
what sense is this font embedded? As far as I can see, what this is doing is

linking to a font named Arial, but someone without Arial on their system 
won't see it. (it does have the advantage that if I want to globally change 
the font, I just do it in one place, but that's all). So how can I embed the

actual font outlines in the way I do for a local font?

Oh - and incidentally why the hell do I have to select 'export for 
actionScript' instead of 'export for runtime sharing'?!

Danny 

___
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

___
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] self published.

2006-06-01 Thread Bernard Visscher
Maybe if you have engough clients you could use a dedicated server for all
your clients with a maintenance contract so you don't have to do everything
yourself ;) But Yes Red5 needs java.
You can do something like this with php-sockets but then the hoster will
have to set safemode off (because of the runtime limit) and you will have a
permanent running script. I don't think the hoster will like to have that ;)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Mike Britton
Verzonden: donderdag 1 juni 2006 15:46
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] self published.

Red5 requires a jvm (or jre) on the server, if I read correctly.  I've been
trying to get my host to install one for shared hosting accounts, and would
use this red5 over localconnection if I were lucky enough to have java.

Mike
___
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


RE: [Flashcoders] maxDepth for dynamic movieclips?

2006-06-01 Thread Bernard Visscher
Well, I think the max depth is a 16bit integer, so the max would be 2^16
about 64k. But when you reach that I think the client will run out of memory
;)

But lets say you would like to do that, you could also have a few "holders"
that all start at depth 1:
mainMovie:
  - holder 1 @ depth 1
  - holder 2 @ depth 2
  - holder 3 @ depth 3

Holder 1 (@ depth 1 in the main)
  - image 1 @ depth 1 in the holder 1
  - image 2 @ depth 2 in holder 1

Etc...



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens grimmwerks
Verzonden: donderdag 1 juni 2006 15:41
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] maxDepth for dynamic movieclips?

I've got an app that's a glorfied slideshow, slowly adding mc's and
gettingNextHighestDepth() -- at some point I'm assuming it will get to
the maxDepth; what would be the best way of resetting this?
___
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


RE: [Flashcoders] self published.

2006-06-01 Thread Bernard Visscher
>socket server?
http://www.osflash.org/red5 ?

___
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] [URGENT] Flash effect/transition samples

2006-06-01 Thread Bernard Visscher
http://www.bit-101.com/content/
Here is a list of all swf's of his "old" lab.
I found that the old lab on the site isn't working.
But the site is worth looking at.



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Telmo Dias
Verzonden: donderdag 1 juni 2006 2:12
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] [URGENT] Flash effect/transition samples

Try this:

http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Document
ed/index.shtml

8ball Developer wrote:
> This is good, but I'm looking for very simple things like bounce 
> effect and
> such.
>
> On 5/31/06, André Goliath <[EMAIL PROTECTED]> wrote:
>>
>> Something like this?
>>
>> http://www.experiment23.de/tmp/index.html
>>
>> (the menu are the small bars at the left)
>>
>> hth
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of 8ball
>> Developer
>> Sent: Wednesday, May 31, 2006 7:31 PM
>> To: Flashcoders mailing list
>> Subject: [Flashcoders] [URGENT] Flash effect/transition samples
>>
>> Hi all,
>>
>> I have a client coming in today who wants see some sample
>> effects/transitions to apply to different parts of the Flash work. Do 
>> you
>> have links to such samples where I can go through them with him? Any 
>> help
>> is
>> much appreciated.
>>
>> Thanks,
>> Ben
>> ___
>> 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
>>
> ___
> 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

___
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] Tool for creating UML diagrams from ActionScript codeother than Enterprise architect?

2006-05-31 Thread Bernard Visscher
This maybe? http://www.codealloy.com/argoumlforactionscript.htm


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Manuel
Saint-Victor
Verzonden: woensdag 31 mei 2006 22:26
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] Tool for creating UML diagrams from ActionScript
codeother than Enterprise architect?

Is anyone aware of such a tool?  I have some classes that I would love to
generate actual UML diagrams for.

Thanks,

Mani
___
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


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-31 Thread Bernard Visscher
Well about a week ago I had Flex seminar organized by Adobe in Utrecht, The
Netherlands.
There I was told that about 80% of the users have FP8.
They found it was a good figure, 80% in one year!

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Merrill, Jason
Verzonden: woensdag 31 mei 2006 19:07
Aan: Flashcoders mailing list
Onderwerp: RE: Re[4]: [Flashcoders] Shared fonts

>> Now about
>>80% of the users have FP8..

80% is a little high. Is that based on perception or on the latest
figures from Adobe?  Because as of the latest NPD Online - Worldwide
Survey Adobe publishes on their site, it's more like 69.3% in the U.S.,
76% in Eurpoe. 

http://www.adobe.com/products/player_census/flashplayer/version_penetrat
ion.html

80% *might* possibly be true with a specific demographic within the
general internet public, but in my consulting/contracting experience it
seems to be still Flash 7 in many large enterprises -I'm basing that on
my interactions with 8 federal agencies and 2 large private companies -
not a large sampling, but...

Jason Merrill
Bank of America 
Learning Technology Solutions
 
 
 
 
 
___
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


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-31 Thread Bernard Visscher
>> With bitmaps you could use the bitmapdata to draw it in another movie.
>Yes, but Flash 8 only.
>Beautiful solution anyhow.

That's true, but it won't take long before FP8 is the way to go. Now about
80% of the users have FP8..

Bernard

___
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: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Bernard Visscher
> > To end the discussion, I wasn't able to use the same trick 
> for other 
> > types of assets (bitmap or vectors).
> > If any pionneers feels the need to investigate further.
> >
> 
> I have used the same technique for sharing AS2 classes ... never  
> tried with bitmaps or vectors though

With bitmaps you could use the bitmapdata to draw it in another movie.
Lets say you have a movieclip which holds a logo (library name:
companyLogo).
In that movieclip, you'll have to have something like this as code:

import flash.display.*;
function attachMe(target:MovieClip, objectName:String){
var t:MovieClip =
attachMovie(objectName,"image",target.getNextHighestDepth(),{_x:5000,_y:5000
});
var b:BitmapData = new BitmapData(t._width,
t._height,false,0x00);
b.draw(t);
t.unloadMovie();
target.attachBitmap(b,target.getNextHighestDepth());
delete b;   
}

Now from another movie you load the holder (lets say holder.swf)

And you can call: holder.attachMe(__myTargetClip,"companyLogo");

Bernard

___
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: Re[8]: [Flashcoders] Shared fonts

2006-05-30 Thread Bernard Visscher
> Z> you cannot blame someone else for using a similar approach 
> to solve 
> Z> the same problem.
> - similar and the same - is different things.

You're right Ivan.. If you look closely you'll see that it's similar and not
the same.
The way I use the libs there is NO AS code in the libs, only in the class
that imports the fonts.
Your sollution has a bit of AS in the libs to register the fonts.
 
> Z> I cannot blame someone using "my" one-file-per-font 
> approach as well.
> - now yes. because you share it. But if you has invest a 
> money to your own
>   unique solution based on your discoveries I think you can expect
>   from community respect for your interests.

Respect yes! Ofcourse! But it can't be that, because you found a way to load
fonts, other people can't create their sollutions.

Bernard

___
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: Re[4]: [Flashcoders] Shared fonts

2006-05-30 Thread Bernard Visscher
I agree that Zarates sollution with one swf is very nice! And will work in
most cases.
The only problem is that you are bound to the glyps Flash imports for a
font-object.
The workaround would be to create a swf with SWFMill so you can specify all
glyps or use textfields then you can specify them yourself, but then you'll
have to have two swf's.
One for runtime export and one for runtime import, that's the case.

Bernard 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Cedric Muller
> Verzonden: dinsdag 30 mei 2006 10:47
> Aan: Flashcoders mailing list
> Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
> 
> ok, maybe it is the not the *best*, but it is definitely the 
> one which narrows down the problem to ONE swf ...
> of course, erixtekila's solution is in the same verve: yours 
> is Flash IDE, his is Open Source 
> 
> cedric
> 
> > Thanks Cedric :)
> >
> > However, I really don't care now which option is the best (but hey, 
> > thanks again :P), I just want to understand what Ivan means with:
> >
> > "use solutions with dubious copyrights"
> >
> > Seems a little bit of FUD, actually. It would be greatly 
> appreciated 
> > further explanations.
> >
> > Cheers!
> >
> > On 5/30/06, Cedric Muller <[EMAIL PROTECTED]> wrote:
> >> Zarate,
> >>
> >> The 'Shared Fonts' problem is very funny ... you have got people 
> >> sticking to solutions that aren't :)) and it gets back in time ...
> >> like a cycle, with the same answers again ;) I REALLY 
> don't know why 
> >> your solution never was approved ... it is the best out there, the 
> >> BEST it has been working for me in the biggest project of all my 
> >> times (300
> >> +classes) with a charm
> >> and yes
> >> it is better than sharedfonts.com or bernard's solution BECAUSE it 
> >> only uses 1 (ONE!) SWF ...
> >>
> >> anyway, who thought we needed TWO swfs in order to share something 
> >> ??? ;)
> >>
> >> Cedric
> >>
> >> > I don´t think he means that... at doesn´t make any sense for me.
> >> >
> >> > By the way, if you want to avoid using two files per font, take
> >> a look
> >> > to this (french):
> >> >
> >> > http://www.v-i-a.net/blog/archives/43.html
> >> >
> >> > I did myself almost 2 years ago some R&D to use just one file
> >> > (spanish):
> >> >
> >> > http://www.zarate.tv/articulos/shared_fonts/index.php
> >> >
> >> > AFAIK, I´m not violating any license or copyright :D
> >> >
> >> > Cheers,
> >> >
> >> > On 5/29/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
> >> >> Hi Zarate,
> >> >>
> >> >> I don't know either ;)
> >> >> I think Ivan means the principle of my code and the priciple of
> >> the
> >> >> sharedfonts system
> >> >> They both use 2 swf's for loading the font.
> >> >> There can't be copyright on that, because that's the 
> only way the 
> >> >> flashplayer allows fonts to be dynamicaly loaded.
> >> >> And it's no "secret" code or something, just a player 
> posibility..
> >> >>
> >> >> Bernard
> >> >>
> >> >> > -Oorspronkelijk bericht-
> >> >> > Van: [EMAIL PROTECTED]
> >> >> > [mailto:[EMAIL PROTECTED] 
> Namens Zárate
> >> >> > Verzonden: maandag 29 mei 2006 23:13
> >> >> > Aan: Flashcoders mailing list
> >> >> > Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
> >> >> >
> >> >> > Hi,
> >> >> >
> >> >> > Which copyright problems are we talking about? Maybe 
> I´m missing 
> >> >> > something here.
> >> >> >
> >> >> > Cheers,
> >> >> >
> >> >> > On 5/29/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
> >> >> > > Well, I haven't had any difficulties.. And i've used it in
> >> >> > many sites..
> >> >> > > But if you say so ;)
> >> >> > >
> >> >> > > Bernard
> >> >> > >
> >> >> > >
> >> >> > > > -Oorspronkeli

RE: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Hi Zarate,

I don't know either ;)
I think Ivan means the principle of my code and the priciple of the
sharedfonts system
They both use 2 swf's for loading the font.
There can't be copyright on that, because that's the only way the
flashplayer allows fonts to be dynamicaly loaded.
And it's no "secret" code or something, just a player posibility..

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Zárate
> Verzonden: maandag 29 mei 2006 23:13
> Aan: Flashcoders mailing list
> Onderwerp: Re: Re[4]: [Flashcoders] Shared fonts
> 
> Hi,
> 
> Which copyright problems are we talking about? Maybe I´m 
> missing something here.
> 
> Cheers,
> 
> On 5/29/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
> > Well, I haven't had any difficulties.. And i've used it in 
> many sites..
> > But if you say so ;)
> >
> > Bernard
> >
> >
> > > -Oorspronkelijk bericht-
> > > Van: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Namens Iv
> > > Verzonden: maandag 29 mei 2006 21:31
> > > Aan: Flashcoders mailing list
> > > Onderwerp: Re[4]: [Flashcoders] Shared fonts
> > >
> > > Hello Bernard,
> > >
> > > - and.. I'm sorry, but your code have imperfections.
> > >   It's works, but you need support experiance with many 
> languages and
> > >   different situations for find a problems in your code.
> > >   It's one more reason for use original solution.
> > >
> > >
> > > --
> > > Ivan Dembicki
> > > __
> > > __
> > > [EMAIL PROTECTED] ||
> > > http://www.design.ru
> > >
> > > ___
> > > 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
> >
> 
> 
> -- 
> Zárate
> ___
> 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


RE: Re[4]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Well, I haven't had any difficulties.. And i've used it in many sites..
But if you say so ;)

Bernard
 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Iv
> Verzonden: maandag 29 mei 2006 21:31
> Aan: Flashcoders mailing list
> Onderwerp: Re[4]: [Flashcoders] Shared fonts
> 
> Hello Bernard,
> 
> - and.. I'm sorry, but your code have imperfections.
>   It's works, but you need support experiance with many languages and
>   different situations for find a problems in your code.
>   It's one more reason for use original solution.
> 
> 
> --
> Ivan Dembicki
> __
> __
> [EMAIL PROTECTED] || 
> http://www.design.ru
> 
> ___
> 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


RE: Re[2]: [Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
 Hi Ivan,

> - really it isn't a problem: SFM work principles was published many
>   times but sales not stopped yet.
Glad to hear it.. I really mean it! It's a good thing people can get money
for their knowledge.

>   Trere are many companies and peoples which can't allow himself to
>   use solutions with dubious copyrights.
Well, dubious copyrights aren't an issue with this code. The basic maybe the
same as shared fonts, but so are linux and windows.. They both use the x86
architecture ;)

>   Of course many companies and peoples don't think about it. In any
>   case it isn't my clients.
>   Also SFM is free for web site developers and if developer can't add
>   SFM to project budget for client he can receive it free from me. I
>   understand situation: I'm developer too.

Ivan.. Maybe you can update SFM, feel free to use this code. In my opinion
SFM is "too old" and can't be successfully used in an FAME (or other)
enviroment.
 
>   I hope my english is understandable,
I hope mine is too ;)
 
>   good luck!
You too!

Greetz,

Bernard

___
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] Shared fonts

2006-05-29 Thread Bernard Visscher
Hi Ivan!

I believe we had the discussion about this more than a year ago ;)
You know the code is different from the sahredfonts code and there is no AS
involved in the lib's
I'm sorry..

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Iv
> Verzonden: maandag 29 mei 2006 19:09
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] Shared fonts
> 
> Hello Bernard,
> 
> - thank you!
> 
> 
> BV> Last weeks/months I see more and more questions about 
> shared fonts.
> BV> I've used the following for about a year now and it works for me.
> BV> The basic is the same as sharedfonts (2 swf's to load the fonts), 
> BV> I'm sorry for all the people behind sharedfonts for this.
> 
> BV> Example: http://www.debit.nl/flashcoders/fonts/
> BV> FontLoader.as : http://www.debit.nl/flashcoders/FontLoader.txt
> BV> Source of the example: 
> BV> http://www.debit.nl/flashcoders/FontLoader.zip
> 
> BV> Good luck with the code.
> 
> BV> Bernard
> 
> BV> ___
> BV> Flashcoders@chattyfig.figleaf.com
> BV> To change your subscription options or search the archive:
> BV> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> BV> Brought to you by Fig Leaf Software
> BV> Premier Authorized Adobe Consulting and Training 
> BV> http://www.figleaf.com http://training.figleaf.com
> 
> 
> 
> --
> Ivan Dembicki
> __
> __
> [EMAIL PROTECTED] || 
> http://www.design.ru
> 
> ___
> 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


[Flashcoders] Shared fonts

2006-05-29 Thread Bernard Visscher
Hi all,

Last weeks/months I see more and more questions about shared fonts.
I've used the following for about a year now and it works for me.
The basic is the same as sharedfonts (2 swf's to load the fonts), I'm sorry
for all the people behind sharedfonts for this.

Example: http://www.debit.nl/flashcoders/fonts/
FontLoader.as : http://www.debit.nl/flashcoders/FontLoader.txt
Source of the example: http://www.debit.nl/flashcoders/FontLoader.zip

Good luck with the code.

Bernard

___
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] security issues with php mail from Flash?

2006-05-29 Thread Bernard Visscher
http://www.securephpwiki.com/index.php/Email_Injection

 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Dan Efergan
> Verzonden: maandag 29 mei 2006 16:27
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] security issues with php mail from Flash?
> 
> Yep, the main exploitation would happen by using the 
> underlying PHP script.
> 
> Google will help you with sorting the PHP:
> http://www.google.com/search?client=safari&rls=en&q=stop+spammers+php 
> +scripts&ie=UTF-8&oe=UTF-8
> 
> Also, the php online manual reference for 'mail' has a number 
> of comments about securing your forms.
> 
> Dan
> 
> On 29 May 2006, at 00:43, f a r i d | s i l v a | a b o i d wrote:
> 
> > I think that you must to put all protection against mysql injection 
> > and spammers in the php processor, because your flash form 
> its only an 
> > usre interfase
> 
> Dan Efergan
> [EMAIL PROTECTED]
> 
> 
> 
> ___
> 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


RE: [Flashcoders] geturl:javascript is causing images to notdisplay onIE

2006-05-29 Thread Bernard Visscher
Phil,

Do you have an URL where I (and others) can look?

Bernard 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Phil Glatz
> Verzonden: maandag 29 mei 2006 16:32
> Aan: Flashcoders mailing list
> Onderwerp: RE: [Flashcoders] geturl:javascript is causing 
> images to notdisplay onIE
> 
> At 08:00 PM 5/28/2006, Nehal & Mick bot wrote:
> >The best way is to test from server. If its Flash Security 
> issue, while 
> >running locally u need to trust all the files. So what I do is to 
> >always check from server first and if issue is still there then 
> >investigate further
> 
> Yes, it is a live site run from a server (Dreamhost).  I've 
> also ported it to another remote server and had the same issues.
> 
> What's baffling me is that everything works fine on Mozilla 
> and not on IE.  I've had a number of testers report the same 
> problem.  Is there something related to F8 security that 
> happens on IE differently than Firefox (my experience has 
> been that Firefox is the more fussy one).
> 
> The Flash is getting displayed correctly on both browsers.  
> The problem is the display of a few gif images that are part 
> of the regular html page, not at all related to the Flash.
> 
> thanks, Phil
> 
> ___
> 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


RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
This should work:

var xmlString:String = this.toString();
var indexBegin = xmlString.indexOf("")+6;
xmlString = xmlString.substring(indexBegin,indexEnd);

xmlString = xmlString.split("").join(""); //Delete all  added
by flash
var areaArray:Array = xmlString.split(" in front
xmlString += areaArray.join(" in front.

this.parseXML(xmlString);
var mapNode:XMLNode = this.firstChild; 


> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Bernard Visscher
> Verzonden: maandag 29 mei 2006 17:29
> Aan: 'Flashcoders mailing list'
> Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash
> 
> I don't know how with imageready.
> One thing you could do is replace all " "" with "".
> 
> But before you do that delete all  entries, because 
> flash add's them(not at the correct place) if you don't use 
> closed area-tags.
> 
> Bernard
> 
> > -Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Namens 
> Marc Hoffman
> > Verzonden: maandag 29 mei 2006 17:01
> > Aan: Flashcoders mailing list
> > Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash
> > 
> > Very cool solution, Bernard -- thanks! Any way to force 
> ImageReady to 
> > close all tags?  - Marc
> > 
> > At 06:51 AM 5/29/2006, you wrote:
> > >__xml = new XML();
> > >__xml.ignoreWhite = true;
> > >__xml.onLoad = function(success:Boolean){
> > > var xmlString:String = this.toString();
> > > var indexBegin = xmlString.indexOf(" > > var indexEnd = xmlString.indexOf("")+6;
> > > xmlString = xmlString.substring(indexBegin,indexEnd);
> > > this.parseXML(xmlString);
> > > var mapNode:XMLNode = this.firstChild;
> > > trace(Flashout.INFO + mapNode.firstChild); //traces
> > the first
> > >area
> > >(rect)
> > >}
> > >__xml.load("imagemap.html");
> > >
> > >The mapNode will hold all area nodes and you can access them
> > as normal
> > >XMLnodes
> > >
> > >The one thing you should do is close all areas, the map 
> should look 
> > >something like:
> > >
> > >
> > > > href="rectangle.html" />  > >shape="polygon" coords="90,25,162,26,163,96,89,25,90,24"
> > >href="triangle.html" />
> > > href="circle.html" />  > >shape="rect" coords="19,156,170,211"
> > href="mailto:[EMAIL PROTECTED]" />
> > > 
> > >
> > >
> > >Greetz,
> > >
> > >Bernard
> > >
> > > > -Oorspronkelijk bericht-
> > > > Van: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] 
> Namens Bernard 
> > > > Visscher
> > > > Verzonden: maandag 29 mei 2006 15:27
> > > > Aan: 'Flashcoders mailing list'
> > > > Onderwerp: RE: [Flashcoders] sending HTML image map 
> data to Flash
> > > >
> > > > You can also load the html file with the XML loader.
> > > >
> > > > Something like:
> > > >
> > > > var __xml = new XML();
> > > > __xml.onLoad = function(succes:Boolean){
> > > >   if(success) trace(this);
> > > >   else trace("Error loading file"); } 
> > > > __xml.load("imagemap.html");
> > > >
> > > > Now it will trace the full html-file.
> > > >
> > > >
> > > > Bernard
> > > >
> > > > > -Oorspronkelijk bericht-
> > > > > Van: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED]
> > Namens GregoryN
> > > > > Verzonden: zondag 28 mei 2006 20:20
> > > > > Aan: Flashcoders mailing list
> > > > > Onderwerp: Re: [Flashcoders] sending HTML image map
> > data to Flash
> > > > >
> > > > > Hello Marc,
> > > > >
> > > > > Well, the decision WHERE to parse is yours entirely.
> > > > > I think it can also depend on your security goals:
> > > > > if you parse in JS, all your funtions, vars at swf's
> > _root etc are
> > > > > available in cache.
> > > > > If you just pass all "innerHTML" to flash - something will
> > > > be hidden.
> > > > &

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
I don't know how with imageready.
One thing you could do is replace all "" with "".

But before you do that delete all  entries, because flash add's
them(not at the correct place) if you don't use closed area-tags.

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Marc Hoffman
> Verzonden: maandag 29 mei 2006 17:01
> Aan: Flashcoders mailing list
> Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash
> 
> Very cool solution, Bernard -- thanks! Any way to force 
> ImageReady to close all tags?  - Marc
> 
> At 06:51 AM 5/29/2006, you wrote:
> >__xml = new XML();
> >__xml.ignoreWhite = true;
> >__xml.onLoad = function(success:Boolean){
> > var xmlString:String = this.toString();
> > var indexBegin = xmlString.indexOf(" > var indexEnd = xmlString.indexOf("")+6;
> > xmlString = xmlString.substring(indexBegin,indexEnd);
> > this.parseXML(xmlString);
> > var mapNode:XMLNode = this.firstChild;
> > trace(Flashout.INFO + mapNode.firstChild); //traces 
> the first 
> >area
> >(rect)
> >}
> >__xml.load("imagemap.html");
> >
> >The mapNode will hold all area nodes and you can access them 
> as normal 
> >XMLnodes
> >
> >The one thing you should do is close all areas, the map should look 
> >something like:
> >
> >
> > href="rectangle.html" />  >shape="polygon" coords="90,25,162,26,163,96,89,25,90,24"
> >href="triangle.html" />
> >  >shape="rect" coords="19,156,170,211" 
> href="mailto:[EMAIL PROTECTED]" /> 
> > 
> >
> >
> >Greetz,
> >
> >Bernard
> >
> > > -Oorspronkelijk bericht-
> > > Van: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Namens Bernard 
> > > Visscher
> > > Verzonden: maandag 29 mei 2006 15:27
> > > Aan: 'Flashcoders mailing list'
> > > Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash
> > >
> > > You can also load the html file with the XML loader.
> > >
> > > Something like:
> > >
> > > var __xml = new XML();
> > > __xml.onLoad = function(succes:Boolean){
> > >   if(success) trace(this);
> > >   else trace("Error loading file"); } 
> > > __xml.load("imagemap.html");
> > >
> > > Now it will trace the full html-file.
> > >
> > >
> > > Bernard
> > >
> > > > -Oorspronkelijk bericht-
> > > > Van: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] 
> Namens GregoryN
> > > > Verzonden: zondag 28 mei 2006 20:20
> > > > Aan: Flashcoders mailing list
> > > > Onderwerp: Re: [Flashcoders] sending HTML image map 
> data to Flash
> > > >
> > > > Hello Marc,
> > > >
> > > > Well, the decision WHERE to parse is yours entirely.
> > > > I think it can also depend on your security goals:
> > > > if you parse in JS, all your funtions, vars at swf's 
> _root etc are 
> > > > available in cache.
> > > > If you just pass all "innerHTML" to flash - something will
> > > be hidden.
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > >  GregoryN
> > > > 
> > > > http://GOusable.com
> > > > Flash components development.
> > > > Usability services.
> > > >
> > > >
> > > > > - Marc Hoffman wrote:
> > > > >
> > > > > Thanks, Gregory! I'm passing this along to the person 
> who's been 
> > > > > working on parsing the image map from within flash. 
> You approach 
> > > > > would seem to eliminate the need for parsing by Flash.
> > > > >
> > > > > [Peter: what do you think?]
> > > > >
> > > > > Marc
> > > >
> > > >
> > > > ___
> > > > 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 
> > > &g

RE: [Flashcoders] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
__xml = new XML();
__xml.ignoreWhite = true;
__xml.onLoad = function(success:Boolean){
var xmlString:String = this.toString();
var indexBegin = xmlString.indexOf("")+6;
xmlString = xmlString.substring(indexBegin,indexEnd);
this.parseXML(xmlString);
var mapNode:XMLNode = this.firstChild;
trace(Flashout.INFO + mapNode.firstChild); //traces the first area
(rect)
}
__xml.load("imagemap.html");

The mapNode will hold all area nodes and you can access them as normal
XMLnodes

The one thing you should do is close all areas, the map should look
something like:





mailto:[EMAIL PROTECTED]" />




Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Bernard Visscher
> Verzonden: maandag 29 mei 2006 15:27
> Aan: 'Flashcoders mailing list'
> Onderwerp: RE: [Flashcoders] sending HTML image map data to Flash
> 
> You can also load the html file with the XML loader.
> 
> Something like:
> 
> var __xml = new XML();
> __xml.onLoad = function(succes:Boolean){
>   if(success) trace(this);
>   else trace("Error loading file");
> }
> __xml.load("imagemap.html"); 
> 
> Now it will trace the full html-file.
> 
> 
> Bernard
> 
> > -Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Namens GregoryN
> > Verzonden: zondag 28 mei 2006 20:20
> > Aan: Flashcoders mailing list
> > Onderwerp: Re: [Flashcoders] sending HTML image map data to Flash
> > 
> > Hello Marc,
> > 
> > Well, the decision WHERE to parse is yours entirely.
> > I think it can also depend on your security goals:
> > if you parse in JS, all your funtions, vars at swf's _root etc are 
> > available in cache.
> > If you just pass all "innerHTML" to flash - something will 
> be hidden.
> > 
> > 
> > 
> > --
> > Best regards,
> >  GregoryN
> > 
> > http://GOusable.com
> > Flash components development.
> > Usability services.
> > 
> > 
> > > - Marc Hoffman wrote:
> > > 
> > > Thanks, Gregory! I'm passing this along to the person who's been 
> > > working on parsing the image map from within flash. You approach 
> > > would seem to eliminate the need for parsing by Flash.
> > > 
> > > [Peter: what do you think?]
> > > 
> > > Marc
> > 
> > 
> > ___
> > 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
> 

___
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] sending HTML image map data to Flash

2006-05-29 Thread Bernard Visscher
You can also load the html file with the XML loader.

Something like:

var __xml = new XML();
__xml.onLoad = function(succes:Boolean){
if(success) trace(this);
else trace("Error loading file");
}
__xml.load("imagemap.html"); 

Now it will trace the full html-file.


Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens GregoryN
> Verzonden: zondag 28 mei 2006 20:20
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] sending HTML image map data to Flash
> 
> Hello Marc,
> 
> Well, the decision WHERE to parse is yours entirely.
> I think it can also depend on your security goals:
> if you parse in JS, all your funtions, vars at swf's _root 
> etc are available in cache.
> If you just pass all "innerHTML" to flash - something will be hidden.
> 
> 
> 
> --
> Best regards,
>  GregoryN
> 
> http://GOusable.com
> Flash components development.
> Usability services.
> 
> 
> > - Marc Hoffman wrote:
> > 
> > Thanks, Gregory! I'm passing this along to the person who's been 
> > working on parsing the image map from within flash. You approach 
> > would seem to eliminate the need for parsing by Flash.
> > 
> > [Peter: what do you think?]
> > 
> > Marc
> 
> 
> ___
> 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


RE: [Flashcoders] Timeout from Flash page

2006-05-25 Thread Bernard Visscher
 Sorry, didn't read the question right.
The below still stands imho.

But you could start a global timer and on every mousemove or keypress reset
it.
If the timer reaches it's end, give the user a popup with a 30 sec answer
period.
If the user doen't interact, unlock the file and the user is readonly.


> -Oorspronkelijk bericht-----
> Van: Bernard Visscher [mailto:[EMAIL PROTECTED] 
> Verzonden: donderdag 25 mei 2006 22:12
> Aan: 'Flashcoders mailing list'
> Onderwerp: RE: [Flashcoders] Timeout from Flash page
> 
> You could go for a serverpage that is polled every minute or 
> so from the flashclient, with sendandload or xmlsocket.
> If the poll doesn't arrive anymore, unlock the file. This way 
> the file could be locked for one minute when a client has 
> gone, not more...
> Don't put the unlocking logic into a client... 
> 
> > -Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Namens 
> Randy Tinfow
> > Verzonden: donderdag 25 mei 2006 22:07
> > Aan: flashcoders@chattyfig.figleaf.com
> > Onderwerp: [Flashcoders] Timeout from Flash page
> > 
> > We've got a Flash intranet app that offers write privileges to the 
> > first user and locks out subsequent concurrent users.
> > Sometimes a user will walk away without closing the browser 
> or logging 
> > out of the app.  This is a problem because the program 
> remains locked 
> > indefinitely.
> > 
> > Is there a method in Flash to detect inactivity and forward 
> to a new 
> > page after an interval of time?  Tried this with the mouse listener 
> > and it disabled all the buttons.
> > 
> > Any suggestions?
> > 
> > Thanks,
> > 
> > Randy Tinfow
> > IMAGE PLANT
> > ___
> > 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


RE: [Flashcoders] Timeout from Flash page

2006-05-25 Thread Bernard Visscher
You could go for a serverpage that is polled every minute or so from the
flashclient, with sendandload or xmlsocket.
If the poll doesn't arrive anymore, unlock the file. This way the file could
be locked for one minute when a client has gone, not more...
Don't put the unlocking logic into a client... 

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Randy Tinfow
> Verzonden: donderdag 25 mei 2006 22:07
> Aan: flashcoders@chattyfig.figleaf.com
> Onderwerp: [Flashcoders] Timeout from Flash page
> 
> We've got a Flash intranet app that offers write privileges 
> to the first user and locks out subsequent concurrent users.  
> Sometimes a user will walk away without closing the browser 
> or logging out of the app.  This is a problem because the 
> program remains locked indefinitely.
> 
> Is there a method in Flash to detect inactivity and forward 
> to a new page after an interval of time?  Tried this with the 
> mouse listener and it disabled all the buttons.
> 
> Any suggestions?
> 
> Thanks,
> 
> Randy Tinfow
> IMAGE PLANT
> ___
> 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


RE: [Flashcoders] help: XfactorStudio XPATH

2006-05-23 Thread Bernard Visscher
var  mySearchTerm:String = "HeLlO";
var strXPATH:String = "//Localidades/Localidad[contains(upper-case[label],'"
+  mySearchTerm.toUpperCase () + "')]";

This maybe?

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> julian atienza
> Verzonden: dinsdag 23 mei 2006 10:06
> Aan: [EMAIL PROTECTED]; 
> flashcoders@chattyfig.figleaf.com
> Onderwerp: [Flashcoders] help: XfactorStudio XPATH
> 
> I'm using basic XPATH4AS2 of XFactor Studio.
> 
> I have an XPATH Query like:
> 
> var strXPATH:String = "//Localidades/Localidad 
> [contains(label, '')]";
> 
> And it's Ok. Search for '' into the field 'label' and 
> founds several results.
> 
> I have seen into class code that there is an upper-case 
> function that i can use to make more useful searchs...
> 
> i tried:
> var strXPATH:String =
> "//Localidades/Localidad[contains(upper-case[label],
> mySearchTerm.toUpperCase ())]";
> 
> NO RESULTS...
> 
> somebody knows how to use the upper-case function in the example?
> 
> I'm implementing in Flash 8 Pro and AS2.0.
> 
> Thanks in advance
> 

___
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] word docs-to-xml file

2006-05-19 Thread Bernard Visscher
I don't know if you have an office version.
But the version I have (2003) can just save the a doc to a XML. 

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Ron Wheeler
> Verzonden: donderdag 18 mei 2006 16:45
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] word docs-to-xml file
> 
> Word to OpenOffice
> OpenOffice stores the file as a zip with the actual text in a 
> file "content.xml" inside the zip. The OpenOffice document 
> can be opened with any one of the zip packages(winrar, 
> winzip,etc) You will find the contents of your document in 
> XML and you only have to read it or transform it with XSLT to 
> a format that you like.
> 
> Ron
> 
> Adrian Lynch wrote:
> > Save the Word doc as HTML and see if it's easier to parse 
> it. I had to 
> > do something similar but I gave up as the HTML was a right 
> royal mess.
> >
> > Let us know how you get on.
> >
> > Adrian
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf 
> Of Marlon 
> > Harrison
> > Sent: 17 May 2006 16:53
> > To: Flashcoders mailing list
> > Subject: [Flashcoders] word docs-to-xml file
> >
> >
> > I made an xml file for a swf that i'm working on and i'm 
> looking for a 
> > quick way to get the data out of the docs into the xml file.
> > basically, there's 50 docs that have data that map to some 
> nodes in my 
> > file.  is there a text editor or some macro i can use to 
> automate this 
> > process?  im runnning mac os x (10.4) tiger
> >
> > ___
> > 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
> 

___
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] TextField using shared font is not s howing character such ã, á, ç...

2006-05-19 Thread Bernard Visscher
Hi Marcelo,

You could try loading the text as HTML-text in flash.
Then in cakePHP before you outpur your text use:

$output = htmlspecialchars(htmlentities($output));

Now all chars that are not in the 32-127 (ascii) range will be changed to
something like ë for ë

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Marcelo de Moraes Serpa
> Verzonden: zaterdag 20 mei 2006 1:04
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] TextField using shared font is 
> not showing character such ã, á, ç...
> 
> Hey Julien, thanks for the reply.
> 
> I just discovered it isn´t a shared font problem but actually 
> a string encoding problem! I´m using CakePHP as the 
> application server and the admin system is all in html - all 
> the data is entered through this interface. The problem is 
> that flash uses UTF8 which is different from the enconding 
> Cake uses (it seems). I would really love to know if AMFPHP 
> has something to deal with that issue!
> 
> THanks!
> 
> Marcelo.
> 
> On 5/19/06, Julien Vignali <[EMAIL PROTECTED]> wrote:
> >
> > Marcelo,
> > Strange...I am using fonts in a shared library too and it 
> can display 
> > accentuated characters without any problems... Are you sure 
> that the 
> > font you're using initially contains those characters ?
> > And have you correctly imported the shared font in your library and 
> > set your textfields' font to it ? I always export my fonts 
> to "__Fontname"
> > so they always appear at the top of my font list like this :
> >
> > __HelveticaNeue*
> > __MyriadPro*
> > ...
> >
> >
> >
> > Marcelo de Moraes Serpa a écrit :
> > > The used fonts are packaged into a shared library that is 
> pre-loaded 
> > > at
> > the
> > > beginning of the application. The embedding works, I´ve testing 
> > > rotating and changing dynamic textfields and they show 
> the correct 
> > > fonts. However, character such as á,é,ç,ã that I need to 
> use don´t 
> > > show! Why!?
> > >
> > > Thanks in advacne,
> > > ___
> > > 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
> >
> ___
> 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


RE: [Flashcoders] External Interface Class + form tag

2006-05-04 Thread Bernard Visscher
If I'm correct they use something like:
Flash = window.flashObject; 
Or
Flash = window.document.flashObject;
To call the object.

Try setting this to flash = document.getElementById("flashObject");

This works with all browser, at least all browsers that support the
ExternalInterface.

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Sumeet Kumar
> Verzonden: donderdag 4 mei 2006 14:31
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] External Interface Class + form tag
> 
> Hi All
> 
>  
> 
> I m facing problem in JavaScript to flash communication 
> (using External Interface Class in flash8)
> 
> The Problem is as follows
> 
>  
> 
> The object tag is inside the form tag in a aspx page.
> 
>  
> 
> I m not able to call a function from JavaScript to flash
> 
>  
> 
> But if I remove the form tag it works fine
> 
> Is this a known issue?
> 
>  
> 
> Any Work around to this issue
> 
>  
> 
> Any help would be great
> 
>  
> 
>  
> 
> Regards
> 
> Sumeet Kumar
> 
> ___
> 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


RE: [Flashcoders] hitTest difference between attached mc and one placedon stage in authoring

2006-04-24 Thread Bernard Visscher
Hi Paul,

The problem is that you attach it as Player_Object and refer to it as
mcDolphin.

Changing:
if (game_mc.bg_mc.hitTest(game_mc.mcDolphin._x, game_mc.mcDolphin._y, true))
{
Into:
if (game_mc.bg_mc.hitTest(game_mc.Player_Object._x,
game_mc.Player_Object._y, true)) { 

Solves the problem.

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Paul Steven
> Verzonden: maandag 24 april 2006 16:37
> Aan: Flashcoders mailing list
> Onderwerp: [Flashcoders] hitTest difference between attached 
> mc and one placedon stage in authoring
> 
> I am having problems making the hitTest function work with a 
> movie clip attached from the library
> 
> Basically I am making a game that involves a dolphin swimming 
> up a river and I want to detect when the dolphin hits the river bank.
> 
> The following works fine when the dolphin is placed on stage 
> in authoring mode
> 
> if(mcBanks.hitTest(mcDolphin._x, mcDolphin._y, true){
> 
> //doplhin has hit
> 
> }
> 
> See http://www.mediakitchen.co.uk/dolphin.html
> 
> Whereas when I attach the dolphin using attachMovie it does 
> not work and infact detects a collision at all times:
> 
> See See http://www.mediakitchen.co.uk/dolphin_new.html
> 
> Any ideas why this should not work when the dolphin is attached.
> 
> Here is a link to the fla incase you should want to see the code
> 
> http://www.mediakitchen.co.uk/dolphin_new.zip
> 
> Any advice much appreciated
> 
> Thanks
> 
> Paul
> 
> ___
> 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


RE: [Flashcoders] CSS and Embedded fonts

2006-03-22 Thread Bernard Visscher
You have to use the real font name in the css, then you can use embedded
fonts.

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Rodrigo Schramm
Verzonden: woensdag 22 maart 2006 18:48
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] CSS and Embedded fonts

Can I use a embedded font with CSS???

var styles:Object = new TextField.StyleSheet();
   
 formulario.embedFonts = true;   
 styles.setStyle("text",
{
   fontFamily: 'MyFont',
   fontSize: '24px',
   color: '#006600'}
);
 
  textArea.styleSheet = styles;
  textArea.html = true;
  textArea.text = "this is a test";

PS.   I created a new Font Symbol  with linkage = "MyFont".


but this don't work...



___
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


RE: [Flashcoders] It exists in director but in flash ?

2006-03-22 Thread Bernard Visscher
You're right.. I never use this ;)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Merrill, Jason
Verzonden: woensdag 22 maart 2006 17:22
Aan: Flashcoders mailing list
Onderwerp: RE: [Flashcoders] It exists in director but in flash ?

>>and I didn't know the apply() , so thanks a lot !

You don't need to use apply() on a separate line - just add () after the
eval, as in my example:

this[myFunctionString]();



Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Patrick Jean
>>Sent: Wednesday, March 22, 2006 11:19 AM
>>To: 'Flashcoders mailing list'
>>Subject: RE: [Flashcoders] It exists in director but in flash ?
>>
>>oooh, yes, that will definitely do the job !  Thanks a lot.
>>
>>Like I mentioned earlier, the "trace" in my example was just to see if
I
>>could use eval that way, but the whole idea is to call methods &
functions,
>>and I didn't know the apply() , so thanks a lot !
>>
>>Patrick Jean
>>Directeur de projets internet
>>Monac'OH Data Mercantour
>>http://www.monacoh.com
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of
Bernard
>>Visscher
>>Sent: Wednesday, March 22, 2006 11:15 AM
>>To: 'Flashcoders mailing list'
>>Subject: RE: [Flashcoders] It exists in director but in flash ?
>>
>>I think this will work:
>>
>>function test(){
>>  trace("test");
>>}
>>
>>var str:String;
>>str = eval("test");
>>Function(str).apply();
>>
>>Greetz,
>>
>>Bernard
>>
>>-Oorspronkelijk bericht-
>>Van: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Namens Patrick Jean
>>Verzonden: woensdag 22 maart 2006 16:58
>>Aan: [EMAIL PROTECTED] Figleaf. Com
>>Onderwerp: [Flashcoders] It exists in director but in flash ?
>>
>>Is there any way in Flash 8 to tell the compiler to run a string as if
it
>>was a method ? See the exemple below :
>>
>>
>>
>>var tempString:String;
>>
>>tempString = "anObject.doSomething()"
>>
>>
>>
>>and having the string being interpreted as a command ? I thought I
could do
>>that with eval but it doesn't seem to work.
>>
>>
>>
>>I remember that with Director you could use the "do" command using a
string,
>>what was pretty convenient.
>>
>>
>>
>>Thanks
>>
>>
>>
>>Patrick Jean
>>
>>Directeur de projets internet
>>
>>Monac'OH Data Mercantour
>>
>>http://www.monacoh.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
>>
>>___
>>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
NOTICE:
This message is for the designated recipient only and may contain privileged
or confidential information. If you have received it in error, please notify
the sender immediately and delete the original. Any other use of this e-mail
by you is prohibited.
___
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


RE: [Flashcoders] It exists in director but in flash ?

2006-03-22 Thread Bernard Visscher
I think this will work:

function test(){
trace("test");
}

var str:String;
str = eval("test");
Function(str).apply();

Greetz,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Patrick Jean
Verzonden: woensdag 22 maart 2006 16:58
Aan: [EMAIL PROTECTED] Figleaf. Com
Onderwerp: [Flashcoders] It exists in director but in flash ?

Is there any way in Flash 8 to tell the compiler to run a string as if it
was a method ? See the exemple below :

 

var tempString:String;

tempString = "anObject.doSomething()"

 

and having the string being interpreted as a command ? I thought I could do
that with eval but it doesn't seem to work.

 

I remember that with Director you could use the "do" command using a string,
what was pretty convenient.

 

Thanks

 

Patrick Jean

Directeur de projets internet

Monac'OH Data Mercantour

http://www.monacoh.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

___
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] OT: Windows XP Level2 Cache mostly incorrect

2006-01-05 Thread Bernard Visscher
Blue Screen Of Death ;) 

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens 
Verzonden: donderdag 5 januari 2006 10:30
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] OT: Windows XP Level2 Cache mostly incorrect

What is BSOD ?
a
- Original Message -
From: "Bernard Visscher" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Thursday, January 05, 2006 9:01 AM
Subject: [Flashcoders] OT: Windows XP Level2 Cache mostly incorrect


> Good morning (here..) everyone,
>
> I just read that Windows XP at installation sets the Level2 cache to 0 in
> the registry.
> I've changed it to my real L2 cache and had an improvement in speed of 40%
> with Sorenson encoding. So that's why I think it's interesting for all 
> here.
>
> First open regedit (start->run->regedit)
> Then search the key:
> hkey_local_machine\system\currentcontrolset\control\session manager\memory
> management
> Then at the sub key "secondleveldatacache" you fill in your real L2 cache.
> Hex value 200 for 512kb, 400 for 1Mb etc..
> Then reboot.
>
> DON'T fill in a larger value than the real L2 cache, it will result in a
> BSOD.
>
> If you don't know your L2 cache you can use this program:
> http://www.cpuid.com/download/cpu-z-131.zip
>
> Good luck!
>
> Greetz,
>
> Bernard
>
> ___
> 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


[Flashcoders] OT: Windows XP Level2 Cache mostly incorrect

2006-01-05 Thread Bernard Visscher
Good morning (here..) everyone,

I just read that Windows XP at installation sets the Level2 cache to 0 in
the registry.
I've changed it to my real L2 cache and had an improvement in speed of 40%
with Sorenson encoding. So that's why I think it's interesting for all here.

First open regedit (start->run->regedit)
Then search the key:
hkey_local_machine\system\currentcontrolset\control\session manager\memory
management
Then at the sub key "secondleveldatacache" you fill in your real L2 cache.
Hex value 200 for 512kb, 400 for 1Mb etc..
Then reboot.

DON'T fill in a larger value than the real L2 cache, it will result in a
BSOD.

If you don't know your L2 cache you can use this program:
http://www.cpuid.com/download/cpu-z-131.zip

Good luck!

Greetz,

Bernard

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


RE: [Flashcoders] More than 1 font in textfield

2005-10-25 Thread Bernard Visscher
Hi Franto,

Yes this is possible.
You create a (few) textfield(s) that embeds alle needed fonts and
bold/italic etc. 
Then you assign a stylesheet to the field you want to use with multiple
fonts or just use:
Font1 testFont2 bold
test

Greetz,

Bernard

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens franto
Verzonden: dinsdag 25 oktober 2005 10:41
Aan: Flashcoders mailing list
Onderwerp: [Flashcoders] More than 1 font in textfield

Hi all,

i've guestion: is it possible to have more than 1 font in 1 HTML textfield?
e.g Arial, Tahoma...
and 2nd: is it possible to have bold and normal font in one HTML textfield
with embeded fonts?

I really cant this figure it out, and i need this... deadline :)

Thanks


-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
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