مشاهده نسخه کامل
: ایمیل با فلش
سلام
کسی می دونه چطور می تونم از طریق فلش صفحه ارسال میل بسازم ؟
*NashenaS*
15-04-2007, 13:21
سلام...
Requirements:
For this tutorial you will need a copy of Macromedia Flash.
INTRODUCTION:
In this tutorial we are going to look at three, very basic ways, of sending email from Flash using a standard HTML "mailto" routine. Each of the methods we will be looking at makes use of the visitors own email program to send the message. As such, there is no CGI or ASP scripting to worry about (I will be looking at using Flash MX forms with ASP next month).
The files used in this tutorial can be downloaded by clicking HERE ([ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ])
Please note that not all email programs support the "mailto" method.
The first method uses a standard Flash button to launch the visitors email program.
1/ Open a new movie and set up the stage size and background colour using the "Document Properties" window.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
2/ Select the "Text tool" from the tools panel.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
3/ Drag a text box onto the stage and enter some suitable text.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
4/ Make sure that "Static Text" is selected in the text properties window. Select a suitable font, font size and colour.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
5/ Repeat the process to add another block of static text to the bottom of the stage, this time asking the visitor to click on the button in order to send an email.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
6/ From the "Window" menu, select "Common Libraries" and "Buttons".
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
7/ Once the "Library" panel is open, choose yourself a suitable button from the menu and drag it onto the stage as shown.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
8/ If you wish, you can centralise the alignment of the text boxes and button by choosing "Align" from the "Window" menu........
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
9/ ..........and clicking on the controls as shown below.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
10/ Make sure that the button is selected and open the "Actions Panel" by clicking on the arrow next to the word "Actions".
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
11/ Once the "Actions Panel" is open, click on the options icon and ensure that "Normal Mode" is selected.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
12/ Open the "Movie Control" menu, which is a sub menu of the "Actions" menu. Double click "on" and choose "Release" from the pop up menu. You will see the "on (release) { }" command appear on line 1 in the window on the right hand side.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
13/ Now move to the "Browser / Network" sub menu of the "Actions" menu and double click on "getURL". In the "URL" text field enter "mailto:you@youraddress.com" substituting your own email address for the "you@youraddress.com" bit.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
14/ That's it. Choose "Test Movie" from the "Control" menu (or hit Ctrl + Enter) click on the button and the email program will open, ready for the visitor to compose and send a message.
Save your work and export or publish the swf file ready for use in your web page.
موفق باشین. :20:
M A T I N
15-04-2007, 19:16
نمی دونم منظورتون اونی که ناشناس گذاشت هست یا این :
ارسال ايميل از درون فايلهاي فلش ([ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ])
اینم انگلیسیش Send Email via Flash and PHP ([ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ])
...موفق باشی...
ممنون از راهنماییتون . خوشحالم که برای اولین بار جواب سوالم رو گرفتم .فکر کنم از راهی که جناب ناشناس گفتن در نهایت صفحه میل باز می شه و دوباره باید از همون جا میل رو send کرد .
منظورم همون راهی که از طریق کد php نوشته شده بود .اگه لینکی دارین که این کد رو باasp هم گفته ممنون می شم بذارین .
M A T I N
16-04-2007, 15:28
اگه لینکی دارین که این کد رو باasp هم گفته ممنون می شم بذاری
[/URL]
[URL="[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]"]Send Mail with PHP, ASP, or Perl ([ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ])
....موفق باشی....
vBulletin , Copyright ©2000-2025, Jelsoft Enterprises Ltd.