[Flashcoders] please help - exceptions and null format can't be interpreted in webservice

2006-01-23 Thread PR Durand

Hi list
I've asked on friday but nobody answered. I can't get finding 
explaination please help.
I use the Webservice classes to connect to a java webservice server, and 
now it works, but I still have 2 problems in interpreting the server 
response:
- the exceptions throwed by the server aren't translated in flash 
exceptions, so my catch commands aren't called. I only have a Unable 
to connect to endpoint Log Fault, as if the received xml contains the 
good information...
- when I want to send a null value, flash doesn't write the xsi:null 
value in the thrown xml, so the server receives an error. The java 
developper told me that this xsi:null is the only standard way to send a 
null via webservice and I don't know what to do, as I use the native 
Webservice class.


thx for helping me

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


RE: [Flashcoders] Flash Remoting

2006-01-23 Thread Adrian Lynch
Not sure if this still applied, but you might need to download the class
files and put them in your class path else the import will fail.

If I'm wrong about this, could someone give a brief explanation/history of
the remoting classes?

Thanks.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of JP
Sent: 23 January 2006 05:15
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash Remoting




 If you are using AS2, then you want to use import, not #include (which is
AS1).

DOH! I should have known that. Thanks!

Now I've got to go fix my Win config. The installer claims that 'remoting is
installed' and won't run again, but import mx.remoting.Services can't be
loaded and clearly is not where it's suppose to be. Ah well, that's the easy
part. Thanks again!

- jp

___
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] AS3 - FP9 - Flex2 - Flash9

2006-01-23 Thread M S
Just a curious question,

Does any one know or have opinions on how Adobe is going to integrate AS3
into Flash ?

Put another way, I can build AS3 components in Flex builder 2, view using
the Flash player 8.5, and not use the Flex framework at all. What is the
time frame of Flash Player 9, and Flash 9 verses the final release projected
release of Flex Builder 2. Do you think they are going to be released around
the same time because AS3 requires the new player's vm?

Seems to me, a lot of component devs might be using Flex builder 2 as a
compiler for Flash level components and not hook into the Flex Framework on
the basis of licensing issues and legal stuff.

Although an intriguing  thought is, I can develop as3 components that will
work with Flash 9 AND Flex 2 because I have the flex 2 interface API.
Knowing also how to build Flex2 components snap flash's right into it, two
for one kind of thing.

Ramble.. any thoughts ? ;-)

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


[Flashcoders] Flash website statistics

2006-01-23 Thread Toon Van de Putte
Hi,

I'm looking for something that can generate clean Flash site statistics.
Currently, we're using the stats package the hosting company provides, but
its output is not especially practical.
Our websites are generally built around a central canvas.swf file that loads
all the pages as swf files.
We can see those as downloaded files in the stats interface, but any
querystring parameters are omitted, which is a bit annoying.
Being able to track screen resolution would also be nice. With existing
stats packages, we can only track screen resolution by including some
special gif in the main page or something, which isn't particularly handy,
especially since that could all be detected from within Flash, together with
a whole load of other useful information like available microphone, webcam,
etc.
I've thought about building our own simple stats system using a database
call through PHP each time a new page is loaded, but I'm afraid it might put
too much of a burden on the database.

Has anyone got any experience with something like this?

Kind regards,

--
Toon Van de Putte
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] getting the name of an object

2006-01-23 Thread Sascha Balkau

hi,

this might be obvious but how do I get the name of an object? If I got an 
object named fooObj how can I get Flash to for example trace out the name of 
the object, so that it traces fooObj? I know this works with movieclips 
but how about objects or arrays?


Sascha

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


RE: [Flashcoders] getting the name of an object

2006-01-23 Thread Adrian Lynch
fooObj._name

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sascha
Balkau
Sent: 23 January 2006 13:03
To: flashcoders
Subject: [Flashcoders] getting the name of an object


hi,

this might be obvious but how do I get the name of an object? If I got an
object named fooObj how can I get Flash to for example trace out the name of
the object, so that it traces fooObj? I know this works with movieclips
but how about objects or arrays?

Sascha

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


Re: [Flashcoders] getting the name of an object

2006-01-23 Thread Danny Kodicek



hi,

this might be obvious but how do I get the name of an object? If I got an 
object named fooObj how can I get Flash to for example trace out the name 
of the object, so that it traces fooObj? I know this works with 
movieclips but how about objects or arrays?


Objects or arrays don't have a name. That is: you could have a variable 
fooObj referring to some object O, and you could set another variable barObj 
to refer to the same object. The object O is completely independent of the 
variables referring to it. For that matter, an object held in an array 
doesn't even have a variable name referring to it. So unless you set up some 
kind of convention of your own, the request doesn't really make much sense.


Danny 


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


Re: [Flashcoders] AS3 - FP9 - Flex2 - Flash9

2006-01-23 Thread John Giotta
I think Abode is probably going to release Flash Player 8.5 way before Flash 9.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] getting the name of an object

2006-01-23 Thread Dimitrios Bendilas
That's right. _name is a property of a movieclip object which is set the 
time you create

and instance of a movieclip.

When creating a generic object, it doens't have a _name or name property, 
unless

you give it one.

So, you could do this:

var fooObj:Object = new Object();
fooObj.name =  // whatever

But as Danny said, the variable that holds the object has absolutely nothing
to do with the name of the object. That goes the same for movieclips.

You can do:

var mc:MovieClip = _root.createEmptyMovieClip(myClip, 100);
var movie:MovieClip = _root.myClip;
var clip:MovieClip = mc;

All three variables refer to the same movieclip object. Which is the name of 
the movieclip?

Is it mc, movie, clip or myClip?

It's the last one, myClip, because you set it when creating the instance 
in the first place.
No matter which variable holds a reference of the movieclip object, it 
doesn't affect the name property of the movieclip.


I hope this helps.

Dimitrios


- Original Message - 
From: Danny Kodicek [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, January 23, 2006 3:43 PM
Subject: Re: [Flashcoders] getting the name of an object





hi,

this might be obvious but how do I get the name of an object? If I got an 
object named fooObj how can I get Flash to for example trace out the name 
of the object, so that it traces fooObj? I know this works with 
movieclips but how about objects or arrays?


Objects or arrays don't have a name. That is: you could have a variable 
fooObj referring to some object O, and you could set another variable 
barObj to refer to the same object. The object O is completely independent 
of the variables referring to it. For that matter, an object held in an 
array doesn't even have a variable name referring to it. So unless you set 
up some kind of convention of your own, the request doesn't really make 
much sense.


Danny
___
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] getting the name of an object

2006-01-23 Thread Sascha Balkau
Ok but it there a way to get the name of the variable that is reffering to 
the object? First I thought eval() could be used for that but it seems not.


-Sascha


- Original Message - 
From: Danny Kodicek [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, January 23, 2006 10:43 PM
Subject: Re: [Flashcoders] getting the name of an object





hi,

this might be obvious but how do I get the name of an object? If I got an 
object named fooObj how can I get Flash to for example trace out the name 
of the object, so that it traces fooObj? I know this works with 
movieclips but how about objects or arrays?


Objects or arrays don't have a name. That is: you could have a variable 
fooObj referring to some object O, and you could set another variable 
barObj to refer to the same object. The object O is completely independent 
of the variables referring to it. For that matter, an object held in an 
array doesn't even have a variable name referring to it. So unless you set 
up some kind of convention of your own, the request doesn't really make 
much sense.


Danny


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


Re: [Flashcoders] AS3 - FP9 - Flex2 - Flash9

2006-01-23 Thread M S
AH, yeah I wasn't quite clear if Flash Player 8.5 was going to be an offical
release into public. Don't know why they would want to confuse all those
millions of users with an 8.5 digit .. :)

That makes sense though becasue the time frame is definatly far off for
Flash 9.

Peace, Mike

On 1/23/06, John Giotta [EMAIL PROTECTED] wrote:

 I think Abode is probably going to release Flash Player 8.5 way before
 Flash 9.
 ___
 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] getting the name of an object

2006-01-23 Thread Morten Barklund Shockwaved

Sascha Balkau wrote:
Ok but it there a way to get the name of the variable that is reffering 
to the object? First I thought eval() could be used for that but it 
seems not.


There is no one variable holding the name of an object. If your idea 
is something along a trace-function:


function trace(o:Object):String {
// return name of object here
}
trace(foo_object);

Then one could argue, that both foo_object and o would be proper 
names of the variable holding the object - as there is many references.


Couldn't you rather explain, what you were trying to accomplish - then 
maybe we could understand and help?


--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Font Preview In ComboBox

2006-01-23 Thread Sumeet Kumar
Hi All

 

In my application I have to show Font Preview in the combo box and to
show font preview  I need to load all the fonts

But the problem is that I need to load around 500 fonts.

And if I load all the fonts it is going to take lot of time.

 

Can any one suggest any work around for this?

Or any other idea to show the font preview.

 

 

Any Suggestion would be a great help

 

Thanks in Advance

 

Regards

Sumeet Kumar

 

 

 

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


Re: [Flashcoders] Re: Q:Creating a full spectrum 'rainbow' Gradient

2006-01-23 Thread Janis Radins
I've made sutch class long time ago.
MovieClip.beginGradientFill() does that.

2006/1/20, Andrew Widdowson [EMAIL PROTECTED]:

 Hi there,

 If you want a real rainbow gradient, consider translating the
 fortran code found at the following page, which contains a routine for
 approximating R/G/B values for a given wavelength of visible light.
 Then just do a for loop over approximately 380nm and 780nm.

 http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm

 I knew that minor in physics would be useful at some point..

 -Andrew Widdowson
 ___
 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] Font Preview In ComboBox

2006-01-23 Thread Nick Weekes
Even if you are more streamlined in how you choose a font (i.e. have the
combo not preview, but load either a preview image or live textbox after the
change event of combo), arent you going to have to include all 500 fonts in
your swf at compile time?  Correct me if Im wrong, but is that good design?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet Kumar
Sent: 23 January 2006 14:53
To: Flashcoders mailing list
Subject: [Flashcoders] Font Preview In ComboBox

Hi All

 

In my application I have to show Font Preview in the combo box and to
show font preview  I need to load all the fonts

But the problem is that I need to load around 500 fonts.

And if I load all the fonts it is going to take lot of time.

 

Can any one suggest any work around for this?

Or any other idea to show the font preview.

 

 

Any Suggestion would be a great help

 

Thanks in Advance

 

Regards

Sumeet Kumar

 

 

 

___
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] Font Preview In ComboBox

2006-01-23 Thread rishi
Hi Nick

I think there is difference in your understanding for the problem. The
main goal to achieve is displaying 500 fonts in a combo box with embed
fonts=true or in other words the labels for each items in combo box
should represent the preview for the fontName.

If I use a fontLoader in the beginning of my application. I'll have to
wait till all 500 fonts are Loaded. It may take time depending on end
user network connections.

Any other ideas are welcome bt live preview is a must

Regards
Rishi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Monday, January 23, 2006 8:31 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

Even if you are more streamlined in how you choose a font (i.e. have the
combo not preview, but load either a preview image or live textbox after
the
change event of combo), arent you going to have to include all 500 fonts
in
your swf at compile time?  Correct me if Im wrong, but is that good
design?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Kumar
Sent: 23 January 2006 14:53
To: Flashcoders mailing list
Subject: [Flashcoders] Font Preview In ComboBox

Hi All

 

In my application I have to show Font Preview in the combo box and to
show font preview  I need to load all the fonts

But the problem is that I need to load around 500 fonts.

And if I load all the fonts it is going to take lot of time.

 

Can any one suggest any work around for this?

Or any other idea to show the font preview.

 

 

Any Suggestion would be a great help

 

Thanks in Advance

 

Regards

Sumeet Kumar

 

 

 

___
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] Font Preview In ComboBox

2006-01-23 Thread Nick Weekes
But doesn't the preview have to occur in the combo?

i.e why not load all font names into the combo (no preview), then when a
change occurs (i.e. a font is selected), call the fontLoader for a single
font and tell an object to render text using the font, like a textField etc?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rishi
Sent: 23 January 2006 15:12
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Font Preview In ComboBox

Hi Nick

I think there is difference in your understanding for the problem. The
main goal to achieve is displaying 500 fonts in a combo box with embed
fonts=true or in other words the labels for each items in combo box
should represent the preview for the fontName.

If I use a fontLoader in the beginning of my application. I'll have to
wait till all 500 fonts are Loaded. It may take time depending on end
user network connections.

Any other ideas are welcome bt live preview is a must

Regards
Rishi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Monday, January 23, 2006 8:31 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

Even if you are more streamlined in how you choose a font (i.e. have the
combo not preview, but load either a preview image or live textbox after
the
change event of combo), arent you going to have to include all 500 fonts
in
your swf at compile time?  Correct me if Im wrong, but is that good
design?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Kumar
Sent: 23 January 2006 14:53
To: Flashcoders mailing list
Subject: [Flashcoders] Font Preview In ComboBox

Hi All

 

In my application I have to show Font Preview in the combo box and to
show font preview  I need to load all the fonts

But the problem is that I need to load around 500 fonts.

And if I load all the fonts it is going to take lot of time.

 

Can any one suggest any work around for this?

Or any other idea to show the font preview.

 

 

Any Suggestion would be a great help

 

Thanks in Advance

 

Regards

Sumeet Kumar

 

 

 

___
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] Font Preview In ComboBox

2006-01-23 Thread rishi
Hi

That ways end user will see Font/Names without embedding at first Glance
and that will not match the requirement. If this is the way why we will
the user require a preview. He/she can See the font after applying it to
a textfield lying on stage.

Regards
Rishi

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Monday, January 23, 2006 8:48 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

But doesn't the preview have to occur in the combo?

i.e why not load all font names into the combo (no preview), then when a
change occurs (i.e. a font is selected), call the fontLoader for a
single
font and tell an object to render text using the font, like a textField
etc?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rishi
Sent: 23 January 2006 15:12
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Font Preview In ComboBox

Hi Nick

I think there is difference in your understanding for the problem. The
main goal to achieve is displaying 500 fonts in a combo box with embed
fonts=true or in other words the labels for each items in combo box
should represent the preview for the fontName.

If I use a fontLoader in the beginning of my application. I'll have to
wait till all 500 fonts are Loaded. It may take time depending on end
user network connections.

Any other ideas are welcome bt live preview is a must

Regards
Rishi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Monday, January 23, 2006 8:31 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

Even if you are more streamlined in how you choose a font (i.e. have the
combo not preview, but load either a preview image or live textbox after
the
change event of combo), arent you going to have to include all 500 fonts
in
your swf at compile time?  Correct me if Im wrong, but is that good
design?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Kumar
Sent: 23 January 2006 14:53
To: Flashcoders mailing list
Subject: [Flashcoders] Font Preview In ComboBox

Hi All

 

