RE: Flash Q&A thread 2 ** checked everyday (Full Version)

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



Message


flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/14/2006 13:56:43)

somebody: no, I didn't
perhaps it is you who forgot(when you pasted my code)to paste the last "}"[;)]




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/14/2006 14:21:04)

No, I was talking to Mathus.




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/14/2006 17:20:43)

nvm that, i wrote that code right on the spot, the post system doesnt have an output box[:D] lol.




Zoltan -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 5:55:32)

Well I havnt been in here for awhile but I thought I would come have a look, yay![sm=biggrinparty.gif]
Anyway, this is what im here for,, This ( http://haze.voodoolabs.net/rpgsource.swf ) was the origonal 'layout/setup' for my 'Epic Quest' game. Sooo if you want the origonal .fla just 'give me a holla' also if you get it and need any help with it, well you know who to ask.




swenn -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 6:18:05)

I got some questions:
I seen many sites made with flash so how do i make a site with flash? do i need some HTML knowledge?
and can i make a geustbook?
also how do you make a picture change when the mouse is on it?




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 9:41:38)

First question: No. There are publishing options and "Stage" objects which allow you to do some modify the flash in the to the actual html. Of course, it helps to know html.
Second question: Um yeah, you can make a guestbook, but it takes some knowledge of actionscript. For a good one, you must know how to use XML in flash.
Third question: picture.onRollover = function(){ picture.play();} simple enough to understand.

Zoltan: Wow. So simple.




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 9:44:32)

swenn: http://forums2.battleon.com/f/tm.asp?m=2728219
that's my game and my site, you don't need html knowledge to create a Flash site(but you could)
you can make a guestbook, but Flash itself can't, so you'll need a server-side language like ASP, PHP, CGI or JSP
I suggest you to learn PHP, since it's easy, fast and more secure than ASP
you can make a picture change like that:
//myMC is a MovieClip's instance name
_root.myMC.onRollOver=function(){
  this.gotoAndPlay("change")
}
//change is a frame label in myMC. It's the animation yuo want to play when the mouse is on the movieClip
//if you only have one image and not an animation, change gotoAndPlay into gotoAndStop


hope that helps
edit: argg somebody you beat me[&:]
a small guestbook could use XML or notepad to save informations, but a big one require database, like Access or MySQL




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 9:51:02)

flsg: What kind of database do you use for the login?
Well, if you have a huge guestbook, you could always use SQLServer. Why does Microsoft make so many "SQL's". I'm confused.




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 9:53:52)

lol, since it's on my computer, I use Access, but most of web hoting service use MySQL
SQL is a database language
MySQL is a database that use pure SQL language
SQLServer is MS' database that use SQL

I think XML is just a better object in AS1.0
<user><name>me</name><pass>mypass</pass></user>
is just a better way to say:
var user=new Object()
user.name="me"
user.pass="mypass"




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 10:01:57)

Does anybody know what this means? It's in C.
      i.y - P.y
i.x = --------- + P.x
        TAN(a)

[invisible]I'm up to something. . .[/invisible]




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 10:06:50)

OMG are you using C for multiuser games?!?!
well I know that C is very hard, anyway:
i is an Object(I think), and P too
TAN(a) calculate the Tan value of a
that's all
I know I'm not helpful here, I know nothing about C lol




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 10:17:27)

Thankies =P. Not a multiuser application, but actually a raycasting engine in flash, but you didn't see this part because it is invisible
Edit: decided not to make all of it invisible




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 12:46:17)

what's that? can't find this word in the dictionnary[&:]
[visible=false]
anyway, I'm programming a multiuser application with Flash+Java by myself lol
[/visible]
lol




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 12:50:23)

Lol. The first words of my invisible text are kind of readable =P.
Raycasting It's a really nice technique used for 3-d games.\




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 13:02:14)

OMG 3D with Flash? Are you sure you're not crazy?
lol just joking
but seriously, C is already very hard, and use it with Flash to create 3D(or 2 1/2 D lol) is harder
were you a programmer? I wasn't until I used Flash(since 3 years now)




swenn -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 14:08:20)

thanks somebody and flsg




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 16:54:40)

I made a 1 frame fading object!(please note, this fades the WHOLE frame into full transparency!!!)

1)draw a sqare on the stage.

2)add this script to the first frame

script --->

_alpha = 100;
function alpha() {
_alpha--;
}
setInterval(alpha, 10);


p.s. you can change the number in red to increase or decrease the time it takes for it to decrease the alpha.(measured in milla secs.)




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 17:16:46)

It works for me. Put the square in a movie clip and then try out the code on the first frame. Also, it is unneccessary to put _alpha = 100 unless the alpha was reduced earlier.
Allow me to change the code too.
function alpha() {
_alpha--;
updateAfterEvent();
}
setInterval(alpha, 10);
updateAfterEvent updates the screen every time you call upon this function which is, in this case, 10 milliseconds.

flsg:I don't use C. I just "translate the to languages" so the C code goes to flash. Nay. I've only used flash for about one year.




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 17:39:03)

lol finally, i understand actionscript!!!(I made that code myself) now i can make my OWN games! but i do have a question:

my timer question, it never worked i tried with variables, instance names and with my FIST

nothing worked.




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 18:04:04)

consider where you stored the variable. It might help.
function raise(){
i++
if(i>=60){
yourcode();
}
}
setInterval(raise, 1000);
I seriously doubt anyone understands everything about actionscript unless their logic is godly. lol




The Patriot -> RE: Flash Q&A thread 2 ** checked everyday (4/17/2006 19:53:07)

how do i use actionscript on a button so when i click on the button it changes to my email.




james001 -> RE: Flash Q&A thread 2 ** checked everyday (4/18/2006 13:41:50)

Hi,

Could somebody please help me here:
I am trying to make a nav bar for my website, but the website is in a frameset. This means that (well in HTML it does) the needs to be script for the link which goes something like this:

<a href="http://www.hoylakesc.org.uk/about.html"target=MAIN>

(Note that the target=MAIN is outside the quotation marks)

Thanks!




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/18/2006 16:40:20)

don't you need a space between " and target?
anyway, go see the getURL documentation in Flash, I forgot how to do it and I'm too buzy right now




Zoltan -> RE: Flash Q&A thread 2 ** checked everyday (4/18/2006 19:09:58)

swj: I was gonna try see if the email thing worked this way, but my browser was being a dick so I just got this, to lazy to do anything else sorry!
//<a href="mailto:haze.entertainment.studios@gmail.com">email me</a>
on(release){getURL("haze.entertainment.studios@gmail.com")}

(dont worry about the html its there for morral support!)




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/18/2006 21:10:42)

hey, it remind me that it's:
getURL("mailto:me@me.com")
replace me@me.com




Page: <<   < prev  10 11 [12] 13 14   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.125