آموزش های جامع فلش ( فلاش ) و فروشگاه محصولاتalphapack

آموزش مختلف موضوعات فلش ( فلاش ) و جوک و طنز و زمینه های مختلف کامپیوتری

آموزش های جامع فلش ( فلاش ) و فروشگاه محصولاتalphapack

آموزش مختلف موضوعات فلش ( فلاش ) و جوک و طنز و زمینه های مختلف کامپیوتری

یک توصیه

علاقه مندان حتما کتاب های زیر را بخونند چون خیلی خیلی به درد می خوره در ضمن من می خوام آموزش ساخت بازی های سه بعدی رو در c++ شروع کنم اگه کسی موافقه نظر بده تا ما هم شروع کنیم............................

این یه مقاله که اونم من ننوشتم و از بازی نما گرفتم جالبه بخونید

بازی توپ و ماس----------------------سطح مقاله = مبتدی


خوب امروز یه مقاله راجب ساخت بازی با فلش برای دوستانی که تازه با فلش شروع به کار کردن درست کردم( البته بگما منم اول از همینا شروع کردم تا ....) بگذریم.


برای شروع ابتدا نرم افزار فلش را اجرا کنید

خوب سپس توسط ابزار سمت چپ گزینه Oval Tools (O) را برگزینید و توسط ماوس در صفحه سفید یک دایره ترسیم کنید ( کلیک چپ ماس رو نگه داشته و دایره رو ترسیم کنید)




سپس توسط ماس دایره را انتخاب کنید و کلید های ترکیبی Ctrl+F8 کیبرد را فشار دهید تا پنجره ای مطابق شکل زیر باز شود

Click this bar to view the full image.


سپس از پنل Type گزینه Button رو انتخاب کرده و در قسمت Name بنویسید Symbol 1 وسپس OK میزنید

سپس دو باره روی دایره دبل کلیک کرده تا وارد مد ویرایش آن شوید ( یا روش کلیک راست کرده و گزینه Edit را بزنید)

سپس در قسمت Time Line قسمت UP و Down و Over کلیک راست کرده و مطابق شکل گزینه
Insert KeyFrame انتخاب کرده حال اون فلش بالای تایم لاین را کلیک کرده تا به صفحه کاری یا همون Stage بر گردیم تبریک میگم شما موفق شدید تا یک دکمه بسازید.








حال دکمه را انتخاب کرده و دکمه F9 کیبرد را زده و قطعه کد زیر را بهش اضافه کنید.


کد:
on (press){
_root.gotoAndStop(2);
}



این کد میگه که اگه کاربر روی دایره کلیک کرد توجه داشته باشید یعنی فقط کلیک ماوس فشرده شد
برو به فریم 2 و همون جا بایست(ما الان در فریمه یکیم)





حال دوباره دایره را انتخاب کرده و دوباره کلیدهای ترکیبی Ctrl+F8 را زده و در پنجره بازی شده این بار گزینه مووی کلیپ را بر میگزینید. و در قسمت Name مینویسید Oval2 وسپس OK میزنید.

Click this bar to view the full image.

دوباره روی دایره دبل کلیک کرده و وارد مد ویرایش آن میشوید.

مطلبق شکل زیر پله به پله

http://i25.tinypic.com/5nq3o6.jpg



حال ما باید یه حرکت در محیط ایجاد کنیم