In my application I have to show Font Preview in the combo box and to
show font preview  I need to load all the fonts

But the problem is that I need to load around 500 fonts.

And if I load all the fonts it is going to take lot of time.

 

Can any one suggest any work around for this?

Or any other idea to show the font preview.

 

 

Any Suggestion would be a great help

 

Thanks in Advance

 

Regards

Sumeet Kumar

 

 

 

___
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
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Font Preview In ComboBox

2006-01-23 Thread Nick Weekes
Typo, should read '...does the preview have to occur in the combo?' 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes
Sent: 23 January 2006 15:18
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

But doesn't the preview have to occur in the combo?

i.e why not load all font names into the combo (no preview), then when a
change occurs (i.e. a font is selected), call the fontLoader for a single
font and tell an object to render text using the font, like a textField etc?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rishi
Sent: 23 January 2006 15:12
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Font Preview In ComboBox

Hi Nick

I think there is difference in your understanding for the problem. The
main goal to achieve is displaying 500 fonts in a combo box with embed
fonts=true or in other words the labels for each items in combo box
should represent the preview for the fontName.

If I use a fontLoader in the beginning of my application. I'll have to
wait till all 500 fonts are Loaded. It may take time depending on end
user network connections.

Any other ideas are welcome bt live preview is a must

Regards
Rishi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Monday, January 23, 2006 8:31 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

Even if you are more streamlined in how you choose a font (i.e. have the
combo not preview, but load either a preview image or live textbox after
the
change event of combo), arent you going to have to include all 500 fonts
in
your swf at compile time?  Correct me if Im wrong, but is that good
design?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Kumar
Sent: 23 January 2006 14:53
To: Flashcoders mailing list
Subject: [Flashcoders] Font Preview In ComboBox

Hi All

 

In my application I have to show Font Preview in the combo box and to
show font preview  I need to load all the fonts

But the problem is that I need to load around 500 fonts.

And if I load all the fonts it is going to take lot of time.

 

Can any one suggest any work around for this?

Or any other idea to show the font preview.

 

 

Any Suggestion would be a great help

 

Thanks in Advance

 

Regards

Sumeet Kumar

 

 

 

___
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


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


RE: [Flashcoders] getting the name of an object

2006-01-23 Thread Andreas Weber
If you have a weakness for kludgy solutions, try the 'getObjNames' function
below.
Otherwise: don't 'forget' the names of the objects: store the name in the
same object, as an additional property.


// 'don't try this at home!'

a = {someProp:'someValue'};
b = {someProp:'someOtherValue'};
c = a;

arr = [a, b];


// later, when we have 'forgotten' the names of the objects

for(var i=0, len=arr.length; ilen; i++){
trace(getObjNames(arr[i]) + '   - someProp: '+ arr[i].someProp);

// Output:  c,a   - someProp: someValue
//  b   - someProp: someOtherValue

}


// kludgy, poorly tested and a waste of processor cycles
function getObjNames(o:Object, timeline:MovieClip){
var names:Array;
var o2 = arguments[1] ? arguments[1] : _level0;
if(!names){names = []}
for(var p in o2){
if(typeof(o2[p]) == 'object'){
if(o2[p] != o){
 getObjName(o, o2[p]);
}else{
names.push(p);
}
}
}
return names;
}

hth
--
Andreas Weber
motiondraw.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sascha
Balkau
Sent: Monday, January 23, 2006 2:03 PM
To: flashcoders
Subject: [Flashcoders] getting the name of an object


hi,

this might be obvious but how do I get the name of an object? If I got an
object named fooObj how can I get Flash to for example trace out the name of
the object, so that it traces fooObj? I know this works with movieclips
but how about objects or arrays?

Sascha

___
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] Font Preview In ComboBox

2006-01-23 Thread rishi
Yes for sure the preview have to occur in Combo


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Monday, January 23, 2006 8:54 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

Typo, should read '...does the preview have to occur in the combo?' 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: 23 January 2006 15:18
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

But doesn't the preview have to occur in the combo?

i.e why not load all font names into the combo (no preview), then when a
change occurs (i.e. a font is selected), call the fontLoader for a
single
font and tell an object to render text using the font, like a textField
etc?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rishi
Sent: 23 January 2006 15:12
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Font Preview In ComboBox

Hi Nick

I think there is difference in your understanding for the problem. The
main goal to achieve is displaying 500 fonts in a combo box with embed
fonts=true or in other words the labels for each items in combo box
should represent the preview for the fontName.

If I use a fontLoader in the beginning of my application. I'll have to
wait till all 500 fonts are Loaded. It may take time depending on end
user network connections.

Any other ideas are welcome bt live preview is a must

Regards
Rishi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Weekes
Sent: Monday, January 23, 2006 8:31 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Font Preview In ComboBox

Even if you are more streamlined in how you choose a font (i.e. have the
combo not preview, but load either a preview image or live textbox after
the
change event of combo), arent you going to have to include all 500 fonts
in
your swf at compile time?  Correct me if Im wrong, but is that good
design?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sumeet
Kumar
Sent: 23 January 2006 14:53
To: Flashcoders mailing list
Subject: [Flashcoders] Font Preview In ComboBox

Hi All

 

In my application I have to show Font Preview in the combo box and to
show font preview  I need to load all the fonts

But the problem is that I need to load around 500 fonts.

And if I load all the fonts it is going to take lot of time.

 

Can any one suggest any work around for this?

Or any other idea to show the font preview.

 

 

Any Suggestion would be a great help

 

Thanks in Advance

 

Regards

Sumeet Kumar

 

 

 

___
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


___
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] getting the name of an object

2006-01-23 Thread Ian Thomas
Andreas,
  Just sight-reading the code rather than testing it - shouldn't there be a
=== or !== in there somewhere to make sure you're talking about _exactly_
the same object rather than one which just has the same value..?

Cheers,
   Ian

On 1/23/06, Andreas Weber [EMAIL PROTECTED] wrote:

 If you have a weakness for kludgy solutions, try the 'getObjNames'
 function
 below.
 Otherwise: don't 'forget' the names of the objects: store the name in the
 same object, as an additional property.


 // 'don't try this at home!'

 a = {someProp:'someValue'};
 b = {someProp:'someOtherValue'};
 c = a;

 arr = [a, b];


 // later, when we have 'forgotten' the names of the objects

 for(var i=0, len=arr.length; ilen; i++){
 trace(getObjNames(arr[i]) + '   - someProp: '+ arr[i].someProp);

 // Output:  c,a   - someProp: someValue
 //  b   - someProp: someOtherValue

 }


 // kludgy, poorly tested and a waste of processor cycles
 function getObjNames(o:Object, timeline:MovieClip){
 var names:Array;
 var o2 = arguments[1] ? arguments[1] : _level0;
 if(!names){names = []}
 for(var p in o2){
 if(typeof(o2[p]) == 'object'){
 if(o2[p] != o){
  getObjName(o, o2[p]);
 }else{
 names.push(p);
 }
 }
 }
 return names;
 }

 hth
 --
 Andreas Weber
 motiondraw.com



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Sascha
 Balkau
 Sent: Monday, January 23, 2006 2:03 PM
 To: flashcoders
 Subject: [Flashcoders] getting the name of an object


 hi,

 this might be obvious but how do I get the name of an object? If I got an
 object named fooObj how can I get Flash to for example trace out the name
 of
 the object, so that it traces fooObj? I know this works with movieclips
 but how about objects or arrays?

 Sascha

 ___
 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] Font Preview In ComboBox

