[Flashcoders]

2010-05-06 Thread poste9
static public function hex_to_ascii(sText:String):String {
var thisHexChar:String;
var retString:String = ;

 for (var i:int =0; i  sText.length/2; i++) {

thisHexChar= sText.charAt(i*2).toString() +
sText.charAt((i*2)+1).toString();
thisHexChar = 0x + thisHexChar;
retString = retString +
String.fromCharCode(int(thisHexChar));

   }

  return retString;

}

I've this function to convert HEX to ASCII, but when i send a packet with
Socket.writeUTFBytes
this packet go wrong with wrongvalues

Example:

I send: TCP_Sock.writeUTFBytes(
hex_to_ascii(
3c00c1c8df4ad40761646d696e2e24636d6400010015001077686174736d797572690001
)
)

And i see with wireshark the hex value sended was:

3c00c381c388c39f4ac3bfc3bfc3bfc3bfc3940761646d696e2e24636d6400010015001077686174736d797572690001

I dont know how to fix this... can some one helpme pls?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders]

2010-05-06 Thread poste9
I found the problem


When I use writeUTFBytes something transform my string and send the data
wrong...
if I use writeUTF same thing...

I tryied writeMultiByte but the string goes to 2 bytes...
but i dont know what charset use

I really need this, can some one help me?

-- 

Rafael Lúcio
http://www.hangarnet.com.br
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flex + Crystal Reports

2010-03-16 Thread poste9
Some one has experiencie with flex + crystal reports to give me some links
or tutorials about how to implement this feature on my projects?
Ty!

-- 

Rafael Lúcio
http://www.hangarnet.com.br
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] My rights - site not paid for.

2008-12-08 Thread poste9
give ftp information to some brazilian where there isnt internet's law.
its an option too.

2008/12/8 Eamonn Faherty [EMAIL PROTECTED]

 This is a grey area.  Did you draw up a contract when you started the
 job?  Deleting the live site could be deemed as an infringement of the
 computer misuse act.

 Do the easiest thing, sell the debt to a debt management agency and move
 on to another job.

 I bet the money you will lose doing this will be far less than the
 amount you can make on another job in the time it takes to chase this
 up!

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Stephen
 Matthews
 Sent: 08 December 2008 11:03
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] My rights - site not paid for.

 What are my rights ( in the UK ) for taking down a site which has not
 been paid for?

 The owner of the company is happy with his site, but is not coughing up.

 I still have FTP access.

 He says the site took too long, and makes lots of excuses for not
 paying - which do not tally.
 He changed the site drastically at least three times - I think it took
 too long too, due to this.
 He is updating the news section and other sections whenever he has new
 material.

 I would be interested in your thoughts.

 This person won an award for being a top business man this year - is
 this what you have to do to be a top business man - screw people?

 I am not the kind of person to take this action really, but I may
 consider it.

 Thanks

 S



 ___
 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




-- 
New blog post: UTM JavaScript Library, trabalhando com classes
http://tinyurl.com/5dvasg
=
New blog post: Desenvolvimento Ágil, construindo um gerador de classes.
http://tinyurl.com/64xa2h
=
Vox Tecnologia  Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
http://www.postenove.com.br
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Remoting with ...

2008-12-08 Thread poste9
http://framework.zend.com/download/amf

http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,4820/Itemid,35/

http://drupal.org/project/amfphp

2008/12/8 SJF [EMAIL PROTECTED]

 Ahoy hoy,

 In regards to developing *Flash sites/apps* that hook into a back end using
 *AMFPHP* protocol, can anyone shed some light on the following questions:

 1) Do the following three frameworks/platforms sit in the same boat (i.e:
 do
 they do they provide the same functionality in regards to developing
 database driven web apps): Zend http://www.zend.com/,
 Joomlahttp://www.joomla.org/and
 Drupal http://drupal.org/
 2) Does anyone recommend any one of these for non-proprietary, database
 driven Flash sites/apps (I'm currently using WampServer 2 and am curious if
 any of the above 3 make development easier, or are they just wrappers
 around
 something similar to WampServer).

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




-- 
New blog post: UTM JavaScript Library, trabalhando com classes
http://tinyurl.com/5dvasg
=
New blog post: Desenvolvimento Ágil, construindo um gerador de classes.
http://tinyurl.com/64xa2h
=
Vox Tecnologia  Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
http://www.postenove.com.br
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] online .swf generator

2008-11-27 Thread poste9
openslaszlo http://www.openlaszlo.org/ r0x

2008/11/27 mike cann [EMAIL PROTECTED]

 You can render the output client side to a BitmapData object then use a
 compression lib in AS3 to convert it to GIF or PNG or something then upload
 that image to the server and avoid the whole SWF part?

 2008/11/27 allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED]

  could you use some kind of code injection like flashdev used to do (and
  prolly still does)?
 
  a
 
  On Wed, Nov 26, 2008 at 8:53 PM, Latcho [EMAIL PROTECTED] wrote:
 
   One way: You can compile an swf serverside with flex-sdk and ant, that
  way
   you can feed it whatever you want as a main class, config class and
 orher
   generic created text var classes.
   You for ex build a php wrapper around all the command executions.
   Latcho
  
  
   Michael Stocke wrote:
  
   The output file will be a banner ad. The user will be able to choose
  from
   about 5 different designs and list of company-approved
   graphics/logos/imagery. The user will also be able to enter a limited
  amount
   of text. My vision is to create templates for each of the 5 designs
 with
   blank text fields and placeholders for the logos/graphics. The user
 will
   modify a configuration file of some kind through the interface I
 create,
   then I will use a yet-to-be-named tool to generated the .swf from a
 .fla
  (or
   other core file) and the customized configuration file (XML, MXML,
 .txt,
   etc.). This is why I mentioned JSFL, because I already know how to do
  this
   with JSFL.
  
   I have zero experience with Flex, so something with the Flash IDE or
   Flash-based tools would be better.
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:
   [EMAIL PROTECTED] On Behalf Of Axel Aigret
   Sent: Wednesday, November 26, 2008 12:01 PM
   To: Flash Coders List
   Subject: Re: [Flashcoders] online .swf generator
  
   Hi :)
  
