A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Code problems

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2006
    Posts
    28

    [F8] Code problems

    Ok so i was browsing the tutorials on the site and i found THIS ONE which probably would work if the code was correct! could someone tell me what needs to go in the ' Keypres "" ' part please the code reads

    Code:
    on (release, keyPress "") {
     gotoAndPlay("Scene 1", 1);
    }
    Flash 8 Pro is giving me the following message

    Code:
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Invalid key code
         on (release, keyPress "") {
    
    Total ActionScript Errors: 1 	 Reported Errors: 1
    HELP! please im am a n00b to flash

  2. #2
    Junior Member
    Join Date
    Jul 2006
    Posts
    28
    OK no need for hel sorted it :P

    i needed this code instead

    Code:
    on (release) {
    	
    gotoAndPlay("Scene 1", "1");
    
    	
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center