2006-01-23 Thread Ian Thomas
Rishi,
  There is such a thing as 'unreasonable requirements', you know. :-D

Could you break down the font list, and present it to the user in sections?
For example, Handwriting Fonts, Electronic Fonts or something - or even
A-D, E-F etc.

Then at least you could load the previews in smaller chunks as required.

Does it truly have to be live preview (i.e. does it have to match text that
the user has entered) or could you convert the text to curves and load each
preview as a graphic instead? It'll make the loading of the preview a lot
faster if it's a graphic rather than a full font. But there'd be a lot of
(possibly manual) work to do up front creating the font previews.

Sounds like you've set yourselves a very difficult challenge... (or rather,
sounds like your bosses have. :-) )

The other thought that occurs - could you start off with all the fonts in
the ComboBox in a 'neutral' font (perhaps greyed out) and update the actual
preview with the correct font as it loads?

HTH,
  Ian

On 1/23/06, rishi [EMAIL PROTECTED] wrote:

 Yes for sure the preview have to occur in Combo


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Nick
 Weekes
 Sent: Monday, January 23, 2006 8:54 PM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] Font Preview In ComboBox

 Typo, should read '...does the preview have to occur in the combo?'

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


[Flashcoders] Short Key/window focus question

2006-01-23 Thread Dennis - I Sioux
Hey guys,

One of the oldest questions in the book.. : can i catch the keypresses even 
when focus is set on another program and then back to the browser (but not the 
flash movie)?

Many thanks!

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


RE: [Flashcoders] Flash Remoting

2006-01-23 Thread John Olson
JP --

If you have used the Remoting Installer
(http://download.macromedia.com/pub/flashremoting/mx2004/components/actionsc
ript_2.0/flashremoting_comp_as20-win-en.exe), then you'll need to drag the
Remoting Class library into your document before you can use them.  When you
do it this way, you get all the remoting classes which will add more K to
your Flash SWF. 

Macromedia/Adobe also provides the source code for download as well, which
allows you to directly import the classes you need and comes with a lesser K
hit since you can import only what you need.
http://download.macromedia.com/pub/flashremoting/mx2004/components/actionscr
ipt_2.0/flashremoting_comp_sourcecode.zip

- John

-Original Message-
Message: 20
Date: Mon, 23 Jan 2006 00:14:42 -0500
From: JP [EMAIL PROTECTED]
Subject: RE: [Flashcoders] Flash Remoting
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

 

 If you are using AS2, then you want to use import, not #include (which is
AS1).

DOH! I should have known that. Thanks!

Now I've got to go fix my Win config. The installer claims that 'remoting is
installed' and won't run again, but import mx.remoting.Services can't be
loaded and clearly is not where it's suppose to be. Ah well, that's the easy
part. Thanks again!

- jp

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


Re: [Flashcoders] Short Key/window focus question

2006-01-23 Thread Zárate
Hello!

Well..I think it shouldn't be difficult to catch the key events in
JavaScript and send them to Flash.

Another question is how to catch those events outside the browser... I
guess you should have anything running on the system (win, linux,
mac), catch the events and send them with LocalConnection to the flash
movie running in the browser...but how do you give the focus to the
browser?

It doesn't sound easy at least for me!

Bye!

On 1/23/06, Dennis - I Sioux [EMAIL PROTECTED] wrote:
 Hey guys,

 One of the oldest questions in the book.. : can i catch the keypresses even 
 when focus is set on another program and then back to the browser (but not 
 the flash movie)?

 Many thanks!

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



--
Zárate
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Short Key/window focus question

2006-01-23 Thread Dennis - I Sioux

Hey

Indeed js doesn't seem to be the solution.. because i wouldn't know a way to 
set the focus to the flahs object instead of the browser..
and to push key events from js to flash seems impossible en in't really an 
option for this project.


Your idea on the localconnection i don't understand what you ment 
there..(although i'm familiar with the local connection)
But i don't have access to the local machine.. and have to work in a pretty 
normal broswer surrounding.. without any plugins or stuff..


Thanks.. but doess anyone else has something?

Dennis

- Original Message - 
From: Zárate [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, January 23, 2006 4:56 PM
Subject: Re: [Flashcoders] Short Key/window focus question



Hello!

Well..I think it shouldn't be difficult to catch the key events in
JavaScript and send them to Flash.

Another question is how to catch those events outside the browser... I
guess you should have anything running on the system (win, linux,
mac), catch the events and send them with LocalConnection to the flash
movie running in the browser...but how do you give the focus to the
browser?

It doesn't sound easy at least for me!

Bye!

On 1/23/06, Dennis - I Sioux [EMAIL PROTECTED] wrote:

Hey guys,

One of the oldest questions in the book.. : can i catch the keypresses 
even when focus is set on another program and then back to the browser 
(but not the flash movie)?


Many thanks!

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




--
Zárate
___
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] remoting.net with mssql

2006-01-23 Thread Gavin Lilley
After a few years of php, I am (re)learning asp.net and have started to
convert php to asp as I find that working with my own code is a great help
(although it is a gif and a curse at times)!

I am unable to connect to a MSSQL2000 database in order to either call a
stored procedure or inline sql code and I have searched everywhere to find
some examples.

Can anyone please help me?

Regards,

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


Re: [Flashcoders] Short Key/window focus question

2006-01-23 Thread Troy Rollins


On Jan 23, 2006, at 10:46 AM, Dennis - I Sioux wrote:

One of the oldest questions in the book.. : can i catch the  
keypresses even when focus is set on another program and then back  
to the browser (but not the flash movie)?


I would certainly hope not. That would make Flash the absolute choice  
for spyware developers.


--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


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


[Flashcoders] Benefits of Flash 7 published file viewed in Flash 8 player (?)

2006-01-23 Thread Manuel Saint-Victor
I've noticed that text in files created in Flash 8 default to Anti-alias
for readability .  What is the default setting of SWFs that were published
in Flash 7 or earlier.  In order to get the benefit of the best looking font
would we need to republish these files from the Flash 8 IDE?

Secondly, s far as performance goes- from my interpretation of the way the
garbage collection works in the Flash 8 player I should get the performance
benefits without having to recompile swfs published in previous players.
Before I stand behind this statement though I would like to verify that I am
interpreting this correctly.
 Can someone point me to some more resources that would state which benefits
of the Flash 8 player would need me to republish a file and which one my
older files would get just by being played in the newer player.

Thanks,

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


Re: [Flashcoders] Benefits of Flash 7 published file viewed in Flash 8player (?)

2006-01-23 Thread Zeh Fernando

I've noticed that text in files created in Flash 8 default to Anti-alias
for readability .  What is the default setting of SWFs that were 
published
in Flash 7 or earlier.  In order to get the benefit of the best looking 
font

would we need to republish these files from the Flash 8 IDE?


The equivalent in Flash 8 for text on Flash 7- is Anti-alias for animation 
(that is, simple mathematical antialias, with no threshold control). If you 
used the anti-alias off option on Flash 7 (checking the bitmap text 
button), it's featured on Flash 8 as the Bitmap text (no anti-alias) 
option.


In order to benefit from the new rendering capabilities, you have to open 
your Flash 7- movies, change the textfield to Anti-alias for readability, 
and republish them as Flash 8 SWF files.




Secondly, s far as performance goes- from my interpretation of the way the
garbage collection works in the Flash 8 player I should get the 
performance

benefits without having to recompile swfs published in previous players.
Before I stand behind this statement though I would like to verify that I 
am

interpreting this correctly.


I believe you are correct, although I don't have any link/article to back me 
up on this.



 Can someone point me to some more resources that would state which 
benefits

of the Flash 8 player would need me to republish a file and which one my
older files would get just by being played in the newer player.


A 'republish' by itself won't do anything for you. What will change the way 
your movie behaves, however, is whether or not you publish it to Flash 8. 
Unless you do so, you won't actually benefit from new features (such as text 
rendering). Sure, the player is faster and manages memory better, but other 
than that, there's no additional feature to be used by native Flash 7- SWF 
movies.


Also, other features will only benefit you if you're willing to change 
something on your movie. For example, the text rendering is quite easy to 
change (just change the option on the drop box) and the better results can 
be astonishing at times; however, some other good features such as blending 
modes, effect usage, jpg/png/gif loading or bitmap manipulation won't do you 
anything unless you actually use it.


Personally, I don't see much reason to change and republish old stuff, 
unless it's for the text rendering.



- zeh 


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


RE: [Flashcoders] getting the name of an object

2006-01-23 Thread Andreas Weber
 shouldn't there be a === or !== in there somewhere to make
 sure you're talking about _exactly_ the same object rather 
 than one which just has the same value..?

Good question...
In my understanding - i.e. please correct me if I'm wrong! - when
testing objects for equality the simple and the strict equality operator
are completely interchangeable.

We are not comparing values, which can be of different types (and thus
provoke 'false positives' with the simple equality operator), but
references, which have a simple, 'binary' quality: either they do point
at the same place in memory or they don't. 
And two objects - by definition? - always occupy two distinct locations
in memory, completely independent of wether they are of the same type
and contain the same values.

trace({} == {});// output: false

That's why I think that when testing objects for equality, the simple
and the strict oprator will always return the same result.

--
Andreas Weber
motiondraw.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Montag, 23. Januar 2006 16:38
To: Flashcoders mailing list
Subject: Re: [Flashcoders] getting the name of an object


Andreas,
  Just sight-reading the code rather than testing it - shouldn't there
be a === or !== in there somewhere to make sure you're talking about
_exactly_ the same object rather than one which just has the same
value..?

Cheers,
   Ian

On 1/23/06, Andreas Weber [EMAIL PROTECTED] wrote:

 If you have a weakness for kludgy solutions, try the 'getObjNames' 
 function below.
 Otherwise: don't 'forget' the names of the objects: store the name in
the
 same object, as an additional property.


 // 'don't try this at home!'

 a = {someProp:'someValue'};
 b = {someProp:'someOtherValue'};
 c = a;

 arr = [a, b];


 // later, when we have 'forgotten' the names of the objects

 for(var i=0, len=arr.length; ilen; i++){
 trace(getObjNames(arr[i]) + '   - someProp: '+
arr[i].someProp);

 // Output:  c,a   - someProp: someValue
 //  b   - someProp: someOtherValue

 }


 // kludgy, poorly tested and a waste of processor cycles function 
 getObjNames(o:Object, timeline:MovieClip){
 var names:Array;
 var o2 = arguments[1] ? arguments[1] : _level0;
 if(!names){names = []}
 for(var p in o2){
 if(typeof(o2[p]) == 'object'){
 if(o2[p] != o){
  getObjName(o, o2[p]);
 }else{
 names.push(p);
 }
 }
 }
 return names;
 }



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


RE: [Flashcoders] remoting.net with mssql

2006-01-23 Thread Gabe Varela
Can you provide examples of what you have attempted. 

-Original Message-
From: Gavin Lilley [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 9:13 AM
To: Flashcoders mailing list
Subject: [Flashcoders] remoting.net with mssql

After a few years of php, I am (re)learning asp.net and have started to
convert php to asp as I find that working with my own code is a great
help (although it is a gif and a curse at times)!

I am unable to connect to a MSSQL2000 database in order to either call a
stored procedure or inline sql code and I have searched everywhere to
find some examples.

Can anyone please help me?

Regards,

--
Gavin Lilley.

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


[Flashcoders] Q:Configure Eclipse for use with Doxygen??

2006-01-23 Thread bitstreams
Hi
I'm trying to configure Doxygen to work with Eclipse.

In Eclipse when I choose the the compiler path for Doxygen I always get the 
message:

'Value must be an existing file'


What gives??? I'm browsing to and selecting the Doxygen binary

I'm on OSX and usiung the latest Eclipse...

Jim Bachalo




[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] getting the name of an object

2006-01-23 Thread Yehia Shouman
Oh guys,
this reminds me of

var a:Object=new Object();
var b:Object=new Object();
a.b=b;
b.a=a;

trace(a.b.a.b.a.b.a.b.a  until I die)


On 1/23/06, Andreas Weber [EMAIL PROTECTED] wrote:

  shouldn't there be a === or !== in there somewhere to make
  sure you're talking about _exactly_ the same object rather
  than one which just has the same value..?

 Good question...
 In my understanding - i.e. please correct me if I'm wrong! - when
 testing objects for equality the simple and the strict equality operator
 are completely interchangeable.

 We are not comparing values, which can be of different types (and thus
 provoke 'false positives' with the simple equality operator), but
 references, which have a simple, 'binary' quality: either they do point
 at the same place in memory or they don't.
 And two objects - by definition? - always occupy two distinct locations
 in memory, completely independent of wether they are of the same type
 and contain the same values.

 trace({} == {});// output: false

 That's why I think that when testing objects for equality, the simple
 and the strict oprator will always return the same result.

 --
 Andreas Weber
 motiondraw.com



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ian
 Thomas
 Sent: Montag, 23. Januar 2006 16:38
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] getting the name of an object


 Andreas,
   Just sight-reading the code rather than testing it - shouldn't there
 be a === or !== in there somewhere to make sure you're talking about
 _exactly_ the same object rather than one which just has the same
 value..?

 Cheers,
Ian

 On 1/23/06, Andreas Weber [EMAIL PROTECTED] wrote:
 
  If you have a weakness for kludgy solutions, try the 'getObjNames'
  function below.
  Otherwise: don't 'forget' the names of the objects: store the name in
 the
  same object, as an additional property.
 
 
  // 'don't try this at home!'
 
  a = {someProp:'someValue'};
  b = {someProp:'someOtherValue'};
  c = a;
 
  arr = [a, b];
 
 
  // later, when we have 'forgotten' the names of the objects
 
  for(var i=0, len=arr.length; ilen; i++){
  trace(getObjNames(arr[i]) + '   - someProp: '+
 arr[i].someProp);
 
  // Output:  c,a   - someProp: someValue
  //  b   - someProp: someOtherValue
 
  }
 
 
  // kludgy, poorly tested and a waste of processor cycles function
  getObjNames(o:Object, timeline:MovieClip){
  var names:Array;
  var o2 = arguments[1] ? arguments[1] : _level0;
  if(!names){names = []}
  for(var p in o2){
  if(typeof(o2[p]) == 'object'){
  if(o2[p] != o){
   getObjName(o, o2[p]);
  }else{
  names.push(p);
  }
  }
  }
  return names;
  }
 


 ___
 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] Q:Configure Eclipse for use with Doxygen??

2006-01-23 Thread Paul BH
I havent looked into this, but this may help?

http://www.statik1.com/mt-weblog/archives/92.html

On 1/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi
 I'm trying to configure Doxygen to work with Eclipse.

 In Eclipse when I choose the the compiler path for Doxygen I always get the 
 message:

 'Value must be an existing file'


 What gives??? I'm browsing to and selecting the Doxygen binary

 I'm on OSX and usiung the latest Eclipse...

 Jim Bachalo




 [e] jbach at bitstream.ca
 [c] 416.668.0034
 [w] www.bitstream.ca
 
 ...all improvisation is life in search of a style.
  - Bruce Mau,'LifeStyle'
 ___
 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] Adjust Color Bitmap by Script is possible?

2006-01-23 Thread Christian Pugliese
Anyone knows if it's possible to apply the bitmap filter 'Adjust Color' via
AS ? and how?


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


Re: [Flashcoders] getting the name of an object

2006-01-23 Thread Ian Thomas
Hm. Good point, and something I should go away and test. :-) I had it in my
head somewhere that Flash did a low-level crude equality check on objects
with == - are they both the same type and do the properties match? But I may
well have misremembered that as a feature of a different language - I do
seem to be switching between different languages for different tasks a lot
these days. :-)

Cheers,
  Ian

On 1/23/06, Andreas Weber [EMAIL PROTECTED]  wrote:

  shouldn't there be a === or !== in there somewhere to make
  sure you're talking about _exactly_ the same object rather
  than one which just has the same value..?
 Good question...
 In my understanding - i.e. please correct me if I'm wrong! - when
 testing objects for equality the simple and the strict equality operator
 are completely interchangeable.

 We are not comparing values, which can be of different types (and thus
 provoke 'false positives' with the simple equality operator), but
 references, which have a simple, 'binary' quality: either they do point
 at the same place in memory or they don't.
 And two objects - by definition? - always occupy two distinct locations
 in memory, completely independent of wether they are of the same type
 and contain the same values.

trace({} == {});// output: false

 That's why I think that when testing objects for equality, the simple
 and the strict oprator will always return the same result.

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


Re: [Flashcoders] getting the name of an object

2006-01-23 Thread Julius - XK


Is this what your looking for?  It has it's limitations, would be nice if 
there was a myObj.toString() == myObj..  Or something

along those lines :)



var myObj:Object = new Object;
var s:String = ;

s = getMyObjectName(myObj);
trace(s);
this[s].anyName = text;
trace(myObj.anyName);

function getMyObjectName(obj):String {
   for (i in this) {
   if (this[i] == obj) return i;// Should it be ===?
   }
}



- Original Message - 
From: Sascha Balkau [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, January 23, 2006 12:19 PM
Subject: Re: [Flashcoders] getting the name of an object


Modifying a debug tool and thought there could be some way to trace out 
the name of an object that is being traced recursively instead of having 
just [Object] [object] before it. Not that this is necessary, it would be 
just a 'nice to have' option.


Thanks for help and explanation all!
-Sascha


- Original Message - 
From: Morten Barklund Shockwaved [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, January 23, 2006 11:23 PM
Subject: Re: [Flashcoders] getting the name of an object


Couldn't you rather explain, what you were trying to accomplish - then 
maybe we could understand and help?


___
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] Flash8 Tree Gurus

2006-01-23 Thread Tien Nguyen
Hi All,

I've been working with Flash8 Tree and have the following situation:

var treeIndex:Number = layoutTree.getDisplayIndex(
layoutTree.selectedNode);
trace(SelectedTreeIndex =  + treeIndex);

trace(TreeChanged =  + layoutTree.selectedNode );
trace(TreeNode =  + layoutTree.getTreeNodeAt(treeIndex));

The problem is that the TreeNode value from the trace is Undefined.

Oddity:  When the treeIndex value is 0, then the TreeNode value is the
correct XML of the entire tree.

I am working with ARP architecture.  What would the problem be in this case.

Sincerely

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


RE: [Flashcoders] Adjust Color Bitmap by Script is possible?

2006-01-23 Thread Ralph Caraveo
I don't think there's a straight code implementation of this via code
but it can be done no problem using the ColorMatrix filter class.  Check
out Quasimondo's blog for some examples on how to do this using the
ColorMatrix class.  It's pretty in depth stuff but once you get it
working it's pretty awesome:
http://www.quasimondo.com/search.php?q=colorMatrix

-Ralph 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Pugliese
Sent: Monday, January 23, 2006 11:49 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Adjust Color Bitmap by Script is possible?

Anyone knows if it's possible to apply the bitmap filter 'Adjust Color'
via AS ? and how?


cheers
___
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] BitmapData question

2006-01-23 Thread Latcho


//take your snapshot !
//-- untested example of USAGE

import Converter;

var conv:Converter=new Converter()
var snapshot_bd=conv.movieClipToBitmapData(mcToCapture)

//paste snapshot
conv.bitmapDataToMovieClip(snapshot_bd,_root,snap_mc,10)


//tested and working CLASS Converter.as
**
import flash.display.BitmapData;

class Converter extends MotovieClip{
function Converter(){
}

function 
bitmapDataToMovieClip(srcBitmap:BitmapData,baseMC:MovieClip,mcName:String,newDepth:Number):MovieClip{

   var dpt:Number;
   if(newDepth==undefined){
   dpt=baseMC.getNextHighestDepth()
   } else {
   dpt=newDepth
   }
   baseMC.createEmptyMovieClip(mcName,dpt)
   baseMC[mcName].attachBitmap(srcBitmap, 
baseMC[mcName].getNextHighestDepth());

   return baseMC[mcName];
   }

   function 
movieClipToBitmapData(srcMC:MovieClip,transp:Boolean,fillColorHex:String):BitmapData{

   //TODO transparency on or off
   var converted_bd:BitmapData=new 
BitmapData(srcMC._width,srcMC._height, true, 0x);

   converted_bd.draw(srcMC)
   return converted_bd;
   }   
}







Matt Muller wrote:

Hi, does anyone know if its possible to use getPixel or something like that
to take a snapshot of a movieclip that contains some vectors and dynamic
text fields and return that as a bitmap image to use elsewhere in the site,
say as a reflection?

Thanks

MaTT
___
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] getting the name of an object

2006-01-23 Thread Ian Thomas
For the reasons given by Danny et al, you could never have a myObj.getString()
such as you describe... other than possibly for debugging purposes, I'm at a
loss to work out why it'd be useful?

Ian

On 1/23/06, Julius - XK [EMAIL PROTECTED] wrote:


 Is this what your looking for?  It has it's limitations, would be nice if
 there was a myObj.toString() == myObj..  Or something
 along those lines :)

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


RE: SPAM-LOW: [Flashcoders] Flash8 Tree Gurus

2006-01-23 Thread Brooks Andrus
This may do the trick for you:

treeInstance.getNodeDisplayedAt(index)

Brooks


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


Re: SPAM-LOW: [Flashcoders] Flash8 Tree Gurus

2006-01-23 Thread Tien Nguyen
Hi Derek,

Thanks for your thoughts.  My situation is that I have two Trees that are
populated by the same XML data.  What I would like to do is :

When the user selects a node on Tree1, the same node in Tree2 is selected.

How would one do this do you think.

Tim

