Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A thread 2 ** checked everyday

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 2 ** checked everyday
Page 12 of 24«<1011121314>»
Forum Login
Message << Older Topic   Newer Topic >>
4/14/2006 13:56:43   
flsg
Member

somebody: no, I didn't
perhaps it is you who forgot(when you pasted my code)to paste the last "}"
AQ  Post #: 276
4/14/2006 14:21:04   
somebody621
Member

No, I was talking to Mathus.
Post #: 277
4/14/2006 17:20:43   
mathus the seconth
Member

nvm that, i wrote that code right on the spot, the post system doesnt have an output box lol.
AQ  Post #: 278
4/17/2006 5:55:32   
Zoltan
Member

Well I havnt been in here for awhile but I thought I would come have a look, yay!
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.
Post #: 279
4/17/2006 6:18:05   
swenn
Member

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?


< Message edited by swenn -- 4/17/2006 7:36:49 >
AQ MQ  Post #: 280
4/17/2006 9:41:38   
somebody621
Member

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.
Post #: 281
4/17/2006 9:44:32   
flsg
Member

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

< Message edited by flsg -- 4/17/2006 9:46:30 >
AQ  Post #: 282
4/17/2006 9:51:02   
somebody621
Member

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.
Post #: 283
4/17/2006 9:53:52   
flsg
Member

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"

< Message edited by flsg -- 4/17/2006 9:55:49 >
AQ  Post #: 284
4/17/2006 10:01:57   
somebody621
Member

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]

< Message edited by somebody621 -- 4/17/2006 10:02:10 >
Post #: 285
4/17/2006 10:06:50   
flsg
Member

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
AQ  Post #: 286
4/17/2006 10:17:27   
somebody621
Member

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


< Message edited by somebody621 -- 4/17/2006 12:33:54 >
Post #: 287
4/17/2006 12:46:17   
flsg
Member

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

< Message edited by flsg -- 4/17/2006 12:47:30 >
AQ  Post #: 288
4/17/2006 12:50:23   
somebody621
Member

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.\
Post #: 289
4/17/2006 13:02:14   
flsg
Member

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)

< Message edited by flsg -- 4/17/2006 15:00:03 >
AQ  Post #: 290
4/17/2006 14:08:20   
swenn
Member

thanks somebody and flsg
AQ MQ  Post #: 291
4/17/2006 16:54:40   
mathus the seconth
Member

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.)

< Message edited by mathus the seconth -- 4/17/2006 17:19:45 >
AQ  Post #: 292
4/17/2006 17:16:46   
somebody621
Member

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.

< Message edited by somebody621 -- 4/17/2006 17:17:22 >
Post #: 293
4/17/2006 17:39:03   
mathus the seconth
Member

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.
AQ  Post #: 294
4/17/2006 18:04:04   
somebody621
Member

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
Post #: 295
4/17/2006 19:53:07   
The Patriot
Member

how do i use actionscript on a button so when i click on the button it changes to my email.
AQ  Post #: 296
4/18/2006 13:41:50   
james001
Member
 

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!
Post #: 297
4/18/2006 16:40:20   
flsg
Member

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

< Message edited by flsg -- 4/18/2006 17:15:20 >
AQ  Post #: 298
4/18/2006 19:09:58   
Zoltan
Member

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!)
Post #: 299
4/18/2006 21:10:42   
flsg
Member

hey, it remind me that it's:
getURL("mailto:me@me.com")
replace me@me.com
AQ  Post #: 300
Page:   <<   < prev  10 11 [12] 13 14   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 2 ** checked everyday
Page 12 of 24«<1011121314>»
Jump to:






Icon Legend
New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Forum Content Copyright © 2018 Artix Entertainment, LLC.

"AdventureQuest", "DragonFable", "MechQuest", "EpicDuel", "BattleOn.com", "AdventureQuest Worlds", "Artix Entertainment"
and all game character names are either trademarks or registered trademarks of Artix Entertainment, LLC. All rights are reserved.
PRIVACY POLICY


Forum Software © ASPPlayground.NET Advanced Edition