View unanswered posts | View active topics


Reply to topic  [ 5 posts ] 
Spanish Tutorial about Flashdevelop 
Author Message
Member

Joined: Mon Apr 24, 2006 1:53 pm
Posts: 4
Post Spanish Tutorial about Flashdevelop
Hello,

First of all, my english is a little bad, although I only said that i make a tutorial for flashdevelop in spanish.

This url is: http://blog.sergioalvarez.net/?p=25

I think that this is a interesting and important osflash tool.

_________________
________________________

...sErGiO...

http://blog.sergioalvarez.net


Mon Apr 24, 2006 2:04 pm
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10746
Location: Paris, France
Post 
Thanks a lot for this spanish introduction to FD :)
I added a link to your post in the tutorials thread.


Mon Apr 24, 2006 2:31 pm
Profile WWW
Member

Joined: Thu Feb 09, 2006 10:58 am
Posts: 943
Location: Israel
Post 
From "WordLingo" Translator:

FlashDevelop it is an application Open Source created mainly for the development with ActionScript 2.0, although serve in addition like publisher for other languages like Javascript, HTML, CSS or XML.


FlashDevelop serves so much as publisher as ActionScript 2.0, like own free surroundings of development since Integra MTASC what an alternative is made of this application very consider for the development of aplications in ActionScritp 2.0.

More information on the basic characteristicses of this application in osflash, and in the own one page of the project.

Next, in 5 simple steps I will explain the way to create ours Hello World from FlashDevelop.

1.- Unloading and Installation.

The first step is to unload the last stable version of FlashDevelop. I in this tutorial am using version 2.0.0 RC2 available from here. Trֳ¡s the unloading is due to come to the installation. The installation does not have because to give many problems since he is so simple to install as any other program more of Windows.

2.- New Project.

Once installed we executed FlashDevelop and we will create a New Project. For it we opened the option of the menu ' Proyect - New Proyect..'.

Image

We will select the option of Standard Proyect and indicated the location where we will keep our project.

This will generate the following structure automatically to us:

Image

3.- New HolaMundo Class.ace

We will create the following class, where we will create a text box and we will leave to our message ' Hello World '.

For it, he is as simple as to go to the menu ' File-New' and to add the following code:

Actionscript:

Code:
class HolaMundo{
public function HolaMundo() {
to var miTxt = new TextFormat();
miTxt.font = "Tahoma";
miTxt.size = 12;
_ root.createTextField("miCaja", 1, 20, 20, 0, 0);
_ root.miCaja.selectable = true;
_ root.miCaja.to border = true;
_ root.miCaja.autoSize = true;
_ root.miCaja.text = "Hello World  ";
_ root.miCaja.setTextFormat(miTxt);
}

We will keep it like HolaMundo.ace in the folder classes of our project

4.- Modification of the Main class of our project.

We will modify the main class of our project, where we will create an object of the HolaMundo class and will add the necessary parameters for that this class, together with the rest of our project can be compiled by MTASC.

The code will be the following one:

Actionscript:

Code:
/*
* @mtasc - swf c:\Main.swf - to header 500:400:24:EFEFEF - main
*/
class Main
{
public static function main():Void {
to var miPelicula: HolaMundo = new HolaMundo();
}
}

The first three lines serve to indicate to MTASC the compilation parameters.

These parameters are those that compiler MTASC needs for the compilation process, more information here . The way to introduce these parameters is the following one:

Actionscript:

Code:
/*
* @mtasc
*/

5.- Compilation.

FlashDevelp counts on the functionality to verify the correction of our ActionScript classes. For it the bar of tools of our application has the following button:

Image

The following bellboys serve to compile and to create our file swf.
Image
Image


After the correction of our classes and the compilation of our project, the final structure will be the following one:

Image

I hope that it serves to you as something, any doubt or commentary is welcome..

_________________
MovieClipCommander


Mon Apr 24, 2006 2:43 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10746
Location: Paris, France
Post 
There is an error in your tutorial: the @mtasc tag must be in a valid documentation comment (/** ... */) with 2 stars.
Code:
/**
* @mtasc ...
*/


Mon Apr 24, 2006 2:50 pm
Profile WWW
Member

Joined: Mon Apr 24, 2006 1:53 pm
Posts: 4
Post 
Thanks, I now correct the error.

_________________
________________________

...sErGiO...

http://blog.sergioalvarez.net


Wed Apr 26, 2006 8:05 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.