On 1/23/06, Derek Vadneau [EMAIL PROTECTED] wrote:

 You are getting the display index and then trying to get a node based on
 that index.  That won't work like you expect.

 The display index refers to the nodes position VISUALLY in the tree.  This
 may have nothing to do with the nodes' position in the XML.

 If you have this in a tree:
 Folder 1 (open branch)
 - Item 1 (leaf)
 - Item 2 (leaf)
 Folder 2 (closed branch)
 Folder 3 (open branch)
 - Item 1 (leaf)
 - Item 2 (leaf)

 The display index of the Folder 3  Item 1 node is 5.  Yet if you tried to
 get the node at 5 (i.e. tree.getTreeNodeAt(5)) it would return undefined,
 since there is no node at index 5 of the tree.

 When you say tree.getTreeNodeAt(index), the index refers to the childNodes
 array of the tree.

 Does that help?


 Derek Vadneau

 - Original Message -
 From: Tien Nguyen [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Monday, January 23, 2006 3:19 PM
 Subject: SPAM-LOW: [Flashcoders] Flash8 Tree Gurus


 Hi All,

 I've been working with Flash8 Tree and have the following situation:

 var treeIndex:Number = layoutTree.getDisplayIndex(
 layoutTree.selectedNode);
 trace(SelectedTreeIndex =  + treeIndex);

 trace(TreeChanged =  + layoutTree.selectedNode );
 trace(TreeNode =  + layoutTree.getTreeNodeAt(treeIndex));

 The problem is that the TreeNode value from the trace is Undefined.

 Oddity:  When the treeIndex value is 0, then the TreeNode value is the
 correct XML of the entire tree.

 I am working with ARP architecture.  What would the problem be in this
 case.

 Sincerely

 Tim


 ___
 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: SPAM-LOW: [Flashcoders] Flash8 Tree Gurus

2006-01-23 Thread Tien Nguyen
Hi Brooks,

This Worked like a Charm...!

Cheers,

On 1/23/06, Brooks Andrus [EMAIL PROTECTED] wrote:

 This may do the trick for you:

 treeInstance.getNodeDisplayedAt(index)

 Brooks


 ___
 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] Transitions question

2006-01-23 Thread Éric Thibault

Hi all!

I have a little bug with the transitions class!

I want to be notified when IN and OUT transitions are done so I 
instanciate my transition manager as follow at the beggining of my script:


import mx.transitions.*;
import mx.transitions.easing.*;

var myTransitionManager:TransitionManager = new TransitionManager(clip1_mc);

myListenerTransition.allTransitionsOutDone = function(eventObj:Object) {
   trace(allTransitionsOutDone);
   //other important code...
}
myListenerTransition.allTransitionsInDone = function(eventObj:Object) {
   trace(allTransitionsInDone);
   //other important code...
}
myTransitionManager.addEventListener(allTransitionsOutDone,myListenerTransition);
myTransitionManager.addEventListener(allTransitionsInDone,myListenerTransition);

//

On a button, I call a function to activate a particular transition :

myTransitionManager.startTransition({type:Fade, direction:Transition.IN, 
duration:2, easing:None.easeNone});


And at the end my listener outputs my message : Everything works OK for now!

My problem is if I change the transition type... no transition occurs 
(my movieclip is no more visible) but at the end my listener outputs OK!?!


It seems that I can only use basic transitions, no Fly, Iris, Photo, 
Zoom or PixelDissolve works...


If I use a new transition manager inside my function, the new transition 
works fine but my listener is never called!


like : mx.transitions.TransitionManager.start(clip1_mc, 
{type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, 
duration:1, easing:mx.transitions.easing.Bounce.easeOut});


How can I have the best of both worlds : any transition types and 
listener objects?


(I to Flash 8 actionscript 2 on a winXP PC.)

Thanks a million!

--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

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


[Flashcoders] Load testing Flash Remoting

2006-01-23 Thread Robert Chyko
Has anyone had any experience with stress/load testing Flash-based web
apps?  Trying to find information about automated testing for Flash
Remoting - the only information I found was about Segue's SilkPerformer
being able to load test AMF calls in Flex applications.
 
 
 
Bob Chyko
Software Application Developer 
DocFinity(r) by Optical Image Technology, Inc.
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash8 Tree Gurus -- Lines in Tree

2006-01-23 Thread Tien Nguyen
Thanks for the GREAT feedback on my last question.

Since this list is so knowledgeable, how would one add lines to the Flash8
tree.  Something like this link.

http://www.treemenu.net/treemenu/3fr_beenthere.html

Do you think that the flash8 tree is able to do this javascript tree.

Thanks,

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


Re: [Flashcoders] Flash8 Tree Gurus -- Lines in Tree

2006-01-23 Thread Chad Mefferd

FYI

This javascript tree. Doesn't appear to work with Safari.

Thanks,

Chad




On Jan 23, 2006, at 3:12 PM, Tien Nguyen wrote:


Thanks for the GREAT feedback on my last question.

Since this list is so knowledgeable, how would one add lines to the 
Flash8

tree.  Something like this link.

http://www.treemenu.net/treemenu/3fr_beenthere.html

Do you think that the flash8 tree is able to do this javascript tree.

Thanks,

Tim
___
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] Flash8 Tree Gurus -- Lines in Tree

2006-01-23 Thread John Grden
Yeah, actually, I JUST worked this out for Xray last night during the
playoffs (GO STEELERS!!!)

what you have to do is use appendChild() of the XMLNode object.

Here's the code I'm using, hopefully, you can pick up what I'm doing from
this snippet:

// first, close the node if it's showing.  For some reason,
// closing first, then opening it after you add the children
// makes it work more smoothly
tree.setIsOpen(tree.getNodeDisplayedAt(indexClicked), false);

// grab the XMLNode to appendChild to
var parentXML = tree.getNodeDisplayedAt(indexClicked);

// XMLChild is XML sent in that has several children to add
// We have to loop through them all and see if they already
// exist.
for(var i:Number=0;iXMLChild.childNodes.length;i++)
{
// if you don't clone the node, it'll be taken from your current
XMLChild and
// your loop will fail since it keeps getting smaller.  The node
// is actually moved when you use appendChild.
var addedNode:XMLNode = XMLChild.childNodes[i].cloneNode(true);

// set exists flag
var exists:Boolean = false;
for(var j:Number=0;jparentXML.childNodes.length;j++)
{
// match an attribute you would consider to be unique
if(parentXML.childNodes[j].attributes.mc == addedNode.attributes.mc)
{
// if you find a match, break loop
exists  = true;
break;
}
}

if(!exists)
{
// if you didnt' find a match, call appendChild()
parentXML.appendChild(addedNode);

// when I generate my XMLChild that comes in,
// I asses whether or not the child has children of it's own.
// If it DOES, then setIsBranch will give the node an arrow
if(addedNode.attributes.isBranch == true) tree.setIsBranch(addedNode,
true)
}
}
// re-open node
tree.setIsOpen(parentXML, true);

hth,

John

On 1/23/06, Tien Nguyen [EMAIL PROTECTED] wrote:

 Thanks for the GREAT feedback on my last question.

 Since this list is so knowledgeable, how would one add lines to the Flash8
 tree.  Something like this link.

 http://www.treemenu.net/treemenu/3fr_beenthere.html

 Do you think that the flash8 tree is able to do this javascript tree.

 Thanks,

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




--
John Grden - Blitz
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Considering player performance, Strings or Arrays?

2006-01-23 Thread elibol
Hi there,

The application must store many numbers, then transfer this data to a
database via Flash Remoting.

There are two problems:

While the data is on the client machine, would an Array of numbers be most
optimal when considering system resource usage in general, or a comma
delimited String of numbers?

Which type would be quicker transfering to the webservice?

Regardless of how the data gets to the webservice, I will store it as a
comma delimited string of numbers.

Thanks for taking the time to read,

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


Re: [Flashcoders] Considering player performance, Strings or Arrays?

2006-01-23 Thread Johannes Nel
 remember concating a string is a very expensive procedure in java in
general (unless you use a buffer), and also working with strings in general
are just much slower than other data types.

