[Flashcoders] hittest

2006-03-16 Thread lieven.cardoen
If I do something like this :drop.hitTest(_root._xmouse,
_root._ymouse, true);

 

Does this always work, no matter where drop is created (in a movieclip
on position xy, on the root, ...)

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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] Enter-key in Test Movie

2006-03-08 Thread lieven.cardoen
Is it possible to disable this enter-key (==play) in testing
movie-environment. I use the enter-key in my swf as a handler for
function, so it's quite ennoying...

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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] Heap Size Eclipse

2006-03-07 Thread lieven.cardoen
I have some problems using eclipse lately. Problems start when launching
MTASC for compiling a huge project. The heap size goes up to 253M of
254M, and remains this high, even after mtasc has compiled. I tried to
set maximum heapsize to 512M, but then it seems as heapsize goes up to
512M, and problems are even bigger (computer slows down).

 

Is there a Java Virtual Machine that can do better, and what has MTASC
to do with the heap size...?

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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


RE: [Flashcoders] Heap Size Eclipse

2006-03-07 Thread lieven.cardoen
That's what I thought also. Maybe because before launching MTASC,
Eclipse goes parsing all of the files in the project.

Ok, I restarted My Computer because after compiling with MTASC there was
a System Idle Process that kept on using 95% of CPU.

I restarted Eclipse and now Heap Size is 34M.

I compile using Ant + MTASC and heap size goes up to 124M. After garbage
collection is rests at 106, which is strange I think (shouldn't it drop
again to 34M). But, it compiled.

I put some spaces in some files, and compile again. No, eclipse goes
parsing all the files and heapsize goes up to 214M. After garbage
collection it drops to 140M.

Now, if I repeat this process several times, the heap size gets to
maximum, and I get an error from eclipse saying I should increase
maximum heapsize (which doesn't help -- I tried it).

So it seems garbage collection doesn't work???...

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicolas
Cannasse
Sent: dinsdag 7 maart 2006 10:24
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Heap Size Eclipse

 Is there a Java Virtual Machine that can do better, and what has MTASC
 to do with the heap size...?

MTASC is an external process and doesn't run on the JVM. I don't see how
it could even have some effect on it (?).

Nicolas
___
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] Please Help -- No Files in Flash Explorer

2006-03-06 Thread lieven.cardoen
I don't know what I've done (nothing I think and yet...).

 

I restarted Eclipse and suddenly I see no projects anymore in my Flash
Explorer (from FDT). When I open the Java perspective, I do see the
projects. Switching to Flash explorer, everything gone.

Filters are ok, so I don't know why the Flash explorer show nothing at
all.

 

Thx, Lieven Cardoen

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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] LuminicBox - FlashInspector

2006-02-24 Thread lieven.cardoen
Hello,

 

logger.debug(ObjectDumper.toString(divideSentenceContent));

 

Anyone have an idea why FlashInspector sometimes shows the whole object
as a treeview (with plus and min), and sometimes just shows a little bit
of it?

 

var hierarchicalLogger:SimpleHierarchicalLogger = new
SimpleHierarchicalLogger(package);

hierarchicalLogger.addHandler(new LuminicBoxHandler(200));

hierarchicalLogger.addHandler(new TraceHandler());



return hierarchicalLogger;

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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] addEventListener -- removeAllListeners EventDispatcher class

2006-02-23 Thread lieven.cardoen
The problem is this : 

 

...

correctButton.addEventListener(onRelease, Delegate.create(controller,
controller.correctButton_OnRelease));

solutionButton.addEventListener(onRelease, Delegate.create(controller,
controller.solutionButton_OnRelease));

nextButton.addEventListener(onRelease, Delegate.create(controller,
controller.nextButton_OnRelease));

...

 

later on, I need to remove the listeners and for that it seems I need an
instance of each Delegate I created.

correctButton.removeEventListener(onRelease, controller) won't work.
I've been trying to change the EventDispatcher class and add

a function removeAllEventListeners, but I can't seem to make it work.
What I would want is to say : 

 

