Re: [Flashcoders] binary-coded image

2008-12-04 Thread laurent
yes, thanks everyone it made sens last night when I got to bed for a 
while...:)
yes it's just an image where color are black or 
white1/0...binary-coded...wow! :)

Only for processing, not less space...

thanks ;)
L

Daniel Boey a écrit :

Hi,

BitmapData class has a threshold method that does what Ashim mentioned which
if you were to go to the extreme 0 and 255 of a pixel value you'd ultimately
obtain a black and white image anyway. Main use of thresholding however is
for image processing purposes which I will not go in depth here and not
really to help save size because you won't be able to get your image back
unless you save the pixel values of the original.

I'm guessing you might mean using the ByteArray class which can be used to
store binary data and has a built-in compress method to boot.

HTH

Thanks  Best regards,
Daniel Boey


On Thu, Dec 4, 2008 at 8:00 AM, Ashim D'Silva [EMAIL PROTECTED]wrote:

  

If you're just after the look the TweenFilterLite library has a great
inbuilt filter. But if you actually want to convert it, I imagine you'd
just
run through every pixel and if the value (calculated however you'd like) is
greater than your decided threshold, make it white, else black. I'm not
sure
what it will save you within flash however.
Ashim

2008/12/4 Ian Thomas [EMAIL PROTECTED]



Really? Wow. Must be new additions - excellent.

Ian

On 12/3/08, David Hershberger [EMAIL PROTECTED] wrote:
  

Also Flex supports PNG and JPEG:
 mx.graphics.codec.PNGEncoder and mx.graphics.code.JPEGEncoder.

 Dave


 On 12/3/08, Ian Thomas [EMAIL PROTECTED] wrote:
 
  If you mean 'how do I encode a bitmap into an image format' e.g. PNG
  or JPEG, check out this library:
  http://code.google.com/p/as3corelib/wiki/Main
 
  which has code for both PNG and JPEG.
 
  HTH,
 
 Ian
 
 
  On 12/3/08, laurent [EMAIL PROTECTED] wrote:
   Hi,
  
How could I convert a bitmap to a binary-coded bitmap ... or


anything
  

  else
   that will represent a binary-coded image ?
  
Thanks
L
___
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

  


--
The Random Lines
My online portfolio
www.therandomlines.com
___
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] Loader bytesTotal equals to 0

2008-12-04 Thread Christian Giordano
I've a strange bug which seems on the Flash Player. Basically on
Windows / IE when the page is reloaded, the preloader logs the
progress of the bytesLoaded correctly, but the totalBytes are
incredibily 0. I tried both to check the ProgressEvent or the
loader.contentLoaderInfo itself, the result doesn't change.

I am wondering if anyone have ever encountered in this absurd issue (I
couldn't find anything on the web).


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


[Flashcoders] display trace() in text field

2008-12-04 Thread Michael Stocke
Good morning everyone.

 

Is it possible to display trace actions in a text field? I realize there
are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional coding
required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.

 

I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.  

 

Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370

 

Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ 
Website: www.Organic.com http://www.organic.com/ 

 



This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]


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


[Flashcoders] Different class instances with socket using same port number?

2008-12-04 Thread Eric E. Dolecki
Wondering if it's possible to have different classes open sockets to the
same port number? Going to throw stuff in an if/else and depending on a
variable, send to the socket with different values. They all currently open
to the same port number.
ie. inside each of the class constructors being used:

_socket = new Socket( localhost, 5751 );

-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Gregory Boland

I'm not quite sure what your asking.

The trace output is nothing more than strings of text.  Its completely
possible to make a class that does the same thing for you but displays it in
the Flash.



On 12/4/08 9:44 AM, Michael Stocke [EMAIL PROTECTED] wrote:

 Good morning everyone.
 
  
 
 Is it possible to display trace actions in a text field?

 
Gregory Boland | IconNicholson
Flash Engineer, Technology
[EMAIL PROTECTED]
tel +1 212.981.0563
mobile +1 201.600.6269
295 Lafayette Street, New York, NY 10012
 
www.iconnicholson.com
--
This communication may contain information that is confidential or exempt
from disclosure.  If you are not the intended recipient, please note that
any dissemination, distribution, or copying of this communication is
strictly prohibited. Anyone who receives this message in error should notify
the sender immediately by telephone or by return email and delete it from
his or her computer.


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


RE: [Flashcoders] display trace() in text field

2008-12-04 Thread Merrill, Jason
Trace only sends strings to the Flash or Flexbuilder output window, so no.  
However, all you have to do is set the variable you want to see to the text 
property of the textfield:

myTextField.text  = myVariableIdLikeToSee


Jason Merrill
Bank of America Instructional Technology  Media   ·   GCIB  Staff Support 
LLD

Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.






-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stocke
Sent: Thursday, December 04, 2008 9:44 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] display trace() in text field

Good morning everyone.

 

Is it possible to display trace actions in a text field? I realize there
are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional coding
required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.

 

I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.  

 

Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370

 

Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/ 
Website: www.Organic.com http://www.organic.com/ 

 



This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]


___
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] Different class instances with socket using same port number?

2008-12-04 Thread Glen Pike

Eric E. Dolecki wrote:

Wondering if it's possible to have different classes open sockets to the
same port number? Going to throw stuff in an if/else and depending on a
variable, send to the socket with different values. They all currently open
to the same port number.
ie. inside each of the class constructors being used:

_socket = new Socket( localhost, 5751 );

  

Hi,

   I have done this with 2 SWF's in the IDE talking to each other, but 
this is possibly 2 instances of the player running - I would test in the 
browser as the plugin usually runs one instance of the player.  I think 
that with the socket you are not binding to the port, so theoretically 
you should be able to connect lots of sockets to the same one, unlike a 
server, which binds usually...


   Could you not have one socket that is used by different class 
instances?  (- although I guess you may be using the instances as 
addresses so that some instances do one thing and others do another)


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


RE: [Flashcoders] Different class instances with socket using same portnumber?

2008-12-04 Thread Eamonn Faherty
I don’t think that is possible but even if it is, it doesn’t sound that 
graceful.  Why not have a single SocketProxy or SocketWrapper class with a 
single socket connection.  You can pass that as a reference to two or more 
classes.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric E. Dolecki
Sent: 04 December 2008 15:24
To: Flash Coders List
Subject: [Flashcoders] Different class instances with socket using same 
portnumber?

