RE: Flash help and tutorials, checked daily (Full Version)

All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy



Message


flsg -> RE: Flash help and tutorials, checked daily (1/29/2006 17:10:32)

can someone tell me what's the difference between duplicateMovieClip() and attachMovie()?
does duplicateMovieClip copie the code on the MovieClip?(the onClipEvent handle)




lil boi blue -> RE: Flash help and tutorials, checked daily (1/29/2006 17:34:45)

well movie clips are like characters, when you make a circle press F8 and it will give you the option of movie clip, graphic, and button
Movie Clips= these are better for cartoons and games when it comes to moving something on the movie, you can animate these too so that they can be their own movie inside another movie's first frame

Graphics= these are more for show, you cant adjust them nor mess them up once they've been made this so whey you click a giant art thing you made into a graphic, it selects the whole thing, more for convenience purposes

Buttons= well, they are buttons, what left to say...


attach movie attaches another movie into the movie you are currently in so that it jumps you from one movie to dragging another one on that stage like in a play when they change scenes from egyptians to romans or something like that



for errors that say "must occur on clip event handler" it means this code can only be put onto a movie clip

there is onClipEvent (when clip enters the stage) and onEnterFrame(when the movie has reached this frame)




Zoltan -> RE: Flash help and tutorials, checked daily (1/29/2006 23:35:05)

Its great to see you got it done but ..... 4) Add this script in actionscript text spac on bottom of screen----> onClipEvent(load){startDrag("", true);Mouse.hide();} the 'this' was not in the tutorial.........

Also Althorne yes I know that there is another way but with your way lots of beginners do not know about naming objects and as we have seen they have trouble with the easy one as it is.




flsg -> RE: Flash help and tutorials, checked daily (1/30/2006 18:27:01)

I still have a question:
is OOP(Objet-Oriented Programming) a good thing?




Swordhunter -> RE: Flash help and tutorials, checked daily (1/30/2006 18:31:53)

Ok, I have a question, and it might be a tough one...

I have been doing line art in Photoshop for some time now. It uses the pen tool. All you do is click one place, then another, then you can click on the line and drag it using Ctrl and make a curve with it. Thus, line art.

I just got Flash, and I was trying to do some line art, but, when I went to select the pen tool, I clicked, then clicked again, and it made a line! So, I've been trying to do lots of other things, but nothing seems to work...I cant use line art.

So then I tried to use the pencil tool, but I cant get the lines smooth enough. It almost seems like it would all be easier with Photoshop, please, tell me if theres a way for me to use the pen tool to achieve smooth lines without using the pencil. =(




lil boi blue -> RE: Flash help and tutorials, checked daily (1/30/2006 21:59:03)

flsg, do you mean like object motion guides? otherwise R click on layers and select motion guide and add layers under it so they are indented, the object will follow the line you make in the motionguide layer itself BUT the object must be a symbol

______________________________________
Sword Hunter: i know how to answer this one, in flash 8 if you have it, select smooth and adjust the smoothness in the properties area, if in flash MX 2004 just use the line tool with the magnet on, this way the line attaches itself to the nearest point, or line. you can also hold control to move a vertex or adjust a line, also with pencil use it on smooth too, i almost never use the ink pencil unless im doing a pic like the one with the water and well i entered in the contest. but i personally like using line tool and pencil, also for pen, if you have pen on the stage already and wish to see it, just press pen tool again and it will highlight orange and here are some pen signs you may already know

o = close line
> = cut vertex
x = place vertex

you can also click the squares so it adds on to the pen, personally i dont like flash's pen tool so i just would stick with BOTH pencil on smooth and line tool, remember, Ctrl is like a free form tool, otherwise just click "Q" or hold down shift to make perfect lines, squares, circles, or object scalings




flsg -> RE: Flash help and tutorials, checked daily (1/30/2006 22:11:55)

lil boi blue: no, OOP is a style of programming in Flash, in consist to make everything into Objects
in OOP, we transform functions into object's methods, variables into object's propeties.
example:
var myVar1 = "hello"
trace(myVar1)//return "hello"
in OOP, we write like this:

function myClass(arg1){
this.myVar1 = arg1
}
var myObject = new myClass("hello")
trace(myObject.myVar1)//also return "hello"




Killer Pup -> RE: Flash help and tutorials, checked daily (1/30/2006 23:45:02)

Can anyone get me a working attack system?




lil boi blue -> RE: Flash help and tutorials, checked daily (1/31/2006 0:01:32)

with some help zoltan gave me i can try to make a step by step system,




Swordhunter -> RE: Flash help and tutorials, checked daily (1/31/2006 16:11:10)

Thanks a lot LBB. =D




flsg -> RE: Flash help and tutorials, checked daily (2/1/2006 17:57:10)

can someone help me?(about the OOP)




Zoltan -> RE: Flash help and tutorials, checked daily (2/1/2006 18:02:19)

Try this= http://www.macromedia.com/devnet/director/articles/oop_dir_flash.html




Dragoneill -> RE: Flash help and tutorials, checked daily (2/1/2006 21:01:18)

How do i loop a flash loop lol? (looping sounds)




flsg -> RE: Flash help and tutorials, checked daily (2/2/2006 7:59:40)

Dragoneill: import a sound, in the linkage, name it "mysound"
write the code:
var sd=new Sound
sd.attachSound(mysound)
sd.start(0,numberOfTime)




Dragoneill -> RE: Flash help and tutorials, checked daily (2/2/2006 17:54:39)

Where can i find this linkage? Ive imported a wma to my library, now where do i put th e linkage?




flsg -> RE: Flash help and tutorials, checked daily (2/2/2006 18:37:28)

in the library, right-click your Symbol, then click linkage
choose export for ActionScript




lil boi blue -> RE: Flash help and tutorials, checked daily (2/3/2006 2:07:16)

http://i5.photobucket.com/albums/y158/photo12/demogame.swf

lol, this is a demo of actionscript from the help of zoltan and his scripting goodness, thanks man, this little game has much potential




da nite slaya -> RE: Flash help and tutorials, checked daily (2/3/2006 20:05:14)

onClipEvent (load) {
moveSpeed = 19;
}
onClipEvent (enterFrame) {
if (Key.isDown (Key.RIGHT)) {
this._x += moveSpeed;
} else if (Key.isDown (Key.UP)) {
this._y -= moveSpeed;
} else if (Key.isDown (Key.DOWN)) {
this._y += moveSpeed;
} else if (Key.isDown (Key.LEFT)) {
this._x -= moveSpeed;
}
}

How do I set boundries to where my object can and can't go and if you pass the screen to the left, you go to the next level.
and if i push up, i do a jump effect.
and last, if i push space, i shoot/punch.




lil boi blue -> RE: Flash help and tutorials, checked daily (2/3/2006 20:25:34)

zoltan helped me a lot with this stuff, anything you see in the game i can now teach APPLY THIS ALL TO MAIN CHARACTER

quote:

onClipEvent (load) {moveSpeed = 20;}


this is the speed my guy bob the star goes at you must

quote:

onClipEvent (enterFrame) {if (this.hitTest(_root.Uwall)) {_y = _y+20;}}


apply this code to your character, mine is named bob, and Uwall stood for U(pper)wall you can change it to whatever wall you're making to stop the guy from going through

IMPORTANT the bold faced 20 represents moving speed so if your guy goes at 10, then the boundary should be 10 meaning they have to agree




da nite slaya -> RE: Flash help and tutorials, checked daily (2/3/2006 22:15:05)

um... Im new to Flash i dont quite understand this... i like 1)2)3) format to understand the steps better

