# Dude! Schweet

**URL:** <https://forum.kirupa.com/t/dude-schweet/26950>\
**Category:** random\
**Created:** [July 28, 2003, 5:13pm UTC](https://forum.kirupa.com/t/dude-schweet/26950 "2003-07-28T17:13:25Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![DigitalPimp](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@DigitalPimp](https://forum.kirupa.com/u/DigitalPimp)\
**Post date:** [July 28, 2003, 5:13pm UTC](https://forum.kirupa.com/t/dude-schweet/26950/1 "2003-07-28T17:13:25Z")

</div>

Hey everybody I just got my first tutorial posted!  
[http://www.kirupa.com/web/alerts.htm](http://www.kirupa.com/web/alerts.htm)

Give me some feedback plz. I plan on writing some more on Javascript, CSS, and ASP.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 5:45pm UTC](https://forum.kirupa.com/t/dude-schweet/26950/2 "2003-07-28T17:45:31Z")

</div>

Congrats man, it was a good tutorial.

I hope you don’t mind, but I had kirupa change a few things. 1 of them was explaining more about what exactly onBlur was (it could be confusing to a non-javascripter) and the other being changing the HREF attribute from “#” to “java\*\*script:void(0)” You want to void the link, not return to the top of the page. Testing the onDblClick link was definitely a pain when the HREF was set to “#” 😉

* * *

And if Alex reads this thread, I noticed he has a new tutorial here… [http://www.kirupa.com/developer/mx/alpha.htm](http://www.kirupa.com/developer/mx/alpha.htm) … I guess congrats, but I am sorry to say that the tutorial could go more in depth.

1. Your tutorial implies that you have to convert your clip to a movie clip symbol, but the alpha property works on movieclips, buttons, and graphic symbols (only on movie clips and buttons via AS).

2. Instead of creating a tutorial just focusing on setting the alpha you could have gone into all of the properties there and how to use them. It would have made for more content in your tutorial than few one liner paragraphs.

3. Setting a clips alpha property to 0 isn’t the most efficient way to make your clip invisible. Setting a clips \_visible property to false (or 0 since 0 is false and 1 is true) is more efficient. Why? Because when setting a clips alpha property to 0, the clip can still be seen on 16bit color monitors, but when settings its \_visible property to false (or 0) via AS the clip actually becomes invisible. So I think that should have been added in there as a failsafe for people looking for completely invisible clips.

4. Clips with partial alpha settings that are being moved either by AS or tweens over other objects can get CPU intensive with the more clips you use, so its not always safe to have a bunch of alpha-faded clips running around on your stage.

Sorry Alex, but the tutorial could be better :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 5:48pm UTC](https://forum.kirupa.com/t/dude-schweet/26950/3 "2003-07-28T17:48:39Z")

</div>

Good tute! We need javascript tutes around here!  
[size=1]/me doesn’t know anthing about javascript[/size]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 5:51pm UTC](https://forum.kirupa.com/t/dude-schweet/26950/4 "2003-07-28T17:51:54Z")

</div>

I have a few JS tutorials in waiting, after I get situated here again I will finish writing them. I have a few written up already, they just need cleaning up.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 5:56pm UTC](https://forum.kirupa.com/t/dude-schweet/26950/5 "2003-07-28T17:56:04Z")

</div>

> \*Originally posted by lostinbeta \*  
> \*\*Congrats man, it was a good tutorial.

I hope you don’t mind, but I had kirupa change a few things. 1 of them was explaining more about what exactly onBlur was (it could be confusing to a non-javascripter) and the other being changing the HREF attribute from “#” to “java\*\*script:void(0)” You want to void the link, not return to the top of the page. Testing the onDblClick link was definitely a pain when the HREF was set to “#” 😉

\*\*

Yea I had fixed those in the updated version on my server but Kirupa didn’t get it. ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 9:01pm UTC](https://forum.kirupa.com/t/dude-schweet/26950/6 "2003-07-28T21:01:58Z")

</div>

Oh… well as long as it’s fixed :thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 2:53am UTC](https://forum.kirupa.com/t/dude-schweet/26950/7 "2003-07-29T02:53:06Z")

</div>

Also, if you want it to be XHTML compliant, just change ‘onClick’ to ‘onclick’ and so on.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 3:01am UTC](https://forum.kirupa.com/t/dude-schweet/26950/8 "2003-07-29T03:01:21Z")

</div>

i think we should have some PHP ones too. anyone? i would…but i cant explain PHP for crap. i think i did an ok job on the one on my site though:  
[http://www.mdipi.com/sorry/tuts/randtext.htm](http://www.mdipi.com/sorry/tuts/randtext.htm)

if you think it is ok i will redo it for k…  
edit: DP got so caught up i forgot, sweet! looks good but i still dont get onBlur…confusing as all hell lol.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 3:09am UTC](https://forum.kirupa.com/t/dude-schweet/26950/9 "2003-07-29T03:09:16Z")

</div>

Mike: I believe Jubba is working on the basics of PHP tutorials, so you might want to take your tutorial up with him (I am not 100% sure if he is or not).

As for onBlur… think of it this way…

What is blur?

You get a blur when something is unfocused right?

Well that is what onBlur, it is when you take the focus off of a link so it becomes unfocused.

In HTML when you click a link, it becomes focused on, but when you click elsewhere within the document, it takes the focus off of the link itself and puts it on the document as a whole… thus unfocusing on the link.

So a function called onBlur is like saying “if you were focused on this, but then clicked elsewhere and now you aren’t, then run this function”.

Given that I am not the best at explaning things here is another one…

It is like onKillFocus() in actionscript.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 3:34am UTC](https://forum.kirupa.com/t/dude-schweet/26950/10 "2003-07-29T03:34:52Z")

</div>

Good explanation LIB!

I think I’m going to work on some more stuff tonight.

Anybody see anything or want to know how to do anything?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 4:53am UTC](https://forum.kirupa.com/t/dude-schweet/26950/11 "2003-07-29T04:53:04Z")

</div>

Oh k boys and girls, I just finished another tutorial. Can you guys give me some feedback on it?

[http://www.taylortap.com/kirupa/tutorials/tutorial%202.html](http://www.taylortap.com/kirupa/tutorials/tutorial%202.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 4:57am UTC](https://forum.kirupa.com/t/dude-schweet/26950/12 "2003-07-29T04:57:37Z")

</div>

Looks pretty good DP. I dont know anything about Javascript, so i’ll have to try it out sometime 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 5:08am UTC](https://forum.kirupa.com/t/dude-schweet/26950/13 "2003-07-29T05:08:23Z")

</div>

lost i get it now. its like something, like a popup, happens when you click off the link.
