Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Newsletter module

This is a discussion on Newsletter module within the FlepStudio utilities forums, part of the Tutorials category; Hi mmm84, perhaps your hotmail account has not enabled the html ?...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Tutorials > FlepStudio utilities

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 24-03-08, 08:59
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
Re: Newsletter module

Hi mmm84,
perhaps your hotmail account has not enabled the html ?
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 24-03-08, 20:11
Junior Member
 
Join Date: Mar 2008
Posts: 6
Rep Power: 0
mmm84 is on a distinguished road
Exclamation Re: Newsletter module

My webpage is 100%.
I have a "newsletter" button which, when clicked, loads the newsletter module externally. Although it works fine on its own, when I load it that way, I get an error message:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Main/init()
at Main()


I understand that one of the movie clips (letter_mc, email_mc , join_btn, delete_btn, name_mc) was not constructed before I called init() function...

How should I adapt Main.as then? THANK YOU IN ADVANCE, this is precious help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13 (permalink)  
Old 24-03-08, 20:13
Junior Member
 
Join Date: Mar 2008
Posts: 6
Rep Power: 0
mmm84 is on a distinguished road
Re: Newsletter module

Quote:
Originally Posted by Flep View Post
Hi mmm84,
perhaps your hotmail account has not enabled the html ?
I thought about that, but I do receive other html emails... What I'm gonna do is try with other addresses, and I'm sure I'll figure it out somehow. You did such a GREAT job with that utility, it can only come from my lack of attention. LOL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14 (permalink)  
Old 02-04-08, 14:59
Junior Member
 
Join Date: Mar 2008
Posts: 6
Rep Power: 0
mmm84 is on a distinguished road
Unhappy Re: Newsletter module

I have fixed my previous error message, which was a silly mistake of mine... The newsletter module is running at 31 fps, while my homepage runs at 24 fps.

However, now I get another kind of error message:
Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.
at Error$/throwError()
at flash.net::URLVariables/decode()
at flash.net::URLVariables()
at flash.net::URLLoader/onComplete()

So I tried tracing (e.target.data) doing the following:
private function completato(e:Event):void
{
trace (e.target.data);

var vars:URLVariables=new URLVariables(e.target.data);

But that did not work either...

Any help PLEAAAAAAAAAAAAAASE???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #15 (permalink)  
Old 08-04-08, 12:56
Junior Member
 
Join Date: Apr 2008
Posts: 3
Rep Power: 0
ugur01 is on a distinguished road
Re: Newsletter module

Hi lads
Firstly
I would like to say thanks for this nice tutorials
I have one issue
Its working well on mozilla.
but when i log on my web side use explorer.
Flash keep fliking not stop
you can check link
Legend Design

If there is any help would be great
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #16 (permalink)  
Old 09-04-08, 09:32
Junior Member
 
Join Date: Apr 2008
Posts: 3
Rep Power: 0
ugur01 is on a distinguished road
Smile Re: Newsletter module

Quote:
Originally Posted by ugur01 View Post
Hi lads
Firstly
I would like to say thanks for this nice tutorials
I have one issue
Its working well on mozilla.
but when i log on my web side use explorer.
Flash keep fliking not stop
you can check link
Legend Design

If there is any help would be great
Thanks

hi there again
I resolved problem.
But this time.
after put e mail and name than join me
Its given Italian message
but i downloaded eng version.
I tried change but i could not find
Do you know
How we can change italian confirm message to English
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #17 (permalink)  
Old 16-05-08, 11:39
Junior Member
 
Join Date: May 2008
Posts: 2
Rep Power: 0
funkjul is on a distinguished road
Re: Newsletter module

Quote:
Originally Posted by mmm84 View Post
I have installed the newsletter successfully and tried to test it. Everything worked, so I'm a happy man. However, the confirmation email that is sent (to a hotmail account) shows all the html tags... Have any idea why? This is the only email that does that. Thanks for your help!
I found the solution in the page "function.php"
you need to add this lines here.

// Headers
$header = "From: Newsletter <".$mittente.">\r\n";
$header .= "MIME-version: 1.0\n";
$header .= "Content-type: text/html; charset= iso-8859-1\n";

/*
Header aggiuntivi
*******************************************
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-type:text/html; charset=iso-8859-1\r\n";
*******************************************
$header .= "To: ".$nome." <".$mail.">\r\n";
$header .= "Reply-To: ".$mittente."\r\n";
$header .= "Cc: cc@example.it\r\n";
$header .= "Bcc: bcc@example.it\r\n";
*/

If you do that, than you will NOT see the HTML Tags in your email!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #18 (permalink)  
Old 16-05-08, 12:54
Junior Member
 
Join Date: May 2008
Posts: 2
Rep Power: 0
funkjul is on a distinguished road
Re: Newsletter module

Quote:
Originally Posted by ugur01 View Post
hi there again
I resolved problem.
But this time.
after put e mail and name than join me
Its given Italian message
but i downloaded eng version.
I tried change but i could not find
Do you know
How we can change italian confirm message to English
Thanks
You can change it, in the file "Main.as"
Here change the message (actually it is not in italian... but anyway):
private function writeDone():void
{
if(action=='registra')
final_txt.text=' You have been added to our Newsletter.\n'+
'A confirmation link has been sentto your e-mail';
else
final_txt.text=' You have been deleted from our Newsletter.\n'+
'A confirmation link has been sentto your e-mail';

reset();
}


very nice tutorial! thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #19 (permalink)  
Old 01-09-08, 21:50
Junior Member
 
Join Date: Dec 2007
Posts: 10
Rep Power: 0
aloysiochagas is on a distinguished road
Question Re: Newsletter module

Hey Flep, in this module how can I do to use instance movieclip as button inside of movieclip. I try do this:


rodape.menu_mc.nl_mc.addEventListener(MouseEvent.MOUSE_DOWN, go);
function go(evt:MouseEvent):void
{
trace('go function');
_EMail = rodape.menu_mc.nlemail_txt.text;
_Name = rodape.menu_mc.nlnome_txt.text

if(EmailChecker.checkEMail(_EMail))
{
if(_Name!="")
{
if(_Name.length>=4)
{
switch(evt.target.name)
{
------>>>> case 'rodape.menu_mc.nl_mc':
action='registra';
cool(action);
break;

....


But I no success.
How I need to do that?

Thank you!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #20 (permalink)  
Old 02-09-08, 18:27
Junior Member
 
Join Date: Dec 2007
Posts: 10
Rep Power: 0
aloysiochagas is on a distinguished road
Re: Newsletter module

Ok, I found the solution.

=)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Modulo per newsletter Flep Utilità di FlepStudio 49 27-11-08 05:07
Actionscript 3 Newsletter Module. aloysiochagas Actionscript 3.0 newbies 0 02-09-08 19:14
modulo newsletter talkeim AIUTO utilità free 3 29-02-08 12:57
Modulo newsletter Flep Flash CS3 | PHP | mySQL 58 15-11-07 15:28


All times are GMT. The time now is 20:31.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406