and i still need to know how to make him jump on key UP

And make him punch/kick/shoot on SPACE

And how do u program a button's function

*looks around* Is n e 1 here? Hello?! *voice echoes in a scary way* n e 1?

And wut is difference between fla and swf?




alpha_werewolf -> RE: Flash help and tutorials, checked daily (2/4/2006 2:17:46)

Thank you (writer of this Tutorial). Thanks to you I finnaly understand Flash and finaly can make some movies so erm...

THANK YOU

But still I have one question: how do you make movies go slower?




Zoltan -> RE: Flash help and tutorials, checked daily (2/4/2006 4:54:01)

Well lil boi blue started this thread and I just helped out so you can thank him, unless you used the scripting tuts then that was me XD.
Anyway to make your movie slower you can either decrease the frame rate or make your tweens longer.




alpha_werewolf -> RE: Flash help and tutorials, checked daily (2/4/2006 7:14:44)

Okay thanks.




lil boi blue -> RE: Flash help and tutorials, checked daily (2/4/2006 11:18:00)

quote:

ORIGINAL: da nite slaya

um... Im new to Flash i dont quite understand this... i like 1)2)3) format to understand the steps better

and i still need to know how to make him jump on key UP

And make him punch/kick/shoot on SPACE

And how do u program a button's function

*looks around* Is n e 1 here? Hello?! *voice echoes in a scary way* n e 1?

And wut is difference between fla and swf?


lol, dont worry i didn't forget about you, i went to bed and since its the weekend i sleep in big time, i'll do the fight tut later (im on my parents computer and they dont have flash, mom's on my computer)
fla is a flash file that is editable if you want to save and quit to do more to it later, but not exportable on the internet (well it is exportable but other people who dont have flash cant see them)
swf is the exported version of an fla file but you cannot edit these, they keep the quality flash brings by not pixelating movies, you can also make games on these SWF FILES ARE so far the only file that can carry actionscript for games or stuff like that, jpg cannot, gif cannot, even png cannot, but you would then not be able to show swf files as pics on this website, just as links to another website to view it

Alpha_werewolf : thank you for the compliment ^_^ i never get tired of those




flsg -> RE: Flash help and tutorials, checked daily (2/4/2006 13:37:42)

http://forums2.battleon.com/f/tm.asp?m=3820802
hey guys I just made a tutorial about AS programming




Page: <<   < prev  13 14 [15] 16 17   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.09375