Flash Action Script Aid by Omarofg1
"LAST UPGRADE on 6-25-09"
I been thinking for sometime how many people go from page to page looking for ActionScript codes or just to learn the basic's of what is Flash and how to use it. I decided to make this to help not waste their time looking randomly in the internet for and/or Flash tutorials or just information, lets be true we can agree that alot of tutorial's you find do not give you the information you are looking for and/or they don't really know what they are doing.
Q&A
Question: What isAdobe Flash and/or
Macromedia Flash
Answer: Adobe Flash (previously called "Macromedia Flash"') is a multimedia platform created by Macromedia created in 1996, Since then Flash has been used to create animation, advertisements, and various web page components, to integrate video into web pages, and more recently, to develop rich Internetapplications .
Question: What is ActionScript?
Answer: Originally developed by Macromedia(now taken over by the Adobe company) ActionScript is a scripting language based on ECMAScript. ActionScript is used primarily for the development of websites and software using the Adobe Flash Player platform.
Question: What is an SWF file?
Answer: SWF stand for "Shockwave Flash"pronounced swiff is basically all the information put together in other words, a partially open repository for multimedia and especially for vector graphics.
Question: can I upload my swf file into ning?
Answer:No currently there is no way to upload swf files but you
can add links of youtube videos to the ning. Yes thanks to
Novally there is a way to allow us to upload swf files into
ning.
http://files.getdropbox.com/u/586616/Shit/Flash%20Html.txt
Question: What is the most common Flash porgram used?
Answer: Macromedia Flash Professional 8 is consider the most flash program so far.
Question: What is the Latest Flash program released?
Answer: Adobe Flash CS4 Professional is the last Flash program released so far.
Question: What kind of pc system's can Flash be used on?
Answer: Windows, Mac OS 9/X, Linux, Solaris, HP-UX, Pocket PC, OS/2, QNX, Symbian, Palm OS, BeOS, and IRIX
Question: What is a Vcam?
Answer: in simple terms a Vcam is viewing flash with a camera. in other words you can zoom in, zoom out or even rotate the view of the camera. but there are a few limitations such as: you cannot tilt/flip the image using the camera. this has to be done in the layers of the individual images. lucky for you viewers novally(the creator of the site) has created 2 vcam's for everyone to use just make sure you givecredit . located here http://novally.ning.com/page/2214244:Page:12366
Question: What are Events and Events Listeners?
Answer: Events are basically stuff that happens. A person hovers over a button, thats an event. A Person presses a key on a keyboard thats an event also. Keep in mind that not all events are user controlled.The user uploads a swf file externally and when its finish it gives you a message that it is done uploading is also an event.Now an Event Listener is something that waits for some kind of signal so that it can play the event, the play, stop, and scene buttons on a menu are Event Listeners because they wait for you to click on them so that they can activate that event.
Question: What are some types of events?
Answer: ActivityEvent, BrowserInvokeEvent, CaptionChangeEvent, CaptionTargetEvent, ColorPickerEvent, ComponentEvent, ContextMenuEvent, DataChangeEvent, DRMAuthenticateEvent, DRMStatusEvent, FileListEvent, FocusEvent, HTMLUncaughtScriptExceptionEvent, HTTPStatusEvent, InvokeEvent, KeyboardEvent, LayoutEvent, ListEvent, MetadataEvent, MotionEvent, MouseEvent, NativeWindowBoundsEvent, NativeWindowDisplayStateEvent, NetStatusEvent, OutputProgressEvent, ProgressEvent, ScrollEvent, SliderEvent, SoundEvent, SQLEvent, SQLUpdateEvent, StatusEvent, SyncEvent, TextEvent, TimerEvent, TweenEvent, VideoEvent
Question: What do people mean by Language in flash?
Answer: Language refers to the actionscript types in Flash which are ActionScript 1.0 ActionScript 2.0 and ActionScript 3.0.
Actionscript codes
Whats are the differences between actionscript 1-3?
Answer: The differences between the versions have to do with the power and complexity of the languages.Including placing the code on a different frame or even on a movieclip.
Question: Is it possible to animate something using actionscript only?
Answer: Yes depending on what kind of animation you want you can make something animate with actionscript with even the littlest things. For example when you make a button and you insert some actionscript to make a button grow every second your mouse courser is over it.
Question: What is a preloader?
Answer: A Preloaders simply loop an animation until the user has loaded the animation to a certain point.
Actionscript codes
gotoAndPlay( ) Inside the pararentesis insert the number of the frame or the name of the frame. this is use to skip frames and tell the program to skip all the other frames until the destination you placed it on. Make sure the frame you name is a keyframe.
Menu Actionscript
gotoAndStop( ) Inside the pararentesis insert the number of the frame or the name of the frame. this is used to tell the program that when it goes to a certain point that you tell it to it will stop and it will not continue or change locations unless you have made a command in the same frame.
stop();
stop command: its simple really. it just tells flash to stop at the frame that this code has been placed on.
Function: ok this one is a simple command. it will stop the flash on the frame that this is placed on and it will not continue playing unless you press the key you placed in the actionscript. for example. the code below has the function already set and the key is the space bar. when you press the space bar(or whatever the key you placed in) the flash vid will continue playing. also if you want to change the key just replace the word SPACE with the letter or number you want it to work with.
stop();
onEnterFrame = function () {
if (!Key.isDown(Key.SPACE)) {
_root.allow = true;
} else if (Key.isDown(Key.SPACE) && _root.allow == true) {
play();
_root.allow = false;
}
};
Button's Actionscript For quality put one code on a button(if it says press put it on press if it says release put it on release) for an easy quality switch.
High:
on (press) {
_quality = "HIGH";}
Medium:
on (press) {
_quality = "MEDIUM";}
Low:
on (press) {
_quality = "LOW";}
Make Invisible Button
on (release) {_root.movieclip._visible = false;}
to cycle between one button to change quality
on(release){ if(_root._quality == "LOW"){ _root._quality = "MEDIUM"; }else if(_root._quality == "MEDIUM"){ _root._quality = "HIGH"; }else{ _root._quality = "LOW"; } }
Sound Actionscript. basically its actionscript that is used to control sound in flash8
stopAllSounds();
you are telling flash that you want every sound related action to stop at the frame you place this on.
More information will be placed soon. If you are looking for a particular actionscript code post it here and i will see if i can find it for you.
newgrounds preloaders
http://www.newgrounds.com/downloads/preloaders/
I been thinking for sometime how many people go from page to page looking for ActionScript codes or just to learn the basic's of what is Flash and how to use it. I decided to make this to help not waste their time looking randomly in the internet for and/or Flash tutorials or just information, lets be true we can agree that alot of tutorial's you find do not give you the information you are looking for and/or they don't really know what they are doing.
Q&A
Question: What is
Answer: Adobe Flash (previously called "Macromedia Flash"') is a multimedia platform created by Macromedia created in 1996, Since then Flash has been used to create animation, advertisements, and various web page components, to integrate video into web pages, and more recently, to develop rich Internet
Question: What is ActionScript?
Answer: Originally developed by Macromedia(now taken over by the Adobe company) ActionScript is a scripting language based on ECMAScript. ActionScript is used primarily for the development of websites and software using the Adobe Flash Player platform.
Question: What is an SWF file?
Answer: SWF stand for "Shockwave Flash"pronounced swiff is basically all the information put together in other words, a partially open repository for multimedia and especially for vector graphics.
Question: can I upload my swf file into ning?
Answer:
http://files.getdropbox.com/u/586616/Shit/Flash%20Html.txt
Question: What is the most common Flash porgram used?
Answer: Macromedia Flash Professional 8 is consider the most flash program so far.
Question: What is the Latest Flash program released?
Answer: Adobe Flash CS4 Professional is the last Flash program released so far.
Question: What kind of pc system's can Flash be used on?
Answer: Windows, Mac OS 9/X, Linux, Solaris, HP-UX, Pocket PC, OS/2, QNX, Symbian, Palm OS, BeOS, and IRIX
Question: What is a Vcam?
Answer: in simple terms a Vcam is viewing flash with a camera. in other words you can zoom in, zoom out or even rotate the view of the camera. but there are a few limitations such as: you cannot tilt/flip the image using the camera. this has to be done in the layers of the individual images. lucky for you viewers novally(the creator of the site) has created 2 vcam's for everyone to use just make sure you give
Question: What are Events and Events Listeners?
Answer: Events are basically stuff that happens. A person hovers over a button, thats an event. A Person presses a key on a keyboard thats an event also. Keep in mind that not all events are user controlled.The user uploads a swf file externally and when its finish it gives you a message that it is done uploading is also an event.Now an Event Listener is something that waits for some kind of signal so that it can play the event, the play, stop, and scene buttons on a menu are Event Listeners because they wait for you to click on them so that they can activate that event.
Question: What are some types of events?
Answer: ActivityEvent, BrowserInvokeEvent, CaptionChangeEvent, CaptionTargetEvent, ColorPickerEvent, ComponentEvent, ContextMenuEvent, DataChangeEvent, DRMAuthenticateEvent, DRMStatusEvent, FileListEvent, FocusEvent, HTMLUncaughtScriptExceptionEvent, HTTPStatusEvent, InvokeEvent, KeyboardEvent, LayoutEvent, ListEvent, MetadataEvent, MotionEvent, MouseEvent, NativeWindowBoundsEvent, NativeWindowDisplayStateEvent, NetStatusEvent, OutputProgressEvent, ProgressEvent, ScrollEvent, SliderEvent, SoundEvent, SQLEvent, SQLUpdateEvent, StatusEvent, SyncEvent, TextEvent, TimerEvent, TweenEvent, VideoEvent
Question: What do people mean by Language in flash?
Answer: Language refers to the actionscript types in Flash which are ActionScript 1.0 ActionScript 2.0 and ActionScript 3.0.
Actionscript codes
Whats are the differences between actionscript 1-3?
Answer: The differences between the versions have to do with the power and complexity of the languages.Including placing the code on a different frame or even on a movieclip.
Question: Is it possible to animate something using actionscript only?
Answer: Yes depending on what kind of animation you want you can make something animate with actionscript with even the littlest things. For example when you make a button and you insert some actionscript to make a button grow every second your mouse courser is over it.
Question: What is a preloader?
Answer: A Preloaders simply loop an animation until the user has loaded the animation to a certain point.
Actionscript codes
gotoAndPlay( ) Inside the pararentesis insert the number of the frame or the name of the frame. this is use to skip frames and tell the program to skip all the other frames until the destination you placed it on. Make sure the frame you name is a keyframe.
Menu Actionscript
gotoAndStop( ) Inside the pararentesis insert the number of the frame or the name of the frame. this is used to tell the program that when it goes to a certain point that you tell it to it will stop and it will not continue or change locations unless you have made a command in the same frame.
stop();
stop command: its simple really. it just tells flash to stop at the frame that this code has been placed on.
Function: ok this one is a simple command. it will stop the flash on the frame that this is placed on and it will not continue playing unless you press the key you placed in the actionscript. for example. the code below has the function already set and the key is the space bar. when you press the space bar(or whatever the key you placed in) the flash vid will continue playing. also if you want to change the key just replace the word SPACE with the letter or number you want it to work with.
stop();
onEnterFrame = function () {
if (!Key.isDown(Key.SPACE)) {
_root.allow = true;
} else if (Key.isDown(Key.SPACE) && _root.allow == true) {
play();
_root.allow = false;
}
};
Button's Actionscript For quality put one code on a button(if it says press put it on press if it says release put it on release) for an easy quality switch.
High:
on (press) {
_quality = "HIGH";}
Medium:
on (press) {
_quality = "MEDIUM";}
Low:
on (press) {
_quality = "LOW";}
Make Invisible Button
on (release) {_root.movieclip._visible = false;}
to cycle between one button to change quality
on(release){ if(_root._quality == "LOW"){ _root._quality = "MEDIUM"; }else if(_root._quality == "MEDIUM"){ _root._quality = "HIGH"; }else{ _root._quality = "LOW"; } }
Sound Actionscript. basically its actionscript that is used to control sound in flash8
stopAllSounds();
you are telling flash that you want every sound related action to stop at the frame you place this on.
More information will be placed soon. If you are looking for a particular actionscript code post it here and i will see if i can find it for you.
newgrounds preloaders
http://www.newgrounds.com/downloads/preloaders/
