Re: [Flashcoders] AS3 replacement for: XMLNode_Instance.removeNode();

2007-04-07 Thread Christophe Herreman

Hi,

try:
delete myXml.myNode;

or
delete [EMAIL PROTECTED];

regards,
Chrisophe

[EMAIL PROTECTED] schreef:
What is the E4X in AS3 for removing a child in an AS3 XML object? 


I don't want to use XMLNode_Instance.removeNode() or anything from
XMLNode class ever again. ;)

--Keith H--
  



___
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] Text field with two lines and on second linecharacter !

2006-09-28 Thread Christophe Herreman

Hi Jim,

I'm not completely sure of that.

We received the following link from a university professor:
http://www.dsi.univ-paris5.fr/typo.html

The part about punctuation marks (in French):

Espaces en usage avant et après les signes de ponctuation

   * Point et virgule sont suivis d'un blanc.
   * Point d'interrogation, point d'exclamation, point-virgule et
 deux-points sont suivis d'un blanc et précédés d'une espace fine
 insécable. Ce caractère, auquel les professionnels de l'édition
 de texte sont justement attachés, existe dans les traitements de
 texte, peut être remplacé par un blanc dans les simples messages
 et par le caractère nbsp; en HTML.
   * Les guillemets ouvrants ou fermants sont, respectivement, précédés
 ou suivis d'un blanc.
   * Les parenthèses ou crochets ouvrants sont précédés d'un blanc.
   * Les parenthèses ou crochets fermants sont suivis d'un blanc.
   * Les apostrophes et traits d'union ne sont ni précédés ni suivis de
 blanc.
   * Le tiret est précédé et suivi d'un blanc.
   * Les points de suspension sont suivis d'un blanc.

regards,
Christophe

Jim Duber wrote:

Greetings all,

For the record, in standard French, punctuation marks (like ! and 
? and :) are most certainly *not* preceded by a space.


Regards,

Jim



Date: Thu, 28 Sep 2006 11:55:32 +0200
From: Lieven Cardoen [EMAIL PROTECTED]
Subject: RE: [Flashcoders] Text field with two lines and on second
linecharacter !
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;charset=us-ascii

Little adjustment.

Before the ! or ?, there's a space. Apparently in French this is the
rule.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lieven
Cardoen
Sent: donderdag 28 september 2006 11:44
To: Flashcoders mailing list
Subject: [Flashcoders] Text field with two lines and on second
linecharacter !

I don't know the word for characters like !?., in Englisch but problem
is dat those characters sometimes stand alone on second line of a
textfield in Flash...



Is there a way to remedy this?



For Example :



Bla blab la blab la bla

?



Should be forced to be displayed like



Bla blab la blab la bla?



Or



Bla blab la blab la

bla?



___
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] Sound markers

2006-06-27 Thread Christophe Herreman

Hey guys,

does anyone have a proper solution for simulating markers in (mp3) sound 
files?

As far as I understood, these cannot be read by the Flash Player.

We are looking for a workaround and the first thing we would try is to 
insert the times into the comment field of the mp3 file. Reading this 
value shouldn't be a problem.


Does this seem like a thing that would work (I guess so) ?
Has anyone tried this, or does anyone have a better solution ?

thx in advance,
Christophe
___
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] Sound markers

2006-06-27 Thread Christophe Herreman

Hey Tom,

we don't want to add CuePoints (which is for flv I thought).
I have a mp3 file that has been marked in SoundForge.
We now want to load the marked mp3 and read the markers so we can jump 
to certain points in time in the mp3 file.


I have just checked the SF docs and it is possible to write scripts (in 
C#, VB, etc) and run these inside SF.


I'll keep you updated.

cheers,
Christophe

Tom Jackson schreef:

has anyone investigated the Media components? I believe there's an
addCuePoints function that might do what your after... not used it myself
mind so it might be useless ;)


On 27/06/06, Aaron Buchanan [EMAIL PROTECTED] wrote:


I heard Flash Player 9 has some new sound goodies, but couldn't turn 
up a

link.. Anyone got one?

a


On 6/27/06 12:05 AM, Christophe Herreman [EMAIL PROTECTED] wrote:

 Hey guys,

 does anyone have a proper solution for simulating markers in (mp3) 
sound

 files?
 As far as I understood, these cannot be read by the Flash Player.

 We are looking for a workaround and the first thing we would try is to
 insert the times into the comment field of the mp3 file. Reading 
this

 value shouldn't be a problem.

 Does this seem like a thing that would work (I guess so) ?
 Has anyone tried this, or does anyone have a better solution ?

 thx in advance,
 Christophe
 ___
 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] Sound markers

2006-06-27 Thread Christophe Herreman

Hey guys,

I found a little workaround using the scripting possibilities in 
SoundForge. You can find a little explanation on my blog and you can 
download the script.

http://www.herrodius.com/blog/?p=49

thx for your input !

regards,
Christophe


Ian Thomas schreef:

Sorry, I meant loading it in alongside an external .mp3. Having a bad
morning here...

Ian

On 6/27/06, Ian Thomas [EMAIL PROTECTED] wrote:

Hi Christophe,
  We've done similar using SoundForge simply by exporting the
regions/markers file as a text file and loading it in alongside the
SWF - parsing it, and triggering events based on the contents.

HTH,
  Ian

On 6/27/06, Christophe Herreman [EMAIL PROTECTED] wrote:
 Hey Tom,

 we don't want to add CuePoints (which is for flv I thought).
 I have a mp3 file that has been marked in SoundForge.
 We now want to load the marked mp3 and read the markers so we can jump
 to certain points in time in the mp3 file.

 I have just checked the SF docs and it is possible to write scripts 
(in

 C#, VB, etc) and run these inside SF.

 I'll keep you updated.

 cheers,
 Christophe


___
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] Extending a singleton

2006-03-23 Thread Christophe Herreman

Hi guys,

I was wondering if anyone of you ever had a situation where it would be 
good to extend a singleton. The first question is: Is it good practice 
or should it be avoided at all cost?


Anyway, I have been trying to extend one, but the problem is that 
instance variables are not accessible in the class that extends the 
singleton (and which is also a singleton).


So for instance, take a class A that has a properties instance 
variable that holds key/value pairs. That var is initialized in the 
constructor.


A.getInstance() gives me the single instance.

B extends A, and B.getInstance() gives me the single instance of B. But 
since it extends A, A's constructor is called (although it is private, a 
camouflaged protected in AS2) and the properties var is instantiated 
again. Get the picture? B will have a properties instance var but it 
will not be the same as the one in the singleton of A.


Am I overlooking something very obvious here or is this actually hard to 
accomplish? I changed it from inheritance to using A.getInstance() 
internally which works; but now I have to add wrapper methods for every 
method in A/ /I want to make available.


thx in advance,
Christophe
___
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] Webservice and complex type class mapping

2006-01-11 Thread Christophe Herreman

Hi all,

does anyone know if it is possible to map an incoming complex type to a 
AS class? With remoting Object.registerClass() does the trick but it 
doesn't seem to work with webservices.


Any clues? Or is it simply not possible and do I have to parse the soap 
messages myself?


thx in advance,
Christophe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Batch linkage jsfl command

2005-11-03 Thread Christophe Herreman

Hi all,

does anyone know if there's a jsfl command to assign a linkage id to a 
selection of items in the library? The linkage id should be the same as 
the name of the item.


thx in advance,
Christophe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Batch linkage jsfl command

2005-11-03 Thread Christophe Herreman

Thx all,

I altered this version to only assign the name of the item and not the 
full path.


var selItems = fl.getDocumentDOM().library.getSelectedItems();

for(var i=0; iselItems.length; i++){
   selItems[i].linkageExportForAS = true;
   selItems[i].linkageIdentifier = selItems[i].name.split(/).pop();
}

regards,
Christophe

Helen Triolo wrote:


var items = fl.getDocumentDOM().library.getSelectedItems();
for (var i=0; iitems.length; i++) {
 items[i].linkageExportForAS = true;
 items[i].linkageIdentifier = items[i].name;
}

jsfl help file: 
http://www.uni-weimar.de/~kleppe/flash/FlashJavaScriptHelp.jsfl


Helen

Christophe Herreman wrote:


Hi all,

does anyone know if there's a jsfl command to assign a linkage id to 
a selection of items in the library? The linkage id should be the 
same as the name of the item.


thx in advance,
Christophe




___
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