Jump to content
  • entries
    402
  • comments
    5,334
  • views
    102,877

ActionЅcript


Shadix

334 views

ActionScript is hard on braincells. Moreso when you're asking the input text box to accept the letter 'O' exclusively and direct it to frame 2 but anything else to frame 3. MORESO when the chapter says you need to use conditional scripting but DOESN'T COVER IT IN THE SLIGHTEST.

 

So yeah, that's what I wasted my morning on. Trying to get the stupid ActionScript to work on a college project. ಠ_ಠ

 

Night Fury

20 Comments


Recommended Comments

I was doing that too... making a quiz thing that asked what the periodic symbol of Oxygen was.

Were you using ActionScript 2 or 3?

 

-Zik

Link to comment

THAT

THATTHATTHATTHATTHAT

You're using the same book I am, aren't you? Project Builder 2, Chapter 9? :D

I'm using 2.0.

 

Night Fury

Link to comment

Heh, that's weird. =P

I'm not sure what the book is; the teacher has the book and either puts the instructions on paper, or we all do it together.

But anyway, you can put this on a submit button:

on (release) {
    if (answer == "O") {
        gotoAndPlay(2);
    } else {
        gotoAndPlay(3);
    }
}

That's assuming you have a stop action in the frames you're going to. Change the "answer" to whatever your variable's name is. You can also replace the two and three with any frame labels that you have.

Having Auto Kern on with the input text box also seems to turn the information from the variable into HTML for some reason, so that can't be on.

 

-Zik

Link to comment

Ziko you have no idea what that means to me

 

Thanks a ton man. Are you taking, perchance, an online Flash class that involves this stuff?

 

Night Fury

Link to comment

Ok. Just wondering. Because the class I'm learning this is in is online, and since you're in Colorado I was wondering... so yeah.

 

I don't seem to have that problem XD

 

Night Fury

Link to comment

ActionScript is a coding language used in the program Flash. You can command objects to move or change with interactivity and program buttons to do certain commands.

 

Night Fury

Link to comment

Flash? Adobe Flash? The program that designs most every online game on the internet?

 

And no, Flash is waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyy too complicated for a tutorial.

 

Night Fury

Link to comment
Ok. Just wondering. Because the class I'm learning this is in is online, and since you're in Colorado I was wondering... so yeah.

 

I don't seem to have that problem XD

 

Night Fury

 

Were you talking to me? I live in Washington.....

Link to comment

Ok just checking, I was going kinda crazy cause I was trying to figure out if I ever said anything about living in Colorado.

Link to comment

It's off a scene in HTTYD that wouldn't have made sense... hardly does now even. Hiccup is asking Gobber, his mentor, why there isn't anything in the Dragon book for Night Furies. So at one point he asks "So is there like another book, maybe a Night Fury pamphlet..."

 

Night Fury

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...