Actionscript 3 tutorials
Hi there,
I've been working with actionscript 1 and 2 for a while now
and I was wondering I anyone knows some good website that offer
actionscript 3 tutorials?
Thanks in advance,
Guido
Creation site internet |
Radins
|
Jeux Concours |
Programme TV
Thanks marer1976.
I heared about lynda.com before but I never looked. But the
website is really good!! I looked and there are plenty of movie
tutorials. I think this will deffinatly help me on my way.
Greetings,
Guido
Creation site internet |
Radin
|
Jeu Concours |
Programme TV
Similar Messages
-
Two new ActionScript 3 tutorials.
I have added the next two tutorials in the ActionScript 3
series. These two tutorials are on the Timer Event in ActionScript
3. They are over 1 hour and discuss and demonstrate uses of the new
Timer Event class in ActionScript 3. This brings our total to 12
tutorials on the ActionScript 3 programming language, which is over
6 hours on ActionScript 3 fundamentals.
Let me know what you think about the format and the content
and I will keep them coming. The next group of tutorials that will
be added is a two part series on the capabilities of Drag &
Drop in ActionScript 3. This group was a special requested and I
have almost completed them, they will be added next weekend.
I hope you enjoy them and I will see you in the forums.
Mike
www.FocusOnFlash.comThanks marer1976.
I heared about lynda.com before but I never looked. But the
website is really good!! I looked and there are plenty of movie
tutorials. I think this will deffinatly help me on my way.
Greetings,
Guido
Creation site internet |
Radin
|
Jeu Concours |
Programme TV -
Actionscript with particle systems
I want to apply particle systems into actionscript3,because I know particle systems can create many special effects,but I only know actionscript grammer and don't know any particle systems knowledge,anyone could tell me some books about actionscript with particle systems?
ThanksHere few links (I never tried though):
http://www.actionscript.org/resources/articles/607/1/A-simple-particle-system-using-Action script-3/Page1.html
http://www.lynda.com/ActionScript-3-tutorials/building-particle-systems/573-2.html
http://www.lemlinh.com/flash-tutorial-create-cool-particle-systems-5-how-to-articles-on-as 3/ -
Add one character at a time from External Text file
Hi,
I'm using Flash 8, and I have created a standard Dynamic
field that pulls the text from an external text file using the
LoadVars function and it works fine.
To get the correct effect for the design, I would like to be
able to create the illusion that the characters are being typed out
when the page loads as if someone has started typing and also hear
the "Typewriter Clack" each time a character appears.
The only place I have found an example is on the Syphon
Filter Game website which seems to have created the illusion
perfectly:
http://www.syphonfilterdarkmirror-thegame.com/en_IE/
(Check out the bottom right section)
I could create a Movieclip and add a character each frame
but, I would like to be able to edit the text when required via a
text file or even ASP or PHP if neccessary.
Any help would be grateful.
Cheersor here:
http://www.actionscripts.org/tutorials/beginner/Scripted_Typerwriter/index.shtml -
Help needed in making a login screen
hi all,
i need to make a login screen in flash in which a user enters
a password and username and both are checked from an xml file. i
need your help in making it. could anyone redirect me to some
tutorial or if anyone can post the code here, i would really be
grateful to you. thanks,
gauravFirst you need to load the xml file that contains the list of
user names and passwords into variables using actionscript.
Use this tutorial.
http://www.actionscript.org/tutorials/intermediate/XML/index.shtml
Then compare the value entered by the user with the list of
usernames and passwords.
But be aware:
1>All the processing happens on the client machine
2>Extremely insecure if you are after a secure login.
3>and when you update the XML file it won't necessarily
take effect immediately on all the user's machines as they may be
using a cached version of it.
Ideal method is to use server side validation script using
asp, asp.net, jsp or php. -
How to make player interact with game world objects?
I am trying to make a side scrolling rpg game similar to South Park Stick of Truth. Right now I have the player done and i sketched the outline of the room i wanted in order to test the the collision detector. So right now there are only 4 classes. The main class that adds the walls, player and does something with the constants class.The walls class that doesn't really do anything. The player class that moves with keyboard input, test for collisions with the walls and initiates the walking animation. There is also a constants class that i don't really know how it works but based on tutorials I have seen they want me to use it. I want to add different things in the room that when the player gets close enough to, it allows the person playing to press a button and it will interact with it. It could be for making a small animation, having the player do some different dialog or have a closer look at the object. I can't find any tutorial on how to do that. All the actionscript 3 tutorials are for really simple shooter and platform games that don't interact with the game world at all. Any help would be greatly appreciated.
You could make all of your "interactable" objects implement an interface. Say for example your Interface defines showButton() and hideButton() functions. Then, when you detect a collision on any of these objects, you call showButton(). The button can be set up to dispatch an event that your Main Class is listening for. For example, this might be a custom MoreInfoEvent that has its own "infoItem" property in addition to the other properties Event has.
The code might look like this:
protected function onButtonClick(e:MouseEvent):void {
dispatchEvent(new MoreInfoEvent(MoreInfoEvent.SHOW_INFO, true, "rockObject"));
Then the MainClass would do something like this:
protected function onMoreInfoEvent(e:MoreInfoEvent):void {
switch(e.infoItem) {
case "rockObject":
rockInfo.visible=true;
break;
//other case statements for other info
default:
break;
If you don't know how to create a custom event, there are a lot of tutorials for that. -
Help, a newbie flash user.
First of all, I think flash 8 is a great program .I have a
slight problem though, I dont see the names of the layers anymore!
I have the box and everything but theres no name. How do I fix
this?Hi,
You could start with Adobe TV. There is a lot of videos about Flash and Actionscript 3 tutorials.
I also suscribe to Lynda.com, the online training library. A lot of tutorials on Flash and Actionscript with excercice files. Great !
I go at goToAndLearn.com. Lee Brimelow, an Adobe Evangelist, post some free tutorials and he is a great trainer ! I love his tutorials !
These are my favorites ...
Hope this help !
Martin
www.martinc.biz -
Publishing to Flash 8 / 6 differences?
I have created a button that when pressed, moves a picture to
the right in a smooth slide (this is for browsing through
thumbnails of pics). When published to Flash 6 it works perfectly,
but when publishing to Flash 8 it doesn't work. I have to publish
to 8 because I have FLVPlayback flash video objects. Can anyone
help as to how to make it work on Flash 8?
The button code ActionScript is:
on (release) {
if (targetx>-500) {
targetx -= +78;
The picture ActionScript is:
onClipEvent (load) {
accel = 0.1;
rate = 0.2;
targetx = 0;
onClipEvent (enterFrame) {
x = x*accel+(targetx-_x)*rate;
_x += x;
if (Math.abs(targetx-_x)<1) {
_x = targetx;
Thanks!Hi,
First i suggest to datatype your variables event if in your
case it will not solve your problem but its a good habit to take.
example:
var accel:Number = 0.1;
var rate:Number = 0.2;
var targetx:Number = 0;
So now in order to help you a suggest to use the Tween Class.
It is not really hard to use and it does quite a good job to move
things around or for alpha fade and also for so many other use.
Here is a really good tutorial for the Tween Class:
http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/index.shtml -
Calling Flash Gurus-
I am building my FIRST flash site. I have been doing effects,
headers, and basic flash elements for websites now for almost 2
years. I have MX 2004, but have just bought (today) Studio 8. I am
scared to death, but sometime I have to jump head first into flash
site design. I am excited. However, I am also scared out of my
mind. I have a few questions:
#1-Is a site set to the size of 780 W by 480 H a good size? I
see so many TINY flash sites, and that is not something I want. How
can I optimize it for the fastest load time at that size? Any
tutorials or books that can help me there?
#2-Navigation-I wanted to build a nav that slide out from the
side of the site like on the Gucci site, I know it is javascript,
but I have seen this done with Flash before (
http://www.gucci.com/us/index2.html),
and instead of rollovers, there is a tsunami effect that I like
that could be found here:
http://www.actionscripts.org/tutorials/advanced/Building_a_tsunami/index.shtml.
HOW would I create buttons? Invisible buttons? How can I get them
to move out with the menu?
#3-Am I biting of more than I can chew?
#4-Where can I get the advice I need that explains the basic
actionscript and standards of flash site design? I just need
something to help me along. I am determined and will work day and
night to make this happen. I have a VERY basic understanding
already, I bought a flash template and looked at all the code to
see how everything worked. I need something a little beyond basic
that give comprehensive explanations about the actionscripting
behind all the effects. I am not a copy and paste guy, I need to
understand what is going on.
That is it for now, I am sure here in the next few weeks, you
will all be so sick of seeing my posts here that you may even avoid
the forums until I finish my site. Lol. Seriously though, thanks in
advance for all the help. I need every bit I can get.First when you finish with the site, go to publish
settings> HTML tab> Dimensions> Percent (width and Height
must be 100)
Then go down to scale> No scale (from drop down menu).
Select publish. Now when you go to publish preview select
view>source. In the code insert the following in the head tab.
<style type="text/css">
<!--
body {
height: 100%;
width: 100%;
margin: 0;
-->
</style>
Save and refresh the page. This makes the window fill without
you having to resize your fla file. I usually make mine 800/600. On
the other stuff, I'm gonna have to get back with you, -
Tween Class Tuturial (k)
I am brand new to the Tween class. Would like to use it to
animate some
text.
Don't know where to start. Is there a good tuturial
somewhere? The one
on Adobe is complicated.
Need a no-brainer version.
-KirkTween class is in some ways just really verbose, so it always
take a little bit to get into. The documentation shipped with Flash
is a good reference to see how it works. This is the best tutorial
I've seen:
http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/ -
can anyone please help me.
i'm using Flash 8 and have made my connection to a coldfusion
database using components.
There is a section of my project where im calling the
database to return a true or false value into a text box.
My problem is that i want the value to show as a tick or
cross. Does anyone know how to do this. Or even change the value to
an image.??
thanks
mikI don't know how to put images in a textbox, but if you do
find out I think the code would be something like this:
if (value == true)
textbox.text = (code to display tick image);
else
textbox.text = (code for cross image);
I just searched and found an article on putting images in
textboxes:
http://www.actionscripts.org/tutorials/intermediate/load_images_via_XML/index.shtml -
Captivate 2.0 - Publishing to Flash 8.0
Hi,
I am using Captivate 2.0 to create approx. 80 slide software
demonstration with voice. The demo is about 7:30. Towards the later
part of the demo, I get choppy audio. I have tried moving the sound
file to start .5 - 1 sec later in the slide, and sometimes this
seems to help. However, I have tried to publish 10+ X & never
do I get a clean audio.
Any suggestions?
Thanks in advance for taking the time.Hi,
First i suggest to datatype your variables event if in your
case it will not solve your problem but its a good habit to take.
example:
var accel:Number = 0.1;
var rate:Number = 0.2;
var targetx:Number = 0;
So now in order to help you a suggest to use the Tween Class.
It is not really hard to use and it does quite a good job to move
things around or for alpha fade and also for so many other use.
Here is a really good tutorial for the Tween Class:
http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/index.shtml -
Real quick,
Does anyone have any ideas as to how to make a movieclip
appear to float in the air? I want it to stay within... say 40
pixels of its original x and y coordinates. I'm just not that good
at making visual effects, I'm more into data integration. Thanks!
Samhey, i just signed up and posted my own question, so i
thought that in the spirit of reciprocity, i'd try and answer a
few....
place this code on the first frame of the movie that you want
to float:
var xMin:Number = this._x - 10
var xMax:Number = this._x + 10
var yMin:Number = this._y - 10
var yMax:Number = this._y + 10
var tSec:Number = 1 //number of seconds for the tween to
take, and how often to start a new tween
var me:MovieClip = this
function newTween(){
//adjust the easing class as needed
//see the different easing classes at:
http://www.actionscript.org/tutorials/advanced/Tween-Easing_Classes_Documented/index.shtml
var xNew:Number = (Math.random()*(xMax-xMin)) + xMin
var yNew:Number = (Math.random()*(yMax-yMin)) + yMin
xTween = new mx.transitions.Tween(me, "_x",
mx.transitions.easing.Regular.easeInOut, me._x, xNew, tSec, true)
yTween = new mx.transitions.Tween(me, "_y",
mx.transitions.easing.Regular.easeInOut, me._y, yNew, tSec, true)
var IntID:Number = setInterval(newTween,tSec*1000) //use
IntID to clear the interval later if needed
hope that helped -
Gettting classes to display in code editor
Is there anyway to have classes defined in external AS files
to bring up a list of public methods when you are reffering to an
instance of the class.....
so when i type;
myInstance. <- Then a drop down list would appear with my
methods?
Thanks for your help,
Lucas"SMB" <[email protected]> wrote in message
news:eeve94$nu0$[email protected]..
>
> "wally_errrr" <[email protected]> wrote
in message
> news:eevags$jmc$[email protected]..
>> Is there anyway to have classes defined in external
AS files to bring up
>> a list
>> of public methods when you are reffering to an
instance of the class.....
>>
>> so when i type;
>>
>> myInstance. <- Then a drop down list would appear
>> with
>> my methods?
>>
>> Thanks for your help,
>>
>> Nathan
>>
>
> I investigated this myself a while back. Nobody knew if
it was possible,
> and poking around yielded nothing.
>
> Hopefully there will be some sort of builtin help
function that show help
> docs --- I'll keep dreaming.
>
> SMB
I did some more digging today and found this...
http://www.actionscripts.org/tutorials/intermediate/Using_ASSetPropFlags/index.shtml
not exactly what you were looking for, but I am happy with
it. -
ok so I loaded 2 swf files into 2 different movies, mc1 +
mc2, and when mc1 finished loading i told mc2 to unload, and when
the next button is clicked mc1 suppose to unload and mc2 suppose to
load the movie and play the song, mc1 unloads fine, and i think mc2
loads fine but the song doesnt start, the song only plays when i
hit the pause or stop button and hit play. So basically the
mc2.loadMovie doesnt play the movie immediately like it suppose to.
In the swf file called song2, the song is set to start when loaded.
Any ideas?Hmm... perhaps u should try the MovieClipLoader instead, it
has better control of ur loading process...
Tjeck out this tut:
http://www.actionscript.org/tutorials/intermediate/MovieClipLoader_in_Flash_MX_2004/index. shtml
Maybe you are looking for
-
How to use the table maintenance events for validating the input entries..?
Hi, I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it
-
Hi, I have recently been having some trouble with my photoshop cs2 (it isn't my computer because it is easily quicker them the majority of computer I have been on and it's only a recent problem). I can use all my tools very easily without having any
-
Problem in Creating New partition in Pavilion dm4 1217TX
I have a hp Pavilion dm4 1217TX model laptop. I want to partition the hard disk (640GB) to separate the OS to the data. I think this is a very basic safety feature that will save my data in case of Windows failure (which is a very common problem).
-
My downloaded Auditon 3 does not install.
After a disc crush I had to install all programs. My Audition installed from the CD but i could not activate it. From Adobe support in England I got another version that does not require activation. However it failed to install on my PC running Windo
-
Problem creating inbound deliveries
Hello to all, i have a problem to create inbound deliveries related to PO for a specific vendor. When i try using VL31N the system result is "An item with no delivery quantity is not permitted. Item will be deleted". It should be a problem related to