Forum Moderators: open

Message Too Old, No Replies

Somebody help me with basic flash FLA file, this is ridicilous

flash

         

blueandgreen

5:15 pm on Feb 20, 2006 (gmt 0)

10+ Year Member



Ok, I made banner of my own, and have to make several more.

I made animations, graphics... all, exept the basic thing: URL. That is right, I don't know how to input url in FLA. Help please, I read tutorials, read help... and get out of my nervs.

I think I must insert layer - rectangle tool - convert to symbol - button and then input action code. Which code?

Richard_N

6:36 pm on Feb 20, 2006 (gmt 0)



create an invisible button as you said, give it an instance name of link_btn then just add this code to frame 1 on a seperate layer on the main timeline

link_btn.onPress = function() {
getURL("http://www.whatever.com", "_blank");
}

This will load the whatever.com into a new window

blueandgreen

7:00 pm on Feb 20, 2006 (gmt 0)

10+ Year Member



It give me error:

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
link_btn.onPress = function() {

Total ActionScript Errors: 1 Reported Errors: 1