Wondering if it's possible to have different classes open sockets to the
same port number? Going to throw stuff in an if/else and depending on a
variable, send to the socket with different values. They all currently open
to the same port number.
ie. inside each of the class constructors being used:

_socket = new Socket( localhost, 5751 );

-- 
http://ericd.net
Interactive design and development
___
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] Different class instances with socket using same portnumber?

2008-12-04 Thread Eric E. Dolecki
I have class const values that i was calling up and passing through... so it
seemed easier to make an instance of the class, which connects to a socket
(all the same), and then based on logic, pull a const out of the class and
send it through.

On Thu, Dec 4, 2008 at 10:41 AM, Eamonn Faherty [EMAIL PROTECTED]wrote:

 I don't think that is possible but even if it is, it doesn't sound that
 graceful.  Why not have a single SocketProxy or SocketWrapper class with a
 single socket connection.  You can pass that as a reference to two or more
 classes.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Eric E. Dolecki
 Sent: 04 December 2008 15:24
 To: Flash Coders List
 Subject: [Flashcoders] Different class instances with socket using same
 portnumber?

 Wondering if it's possible to have different classes open sockets to the
 same port number? Going to throw stuff in an if/else and depending on a
 variable, send to the socket with different values. They all currently open
 to the same port number.
 ie. inside each of the class constructors being used:

 _socket = new Socket( localhost, 5751 );

 --
 http://ericd.net
 Interactive design and development
 ___
 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




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning

Hi Mike,

I'm working on a similair project, check it out here: 
http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/

Right now i'm working on a version that from any swf traces to my air  
app, traces to the debug panel in Flex and traces out to FireBug  
plugin in Firefox, (will be online after the weekend)


Is this what you are looking for?

Sidney


On Dec 4, 2008, at 3:44 PM, Michael Stocke wrote:


Good morning everyone.



Is it possible to display trace actions in a text field? I realize  
there

are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional  
coding

required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.



I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.



Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370



Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
Website: www.Organic.com http://www.organic.com/





This email is intended only for the person or entity to which it is  
addressed and may contain information that is privileged,  
confidential or otherwise protected from disclosure. Dissemination,  
distribution or copying of this email or the information herein by  
anyone other than the intended recipient, or an employee or agent  
responsible for delivering the message to the intended recipient, is  
prohibited.  If you have received this email in error, please  
immediately notify us by calling our Help Desk at (415) 581-5552 or  
by e-mailing us at [EMAIL PROTECTED]



___
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] display trace() in text field

2008-12-04 Thread Joel Stransky
In Firefox you can use flashtracer
https://addons.mozilla.org/en-US/firefox/addon/3469so I imagine using a
similar method you could pull trace commands into an Air app.

If you do end up using a textField, make sure to use += and a newline
character \n in each call.

On Thu, Dec 4, 2008 at 10:42 AM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 Trace only sends strings to the Flash or Flexbuilder output window, so no.
  However, all you have to do is set the variable you want to see to the text
 property of the textfield:

 myTextField.text  = myVariableIdLikeToSee


 Jason Merrill
 Bank of America Instructional Technology  Media   ·   GCIB  Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/




 
 This email is intended only for the person or entity to which it is
 addressed and may contain information that is privileged, confidential or
 otherwise protected from disclosure. Dissemination, distribution or copying
 of this email or the information herein by anyone other than the intended
 recipient, or an employee or agent responsible for delivering the message to
 the intended recipient, is prohibited.  If you have received this email in
 error, please immediately notify us by calling our Help Desk at (415)
 581-5552 or by e-mailing us at [EMAIL PROTECTED]


 ___
 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




-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] display trace() in text field

2008-12-04 Thread Sidney de Koning

or you can override trace like so:

override public function trace(...args) : void {
super();
textFieldYouWantToTraceIn.appendText(args.toString());
}

This is from the top of my head, so the code could have errors in it.
Test it to see.

Cheers,

Sid

PS. You can ony do this from a class file. I don't think the Flash IDE  
lets you override functions directly.




On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com)  
wrote:



function debug(s:String):Void
{
   _root.pathToTextField.myText.text += /n+s;
}

then instead of trace(someString);
you use
debug(someString);

a

On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

Trace only sends strings to the Flash or Flexbuilder output window,  
so no.
However, all you have to do is set the variable you want to see to  
the text

property of the textfield:

myTextField.text  = myVariableIdLikeToSee


Jason Merrill
Bank of America Instructional Technology  Media   ·   GCIB   
Staff

Support LLD

Interested in Flash Platform technologies?  Join the Bank of  
America Flash

Platform Developer Community
Interested in innovative ideas in Learning?  Check out the Innovative
Learning Blog and subscribe.






-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Michael  
Stocke

Sent: Thursday, December 04, 2008 9:44 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] display trace() in text field

Good morning everyone.



Is it possible to display trace actions in a text field? I realize  
there

are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional  
coding

required in the target file. I want to create a debugging tool in AIR
that will allow me to display trace actions from currently running
swfs.



I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.



Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370



Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
Website: www.Organic.com http://www.organic.com/





This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged,  
confidential or
otherwise protected from disclosure. Dissemination, distribution or  
copying
of this email or the information herein by anyone other than the  
intended
recipient, or an employee or agent responsible for delivering the  
message to
the intended recipient, is prohibited.  If you have received this  
email in

error, please immediately notify us by calling our Help Desk at (415)
581-5552 or by e-mailing us at [EMAIL PROTECTED]


___
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] Different class instances with socket using same portnumber?

2008-12-04 Thread Eric E. Dolecki
Actually, thats the best thing for me to do... I'll nail that up.

On Thu, Dec 4, 2008 at 10:41 AM, Eamonn Faherty [EMAIL PROTECTED]wrote:

 I don't think that is possible but even if it is, it doesn't sound that
 graceful.  Why not have a single SocketProxy or SocketWrapper class with a
 single socket connection.  You can pass that as a reference to two or more
 classes.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Eric E. Dolecki
 Sent: 04 December 2008 15:24
 To: Flash Coders List
 Subject: [Flashcoders] Different class instances with socket using same
 portnumber?

 Wondering if it's possible to have different classes open sockets to the
 same port number? Going to throw stuff in an if/else and depending on a
 variable, send to the socket with different values. They all currently open
 to the same port number.
 ie. inside each of the class constructors being used:

 _socket = new Socket( localhost, 5751 );

 --
 http://ericd.net
 Interactive design and development
 ___
 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




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] display trace() in text field