correctButton.removeAllListeners   -- removes all listeners from
correctButton for all events

 

 

ArpForm : 

 

class org.osflash.arp.ArpForm extends MovieClip

{

//

// Properties

//

private static var eventDispatcherInitialized =
EventDispatcher.initialize(ArpForm.prototype);

 




// Constructor




public function ArpForm()

{



}

...

function addEventListener() 

{

// Used by EventDispather mixin

}

 

function removeEventListener()

{

// Used by EventDispather mixin

}

 

function dispatchEvent()

{

// Used by EventDispather mixin

}

 

function dispatchQueue()

{

// Used by EventDispather mixin

}

 

function removeAllListeners()

{

}

 

EventDispatcher : 

...

static function initialize(object:Object):Void

{

if (_fEventDispatcher == undefined)

{

_fEventDispatcher = new EventDispatcher();

}

object.addEventListener =
_fEventDispatcher.addEventListener;

object.removeEventListener =
_fEventDispatcher.removeEventListener;

object.dispatchEvent = _fEventDispatcher.dispatchEvent;

object.dispatchQueue = _fEventDispatcher.dispatchQueue;

object.removeAllListeners =
_fEventDispatcher.removeAllListeners;

}   

...

function removeAllListeners():Void{

for(var i in this){

trace(i :  + i);

this[i] = new Array();

}

}  

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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] switch - case

2006-02-15 Thread lieven.cardoen
Hey to ya all, 

 

I'm trying to do following, which obviously won't work, but is there
another way without having to use if else if else if else...

 

var model:Observable =
Observable(this._content.divideSentenceSteps.getById(indexCurrentAttempt
+2));

   

   

switch(model){

case (instanceof DivideSentenceStep2) :

logger.debug(DivideSenteceStep2);

break;

default : 

logger.debug(Not Known);

break;

}

}

 

thx

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[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] Flash Tree Not Clickable

2006-01-31 Thread lieven.cardoen
I have a tree and to Buttons to navigate to tree (up and down).

Now I need to make the tree not clickable. A user may only navigate with
the buttons.

 

Disabling the change event is not an option, neither is disabling the
tree.

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

 

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


RE: [Flashcoders] Flash Tree Not Clickable

2006-01-31 Thread lieven.cardoen
I know, but then users will still think there's something to be
clicked...

Isn't there a way to access the movieclips for each rows in where the
click's are processed...

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97
// communicatie bij voorkeur op [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: dinsdag 31 januari 2006 11:27
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Tree Not Clickable

Place another movieclip over the top of it, 100% alpha, with onRelease
set
to a dummy function?

On 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I have a tree and to Buttons to navigate to tree (up and down).

 Now I need to make the tree not clickable. A user may only navigate
with
 the buttons.



 Disabling the change event is not an option, neither is disabling the
 tree.




___
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] Flash Tree Not Clickable

2006-01-31 Thread lieven.cardoen
Yep, Ian, I'v been programming Flash now for a year, and didn't know
there was a useHandCursor to be set false... Thank you for enlightening
me...

cheers

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: dinsdag 31 januari 2006 11:33
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Tree Not Clickable

Why will they think there's something to be clicked?

Set .useHandCursor to false on the blocking clip?

Cheers,
  Ian

On 1/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I know, but then users will still think there's something to be
 clicked...

 Isn't there a way to access the movieclips for each rows in where the
 click's are processed...


___
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] ComboBox problem when swf loading in another swf

2006-01-24 Thread lieven.cardoen
I have an swfA which is loaded into an swfB.

 

In swfA I have a ComboBox. When executing swfA (not loaded in another
swf), the combobox works fine.

 

When executing swfB, problems occur with ComboBox in swfA. Tell me why?

 

thx

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

 

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


RE: [Flashcoders] ComboBox Focus problem

2006-01-24 Thread lieven.cardoen
Prutser

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks
Sent: dinsdag 24 januari 2006 16:08
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] ComboBox Focus problem