On 1/23/06, elibol [EMAIL PROTECTED] wrote:

 Hi there,

 The application must store many numbers, then transfer this data to a
 database via Flash Remoting.

 There are two problems:

 While the data is on the client machine, would an Array of numbers be most
 optimal when considering system resource usage in general, or a comma
 delimited String of numbers?

 Which type would be quicker transfering to the webservice?

 Regardless of how the data gets to the webservice, I will store it as a
 comma delimited string of numbers.

 Thanks for taking the time to read,

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




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


Re: [Flashcoders] Adjust Color Bitmap by Script is possible?

2006-01-23 Thread Ryan Matsikas
also, http://www.gskinner.com/blog/archives/2005/09/flash_8_source.html

On 1/23/06, Ralph Caraveo [EMAIL PROTECTED] wrote:

 I don't think there's a straight code implementation of this via code
 but it can be done no problem using the ColorMatrix filter class.  Check
 out Quasimondo's blog for some examples on how to do this using the
 ColorMatrix class.  It's pretty in depth stuff but once you get it
 working it's pretty awesome:
 http://www.quasimondo.com/search.php?q=colorMatrix

 -Ralph

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Christian Pugliese
 Sent: Monday, January 23, 2006 11:49 AM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Adjust Color Bitmap by Script is possible?

 Anyone knows if it's possible to apply the bitmap filter 'Adjust Color'
 via AS ? and how?


 cheers
 ___
 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] Access DropShadow filter via AS?

2006-01-23 Thread Charles Parcell
Does anyone know how to access the parameters of a dropshadow attached (part
of) a MC?

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


Re: [Flashcoders] Flash8 Tree Gurus -- Lines in Tree

2006-01-23 Thread Tien Nguyen
If one could get the Flash8 tree to do the lines then it would be better
than that javascript tree since it doesn't work in Safari.  However, would
it be possible for the Flash tree to diplay the lines like that of the
javascript tree.  If it is possible, how would that be achieved.

BTW, just wondering, wouldn't it make sense for the flash tree to have the
line options be a part of the default tree?

Cheers,



On 1/23/06, Chad Mefferd [EMAIL PROTECTED] wrote:

 FYI

 This javascript tree. Doesn't appear to work with Safari.

 Thanks,

 Chad




 On Jan 23, 2006, at 3:12 PM, Tien Nguyen wrote:

  Thanks for the GREAT feedback on my last question.
 
  Since this list is so knowledgeable, how would one add lines to the
  Flash8
  tree.  Something like this link.
 
  http://www.treemenu.net/treemenu/3fr_beenthere.html
 
  Do you think that the flash8 tree is able to do this javascript tree.
 
  Thanks,
 
  Tim
  ___
  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] Access DropShadow filter via AS?

2006-01-23 Thread M S
Hello,

var myList:Array = myMC.filters;
myList[0].quality = 15;
myMC.filters = myList;

should do it, the filters array is a property of the MovieClip object, from
there you can access all of the properties of said indexed filter.

Peace, Mike


On 1/23/06, Charles Parcell [EMAIL PROTECTED] wrote:

 Does anyone know how to access the parameters of a dropshadow attached
 (part
 of) a MC?

 Thanks,
 Charles P.
 ___
 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] Dynamically named loadVars

2006-01-23 Thread Mike Boutin
What is the proper way to write the loop that the names of the posted 
vars and be dynamically named based on i in the loop, as in 
myData.color_0 = white; myData.color_1 = blue etc. Any ideas?


var myData:LoadVars = new LoadVars();
   myData.action = create;
   myData.count = _root.shop_cart.size();
   for (i=0; i_root.shop_cart.size(); i++) {
   var myProd:Product = _root.shop_cart.getElement(i);
   // myData.color_i = myProd.getColor();
   }
   delete myProd;
   trace(myData);


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


Re: [Flashcoders] Considering player performance, Strings or Arrays?

2006-01-23 Thread elibol
Thanks Johannes, I appreciate the help!

H

On 1/23/06, Johannes Nel [EMAIL PROTECTED] wrote:

 remember concating a string is a very expensive procedure in java in
 general (unless you use a buffer), and also working with strings in
 general
 are just much slower than other data types.

 On 1/23/06, elibol [EMAIL PROTECTED] wrote:
 
  Hi there,
 
  The application must store many numbers, then transfer this data to a
  database via Flash Remoting.
 
  There are two problems:
 
  While the data is on the client machine, would an Array of numbers be
 most
  optimal when considering system resource usage in general, or a comma
  delimited String of numbers?
 
  Which type would be quicker transfering to the webservice?
 
  Regardless of how the data gets to the webservice, I will store it as a
  comma delimited string of numbers.
 
  Thanks for taking the time to read,
 
  H
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 j:pn
 ___
 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 website statistics

2006-01-23 Thread Rajat Paharia
Hi Toon,

You can use Google Analytics to track Flash events:
http://www.google.com/support/analytics/bin/answer.py?answer=27243topic=7288

You'll need to embed a piece of Javascript into your page and then
your SWF can call a tracking function (via getURL) with whatever data
it wants.

best, - rajat

On 1/23/06, Toon Van de Putte [EMAIL PROTECTED] wrote:
 Hi,

 I'm looking for something that can generate clean Flash site statistics.
 Currently, we're using the stats package the hosting company provides, but
 its output is not especially practical.
 Our websites are generally built around a central canvas.swf file that loads
 all the pages as swf files.
 We can see those as downloaded files in the stats interface, but any
 querystring parameters are omitted, which is a bit annoying.
 Being able to track screen resolution would also be nice. With existing
 stats packages, we can only track screen resolution by including some
 special gif in the main page or something, which isn't particularly handy,
 especially since that could all be detected from within Flash, together with
 a whole load of other useful information like available microphone, webcam,
 etc.
 I've thought about building our own simple stats system using a database
 call through PHP each time a new page is loaded, but I'm afraid it might put
 too much of a burden on the database.

 Has anyone got any experience with something like this?

 Kind regards,

 --
 Toon Van de Putte
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] getting the name of an object

2006-01-23 Thread Sascha Balkau

Looks useful! Thanks Julius I will try out this code later today!
-Sascha

- Original Message - 
From: Julius - XK [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, January 24, 2006 5:07 AM
Subject: Re: [Flashcoders] getting the name of an object




Is this what your looking for?  It has it's limitations, would be nice if 
there was a myObj.toString() == myObj..  Or something

along those lines :)



var myObj:Object = new Object;
var s:String = ;

s = getMyObjectName(myObj);
trace(s);
this[s].anyName = text;
trace(myObj.anyName);

function getMyObjectName(obj):String {
   for (i in this) {
   if (this[i] == obj) return i;// Should it be ===?
   }
}



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


Re: [Flashcoders] Access DropShadow filter via AS?

2006-01-23 Thread Charles Parcell
Two questions

1) Why couldn't I just do...
myMC.filters[0].quality = 15;

2) In your example, how do you know that DropShadow is at index 0?

Thanks,
Charles P.


On 1/23/06, M S [EMAIL PROTECTED] wrote:

 Hello,

 var myList:Array = myMC.filters;
 myList[0].quality = 15;
 myMC.filters = myList;

 should do it, the filters array is a property of the MovieClip object,
 from
 there you can access all of the properties of said indexed filter.

 Peace, Mike


 On 1/23/06, Charles Parcell [EMAIL PROTECTED] wrote:
 
  Does anyone know how to access the parameters of a dropshadow attached
  (part
  of) a MC?
 
  Thanks,
  Charles P.
  ___
  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