2008-12-04 Thread allandt bik-elliott (thefieldcomic.com)
function debug(s:String):Void
{
_root.pathToTextField.myText.text += /n+s;
}

then instead of trace(someString);
you use
debug(someString);

a

On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 Trace only sends strings to the Flash or Flexbuilder output window, so no.
  However, all you have to do is set the variable you want to see to the text
 property of the textfield:

 myTextField.text  = myVariableIdLikeToSee


 Jason Merrill
 Bank of America Instructional Technology  Media   ·   GCIB  Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/




 
 This email is intended only for the person or entity to which it is
 addressed and may contain information that is privileged, confidential or
 otherwise protected from disclosure. Dissemination, distribution or copying
 of this email or the information herein by anyone other than the intended
 recipient, or an employee or agent responsible for delivering the message to
 the intended recipient, is prohibited.  If you have received this email in
 error, please immediately notify us by calling our Help Desk at (415)
 581-5552 or by e-mailing us at [EMAIL PROTECTED]


 ___
 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] Arabic flipping

2008-12-04 Thread Mike Grunwald
OK... I think I've reached the end of the internet as well as the end  
of my patients.


I've been trying to figure out a way to take translations that I've  
received in an Excel spreadsheet and paste them into an XML document.  
The XML is UTF-8 and it's plain text (of course). No matter what  
editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad,  
Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two,  
it seems that when I try to combine the eastern translation with  
western markup (XML tags, or even western characters for that  
matter), as soon as I drop in a single character, if flips the  
orientation of the translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a path  
of ultimate disappointment. I know that I'm not the only one with  
this problem and I'm sure one of you has experienced this. Please let  
me in on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that all  
sorted out), and for the most part it's not really Flash related  
(except for the fact that I'm using this XML content for dynamic text  
fields). this list is probably not the proper place for this  
question, but I'm out of options and I thinking that I'm going to  
have to scrap some of the digging I've done in relation to getting  
text to display properly and make alterations to my application to  
load images instead of live type.


Somebody... Anybody Help a brotha out!



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


RE: [Flashcoders] display trace() in text field

2008-12-04 Thread Michael Stocke
Maybe I should have been a little more clear: I already know how to
display text in a text field. I specifically want to use the trace
command. My vision is to create a tool that will display trace commands
from existing .swfs. However, based on Jason's remarks, I guess I can't
do this. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of allandt
bik-elliott (thefieldcomic.com)
Sent: Thursday, December 04, 2008 11:04 AM
To: Flash Coders List
Subject: Re: [Flashcoders] display trace() in text field

function debug(s:String):Void
{
_root.pathToTextField.myText.text += /n+s;
}

then instead of trace(someString);
you use
debug(someString);

a

On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 Trace only sends strings to the Flash or Flexbuilder output window, so
no.
  However, all you have to do is set the variable you want to see to
the text
 property of the textfield:

 myTextField.text  = myVariableIdLikeToSee


 Jason Merrill
 Bank of America Instructional Technology  Media   *   GCIB 
Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America
Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize
there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional
coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/


 ___
 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


This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]



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


RE: [Flashcoders] display trace() in text field

2008-12-04 Thread Michael Stocke
I was really hoping to just use the trace command, but I guess I can't.

Thanks for your response.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: Thursday, December 04, 2008 10:55 AM
To: Flash Coders List
Subject: Re: [Flashcoders] display trace() in text field

Hi Mike,

I'm working on a similair project, check it out here:
http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/

Right now i'm working on a version that from any swf traces to my air  
app, traces to the debug panel in Flex and traces out to FireBug  
plugin in Firefox, (will be online after the weekend)

Is this what you are looking for?

Sidney


On Dec 4, 2008, at 3:44 PM, Michael Stocke wrote:

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize  
 there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional  
 coding
 required in the target file. I want to create a debugging tool in AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/


 ___
 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


This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]



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


Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Sidney de Koning
Here we usually dont embed the text in the textfield, and grab the  
text from XML or you when you embed the font with code, include all  
the unicode codes of the arabic chars you need. And do use fonts that  
support Arabic like Arial, Verdana and i think Times New Roman


http://www.google.nl/search?q=embed+unicode+font+as3

On Dec 4, 2008, at 5:22 PM, Mike Grunwald wrote:

OK... I think I've reached the end of the internet as well as the  
end of my patients.


I've been trying to figure out a way to take translations that I've  
received in an Excel spreadsheet and paste them into an XML  
document. The XML is UTF-8 and it's plain text (of course). No  
matter what editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad,  
NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or combination of  
the two, it seems that when I try to combine the eastern translation  
with western markup (XML tags, or even western characters for that  
matter), as soon as I drop in a single character, if flips the  
orientation of the translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a path  
of ultimate disappointment. I know that I'm not the only one with  
this problem and I'm sure one of you has experienced this. Please  
let me in on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that  
all sorted out), and for the most part it's not really Flash related  
(except for the fact that I'm using this XML content for dynamic  
text fields). this list is probably not the proper place for this  
question, but I'm out of options and I thinking that I'm going to  
have to scrap some of the digging I've done in relation to getting  
text to display properly and make alterations to my application to  
load images instead of live type.


Somebody... Anybody Help a brotha out!



___
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] display trace() in text field

2008-12-04 Thread Sidney de Koning

Michael,

When you override the exsisting trace function, you can do this. Just  
include your own functionality in the overwritten trace function.


Its all because you want to have the same function call to trace() i  
presume?


Sid

On Dec 4, 2008, at 5:10 PM, Sidney de Koning wrote:


or you can override trace like so:

override public function trace(...args) : void {
super();
textFieldYouWantToTraceIn.appendText(args.toString());
}

This is from the top of my head, so the code could have errors in it.
Test it to see.

Cheers,

Sid

PS. You can ony do this from a class file. I don't think the Flash  
IDE lets you override functions directly.




On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com)  
wrote:



function debug(s:String):Void
{
  _root.pathToTextField.myText.text += /n+s;
}

then instead of trace(someString);
you use
debug(someString);

a

On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

Trace only sends strings to the Flash or Flexbuilder output  
window, so no.
However, all you have to do is set the variable you want to see to  
the text

property of the textfield:

myTextField.text  = myVariableIdLikeToSee