برای این کار ابتدا فریم 210 ( در نوار تایم لاین) را انتخاب کرده و یه فریم کلیدی ایجاد می کنیم(کلیک راست کرده و گزینه Insert KeyFrame را میزنیم.
http://i31.tinypic.com/sfcy6t.jpg

سپس در نوار تایم لاین روی لایه مورد نظر کلیک راست کرده و گزینه Add Motion Guide را می زنیم.

http://i27.tinypic.com/358q9zn.jpg


میبینیم که یک لایه جدید بالای لایه اولیه ما شکل میگیرد.حال لایه جدید را انتخاب کرده و یه خط مارپیچ توسط ابزار سمت چپ با نام Pencil Tool یا همون مداد ایجاد می کنیم.


http://i28.tinypic.com/2epsk6u.jpg



http://i30.tinypic.com/os78yd.jpg



توجه کنید که خط باید در لایه Motion Guide و دایره در لایه اول باید قرار بگیرد (از هم مجزا)

http://i29.tinypic.com/2ppd737.jpg


حال فریم اول در لایه اول ( لایه ای که دایره توشه ) رو انتخاب کرده و مرکز دایره را با ابتدای خط دقیق می کنیم.مطلبق شکل



http://i25.tinypic.com/10erlep.jpg



سپس فریم 210 در همون لایه اول ( لایه ای که توش دایره ) را انتخاب کرده سپس مرکز دایره را با انتهای خط وقف می دیم.

مطابق شکل


http://i25.tinypic.com/28tx92r.jpg



حال بر روی فریم 1 در لایه اول لایه ای که توش دایره قرمز کلیک کرده سپس دکمه Shift کیبرد را نگاه داشته و میرید به فریم 210 اونو با ماس نتخاب میکنید و روش راست کلیک کرده و گزینه Create Motion Tween میزنید


http://i25.tinypic.com/rlgswo.jpg




تبریک میگم شما موفق شدید برای دایره یه تعیین مسیر کنید


حال توسط همون فلش بالای تایم لاین به محیط اصلی برگشته صفحه Stage


حال در صفحه اصلی و در نوار بالای تایم لاین روی فریم 2 کلیک و گزینه Insert KeyFrame
را می زنیم و هر چی تو اون فریم با دکمه دلیت کیبرد پاک میکنیم حال دوباره فریم 1 را انتخاب کرده و دکمه F9 کیبرد را زده و دستور زیر را درش تایپ می کنیم



کد:
stop();

برای فریم 2 هم همین کار را میکنیم


حال در فریم 2 توسط ابزار نوشتن یا همون T یه چیز می نویسیم مثلا می نویسیم شما موفق شدید البته اگه می خواد فارسی بنویسید باید از فارسی ساز ها استفاده کنید.سپس در همون فریم 2 یه دکمه می سازید (دکمه ساختن هم یاد گرفتید) سپس دکمه را انتخاب کرده و دکمه F9 کیبرد را زده و کد زیر را بهش اضافه میکنیم



کد:
on (press){
_root.gotoAndStop(1);
}

این کد میگه که اگه کاربر روی دکمه کلیک کرد برو به فریم 1 و همون جا بایست(ما الان در فریمه دومیم)


حال دکمه های ترکیبی Ctrl+Enter را زده اگه همه چیز درست باشه دایره با سرعت حرکت میکنه و اگه شما بتونید روش کلیک کنید برنده میشید و به فریم دو میرید و در فریم 2 اگه اون دکمه رو بزنید دوباره به فریم 1 رفته و بازی مجددا شروع میشه اینم یه بازی برای شما دوستان که در اصل بازی با دکمه ها است شما در این مقاله تونستید دکمه بسازید مووی کلیپ بسازید تعیین مسیر کنید کد نویسی کنید و.....

همچنین شما میتونید اون مسیرو پر پیچو خم ترش کنید تا بازی سختر بشه.(البته میشه تایمر هم گذاشت)

موفق باشید

محمد.

اینم فایله fla برای دانلود
فایل ضمیمه
نوع فایل: zip Ball And Mouse.zip (11.8 کیلو بایت, 12 نمایش)
mohammad.s آفلاین است  

۲۰ عنوان کتاب برای دوستان عزیز

سلام چند وقت بود که اصلا آپ نمی کردم چون کسی نظری نداد ما هم بی خیال وبلاگ شدیم اما بازم هوای اونو دارم و چون تابستانه به شما توصیه می کنم کتاب های فلش (فلاش) زیر رو مطالعه کنید خیلی کار سازه

0 کتاب آموزش فلاش اکشن اسکریپت : 20 eBook Collection for Flash Action Scripting

20 کتاب آموزش فلاش اکشن اسکریپت : 20 eBook Collection for Flash Action Scripting



 


01 - 01 - Action Script Animation - Making Things Move (CHM)



This is not a book about programming; it’s about magic. Within its covers you will find the potions and spells that will hopefully lead you on your own artistic journey of programming. Welcome artist, programmer, magician. Get ready for an amazing adventure!


http://rapidshare.com/files/95396655/F01.rar


=====

02 - ActionScripting In Flash (PDF)



Building a linear animation or moderately interactive Flash movie is relatively simple. With the upgrade from Flash 4 to Flash 5, ActionScripting has become an even more crucial and powerful part of the product. Tapping the vast programming capabilities of Flash, however, requires more than brute programming skill--it requires a keen understanding of how to apply scripting to specific tasks. This book concentrates on practical applications for Flash programming. The book is structured into three parts: Foundation knowledge (general programming theory applied to Flash with short tasks to demonstrate specific concepts); Applied workshop (more involved tasks broken into three parts each--design discussion, the building steps, and analysis with suggestions of variation); and, Reference (which provides a concise listing of some of the more useful elements in ActionScript).


http://rapidshare.com/files/95397094/F02.rar


=====

03 - ActionScript 2.0 Garage (CHM)



Top ActionScripter Dan Livingston shows you , teaches you skills, and inflames your passion to create "do-the-impossible" Flash content. It's all here: forms, validation, styles, skins, data integration, XML, RSS, classes, objects, events, listeners, menu systems, masks, preloaders, ActionScript 2.0 architecture, UI components, and more--all with serious downloadable examples. Inspired. Stunningly useful. Think 'zine. Think blog. But, please, do not think of any other ActionScript book you've ever seen.


http://rapidshare.com/files/95397360/F03.rar


=====

04 - ActionScript for Flash 8 with Exercises (PDF)



ActionScript is, quite simply, the driving force behind Flash applications, allowing you to go beyond simple tweened animations and give your movies intelligence, power, and class! The current version of ActionScript in Flash 8, 2.0, is a fully featured, very powerful programming language.


http://rapidshare.com/files/95398829/F04.rar


=====

05 - ActionScript Cookbook (CHM)



The ActionScript Cookbook is written with all levels of ActionScript developers in mind—people like you, who want practical solutions to common problems. Keep this book next to your computer to tackle programming challenges such as how to use ActionScript to draw a circle or load images at runtime, or work with Flash Communication Server (FlashCom) and Flash Remoting. This book is filled with exciting yet accessible and practical examples, solutions, and insights into the situations that Flash and ActionScript developers are sure to encounter.


http://rapidshare.com/files/95398933/F05.rar


=====

06 - Essential Actionscript 2.0 (CHM)



ActionScript 2.0 introduces a formal object-oriented programming (OOP) syntax and methodology for creating Flash applications. Compared to traditional timeline-based development techniques, ActionScript 2.0's OOP-based development techniques typically make applications


http://rapidshare.com/files/95399441/F06.rar


=====

07 - Flash 8 ActionScript Bible (PDF)



Flash has begun to mature as a product, and ActionScript has begun to mature as a language. That represents both opportunity and challenge to you. As a mature language, ActionScript provides a broad spectrum of features and functionality. The possibilities are limitless: There is great opportunity to build new, innovative, useful, and interesting applications using Flash and ActionScript. However, with that opportunity comes the challenge of learning how to use ActionScript effectively. If you want to express your thoughts and feelings well, you need the right language for communicating them. Likewise, with ActionScript the challenge is to learn the language so that there is a natural flow of expression that is seamless from its conception to its manifestation in .


http://rapidshare.com/files/95399636/F07.rar


=====

08 - Flash ActionScript (PDF)



Flash ActionScript: Your visual blueprint for creating Flashenhanced Web sites uses straightforward examples to teach you how to create powerful and dynamic Web sites. The coding style and examples found in this book are used for instructional purposes. Once you are comfortable working with Flash ActionScript, you can use the coding styles and methods that suit your needs


http://rapidshare.com/files/95400205/F08.rar


=====

09 - Flash ActionScript For Designers (PDF)



Web site designers tend to avoid like the plague anything resembling programming . Web site developers, on the other hand, like the cold, hard logic of with names like JavaScript, PERL, and CGI. When Web site designers use Flash as a tool for animation, they also have a tendency to shy away from Flash’s programming language, ActionScript, using only the most basic actions to add minimum interactivity to their designs. Designers using Flash tend to populate their designs with pretty graphics, a text effect or two, and tweened animations. However, by not stretching the ActionScript envelope, many designers are missing the gusto and impact that can be part of a Flash Web design.


http://rapidshare.com/files/95400680/F09.rar


=====

10 - Flash MX Advanced for Windows (PDF)

Ready to take your Flash knowledge to the next level? Then Macromedia Flash MX Advanced for Windows and Macintosh: Visual QuickPro Guide is your ticket. Designed for professionals like yourself-users who have mastered the basics of Flash but need help with the advanced animation techniques and ActionScripting--this guide is a must-have for graphic designers, Web animators, game programmers, interface designers, and multimedia pros.




http://rapidshare.com/files/95401241/F10.rar


=====

11 - Learn Programming with Flash MX (CHM)



Step inside the world of the Learn Programming with Flash MX class, where you will meet a group of fellow students and learn alongside them all about programming using ActionScript in Flash MX.
Under instructor Ken Jokol's guidance, you'll learn core programming principles and use them to create an exciting final case study.


http://rapidshare.com/files/95401924/F11.rar


=====

12 - Object Oriented Programming with ActionScript 2.0 (CHM)



I'd like to think of this as a real page-turner, a who-done-it that will keep you up at night guessing what's going to come next. Of course, this book is really just an attempt to help bring about an understanding of object-oriented programming (OOP), ActionScript 2.0, and the interaction of the two.


http://rapidshare.com/files/95402256/F12.rar


=====

13 - Foundation Actionscript 3.0 Animation - Making Things Move (PDF)



This version of the book is essentially the same book, converted to ActionScript 3. The same basic formulas and techniques are covered that were covered in the first version, in roughly the same order. I would have liked to get into some new, additional techniques, but there was little that I could really cut out of the existing text, and in fact, even covering those same basics takes up a lot more space in ActionScript 3, as virtually every example here is contained in its own full class. But although the same basic topics are covered, it was still quite a bit of work, considering the massive changes this version of ActionScript has brought us.


http://rapidshare.com/files/95402534/F13.rar


=====

14 - Foundation ActionScript 3.0 with Flash CS3 and Flex (PDF)



If you’re a curious type, you might be wondering about ECMAScript. ECMAScript is a programming language defined by a standards body known as Ecma International (which used to be the European Computer Manufacturers Association before it changed its name). This organization helps create, define, and promote standardization for all sorts of highly technical stuff. ECMAScript was created in 1997 with the aim of solving the incompatibilities between the different implementations of JavaScript found in Internet Explorer. (In fact, Microsoft’s version was so different that it was called it JScript rather than JavaScript.) ECMAScript has since become the de facto standard for scripting languages on the Internet, which is why Macromedia (now Adobe) decided to adopt the standard for its new Flash scripting language.


http://rapidshare.com/files/95402911/F14.rar


=====

15 - ActionScript 3.0 Bible (PDF)



ActionScript 3.0 is the third major incarnation of the ActionScript language. Previously, ActionScript was used primarily to develop Flash content. Now ActionScript is being applied in an increasing variety of contexts, and it is a mature technology in its own right. ActionScript 3.0 Bible was written with this in mind, while additional offerings from Wiley provide focused training for the tools that use ActionScript 3.0.
The Flash Bible series continues with Adobe Flash CS3 Professional Bible (Reinhardt and Dowd, 2007). Rely on Adobe Flash CS3 Professional Bible to learn the ins and outs of the latest version of Flash, such as using the timeline, the library, and drawing tools. The Flash Bible series can get you started with ActionScript, but it is not a comprehensive reference for programming topics in Flash. If you plan on using Flash to develop your ActionScript projects, we recommend using Adobe Flash CS3 Professional Bible as a complement to this book.


http://rapidshare.com/files/95403433/F15.rar


=====

16 - The Flash Anthology Cool Effects and Practical ActionScript - 2004 (PDF)



The problem for most fledgling developers is that, although they may know what they want to do, they don’t know how to do it. Perhaps they see the ActionScript Reference Panel and Actions Panel and think, “Whoa, I’m not going near that!” This is where Flash turns most people off. New users tend to either keep to the fringes and miss out on the real power, or they leave the application alone completely. But, it needn’t be that way. The use of ActionScript to create effects needn’t be an overwhelming experience. In fact, from animation to video, Action-Script can help you achieve your wildest Flash goals. The process can be easy, provided the ’s broken into manageable, bite-sized chunks.


http://rapidshare.com/files/95403688/F16.rar


=====

17 - ActionScript 3.0 Design Patterns Jul.2007 (PDF)



Given the range of ActionScript programming backgrounds, we’re bound to be too difficult for some and too simplistic for others. However, this book’s overall goal is to explain how to use different design patterns. We targeted whom we considered intermediate level ActionScript developers. We’ve provided everything the intermediate level developer will need to move to the advanced level. For the advanced user, we provide explanations and examples of how to use design patterns with Action-Script 3.0.


http://rapidshare.com/files/95403918/F17.rar


=====

18 - Object Oriented ActionScript 3.0 Jul.2007 (PDF)



As you’ll no doubt know, Adobe revolutionized ActionScript when it introduced ActionScript 3.0. Far from being a minor overhaul, it’s a complete update—we think it’s fair to say that the language has been reinvented as a full-scale proper programming language, with many things vastly improved, such as the way it handles events and XML, and some very cool additions, such as regular expressions, a standardized event model, and a new Display List API for working with visual objects much more effectively. But one of the biggest overriding things to note involves object orientation: whereas with ActionScript 2.0, it was possible, and certainly beneficial, to your applications the OO way, with ActionScript 3.0 it is completely mandatory.


http://rapidshare.com/files/95404961/F18.rar


=====

19 - Essential ActionScript 3.0 Jun.2007 (PDF)



This book explores ActionScript from a programmer’s perspective but assumes no prior programming knowledge. If you have never programmed before, start with Chapter 1. It will guide you through the very basics of ActionScript, demystifying terms like variable, method, class, and object. Then continue through the book sequentially. Each chapter builds on the previous chapter’s concepts, introducing new topics in a single, prolonged narrative that will guide you on your journey to ActionScript proficiency.


http://rapidshare.com/files/95405180/F19.rar


=====

20 - Server-Side Flash Scripts Databases and Dynamic Development (PDF)
(An old but good book)



This book is designed for the Flash Web developer and/or designer who wants to take the next step and enter the server-side world of the Web using Flash 5. To many Flash developers, the server side of the Web seems shrouded in mystery and complexity, and we want to open up this exciting new world where Flash 5 can be employed. Readers should be familiar with both Flash 5 and Flash 5 ActionScript. You don’t need to be an expert in Flash or ActionScript, but you should have some experience using both.

http://rapidshare.com/files/95405615/F20.rar
farsilearning  به نقل از