One solution:

http://www.ghostwire.com/

:)
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of [EMAIL PROTECTED]
 Sent: Tuesday, January 24, 2006 7:03 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] ComboBox Focus problem
 
 Hi all,
 
  
 
 I keep on getting this nasty focus problem with the 
 macromedia combobox
 component.
 
 This occurs as soon as an swf loads another swf with a combobox in it.
 
  
 
 After opening the combobox list:
 
  
 
 when you drag the scrollbar up or down, and release it to select a
 certain item, the list closes by itself for some reason, and the halo
 border that the cbo gets on focus, stays too.
 
  
 
 Ive tried the following but nothing worked to far :
 
  
 
 -  adding the combobox to the root swf's library
 
 -  using the lockroot statement
 
 -  calling invalidate and/or redraw
 
  
 
 Does anyone have a clue?
 
  
 
  
 
  
 
 Bert Vandamme  *no prutsers*
 
 
 PointX nv  |  Engelse Wandeling 2K18  |  8500 Kortrijk  |  
 056 36 21 94 
 
  
 
 ___
 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] (no subject)

2006-01-03 Thread lieven.cardoen
Does anybody of you guys know if a replace like this is possible in
eclipse : 

 

I have a number of files all with names like assessmentitem_15845.xml.
In each of these files, I have to replace a number (always 14772) with
15845 (comes from name of file).

 

thx

 

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be

 

 

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


[Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
Dear colleagues, 

 

Apparently it isn't possible to have a textfield with embedded fonts and
html. Is this correct and why is this.

 

Don't just tell me it is possible, because I've tested it, and when I
embed the font, the html doesn't come true. For instance
iblablabla/i doesn't appear.

 

Thx, Lieven Cardoen

 

Ps: Aren't textfields something macromedia was proud of in the new
release? (I've had nothing but problems with it)

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


RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen

Ok, here's what I do : 

The textField is Dynamic, Font Verdana, Anti-alias for readability + embedded. 
This is done on the Stage.

In Code : 
txt_Instruction.html = true;
txt_Instruction.htmlText = P align='center' + 
unescape(_global.exData.meta.studentInstruction1) + p;


In the example I try there's a string : blab la bla isome words/i
isome words/i doesn't appear, all the rest does.

Thx for helping me out with this issue.

Vriendelijke groeten,

Ann Soens

PointX Multimedia
 
Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerem Gülensoy
Sent: dinsdag 13 december 2005 12:34
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

even though you dont want to hear it: its possible ;) do you apply a
textformat on the textfield? is the font embeded in a texfield or do you use
a fontsymbol?

kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Dienstag, 13. Dezember 2005 12:20
An: flashcoders@chattyfig.figleaf.com
Betreff: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

Dear colleagues, 

 

Apparently it isn't possible to have a textfield with embedded fonts and
html. Is this correct and why is this.

 

Don't just tell me it is possible, because I've tested it, and when I embed
the font, the html doesn't come true. For instance iblablabla/i doesn't
appear.

 

Thx, Lieven Cardoen

 

Ps: Aren't textfields something macromedia was proud of in the new release?
(I've had nothing but problems with it)

___
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] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
P align='center' -- this is done by the textField but Italic doesn't show. 
Could it be that the font Verdana doesn't support Italic?



Vriendelijke groeten,

Ann Soens

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerem Gülensoy
Sent: dinsdag 13 december 2005 12:34
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

even though you dont want to hear it: its possible ;) do you apply a
textformat on the textfield? is the font embeded in a texfield or do you use
a fontsymbol?

kerem

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Dienstag, 13. Dezember 2005 12:20
An: flashcoders@chattyfig.figleaf.com
Betreff: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

Dear colleagues, 

 

Apparently it isn't possible to have a textfield with embedded fonts and
html. Is this correct and why is this.

 

Don't just tell me it is possible, because I've tested it, and when I embed
the font, the html doesn't come true. For instance iblablabla/i doesn't
appear.

 

Thx, Lieven Cardoen

 