Jason Merrill
Bank of America Instructional Technology  Media   ·   GCIB   
Staff

Support LLD

Interested in Flash Platform technologies?  Join the Bank of  
America Flash

Platform Developer Community
Interested in innovative ideas in Learning?  Check out the  
Innovative

Learning Blog and subscribe.






-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Michael  
Stocke

Sent: Thursday, December 04, 2008 9:44 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] display trace() in text field

Good morning everyone.



Is it possible to display trace actions in a text field? I realize  
there

are numerous other troubleshooting tools similar to trace, but I
specifically want to display trace actions without any additional  
coding
required in the target file. I want to create a debugging tool in  
AIR

that will allow me to display trace actions from currently running
swfs.



I suspect this isn't feasible, but any tips or ideas would be
appreciated, Thanks.



Mike Stocke
Interface Engineer

Organic, Inc. | Detroit
2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
t: 248.454.4015  |  f: 248.454.3370



Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
Website: www.Organic.com http://www.organic.com/





This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged,  
confidential or
otherwise protected from disclosure. Dissemination, distribution  
or copying
of this email or the information herein by anyone other than the  
intended
recipient, or an employee or agent responsible for delivering the  
message to
the intended recipient, is prohibited.  If you have received this  
email in
error, please immediately notify us by calling our Help Desk at  
(415)

581-5552 or by e-mailing us at [EMAIL PROTECTED]


___
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] Arabic flipping

2008-12-04 Thread Glen Pike

Hi,

This is just a thought, but could you export the file as a CSV and use 
some kind of scripting language to generate an XML file - I may be way 
off, but you could set language options for PHP which might mean you are 
reading in the same charset as you are writing???


I don't have any experience of dealing with language stuff in PHP, but 
it was an idea...


Glen

Mike Grunwald wrote:
OK... I think I've reached the end of the internet as well as the end 
of my patients.


I've been trying to figure out a way to take translations that I've 
received in an Excel spreadsheet and paste them into an XML document. 
The XML is UTF-8 and it's plain text (of course). No matter what 
editor (Flex Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, 
Word, etc.) or OS (OSX 10.4, Windows XP) or combination of the two, it 
seems that when I try to combine the eastern translation with western 
markup (XML tags, or even western characters for that matter), as soon 
as I drop in a single character, if flips the orientation of the 
translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a path of 
ultimate disappointment. I know that I'm not the only one with this 
problem and I'm sure one of you has experienced this. Please let me in 
on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that all 
sorted out), and for the most part it's not really Flash related 
(except for the fact that I'm using this XML content for dynamic text 
fields). this list is probably not the proper place for this question, 
but I'm out of options and I thinking that I'm going to have to scrap 
some of the digging I've done in relation to getting text to display 
properly and make alterations to my application to load images instead 
of live type.


Somebody... Anybody Help a brotha out!



___
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] Arabic flipping

2008-12-04 Thread Ian Thomas
This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen, rather than
worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
 OK... I think I've reached the end of the internet as well as the end of my
 patients.

 I've been trying to figure out a way to take translations that I've received
 in an Excel spreadsheet and paste them into an XML document. The XML is
 UTF-8 and it's plain text (of course). No matter what editor (Flex Builder
 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX 10.4,
 Windows XP) or combination of the two, it seems that when I try to combine
 the eastern translation with western markup (XML tags, or even western
 characters for that matter), as soon as I drop in a single character, if
 flips the orientation of the translated Arabic text?!?

 Everything that I find on the internet leads me hopeful down a path of
 ultimate disappointment. I know that I'm not the only one with this problem
 and I'm sure one of you has experienced this. Please let me in on you
 secrets. I beg you...

 Let me just clarify—My problem is not font related (I've got that all sorted
 out), and for the most part it's not really Flash related (except for the
 fact that I'm using this XML content for dynamic text fields). this list is
 probably not the proper place for this question, but I'm out of options and
 I thinking that I'm going to have to scrap some of the digging I've done in
 relation to getting text to display properly and make alterations to my
 application to load images instead of live type.

 Somebody... Anybody Help a brotha out!

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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald
The fonts are coming through fine. I have all the characters I need  
embedded in the library (using Arial Unicode MS). Characters display  
properly. It's the order of words in the XML file that I'm having a  
problem with.


Thanks for any help. Much appreciated.



On Dec 4, 2008, at 10:48 AM, Sidney de Koning wrote:

Here we usually dont embed the text in the textfield, and grab the  
text from XML or you when you embed the font with code, include all  
the unicode codes of the arabic chars you need. And do use fonts  
that support Arabic like Arial, Verdana and i think Times New Roman


http://www.google.nl/search?q=embed+unicode+font+as3

On Dec 4, 2008, at 5:22 PM, Mike Grunwald wrote:

OK... I think I've reached the end of the internet as well as the  
end of my patients.


I've been trying to figure out a way to take translations that  
I've received in an Excel spreadsheet and paste them into an XML  
document. The XML is UTF-8 and it's plain text (of course). No  
matter what editor (Flex Builder 3, Dreamweaver, Text Edit,  
WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or  
combination of the two, it seems that when I try to combine the  
eastern translation with western markup (XML tags, or even western  
characters for that matter), as soon as I drop in a single  
character, if flips the orientation of the translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a  
path of ultimate disappointment. I know that I'm not the only one  
with this problem and I'm sure one of you has experienced this.  
Please let me in on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that  
all sorted out), and for the most part it's not really Flash  
related (except for the fact that I'm using this XML content for  
dynamic text fields). this list is probably not the proper place  
for this question, but I'm out of options and I thinking that I'm  
going to have to scrap some of the digging I've done in relation  
to getting text to display properly and make alterations to my  
application to load images instead of live type.


Somebody... Anybody Help a brotha out!



___
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] Arabic flipping

2008-12-04 Thread Mike Grunwald

@Glen

That seems like a reasonable idea. The problem is, I'm not too sharp  
on the PHP.


I think you might be onto something with the CSV thing though. I'm  
going to try a couple things.


Thanks!


On Dec 4, 2008, at 10:52 AM, Glen Pike wrote:


Hi,

This is just a thought, but could you export the file as a CSV and  
use some kind of scripting language to generate an XML file - I may  
be way off, but you could set language options for PHP which might  
mean you are reading in the same charset as you are writing???


