PDA

View Full Version : PhotoShop™ style “navigator” using AS 3.0 – Lesson 1 of 2


eliddell
11-09-2007, 03:40 PM
Ok, my first tutorial is ready for approval... someone aproved it this morning but i wasn't done. now i am.. its my first, be gentle

PhotoShop™ style “navigator” using AS 3.0 – Lesson 1 of 2

erik:p :eek: :confused:

CyanBlue
11-09-2007, 04:14 PM
Thanks for the article... :)

I had to scale down the wide image thought... The maximum width we allow in the article is 550... Not sure if it was specifically mentioned while you were creating an article though...

eliddell
11-09-2007, 04:21 PM
sorry man, my bad. I had know idea, just wanted it to be legible.. but thanks.

couple questions though.
its a tutorial not an article right? I just went to go take a peek at it and couldn't find it under tutorials. does it take a while to propagate?

also, since this is my first any suggestions, comments, concerns, rookie hazings, or other reservations are more than welcomed..

danka sha nay nay

:eek:

eliddell
11-09-2007, 04:40 PM
its actually still pending? i made an edit because the summary seemed to be missing and i guess i thus changed its status..

so i guess i need approval again.. but my questions above still remain.

also: how does one get their tutorial featured?

CyanBlue
11-09-2007, 04:50 PM
I think you were trying to edit the tutorial, and I believe that the CMS automatically takes the tutorial off of the list once you edit it and puts it back to the approval queue...

The tutorial looks good... You highlighted the appropriate spots which need attention and I like that...

You could specify the strict typing by specifying the type like this...
var sliderDrag:Boolean = false;

As for that wide image, you could either chop up the stage portion so that you can make it bigger, or you could make that a hyperlink to the larger image...

Thanks... :)

CyanBlue
11-09-2007, 04:53 PM
As for the feature... I think Jesse sorta left it for special occasions... ;)

eliddell
11-09-2007, 05:02 PM
very good point about the boolean. I felt it was a minr detail not really needed since we are directly changing its value but yeah i guess to be proper i could change that, but i don't want to go messing up the approval process again.

I am a little confused though.. i would think that tutorials would be listed from latest to oldest? is that not the case? im all the way at the bottom of the list.. :o


not really complaining, just wondering how i get bumped up?

CyanBlue
11-09-2007, 05:15 PM
I'd say that's CMS not doing the job right... Your article is posted 4 times as well... I'll notify it to Jesse...

In the mean time, do necessary edit and post it back on to this thread and I'll approve it again... :)

Jesse
11-10-2007, 02:40 AM
The multiple listing on the end-user view is a bug in a hack I installed. Traditionally the CMS doesn't show any summaries at the root of the category tree; rather you have to drill down to the lowest level, e.g. "Tutorials > Beginner", before you see anything. We didn't like this so we put in a hack which shows the latest articles at the root too (e.g. Tutorials) but it has a bug where is lists a tutorial added to multiple sub-categoies, multiple times.

I need to fix that up but there's a new version of the CMS due in about a week so I've been putting it off.

As for the tutorial not showing up on the front page... that's totally random... It shows up in the RSS as one of the latest articles. May be a bug with the hack again... I tried changing the publish date and the title slightly, but to no avail.

PS - You can actually have elements wider than 550 pixels. The trick is to put them inside a "" set. Then they'll be put inside a DIV with its own scroll bars...

Jesse
11-10-2007, 02:44 AM
PPS - Ignore me. You don't actually use you have to insert a div around the wide element:
[code]<div class="codex"><!-- wide element code here --></div>

CyanBlue
11-12-2007, 12:35 PM
Good to know... Thanks... :)

CyanBlue

eliddell
11-12-2007, 02:08 PM
well its monday, and i am ready for cyan's most gracious aproval of this lesson yet again.. i will be posting the second part of my lesson soon and hope i can group them together on the list..

thanks guys i hope you make big bucks!

CyanBlue
11-12-2007, 03:02 PM
Approved... :)

I tried to put the image inside the DIV, but it looked weirder in this particular instance... :(

eliddell
11-12-2007, 03:05 PM
i did too.. but i held back on the mean green face...

anyway, i am very sad about the timing of my tutorial post as i am trying to get in the running for some of those fabulous prizes and fear that being ta the bottom lowers my chances of getting any ranking.
:(

CyanBlue
11-12-2007, 03:58 PM
I could be wrong, but I don't think the ranking has anything to do with the contest.... You at least have time to write some... :)