Ps: Aren't textfields something macromedia was proud of in the new release?
(I've had nothing but problems with it)

___
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] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
Thx, but this doesn't work neither. If I make one line Italic, both
lines come Italic...

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: dinsdag 13 december 2005 13:58
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Embedded fonts vs. Html : Can anybody
enlighten me

No - it's just that as far as Flash embedding is concerned Verdana
Italic is
_different_ from Verdana.

What you need to do is embed both versions of the font - Verdana Italic
and
Verdana.

The easiest way to do that is to stick a dynamic textfield offstage, and
put
two lines of text in it. Set it to embed, and make sure that the first
line
is in plain text and the second line is in italic.

That should do the trick.

Cheers,
  Ian

On 12/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 P align='center' -- this is done by the textField but Italic
doesn't
 show. Could it be that the font Verdana doesn't support Italic?


___
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] Embedded fonts vs. Html : Can anybody enlighten me

2005-12-13 Thread lieven.cardoen
I've tried putting a textField with embed font + html. I made one line plain 
text, one line italic and one line bold. This works fine for all other 
textfields that use this embed font + html.

Maybe you need to put the textField on the root of application?

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerem Gülensoy
Sent: dinsdag 13 december 2005 15:39
To: 'Flashcoders mailing list'
Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten me

hmm...works fine here in flash8...i couldnt notice a change in behavior
yet...
i´m embedding the chars i need in a textfield, putting it on the stage,
creating a new one, setting embedfonts to true, applying a textformat and a
text - and it works fine :)

cheers,
 k.

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Mike
Mountain
Gesendet: Dienstag, 13. Dezember 2005 15:29
An: Flashcoders mailing list
Betreff: RE: [Flashcoders] Embedded fonts vs. Html : Can anybody enlighten
me

 

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kerem 
 Gülensoy
 Sent: 13 December 2005 14:24
 To: 'Flashcoders mailing list'
 Subject: AW: [Flashcoders] Embedded fonts vs. Html : Can anybody 
 enlighten me
 
 it still works fine for me...what exactly doesnt work? 

In flash 8 on my pc, embedding the font chars (in the props panel) for one
text box doesn't carry over to be accessible by all other text boxes with
the same font. I find it tricky to be any more specific than I was before.

 for me the biggest con about fontsymbols is that you have to embed 
 almost the whole font and can not choose which characters to 
 embed...also embedding of special characters like polish and turkish 
 doesnt work...or did i overlook something?
 
 k.
___
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] LuminicBox + as2lib logging works with Flash, not with Mtasc ??????????

2005-12-10 Thread lieven.cardoen
If I compile with Flash, all my loggings arrive at LuminicBox. If I compile 
with Mtasc (in Eclipse), no logging arrives at LuminicBox...

Can anybody explain me why and can I see those loggings in LuminicBox when 
compiling with Mtasc.

 

Lieven Cardoen, thx

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


[Flashcoders] _root.getURL(javascript:...); Local - Problems

2005-12-07 Thread lieven.cardoen
Hi there, 

 

I'm making a cd and I'm trying to trigger a javascript function. All
this is done locally (-- cd). In Internet Explorer it doesn't work, in
Firefox, there comes a popup from flash. When clickin' on settings I can
add the swf to allow triggering a javascript function. After this, the
thing works. But, I can't except customers to go and do this. Is there a
workaround for this?

 

Thx, Lieven Cardoen

 

If I'm not being clear about my problem, let me know.

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


RE: [Flashcoders] _root.getURL(javascript:...); Local - Problems

2005-12-07 Thread lieven.cardoen
Nobody?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lieven
Cardoen
Sent: woensdag 7 december 2005 9:27
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] _root.getURL(javascript:...); Local - Problems

Hi there, 

 

I'm making a cd and I'm trying to trigger a javascript function. All
this is done locally (-- cd). In Internet Explorer it doesn't work, in
Firefox, there comes a popup from flash. When clickin' on settings I can
add the swf to allow triggering a javascript function. After this, the
thing works. But, I can't except customers to go and do this. Is there a
workaround for this?

 