I don't have any experience of dealing with language stuff in PHP,  
but it was an idea...


Glen

Mike Grunwald wrote:
OK... I think I've reached the end of the internet as well as the  
end of my patients.


I've been trying to figure out a way to take translations that  
I've received in an Excel spreadsheet and paste them into an XML  
document. The XML is UTF-8 and it's plain text (of course). No  
matter what editor (Flex Builder 3, Dreamweaver, Text Edit,  
WordPad, NotePad, Word, etc.) or OS (OSX 10.4, Windows XP) or  
combination of the two, it seems that when I try to combine the  
eastern translation with western markup (XML tags, or even western  
characters for that matter), as soon as I drop in a single  
character, if flips the orientation of the translated Arabic text?!?


Everything that I find on the internet leads me hopeful down a  
path of ultimate disappointment. I know that I'm not the only one  
with this problem and I'm sure one of you has experienced this.  
Please let me in on you secrets. I beg you...


Let me just clarify—My problem is not font related (I've got that  
all sorted out), and for the most part it's not really Flash  
related (except for the fact that I'm using this XML content for  
dynamic text fields). this list is probably not the proper place  
for this question, but I'm out of options and I thinking that I'm  
going to have to scrap some of the digging I've done in relation  
to getting text to display properly and make alterations to my  
application to load images instead of live type.


Somebody... Anybody Help a brotha out!



___
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] Arabic flipping

2008-12-04 Thread Fabio Pinatti
I just finished developing an english website, with arabic (
http://www.nakheelharbour.com/).

Actually the arabic isnt ready due the complications I found in my way. I
tried a lot of things... Load xmls with arabic text, load css to align to
right, use system fonts, embedding fonts, etc etc etc. We had feedback from
arabic client, and he said that in all cases, the text seems wrong for him.
In our eastern computers, the text was right, but when they test, the text
changes a lot and is broken, without their ligatures. Honestly, I found a
pain in the ass make it work, dont know if CS4 have support for unicode
chars, and I finished doing a very boring alternative: Putting images or
vectors in arabic version.

Mike, even when you finish your work, make sure someone with arabic OS make
tests of it.

Best,
Fabio


On Thu, Dec 4, 2008 at 2:52 PM, Glen Pike [EMAIL PROTECTED] wrote:

 Hi,

 This is just a thought, but could you export the file as a CSV and use some
 kind of scripting language to generate an XML file - I may be way off, but
 you could set language options for PHP which might mean you are reading in
 the same charset as you are writing???

 I don't have any experience of dealing with language stuff in PHP, but it
 was an idea...

 Glen


 Mike Grunwald wrote:

 OK... I think I've reached the end of the internet as well as the end of
 my patients.

 I've been trying to figure out a way to take translations that I've
 received in an Excel spreadsheet and paste them into an XML document. The
 XML is UTF-8 and it's plain text (of course). No matter what editor (Flex
 Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX
 10.4, Windows XP) or combination of the two, it seems that when I try to
 combine the eastern translation with western markup (XML tags, or even
 western characters for that matter), as soon as I drop in a single
 character, if flips the orientation of the translated Arabic text?!?

 Everything that I find on the internet leads me hopeful down a path of
 ultimate disappointment. I know that I'm not the only one with this problem
 and I'm sure one of you has experienced this. Please let me in on you
 secrets. I beg you...

 Let me just clarify—My problem is not font related (I've got that all
 sorted out), and for the most part it's not really Flash related (except for
 the fact that I'm using this XML content for dynamic text fields). this list
 is probably not the proper place for this question, but I'm out of options
 and I thinking that I'm going to have to scrap some of the digging I've done
 in relation to getting text to display properly and make alterations to my
 application to load images instead of live type.

 Somebody... Anybody Help a brotha out!



 ___
 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




-- 
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] E4x replace nodename

2008-12-04 Thread Jiri Heitlager

Hello list,

i make the following query on an xml file to retrieve a list with 
certain node names:


var tXML:XML = data
findname_H1[EMAIL PROTECTED]/findname_H1
findname_H2[EMAIL PROTECTED]/findname_H2
/data

var pat:RegExp = new RegExp('findname' , 'i')
var tList:XMLList = tXML.*.(pat['test'](name()))

This works fine, but know i would like to in addition to finding them 
also remove the 'findname_'


I could use this:

var tList:XMLList = tXML.*.(pat['test'](name())).(editNodeName(name()))

function editNodeName(tObj:String):void{
trace('- ',tObj);
}

And then create a new XMLlist with custom nodes. But how do I access the 
currentNode in the query instead of the name().

Or is it possible to directly do a regExp replace on the node?

Thnx

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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

Not a stupid question @Ian.

It's not  a matter of each individual character reversing the order.  
If it were I could convert the string to an array and reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join();

 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly in  
the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen, rather than
worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as the  
end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document. The  
XML is
UTF-8 and it's plain text (of course). No matter what editor (Flex  
Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try to  
combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem

and I'm sure one of you has experienced this. Please let me in on you
secrets. I beg you...

Let me just clarify—My problem is not font related (I've got that  
all sorted
out), and for the most part it's not really Flash related (except  
for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make alterations  
to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!


___
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: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

Thanks @Fabio


Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:14 AM, Fabio Pinatti wrote:


I just finished developing an english website, with arabic (
http://www.nakheelharbour.com/).

Actually the arabic isnt ready due the complications I found in my  
way. I
tried a lot of things... Load xmls with arabic text, load css to  
align to
right, use system fonts, embedding fonts, etc etc etc. We had  
feedback from
arabic client, and he said that in all cases, the text seems wrong  
for him.
In our eastern computers, the text was right, but when they test,  
the text
changes a lot and is broken, without their ligatures. Honestly, I  
found a
pain in the ass make it work, dont know if CS4 have support for  
unicode
chars, and I finished doing a very boring alternative: Putting  
images or

vectors in arabic version.

Mike, even when you finish your work, make sure someone with arabic  
OS make

tests of it.

Best,
Fabio


On Thu, Dec 4, 2008 at 2:52 PM, Glen Pike  
[EMAIL PROTECTED] wrote:



Hi,

This is just a thought, but could you export the file as a CSV and  
use some
kind of scripting language to generate an XML file - I may be way  
off, but
you could set language options for PHP which might mean you are  
reading in

the same charset as you are writing???

I don't have any experience of dealing with language stuff in PHP,  
but it

was an idea...

Glen


Mike Grunwald wrote:

OK... I think I've reached the end of the internet as well as the  
end of

my patients.

I've been trying to figure out a way to take translations that I've
received in an Excel spreadsheet and paste them into an XML  
document. The
XML is UTF-8 and it's plain text (of course). No matter what  
editor (Flex
Builder 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.)  
or OS (OSX
10.4, Windows XP) or combination of the two, it seems that when I  
try to
combine the eastern translation with western markup (XML tags, or  
even

western characters for that matter), as soon as I drop in a single
character, if flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in on  
you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got that  
all
sorted out), and for the most part it's not really Flash related  
(except for
the fact that I'm using this XML content for dynamic text  
fields). this list
is probably not the proper place for this question, but I'm out  
of options
and I thinking that I'm going to have to scrap some of the  
digging I've done
in relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!