Can you explain more in detail what must be arrange in your .swf
  and
   how ( a gui in flash or you don't care ? ) .
What sort of asset , animation , text ?
What will be the creation at the end to understand what you want
  more
   easier.
  
   Axel Aigret
  
  
   Michael Stocke a écrit :
  
  
   Good morning group.
  
  
   I am looking for an online .swf generation tool. Specifically, a user
   designs a .swf online through a tool that I create, then they submit
   their work which generates a .swf output. The tool will allow the
 user
   to choose from several templates, then customize them by selecting
   various assets from pre-determined lists and adding some free-form
  text.
   From my research so far I'm mainly seeing tools based on Java and
 C++,
   both of which aren't really options for me. I have some very limited
   knowledge of Ming (PHP), but this option is too programming intensive
   for this scenario. I think JSFL would be my best bet, but I can't
 find
   any information about using it for an online server-side
  implementation.
   My experience has been for local batching purposes only.
  
  
   Does anyone have any suggestions? The client is open to purchasing an
   application depending on the cost.
  
  
   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
  
  
  
  
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  

[Flashcoders] synchronous app

2008-11-21 Thread poste9
someone discovered some way to make synchronous app?
something like that:

foo = doSomeHttpRequest();

and the response from http request is attribued to foo var

-- 
=
Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
fazendo do seu website uma aplicação em tempo real
ms xsl js(dom) css xhtml php mysql pgsql ajax json smarty drupal
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Accessing text between SWFs

2008-10-15 Thread poste9
you can do something like that:
ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);

public function completeHandler(event:Event) {
MovieClip(event.currentTarget)._parent = this;
}

and access each prop of parent swf for example:

trace(_parent.ldr1);

2008/10/16 Alan Neilsen [EMAIL PROTECTED]

 I have a SWF (rte2124b_birthing-duties.swf) in which the user enters their
 name in an input text field. This SWF then calls in another SWF as follows:
 import flash.display.*;
 import flash.net.URLRequest;
 var rect1:Shape = new Shape();
 rect1.graphics.beginFill(0xFF);
 rect1.graphics.drawRect(0, 0, 1966, 660); //this covers the print-out area
 as well
 addChild(rect1);
 var ldr1:Loader = new Loader();
 ldr1.mask = rect1;
 var url1:String = topics/rte2124b_topic1.swf;
 var urlReq1:URLRequest = new URLRequest(url1);
 ldr1.load(urlReq1);
 addChild(ldr1);

 Is there a way I can get the text entered in the first SWF (e.g. Fred
 Smith) to be accessible by the second SWF (rte2124b_topic1.swf)? I want the
 print-outs from the second SWF to start with This activity was completed by
 User Name (e.g. Fred Smith).

 Alan Neilsen


 This message is for the named person's use only. It may contain
 confidential, proprietary or legally privileged information. No
 confidentiality or privilege is waived or; lost by any mistransmission. If
 you receive this message in error, please immediately delete it and all
 copies of it from your system, destroy any hard copies of it and notify
 the sender. You must not directly or indirectly, use, disclose,
 distribute, print or copy any part of this message if you are not the
 intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
 any of its subsidiaries each reserve the right to monitor all e-mail
 communications through its networks. Any views expressed in this
 message are those of the individual sender, except where the
 message states otherwise and the sender is authorised to state them
 to be the views of any such entity.


 #
 This e-mail message has been scanned for Viruses and Content and cleared
 by MailMarshal

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




-- 
=
Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
fazendo do seu website uma aplicação em tempo real
ms xsl js(dom) css xhtml php mysql pgsql ajax json smarty drupal
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Access MainTimeline reference from within a component

2008-08-26 Thread poste9
have u tried this.root ?

2008/8/27 Helmut Granda [EMAIL PROTECTED]

 Is it possible to access the MainTimeline from within a component? So far I
 havent been able to access it trying different methods. Most times I get
 the
 same result:
 trace(parent);
 trace(root);
 trace(this.parent);
 trace(this);
 trace(this.parent.parent);

 [object LivePreviewParent]
 [object LivePreviewParent]
 [object LivePreviewParent]
 [object MyComponent]
 [object Stage]

 But it seems to skip the MainTimeline... basically what I am trying to
 access is the File name which I can extract with Describe type for the
 MainTimeline, and of course this is easy with objects on the timeline. I
 have an init function in a component that tries to get the reference to the
 MainTimeline but so far no luck... any tips?

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




-- 
=
Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
fazendo do seu website uma aplicação em tempo real
ms xsl js(dom) css xhtml php mysql pgsql ajax json smarty drupal
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders