Test Inked-World Now!

Hello!

Now everyone can test the website  www.inked-world.com. The main purpose of that is to make more people start using our website. We are trying to make the best possible Tattoo and Piercing community website on the Internet.

Test the website with the demo profiles and if you feel good about it please register its 100% Free!

If you leave some feedback will be great!

Thanks! Keep on trollin


Tags: , , , , ,

Flash AS 3.0 – Easy positioning on the stage by code.

Sometimes when you work on different projects you might want to keep things on exactly the same place you want but when someone else view your project on different screen resolution it might change.  This little tutorial will show you how to position movie clip on the stage by simple code.

Positioning can be very useful if you are creating flash website. Also positioning is very useful when you want to position some of your objects from your library without putting them in the stage. I will do tutorial how to do that next time.


1) Open Flash And choose AS3. ( I am working with Flash CS4 but CS3 works fine too)

AS3

AS3

2) Make simple box on the stage, select the box and convert it to movie clip by clicking Modify –> Convert to Symbol… or just press F8 on your keyboard.

Name the box.( the name doesen`t matter)

The box

3) Give the box instance name from your properties panel. (“Give it a name of myobjecrt_mc”)

Our object

Our object

4)Go to your first frame. Select it and open your Action Panel by clicking F9 on your keyboard or go to Window –> Actions.

When you open your Action Panel it should look like this:

Actions Panel

Actions Panel

5)  Now lest code…

Type:

myobjecrt_mc.x = 0;
myobjecrt_mc.y = 0;

And then test your movie by control + enter on your keyboard. You will see that your box is at the top left corner. Play a bit more with your X and Y propertyes and you will get the positioning easy.

I will show you more about X and Y positioning in the next tutorial. Don`t be afraid to ask if you don`t understand something.

Tags: , , , , , , , , ,

Flash Action Script 3.0 – Returning values

Here is a little example how to trace values from function:

function theName():Number
{

var number1:Number = 4.32;
var number2:Number = 2.31;
return number1 + number2
}
trace(theName());

1) Ok this simple example shows a function called theNamer with data type number.

2) In the function I have created two variables. If you don`t know what variable is and you don’t know how to create one please read here.

3) The first variable is called number1 and the data type is Number.

4) The second variable is called number2 and again the data type is Number.

5) This might be a new function to you but with the word return you can return the values, its that simple :) . So in my example i have return number1 + number2. It`s like 4.32 + 2.31.

6) On the end I have traced the whole function and this will calculate the answer and show it in the output box.

Please comment

Tags: , , , , , , , , ,

Sketches

Step by step photos:

1)

Inked-World Web Design Start

Inked-World Web Design 2

3)

Inked-World Web Design 3

4)

Inked-World Web Design 4

5)

Inked-World Web Design 5

6)

Inked-World Web Design 6

7)

Inked-World Web Design 7

8 )

Inked-World Web Design 8

9)

Inked-World Web Design 9

10)

Inked-World Web Design 10

11)

Inked-World Web Design 11

12)

Inked-World Web Design 12

13)

Inked-World Web Design 13

14)

Inked-World Web Design 14

15)

Inked-World Web Design 15

16)

Inked-World Web Design 16

17)

Inked-World Web Design 17

18)

Inked-World Web Design 18

19)

Inked-World Web Design 19

20)

Inked-World Web Design 20

Editing my First Video – Making it Vector

Editin the video


Tags: , , , , , ,

Project – Bulgarian Flash MAP

This is my latest project. The project was about creating a Bulgarian Flash Map which is getting data form XML.

I created that for Web Development company based at Bulgaria. You will be able to see the map live soon.

BG Flash map

BG Flash map

Tags: , ,

Facebook Song

Tags: ,

Twitter Tells Users To Go Fµ©k Themselves – Comedy

Tags: , ,

Flash AS 3.0 – Functions


OK. Functions are re-usable blocks of code and they are used to preform repetative tasks.  Flash alredy has built in functions for example stop(); and trace();


I have created simple animation which aways loops.


Example:

Animation


To stop the movie from looping just press f9 on your keyboard on the last frame and paste the code:

stop();

flash function stop();


Tags: , , , , , ,

Flash CS4 Action Script 3.0 – Different data types

ActionScript 3 primitive (prime) data types

  • Boolean – The Boolean data type has only two possible values: true and false or 1 and 0. No other values are valid.
  • int – The int data type is a 32-bit integer between -2,147,483,648 and 2,147,483,647.
  • Null – The Null data type contains only one value, null. This is the default value for the String data type and all classes that define complex data types, including the Object class.
  • Number – The Number data type can represent integers, unsigned integers, and floating-point numbers. The Number data type uses the 64-bit double-precision format as specified by the IEEE Standard for Binary Floating-Point Arithmetic (IEEE-754).
  • String – The String data type represents a sequence of 16-bit characters. Strings are stored internally as Unicode characters, using the UTF-16 format. Previous versions of Flash used the UTF-8 format.
  • uint – The uint (Unsigned Integer) data type is a 32-bit unsigned integer between 0 and 4,294,967,295.
  • void – The void data type contains only one value, undefined. In previous versions of ActionScript, undefined was the default value for instances of the Object class. In ActionScript 3.0, the default value for Object instances is null.

Trace int

Open flash on Action Script 3, select the first frame and press F9 on your keyboard.

Copy the code.

var myNum:int = 3;

trace(myNum);

Press control + enter on your keyboard to test to code.


Tags: , , , , , , , , , , , , ,

Flash CS4 Action Script 3.0 – Assigning variable values

If you have a look of the tutorial how to create flash as3 variables you have seen already assigned values to variable. Sometimes when you create different applications you might want to change or add that variable value later. Here is a simple code how to do that.

var vName:String;

Name = “Raddy”;

var – creating the variable.

vName – the name of the variable.

: – defining what type of data is the variable going to be.

String – this means that the variable is going to be text.

; – closing the code.

vName = “Raddy”; This means that the variable name vName is equal to the value Raddy.

To test this code you can simply use trace statement.

trace(vName); This code must print the Raddy.

Output Trace The value

Output Trace The value

Tags: , , , , , , ,