___
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





--
Fábio Pinatti
:: web.developer
 www.pinatti.com.br
:: 19. 9184.3745 / 3342.1130
___
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: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Cedric Muller
OT but could you open the XLS and take a snapshot of the text, and  
then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another document  
(like word, txt, xml) and take snapshots in order to send them to  
your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join();

 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly  
in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen, rather  
than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as the  
end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document. The  
XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try  
to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in on  
you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got that  
all sorted
out), and for the most part it's not really Flash related (except  
for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make alterations  
to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!


___
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] To support FP10 or not to support FP10

2008-12-04 Thread Joel Stransky
I normally wait until much higher penetration before I start compiling my
swf's in a new player version but certain aspects of fp10 are extremely hard
to resist namely .unloadAndStop()

Would it be a good idea to start using it now or would that be a disservice
to my clients?

-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] To support FP10 or not to support FP10

2008-12-04 Thread Merrill, Jason
What is your audience?  How many?  What kind of Flash site/app are you 
building?  I think audience consideration trumps features or convenience, but 
it all depends on what you're doing.


Jason Merrill
Bank of America Instructional Technology  Media   ·   GCIB  Staff Support 
LLD

Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.






-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joel Stransky
Sent: Thursday, December 04, 2008 1:06 PM
To: Flash Coders List
Subject: [Flashcoders] To support FP10 or not to support FP10

I normally wait until much higher penetration before I start compiling my
swf's in a new player version but certain aspects of fp10 are extremely hard
to resist namely .unloadAndStop()

Would it be a good idea to start using it now or would that be a disservice
to my clients?

-- 
--Joel Stransky
stranskydesign.com
___
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: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

@Cedric

It is weird and crazy.I know it's happening, so there's no need to  
show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling out  
a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text, and  
then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another document  
(like word, txt, xml) and take snapshots in order to send them to  
your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join 
();


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly  
in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen, rather  
than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as  
the end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document. The  
XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try  
to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in  
on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!


___
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] To support FP10 or not to support FP10

2008-12-04 Thread Joel Stransky
I try not to base those kinds of decisions on target audience. These sites
are not candy viral and are meant to act as my clients presence on the web
meaning they should be widely accessible. Of course there is some concession
being made by choosing to use flash at all but that's a different
discussion. I resist to use flash elements for anything except what can't be
achieved otherwise.

Does targeting fp10 using expressInstall cause mozilla and other browser
users to close and install or is it seamless? (sorry I haven't tested yet) I
guess I'd only be comfortable if it was seamless.

If any of you are targeting 10, what was your reasoning?

On Thu, Dec 4, 2008 at 1:08 PM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 What is your audience?  How many?  What kind of Flash site/app are you
 building?  I think audience consideration trumps features or convenience,
 but it all depends on what you're doing.


 Jason Merrill
 Bank of America Instructional Technology  Media   ·   GCIB  Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Joel Stransky
 Sent: Thursday, December 04, 2008 1:06 PM
 To: Flash Coders List
 Subject: [Flashcoders] To support FP10 or not to support FP10

 I normally wait until much higher penetration before I start compiling my
 swf's in a new player version but certain aspects of fp10 are extremely
 hard
 to resist namely .unloadAndStop()

 Would it be a good idea to start using it now or would that be a disservice
 to my clients?

 --
 --Joel Stransky
 stranskydesign.com
 ___
 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




-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] To support FP10 or not to support FP10

2008-12-04 Thread Merrill, Jason
[my web sites are] meant to act as my clients presence on the web meaning they 
should be widely accessible...

Then as you said, they should be widely accessible. Why would you force many of 
your users to upgrade to Flash player 10 before it's widely ubiquitous?  
Without deep market penetration yet, using Flash player 10 decreases a site's 
accessibility.  If you live by the accessibility principle you stated above, it 
seems to be a no-brainer that you would want to stick with Flash player 9 until 
FP10 gets into more browsers.


Jason Merrill
Bank of America Instructional Technology  Media   ·   GCIB  Staff Support 
LLD

Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.




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


Re: [Flashcoders] Loader bytesTotal equals to 0

2008-12-04 Thread Glen Pike

Hi,

   Are you waiting until the totalBytes  7 (or some other small 
value)  First time round on some preloaders I have noticed that 
totalBytes was 0, so put in a catch for this:


   if(lb == tb  tb  7) {
  loaded = true;
   }

Christian Giordano wrote:

I've a strange bug which seems on the Flash Player. Basically on
Windows / IE when the page is reloaded, the preloader logs the
progress of the bytesLoaded correctly, but the totalBytes are
incredibily 0. I tried both to check the ProgressEvent or the
loader.contentLoaderInfo itself, the result doesn't change.

