[flexcoders] Re: Flex E-Mail a Form PHP, ASP, or ColdFusion

2007-04-08 Thread jf.saldanha
Hi.
Here is a Link with a tutorial with a form mail with Flex and PHP.

http://augiemarcello.com/flex-2-basic-email-form/

jf.sal


--- In flexcoders@yahoogroups.com, videogamer2791
[EMAIL PROTECTED] wrote:

 ahh, thank you
 i looked at the tread, and im not so sure what a MX record is or how to 
 program in PHP but im going to try to put phpversion(); at the end 
 becuase that is what that person has
 here is my php code:
 [code]
 ?php
   $to = [EMAIL PROTECTED];
   $email =  $_POST['email'];
   $subject = $_POST['subject'];
   $message = $_POST['message'];
   $headers = From: $email;
   mail($to, $subject, $message, $headers)
 ?
 [/code]





[flexcoders] New Javascript Window

2006-10-06 Thread jf.saldanha
Hi all

I need some help on this:
Open a new java window in Flex like we do in Flash

I have a html page with this javascript code

SCRIPT LANGUAGE=JavaScript var javascript_version = 1.0;/SCRIPT
SCRIPT LANGUAGE=JavaScript1.1  javascript_version = 1.1;/SCRIPT
SCRIPT LANGUAGE=JavaScript

var newwin;
function launchwin(winurl,winname,winfeatures){

 newwin = window.open(winurl,winname,winfeatures);
 if(javascript_version  1.0){
  
  setTimeout('newwin.focus();',250);
 }
}


And have this code in Flex, azulej7.htm is the html page.

public function executEmail(event:MouseEvent):void{
var u:URLRequest = new URLRequest(javascript:launchwin
('azulej7.htm', 'newwindow', 'height=450, width=550'));
navigateToURL(u);
} 

mx:Button  click=executEmail(event)


Ok this open a new window but not the java script window with 550 by 
the450 height.

If anyone can help me I say thanks and many thanks to all.

jf.sal







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: mail from Flex

2006-07-27 Thread jf.saldanha
Thanks Steve

Your code work fine and dont need a JavaScript in a HTML shell page.

and thanks again for you and Brendan from the last post that give me a
diferent solucion.








--- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote:

 Try:
  
 mx:Script
 ![CDATA[ 
 public function executEmail(event:MouseEvent):void{ 
 var u:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]
 mailto:mail%40someone.com com);
 navigateToURL(u,_self); 
 }
 ]]
 /mx:Script
  
 Steve
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of jf.saldanha
 Sent: 26 July 2006 19:06
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] mail from Flex
  
 Hi FlexCoders
 
 I need some Help on this Issue, I try this to send Email from Flex:
 
 mx:Script
 ![CDATA[ 
 public function executEmail(event:MouseEvent):void{ 
 var u:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]
 mailto:mail%40someone.com com);
 navigateToURL(u); 
 }
 ]]
 /mx:Script
 
 mx:Button click=executEmail(event)/
 
 This work, open a default Email window but open a Browser window to.
 
 Need some Help Thanks
 
 jf.sal







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] mail from Flex

2006-07-26 Thread jf.saldanha
Hi FlexCoders

I need some Help on this Issue, I try this to send Email from Flex:

mx:Script
![CDATA[ 
public function executEmail(event:MouseEvent):void{ 
var u:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
navigateToURL(u);   
}
]]
/mx:Script

mx:Button click=executEmail(event)/


This work, open a default Email window but open a Browser window to.

Need some Help Thanks

jf.sal






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: mail from Flex

2006-07-26 Thread jf.saldanha
Thanks Brendan

Now is work fine, and that Flex code is good to try to send email to
PHP server in place of JavaScript.

Tanks again

jf.Sal












--- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 You could call a JavaScript function in your shell HTML file to
acheive the
 functionality you're looking for...
 
 
 In your Flex app create/call a func like:
 
 public function emailViewURL():void
 {
 var functionName:String = emailURL;
 var to:String = [EMAIL PROTECTED];
 var subject:String = this is an e-mail subject;
 var subject:String = this is an e-mail body;
 
 var callResult:String = ExternalInterface.call(functionName,
 urlString, subject, body);
 }
 
 
 Inside your html add the following:
 
 script type=text/JavaScript language=JavaScript
 
 function emailURL(to, subject, body)
 {
 location.href = mailto:; + to + ?SUBJECT= + subject +
BODY= +
 body
 }
 
 /script
 
 That'll do what you're looking for.
 
 
 Brendan
 
 
 
 On 7/26/06, jf.saldanha [EMAIL PROTECTED] wrote:
 
Hi FlexCoders
 
  I need some Help on this Issue, I try this to send Email from Flex:
 
  mx:Script
  ![CDATA[
  public function executEmail(event:MouseEvent):void{
  var u:URLRequest = new URLRequest
(mailto:[EMAIL PROTECTED]mail%40someone.com
  );
  navigateToURL(u);
  }
  ]]
  /mx:Script
 
  mx:Button click=executEmail(event)/
 
  This work, open a default Email window but open a Browser window to.
 
  Need some Help Thanks
 
  jf.sal
 
   
 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] send email with PHP

2006-06-29 Thread jf.saldanha
To me, in this days of Flex are important see a example of Flex and 
PHP on send a Email dont see anything on the Web.

If someone have or see a example or a tutorial about that.

Thanks 






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Flex 2 Beta 2

2006-03-20 Thread jf.saldanha
Flex Beta 2 is Here.

And for me the first Problem is on installation the Project is:

unable to open 'C:\Programas\Adobe\Flex Builder 2 Plug-in Beta 2\Flex 
Framework 2\frameworks\locale\pt_pt\framework_rb.swc'

Is funny because the framework know that I stay in Portugal but the 
install not and dont make any folder named pt_pt.

But I copy the folder named en_US with the content and the Flex now 
run.

My hope is: Bad begin make happy end 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Security sandbox violation

2006-03-01 Thread jf.saldanha
Hi

This error is about cross domain files i think?

But today and i put on run the example of Mike Potter

http://blogs.adobe.com/mikepotter/

I put the example run onLine that way give the error
http://www.carlaabreu.com/amfphp2test.html


That way run
http://carlaabreu.com/amfphp2test.html

The all files is in same domain dont have files in diferent domains.

Question, I need a crossdomin file?

Thanks






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] especial caracters on AMFPHP

2006-02-28 Thread jf.saldanha
Hi

I know that this is not the place certain to make this question but:

Need some help on AMFPHP.

I have everything run Ok with Flex with this last example of Mike 
Potter:

http://blogs.adobe.com/mikepotter/2006/02/flex_and_php_us.html

But AMFPHP dont make array object with especial caracter like we use 
in Portuguese language like (ç ó â à ã).

My question is possible make AMFPHP work with this caracters or not, 
or where I have to make the changes on AMFPHP?

Thanks





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/