Thx, Lieven Cardoen

 

If I'm not being clear about my problem, let me know.

___
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] Compiling with flash.exe

2005-12-06 Thread lieven.cardoen
Is it possible to compile an fla using Flash.exe?

 

More important : Is it possible to give classpath's as parameter with
flash.exe?

 

Thx, Lieven Cardoen

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


[Flashcoders] Deng Custom Tags -- How To -- Examples

2005-12-01 Thread lieven.cardoen
I would like to use Deng in a big project at our Company. It looks really great 
except for the fact that it seems to me that all of the open source flash 
things going on forget about writing some decent  manual/examples/...
 
Deng : - How do you make custom tags. I have html I need to render, but 
something like this [] need to be rendered like a dropfield. So I would like to 
make a custom tag dropsome text/drop that needs to be custom rendered. How 
do you do this?
  - Secondly I need to be able to address, initialize, ... those 
drops...
  - I've seen deng is written in ActionScript1. Will this lead to 
problems. Our project is written entirely in ActionScript2.
 
 
I would be great if someone could help me getting started with this.
 
Thx!
 
Lieven Cardoen
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Aspect Oriented Programming

2005-11-29 Thread lieven.cardoen
Hi Simon, I'm trying to figure out this part of As2lib. It looks great,
but I don't have the time to look how it exactly works. This is what I
have so far : 

 

private static function
initLogMethodExecutionsAspect(weaver:SimpleWeaver):Void {

var
logMethodExecutionsAspect:LogMethodExecutionsAspect = new
LogMethodExecutionsAspect();

 
//weaver.addAspect(logMethodExecutionsAspect,
_global.be.idiomatic.framework.content);

 
weaver.addAspect(logMethodExecutionsAspect,
_global.be.idiomatic.module);

 
weaver.addAspect(logMethodExecutionsAspect, _global.org.as2lib.env.log);

}







 
//==

//  PUBLIC METHODS

 
//==

public static function
init(target:MovieClip):Void{

// use two separated try-catch
blocks because the application may run even if the weaving process
failed

try {

var weaver:SimpleWeaver
= new SimpleWeaver();

 
initLogMethodExecutionsAspect(weaver);

weaver.weave();

} catch
(exception:org.as2lib.env.except.Throwable) {

// send email to
application programmer

if
(logger.isErrorEnabled()) {

 
logger.error(Weaving failed with exception:\n +
StringUtil.addSpaceIndent(exception.toString(), 2));

}

}



target.attachMovie(Application,
application, 1);

}

 

 

My question is how does the  LogMethodExecutionsAspect class look like.
I haven't begun programming this class. All it should do is send a
message at the beginning of a method and at the end saying which class
and method the program is in. Do you have an example of such an Aspect?

 

Thx, greetz

 

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 361197

Fax 056 35 26 48

www.pointx.be http://www.pointx.be/ 

 

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


[Flashcoders] Return a class

2005-11-18 Thread lieven.cardoen
I have a class named Drag with a static function create. 

 

A drag is created as :  Drag.create(...)

 

Now I would like to use a Factory to return a drag, but the problem is
that the Factory has to return the class Drag instead of an instance of
Drag...

 

So what I would like to do is : 

 

myFactory.getDrag().create(...);

 

of something like : 

 

Class Drag = myFactory.getDrag();

Drag.create(...)

 

 

Is this possible?

 

Thx, Lieven Cardoen

 

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 361197

Fax 056 35 26 48

www.pointx.be http://www.pointx.be/ 

 

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


[Flashcoders] Flash Detection Kit

2005-11-15 Thread lieven.cardoen
I've been playing a little bit with the flash detection kit and I'm
frustrated about something. I'm using the express install. When user has
flash 6 or 7, then the flash player is upgraded from within an flash6
swf (locally). This swf loads a autoUpdater.swf from macromedia site
which does the upgrade (see below).

 

http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/auto
Updater.swf?+cacheBuster
http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/aut
oUpdater.swf?%22+cacheBuster -- apparently this is the swf that is
loaded and which does the update. But the graphics of this
autoUpdater.swf are terrible. Can this be altered?

 

The graphics are a big blue square. Very nice.

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


[Flashcoders] embed(test.swf#mc1)

2005-11-11 Thread lieven.cardoen
I've seen this in Flex, does it also work in Flash ?

 

Like : loadMovie(test.swf#mc1);

 

It should load a movieclip from the library of test.swf.

 

Thx, Lieven Cardoen

 

And another question : When I embed my fonts, htmlText doesn't work
anymore...

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


RE: [Flashcoders] Embedded Fonts + HTML

2005-11-04 Thread lieven.cardoen
Maybe I need to be a little bit clearder.

I have a textfield with embedded fonts set to true. Next I want to
render html-text  (.html = true and .htmlText = ...). If I don't use
embedded fonts, it works fine. With embedded fonts, nothing appears.

Thx, Lieven Cardoen

Ps: Is there a workaround for this. I need to use embedded fonts because
the font isn't supported on most computers. And I really need to render
HTML.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lieven
Cardoen
Sent: vrijdag 4 november 2005 12:26
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Embedded Fonts + HTML

Does this work ? In my project it doesn't seem to work...

 

Flash7MX Update 7.2

___
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] Preloading locally

2005-11-03 Thread lieven.cardoen
Do I need to reply to myself?
cheers

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lieven
Cardoen
Sent: donderdag 3 november 2005 9:25
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Preloading locally

I make lots of cd's (sometimes with frustration as result :-() and I was
wondering if it makes sense to preload swf's. I have like 14 swf-modules
that are used throughout the cd. Each module is an exercise-type.

 

Online it certainly makes sense to preload, but when all of the content
is on the user's harddisk (full installation), does it make sense then?
Flash will probably load the swf in the memory when needed, but if after
that another swf is loaded into the same movieclip, does the previous
swf stay in the memory or is it cleaned up (and is this the
responsibility of Flash or OS?).

 

Thx, Lieven Cardoen

___
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] Forcing Flash going to next frame while executing code? + MultiThreading in Flash?

2005-11-02 Thread lieven.cardoen
Is this possible ? I have a large xml-file which is parsed. This tends
to freeze the application several seconds (in case of a really big
xml-file, a popup can occur whith script time out error). Is it possible
to force Flash to jump to a next frame without stopping the execution of
code? And is it possible to set this script time out higher?

 

Breaking the xml in several peaces is an option we have already done,
but still I would like to know if it is possible to force flash to a
next frame.

 

Another question : Is it possible to start another thread to execute
some operations in the background?

 

Thx, Lieven Cardoen

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


RE: [Flashcoders] Forcing Flash going to next frame whileexecutingcode? + MultiThreading in Flash?

2005-11-02 Thread lieven.cardoen


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jobe
Makar
Sent: woensdag 2 november 2005 15:01
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Forcing Flash going to next frame
whileexecutingcode? + MultiThreading in Flash?

Hi Lieven,

No, you cannot do that without breaking the parsing up over multiple
frames. 
A function is fully executed in 1 frame. The display is only updated 1
time 
per frame.

Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 919-609-0408
mobile: 919-610-5754
fax: 919-341-8104
- Original Message - 
From: [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, November 02, 2005 8:52 AM
Subject: [Flashcoders] Forcing Flash going to next frame while 
executingcode? + MultiThreading in Flash?


Is this possible ? I have a large xml-file which is parsed. This tends
to freeze the application several seconds (in case of a really big
xml-file, a popup can occur whith script time out error). Is it possible
to force Flash to jump to a next frame without stopping the execution of
code? And is it possible to set this script time out higher?



Breaking the xml in several peaces is an option we have already done,
but still I would like to know if it is possible to force flash to a
next frame.



Another question : Is it possible to start another thread to execute
some operations in the background?



Thx, Lieven Cardoen

___
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