I am wondering if anyone have ever encountered in this absurd issue (I
couldn't find anything on the web).


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


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Cedric Muller

:(

Did you see this post ?
http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36

hth,
Cedric


@Cedric

It is weird and crazy.I know it's happening, so there's no need to  
show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling  
out a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text, and  
then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another  
document (like word, txt, xml) and take snapshots in order to send  
them to your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join 
();


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying properly  
in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still flipped?
Can you control the flipping in the display on the screen,  
rather than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as  
the end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document.  
The XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I try  
to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in  
on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out of  
options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!





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


Re: SPAM-LOW: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Mike Grunwald

@Cedric

I did see that. The problem with that is it's not XML. When I try to  
wrap any of the translations in tags, the words shift order. It has  
to have something to do with mixing Eastern and Western characters. I  
think it's tied to the alignment. Since Arabic is right justified, it  
displays properly when those are the only characters in the document.  
As soon as you introduce a Western character, it must automatically  
switch the justification and by doing so it flips the order of the  
Eastern words.



On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote:


:(

Did you see this post ?
http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36

hth,
Cedric


@Cedric

It is weird and crazy.I know it's happening, so there's no need to  
show the client.


PS I haven't taken hallucinogens in quite sometime so I'm ruling  
out a Flashback. Other people see it too.



Mike Grunwald

McDill Design
626 N Water St
Milwaukee, WI 53202
414.277.8111
mcdilldesign.com

On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

OT but could you open the XLS and take a snapshot of the text,  
and then send to your client, to check if it is correct.
Then, if ok, could you copy / paste this text into another  
document (like word, txt, xml) and take snapshots in order to  
send them to your client ?


I find 'the order of words rearranged' very weird, almost crazy.

hth,
Cedric


Not a stupid question @Ian.

It's not  a matter of each individual character reversing the  
order. If it were I could convert the string to an array and  
reorder it ah la:


var myCharity_L2R:String = myXML.ARB.CHARITY;
var myCharity_R2L:String = myCharity_L2R.split().reverse().join 
();


 The actual problem is it's taking the order of words and  
rearranging them. And to answer you, it's not displaying  
properly in the SWF.




On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:


This is probably a stupid question - but does it matter?

By which I mean - it may flip RTL text so that it's LTR in the XML
file, but when it actually gets to the screen, is it still  
flipped?
Can you control the flipping in the display on the screen,  
rather than

worrying about it in the XML file?

Ian

On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
[EMAIL PROTECTED] wrote:
OK... I think I've reached the end of the internet as well as  
the end of my

patients.

I've been trying to figure out a way to take translations that  
I've received
in an Excel spreadsheet and paste them into an XML document.  
The XML is
UTF-8 and it's plain text (of course). No matter what editor  
(Flex Builder
3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS  
(OSX 10.4,
Windows XP) or combination of the two, it seems that when I  
try to combine
the eastern translation with western markup (XML tags, or even  
western
characters for that matter), as soon as I drop in a single  
character, if

flips the orientation of the translated Arabic text?!?

Everything that I find on the internet leads me hopeful down a  
path of
ultimate disappointment. I know that I'm not the only one with  
this problem
and I'm sure one of you has experienced this. Please let me in  
on you

secrets. I beg you...

Let me just clarify—My problem is not font related (I've got  
that all sorted
out), and for the most part it's not really Flash related  
(except for the
fact that I'm using this XML content for dynamic text fields).  
this list is
probably not the proper place for this question, but I'm out  
of options and
I thinking that I'm going to have to scrap some of the digging  
I've done in
relation to getting text to display properly and make  
alterations to my

application to load images instead of live type.

Somebody... Anybody Help a brotha out!





___
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: Re: [Flashcoders] Arabic flipping

2008-12-04 Thread Bassam M
I have the same problem I tried everything but I couldn't solve the text
broken at the end of the of the line

If anybody know how to solve this problem please let me know it's know years
I'm having this prb



Thanks

On Thu, Dec 4, 2008 at 6:59 PM, Mike Grunwald [EMAIL PROTECTED]wrote:

 @Cedric

 I did see that. The problem with that is it's not XML. When I try to wrap
 any of the translations in tags, the words shift order. It has to have
 something to do with mixing Eastern and Western characters. I think it's
 tied to the alignment. Since Arabic is right justified, it displays properly
 when those are the only characters in the document. As soon as you introduce
 a Western character, it must automatically switch the justification and by
 doing so it flips the order of the Eastern words.



 On Dec 4, 2008, at 12:41 PM, Cedric Muller wrote:

 :(

 Did you see this post ?
 http://joeabiraad.com/design/how-to-write-arabic-in-flash-8/36

 hth,
 Cedric

 @Cedric

 It is weird and crazy.I know it's happening, so there's no need to show
 the client.

 PS I haven't taken hallucinogens in quite sometime so I'm ruling out a
 Flashback. Other people see it too.


 Mike Grunwald

 McDill Design
 626 N Water St
 Milwaukee, WI 53202
 414.277.8111
 mcdilldesign.com

 On Dec 4, 2008, at 11:57 AM, Cedric Muller wrote:

 OT but could you open the XLS and take a snapshot of the text, and then
 send to your client, to check if it is correct.
 Then, if ok, could you copy / paste this text into another document
 (like word, txt, xml) and take snapshots in order to send them to your
 client ?

 I find 'the order of words rearranged' very weird, almost crazy.

 hth,
 Cedric

 Not a stupid question @Ian.

 It's not  a matter of each individual character reversing the order. If
 it were I could convert the string to an array and reorder it ah la:

 var myCharity_L2R:String = myXML.ARB.CHARITY;
 var myCharity_R2L:String = myCharity_L2R.split().reverse().join();

  The actual problem is it's taking the order of words and rearranging
 them. And to answer you, it's not displaying properly in the SWF.



 On Dec 4, 2008, at 11:00 AM, Ian Thomas wrote:

 This is probably a stupid question - but does it matter?

 By which I mean - it may flip RTL text so that it's LTR in the XML
 file, but when it actually gets to the screen, is it still flipped?
 Can you control the flipping in the display on the screen, rather than
 worrying about it in the XML file?

 Ian

 On Thu, Dec 4, 2008 at 4:22 PM, Mike Grunwald
 [EMAIL PROTECTED] wrote:

 OK... I think I've reached the end of the internet as well as the end
 of my
 patients.

 I've been trying to figure out a way to take translations that I've
 received
 in an Excel spreadsheet and paste them into an XML document. The XML
 is
 UTF-8 and it's plain text (of course). No matter what editor (Flex
 Builder
 3, Dreamweaver, Text Edit, WordPad, NotePad, Word, etc.) or OS (OSX
 10.4,
 Windows XP) or combination of the two, it seems that when I try to
 combine
 the eastern translation with western markup (XML tags, or even
 western
 characters for that matter), as soon as I drop in a single character,
 if
 flips the orientation of the translated Arabic text?!?

 Everything that I find on the internet leads me hopeful down a path
 of
 ultimate disappointment. I know that I'm not the only one with this
 problem
 and I'm sure one of you has experienced this. Please let me in on you
 secrets. I beg you...

 Let me just clarify—My problem is not font related (I've got that all
 sorted
 out), and for the most part it's not really Flash related (except for
 the
 fact that I'm using this XML content for dynamic text fields). this
 list is
 probably not the proper place for this question, but I'm out of
 options and
 I thinking that I'm going to have to scrap some of the digging I've
 done in
 relation to getting text to display properly and make alterations to
 my
 application to load images instead of live type.

 Somebody... Anybody Help a brotha out!




 ___
 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] display trace() in text field

2008-12-04 Thread Michael Stocke
That is what I'm trying to do. Unfortunately I tried something like this
yesterday and it only worked when I used this.trace, rather than just
trace.

Thank you for the response, though.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sidney
de Koning
Sent: Thursday, December 04, 2008 11:48 AM
To: Flash Coders List
Subject: Re: [Flashcoders] display trace() in text field

Michael,

When you override the exsisting trace function, you can do this. Just  
include your own functionality in the overwritten trace function.

Its all because you want to have the same function call to trace() i  
presume?

Sid

On Dec 4, 2008, at 5:10 PM, Sidney de Koning wrote:

 or you can override trace like so:

 override public function trace(...args) : void {
   super();
   textFieldYouWantToTraceIn.appendText(args.toString());
 }

 This is from the top of my head, so the code could have errors in it.
 Test it to see.

 Cheers,

 Sid

 PS. You can ony do this from a class file. I don't think the Flash  
 IDE lets you override functions directly.



 On Dec 4, 2008, at 5:03 PM, allandt bik-elliott (thefieldcomic.com)  
 wrote:

 function debug(s:String):Void
 {
   _root.pathToTextField.myText.text += /n+s;
 }

 then instead of trace(someString);
 you use
 debug(someString);

 a

 On Thu, Dec 4, 2008 at 3:42 PM, Merrill, Jason 
 [EMAIL PROTECTED] wrote:

 Trace only sends strings to the Flash or Flexbuilder output  
 window, so no.
 However, all you have to do is set the variable you want to see to  
 the text
 property of the textfield:

 myTextField.text  = myVariableIdLikeToSee


 Jason Merrill
 Bank of America Instructional Technology  Media   *   GCIB   
 Staff
 Support LLD

 Interested in Flash Platform technologies?  Join the Bank of  
 America Flash
 Platform Developer Community
 Interested in innovative ideas in Learning?  Check out the  
 Innovative
 Learning Blog and subscribe.






 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Michael  
 Stocke
 Sent: Thursday, December 04, 2008 9:44 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] display trace() in text field

 Good morning everyone.



 Is it possible to display trace actions in a text field? I realize  
 there
 are numerous other troubleshooting tools similar to trace, but I
 specifically want to display trace actions without any additional  
 coding
 required in the target file. I want to create a debugging tool in  
 AIR
 that will allow me to display trace actions from currently running
 swfs.



 I suspect this isn't feasible, but any tips or ideas would be
 appreciated, Thanks.



 Mike Stocke
 Interface Engineer

 Organic, Inc. | Detroit
 2600 S. Telegraph Road -- Suite 100, Bloomfield Hills, MI 48302
 t: 248.454.4015  |  f: 248.454.3370



 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Blog: http://Threeminds.Organic.com http://threeminds.organic.com/
 Website: www.Organic.com http://www.organic.com/


 ___
 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


This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this email 
or the information herein by anyone other than the intended recipient, or an 
employee or agent responsible for delivering the message to the intended 
recipient, is prohibited.  If you have received this email in error, please 
immediately notify us by calling our Help Desk at (415) 581-5552 or by 
e-mailing us at [EMAIL PROTECTED]



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


Re: [Flashcoders] Loader bytesTotal equals to 0

2008-12-04 Thread Steven Sacks
Just for clarification, it was 4 bytes (the size of an empty MovieClip in AS2). 
   I don't know if it's the same in AS3 (don't care enough to look into it).


I don't think that's the issue he's having.  I think he's saying the bytesLoaded 
is returning correctly, but the bytesTotal is 0 the entire load.


Unfortunately, I don't have a solution.



Glen Pike wrote:

Hi,

   Are you waiting until the totalBytes  7 (or some other small value)  
First time round on some preloaders I have noticed that totalBytes was 
0, so put in a catch for this:


   if(lb == tb  tb  7) {
  loaded = true;
   }

Christian Giordano wrote:

I've a strange bug which seems on the Flash Player. Basically on
Windows / IE when the page is reloaded, the preloader logs the
progress of the bytesLoaded correctly, but the totalBytes are
incredibily 0. I tried both to check the ProgressEvent or the
loader.contentLoaderInfo itself, the result doesn't change.

I am wondering if anyone have ever encountered in this absurd issue (I
couldn't find anything on the web).


Thanks, chr
___
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] Loader bytesTotal equals to 0

2008-12-04 Thread Daniel Boey
Hi,

If you have 20 items that needs to be loaded, all 20 items have to have
started loading before bytesTotal can be determined. Otherwise it'll remain
at 0.

This best explains it and an alternative provided as well:
http://code.google.com/p/bulk-loader/wiki/ReportingLoadingProgress

HTH

Thanks  Best regards,
Daniel Boey


On Fri, Dec 5, 2008 at 10:40 AM, Steven Sacks [EMAIL PROTECTED]wrote:

 Just for clarification, it was 4 bytes (the size of an empty MovieClip in
 AS2).   I don't know if it's the same in AS3 (don't care enough to look into
 it).

 I don't think that's the issue he's having.  I think he's saying the
 bytesLoaded is returning correctly, but the bytesTotal is 0 the entire load.

 Unfortunately, I don't have a solution.




 Glen Pike wrote:

 Hi,

   Are you waiting until the totalBytes  7 (or some other small value)
  First time round on some preloaders I have noticed that totalBytes was 0,
 so put in a catch for this:

   if(lb == tb  tb  7) {
  loaded = true;
   }

 Christian Giordano wrote:

 I've a strange bug which seems on the Flash Player. Basically on
 Windows / IE when the page is reloaded, the preloader logs the
 progress of the bytesLoaded correctly, but the totalBytes are
 incredibily 0. I tried both to check the ProgressEvent or the
 loader.contentLoaderInfo itself, the result doesn't change.

 I am wondering if anyone have ever encountered in this absurd issue (I
 couldn't find anything on the web).


 Thanks, chr
 ___
 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